Commit 84f5635d authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

move Layout Graph button to Tools box.

parent 5685c245
...@@ -190,6 +190,10 @@ path, ._jsPlumb_endpoint { cursor:pointer; } ...@@ -190,6 +190,10 @@ path, ._jsPlumb_endpoint { cursor:pointer; }
padding-bottom: 20px; padding-bottom: 20px;
} }
#tools-container {
margin-bottom: 4px;
}
#simulation_controls { #simulation_controls {
/* position: absolute; /* position: absolute;
width: 200px; width: 200px;
...@@ -231,7 +235,7 @@ path, ._jsPlumb_endpoint { cursor:pointer; } ...@@ -231,7 +235,7 @@ path, ._jsPlumb_endpoint { cursor:pointer; }
.ui-button { .ui-button {
width:80%; width:80%;
margin-bottom:4px; margin:4px 0;
} }
.Dream-Source { .Dream-Source {
......
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
<div class="four columns"> <div class="four columns">
<div id="tools"> <div id="tools">
<h4>Tools</h4> <h4>Tools</h4>
<div id="tools-container"></div>
<a id="clear_all">Clear All</a>
<a id="layout_graph">Layout Graph</a>
</div> </div>
</div> </div>
<div class="twelve columns"> <div class="twelve columns">
...@@ -38,7 +41,6 @@ ...@@ -38,7 +41,6 @@
<fieldset id="general-fieldset"> <fieldset id="general-fieldset">
</fieldset> </fieldset>
<a id="run_simulation">Run Simulation</a> <a id="run_simulation">Run Simulation</a>
<a id="layout_graph">Layout Graph</a>
</form> </form>
</div> </div>
</div> </div>
......
...@@ -47,14 +47,13 @@ ...@@ -47,14 +47,13 @@
}; };
priv.displayTool = function () { priv.displayTool = function () {
var render_element = $("[id=tools]"); var render_element = $("[id=tools-container]");
for (var key in configuration) { for (var key in configuration) {
if (key !== 'Dream-Configuration') { if (key !== 'Dream-Configuration') {
render_element.append('<div id="' + key + '" class="tool ' + key + '">' + render_element.append('<div id="' + key + '" class="tool ' + key + '">' +
key.split('-')[1] + "<ul/></div>"); key.split('-')[1] + "<ul/></div>");
} }
} }
render_element.append('<p/><a id="clear_all">Clear All</a>');
}; };
priv.initDialog = function () { priv.initDialog = function () {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment