Skip to content

Commit 524a550

Browse files
committed
Upgrade Electron and fix view CSS
1 parent 7cd3bfb commit 524a550

File tree

3 files changed

+5367
-5364
lines changed

3 files changed

+5367
-5364
lines changed

index.html

Lines changed: 21 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -597,9 +597,10 @@ <h3>Bash file preview:</h3>
597597
<script src="src/static/vendor/js/vis.js"></script>
598598
<script src="src/lab-generator/models/draw.js"></script>
599599
<script src="src/lab-generator/make_draw_model.js"></script>
600-
<div id="mynetwork" style="height: 75vh; border: 1px solid lightgray;"></div>
600+
<div id="mynetwork" style="height: 65vh; border: 1px solid lightgray;"></div>
601601

602-
<div id="controls" style="border: 1px solid lightgray; width: 100%; margin-top: 1em;">
602+
<div id="controls"
603+
style="border: 1px solid lightgray; width: 100%; margin-top: 1em; height: 25vh; overflow: scroll;">
603604
<div class="row" style="margin: 0 !important;">
604605
<div class="col-md-offset-3 col-md-2">
605606
<h3 class="margin-bottom: 5px;">Edges smoothness</h3>
@@ -641,8 +642,8 @@ <h3 class="margin-bottom: 5px;">Physics</h3>
641642

642643
<div class="form-group">
643644
<label for='physicsGravitationalConstant'>&nbsp;Gravitational Constant:</label>
644-
<input style="max-width: 300px;" type='range' min='-30000' max='0' value='-1200' step='50'
645-
id='physicsGravitationalConstant' onchange='setNetworkOptions()'>
645+
<input style="max-width: 300px;" type='range' min='-30000' max='0' value='-1200'
646+
step='50' id='physicsGravitationalConstant' onchange='setNetworkOptions()'>
646647
<input style="max-width: 300px; margin-top: 10px;" class="form-control" type='text'
647648
value='-1200' id='physicsGravitationalConstantValue' readonly='true'>
648649
</div>
@@ -651,32 +652,33 @@ <h3 class="margin-bottom: 5px;">Physics</h3>
651652
<h3 class="margin-bottom: 5px;">Miscellaneous</h3>
652653

653654
<div class="form-group">
654-
<input class="form-check-input" type="checkbox" value="" id="ifNameAt">
655-
<label class="form-check-label" for="ifNameAt">
656-
Replace interface name with "@"
657-
</label>
655+
<input class="form-check-input" type="checkbox" value="" id="ifNameAt">
656+
<label class="form-check-label" for="ifNameAt">
657+
Replace interface name with "@"
658+
</label>
658659
</div>
659660

660661
<div class="form-group">
661-
<input class="form-check-input" type="checkbox" value="" id="ifOspfCost">
662-
<label class="form-check-label" for="ifOspfCost">
663-
Show OSPF interface cost
664-
</label>
662+
<input class="form-check-input" type="checkbox" value="" id="ifOspfCost">
663+
<label class="form-check-label" for="ifOspfCost">
664+
Show OSPF interface cost
665+
</label>
665666
</div>
666667

667668
<div class="form-group">
668-
<input class="form-check-input" type="checkbox" value="" id="routingLabel">
669-
<label class="form-check-label" for="routingLabel">
670-
Show OSPF/RIP/BGP label on router
671-
</label>
669+
<input class="form-check-input" type="checkbox" value="" id="routingLabel">
670+
<label class="form-check-label" for="routingLabel">
671+
Show OSPF/RIP/BGP label on router
672+
</label>
672673
</div>
673-
</div>
674+
</div>
674675
</div>
675676

676677
<div class="row" style="margin: 0 !important; margin-top: 10px;">
677678
<div class="col-md-offset-3 col-md-6">
678679
<div class="form-group">
679-
<button class="btn btn-danger btn-block" data-ng-click="makeGraph(netkit)">Reset</button>
680+
<button class="btn btn-danger btn-block"
681+
data-ng-click="makeGraph(netkit)">Reset</button>
680682
</div>
681683
</div>
682684
</div>
@@ -719,6 +721,7 @@ <h4 class="modal-title">Running Commands</h4>
719721
}
720722
}
721723
</script>
724+
</div>
722725
</body>
723726

724727
</html>

0 commit comments

Comments
 (0)