Visually separate the kapacitor column

pull/10616/head
Alex P 2017-06-12 16:52:15 -07:00
parent b3d9dcc856
commit 43d98456a7
2 changed files with 15 additions and 11 deletions

View File

@ -97,8 +97,8 @@ const InfluxTable = ({
<tr> <tr>
<th className="source-table--connect-col" /> <th className="source-table--connect-col" />
<th>Source Name & Host</th> <th>Source Name & Host</th>
<th>Active Kapacitor</th>
<th className="text-right" /> <th className="text-right" />
<th>Active Kapacitor</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
@ -129,7 +129,16 @@ const InfluxTable = ({
</h5> </h5>
<span>{s.url}</span> <span>{s.url}</span>
</td> </td>
<td> <td className="text-right">
<a
className="btn btn-xs btn-danger table--show-on-row-hover"
href="#"
onClick={() => handleDeleteSource(s)}
>
Delete Source
</a>
</td>
<td className="source-table--kapacitor">
{kapacitorDropdown( {kapacitorDropdown(
s.kapacitors, s.kapacitors,
s, s,
@ -138,15 +147,6 @@ const InfluxTable = ({
handleDeleteKapacitor handleDeleteKapacitor
)} )}
</td> </td>
<td className="text-right">
<a
className="link-danger"
href="#"
onClick={() => handleDeleteSource(s)}
>
Delete Source
</a>
</td>
</tr> </tr>
) )
})} })}

View File

@ -165,3 +165,7 @@ br {
.source-table--connect-col { .source-table--connect-col {
width: 90px; width: 90px;
} }
.source-table--kapacitor {
border-left: 2px solid $g5-pepper;
width: 278px;
}