import React from 'react'; import distanceInWordsToNow from 'date-fns/distance_in_words_to_now'; import styled from 'styled-components'; import { Row, Col } from 'joyent-react-styled-flexboxgrid'; import { Margin, Padding } from 'styled-components-spacing'; import { Link } from 'react-router-dom'; import { Field } from 'redux-form'; import { Card, CardOutlet, H4, P, Button, FormGroup, FormLabel, Radio, StatusLoader, Table, TableThead, TableTr, TableTh, TableTd, TableTbody, ExternalIcon } from 'joyent-ui-toolkit'; const Name = styled.span` color: ${props => props.theme.text}; text-decoration: none; font-weight: ${props => props.theme.font.weight.semibold}; `; export const EmptyCard = () => (

No templates found

In order to deploy a Service Group, you’ll need to first create a template to base your instances off of. Click below to continue

); export const EmptyRow = () => (

You have no templates that match your query

); export const LoadingRow = ({ children }) => ( {children} ); export const Item = ({ id = '', name, image, created, ...template }) => ( {name} {image.substring(0, 7)} {template.package.substring(0, 7)} {distanceInWordsToNow(created)} ); export default ({ sortBy = 'name', sortOrder = 'desc', submitting = false, checked = false, onToggleCheckAll = () => null, onSortBy = () => null, children }) => (
onSortBy('name')} left middle actionable > Name onSortBy('image')} left middle actionable > Image onSortBy('package')} left middle actionable > Package onSortBy('created')} left middle actionable > Created {children}
);