Skip to content

Commit

Permalink
delete button is implimented
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Wicenec committed Aug 24, 2021
1 parent df28e36 commit 83b6320
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
1 change: 1 addition & 0 deletions daliuge-engine/dlg/manager/web/dim.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ <h4>Sessions</h4>
<th># Drops</th>
<th>Details</th>
<th></th>
<th></th>
</tr>
</thead>
<tbody>
Expand Down
15 changes: 13 additions & 2 deletions daliuge-engine/dlg/manager/web/static/css/dm.css
Original file line number Diff line number Diff line change
Expand Up @@ -94,12 +94,23 @@ color:rgba(0,35,73,1);
}

tr td.actions button{
padding: 2px 4px;
padding: 1px 4px;
font-size:16px;
}

tr td.actions{
padding:9px 12px;
padding:6px 12px;
width: 0px;
}

tr td.d_actions{
padding:6px 12px;
width: 0px;
}

tr td.d_actions d_button{
padding: 1px 4px;
font-size: 16px;
}

.status svg {
Expand Down
6 changes: 6 additions & 0 deletions daliuge-engine/dlg/manager/web/static/js/dm.js
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ function loadSessions(serverUrl, tbodyEl, refreshBtn, selectedNode, delay) {
}else if(currentStatus==="Deploying"){
$(this).css("color","blue");
$(this).parent().removeClass("progressRunning")
$(this).parent().find(".d_actions").find("d_button").show();
}
else if (currentStatus==="Running") {
$(this).text("");
Expand All @@ -256,6 +257,11 @@ function loadSessions(serverUrl, tbodyEl, refreshBtn, selectedNode, delay) {
$(this).parent().find(".actions").find("button").hide();
$(this).parent().find(".d_actions").find("d_button").show();
$(this).parent().removeClass("progressRunning")
}else if (currentStatus==="Pristine"){
$(this).css("color","#b93a46");
$(this).parent().find(".actions").find("button").hide();
$(this).parent().find(".d_actions").find("d_button").show();
$(this).parent().removeClass("progressRunning")
}else{
$(this).css("color","purple");
$(this).parent().find(".actions").find("button").hide();
Expand Down
2 changes: 1 addition & 1 deletion daliuge-translator/dlg/dropmake/web/VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1.0.0:liu-150
06e108c3133934f425ace557734e8e9e8eaf6f8a
df28e36db30e12662802d1c1a81e88f1f67240a7

0 comments on commit 83b6320

Please sign in to comment.