This commit is contained in:
Raven Scott 2024-11-29 23:33:04 -05:00
parent 4f13281873
commit 830d72608b

7
app.js
View File

@ -468,6 +468,9 @@ function renderContainers(containers) {
<button class="btn btn-success btn-sm action-start" ${container.State === 'running' ? 'disabled' : ''}>
<i class="fas fa-play"></i>
</button>
<button class="btn btn-info btn-sm action-restart" ${container.State !== 'running' ? 'disabled' : ''}>
<i class="fas fa-redo"></i>
</button>
<button class="btn btn-warning btn-sm action-stop" ${container.State !== 'running' ? 'disabled' : ''}>
<i class="fas fa-stop"></i>
</button>
@ -480,9 +483,7 @@ function renderContainers(containers) {
<button class="btn btn-secondary btn-sm action-duplicate">
<i class="fas fa-clone"></i>
</button>
<button class="btn btn-info btn-sm action-restart" ${container.State !== 'running' ? 'disabled' : ''}>
<i class="fas fa-redo"></i>
</button>
</td>
`;
containerList.appendChild(row);