Add in Font Awesome Icons for Actions
This commit is contained in:
parent
4753207c02
commit
76825acb15
20
app.js
20
app.js
@ -312,11 +312,21 @@ function renderContainers(containers) {
|
|||||||
<td class="memory">0</td>
|
<td class="memory">0</td>
|
||||||
<td class="ip-address">-</td>
|
<td class="ip-address">-</td>
|
||||||
<td>
|
<td>
|
||||||
<button class="btn btn-success btn-sm action-start" ${container.State === 'running' ? 'disabled' : ''}>Start</button>
|
<button class="btn btn-success btn-sm action-start" ${container.State === 'running' ? 'disabled' : ''}>
|
||||||
<button class="btn btn-warning btn-sm action-stop" ${container.State !== 'running' ? 'disabled' : ''}>Stop</button>
|
<i class="fas fa-play"></i>
|
||||||
<button class="btn btn-danger btn-sm action-remove">Remove</button>
|
</button>
|
||||||
<button class="btn btn-primary btn-sm action-terminal" ${container.State !== 'running' ? 'disabled' : ''}>Terminal</button>
|
<button class="btn btn-warning btn-sm action-stop" ${container.State !== 'running' ? 'disabled' : ''}>
|
||||||
<button class="btn btn-secondary btn-sm action-duplicate">Duplicate</button>
|
<i class="fas fa-stop"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-danger btn-sm action-remove">
|
||||||
|
<i class="fas fa-trash"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-primary btn-sm action-terminal" ${container.State !== 'running' ? 'disabled' : ''}>
|
||||||
|
<i class="fas fa-terminal"></i>
|
||||||
|
</button>
|
||||||
|
<button class="btn btn-secondary btn-sm action-duplicate">
|
||||||
|
<i class="fas fa-clone"></i>
|
||||||
|
</button>
|
||||||
</td>
|
</td>
|
||||||
`;
|
`;
|
||||||
containerList.appendChild(row);
|
containerList.appendChild(row);
|
||||||
|
Loading…
Reference in New Issue
Block a user