Skip to content

Commit

Permalink
hid the needed items and removed the rest
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Wicenec authored and Moritz Wicenec committed May 10, 2022
1 parent ca5ab0e commit e97bca3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
8 changes: 4 additions & 4 deletions daliuge-translator/dlg/dropmake/web/pg_viewer.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,12 @@ <h5 class="modal-title" id="settingsModalLabel">Settings</h5>
</div>
<div class="modal-body">
<form action="/gen_pg" method="get" target="blank" name="deploy_target" id="pg_form" >
<div class="settingsSection">
<span>DALiuGE Manager URL:</span>
<div id="neccessaryHiddenItems">
<input id="managerUrlInput" type="text" name="dlg_mgr_url" value="http://localhost:8001" size="40" style="font-size:16px;">
<input type="checkbox" id="dlg_mgr_deploy" name="dlg_mgr_deploy" value="deploy" checked>
<input name="pgt_id" value="{{pgt_view_json_name}}">
</div>
<input type="checkbox" id="dlg_mgr_deploy" style="visibility:hidden;" name="dlg_mgr_deploy" value="deploy" checked>
<input type="hidden" name="pgt_id" value="{{pgt_view_json_name}}">

</form>
<form action="/gen_pg_helm" method="get" id="pg_helm_form" target="_blank" name="deploy_helm_target">
<input type="checkbox" id="dlg_helm_deploy" style="visibility:hidden;" name="dlg_helm_deploy" value="helm_deploy" checked>
Expand Down
9 changes: 5 additions & 4 deletions daliuge-translator/dlg/dropmake/web/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -640,6 +640,11 @@

#settingsModal .modal-body{
background-color:#001d3b;
padding: 50px 16px;
}

#settingsModal #neccessaryHiddenItems, #settingsModal form{
display: none;
}

#settingsModal .modal-dialog{
Expand Down Expand Up @@ -707,10 +712,6 @@
border:solid 1px white;
}

.settingsSection{
padding-bottom: 20px;
}

#oriantationDropdown .orientationOptionContainer a{
display: inline-block;
color: white;
Expand Down

0 comments on commit e97bca3

Please sign in to comment.