Skip to content

Commit

Permalink
Merge pull request #18 from kknoer/add-unfinished-restart
Browse files Browse the repository at this point in the history
Add Restart to Unfinished Batch Processing Actions
  • Loading branch information
gdarko authored Sep 19, 2023
2 parents 3245a07 + b3c7654 commit 62f80e3
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions views/batch-manage.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
<div class="batch-process-actions">
<?php if(!$batch->is_finished()): ?>
<button class="button-primary" id="batch-process-start">Start</button>
<button class="button" id="batch-process-stop">Stop</button>
<button class="button" id="batch-process-restart">Restart</button>
<button class="button batch-process--button-stop" id="batch-process-stop">Stop</button>
<?php else: ?>
<button class="button-primary" id="batch-process-restart">Restart</button>
<?php endif; ?>
Expand Down Expand Up @@ -86,5 +87,10 @@
padding-bottom: 5px;
min-height: 12px;
}

</style>
.batch-process--button-stop {
margin-left: 15px !important;
border: none !important;
background: #990000 !important;
color: #ffffff !important;
}
</style>

0 comments on commit 62f80e3

Please sign in to comment.