Skip to content

Commit

Permalink
fixes for some scaling and margins on the engine ui
Browse files Browse the repository at this point in the history
  • Loading branch information
M-Wicenec committed May 21, 2021
1 parent b41544f commit dd0370d
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 3 deletions.
10 changes: 7 additions & 3 deletions daliuge-engine/dlg/manager/web/session.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@
<li>Session: {{sessionId}}</li>
</ol>
</div>
<div class="container" style="margin-top:80px;">
<div style="overflow: auto; max-height: 600px;">
<div id="listContainer" class="container">
<div>
<table id="pg-list" class="table table-striped table-condensed" >
<thead>
<tr>
Expand Down Expand Up @@ -85,7 +85,8 @@
d3.select('#pg-list').remove();
d3.select('#pg-graph').remove();

const width = 1000;
const width = $('#pg-progress-bar').innerWidth();
console.log(width)
var graph_update_handler = function(oids, dropSpecs) {};

var status_update_handler = function(statuses)
Expand Down Expand Up @@ -140,8 +141,11 @@
d3.select('#pg-list').remove()
d3.select('#pg-progress-bar').remove();

const heightValue = 300;
const widthValue = 600;
// Set up zoom support
var svg = d3.select("svg");

var inner = svg.select("g");
var zoom = d3.behavior.zoom().on(
"zoom",
Expand Down
30 changes: 30 additions & 0 deletions daliuge-engine/dlg/manager/web/static/css/session.css
Original file line number Diff line number Diff line change
Expand Up @@ -235,4 +235,34 @@ svg {

#graphName{
padding:0;
}

#listContainer{
position: absolute;
top:80px;
bottom:0px;
right:0px;
left:0px;
}

#listContainer div{
overflow: auto;
height: 100%;
}

#pg-graph{
position: absolute;
top:80px;
bottom:0px;
right:0px;
left:0px;
}

#pg-progress-bar{
position: absolute;
top:80px;
bottom:0px;
right:0px;
left:0px;
padding-right:20px;
}

0 comments on commit dd0370d

Please sign in to comment.