Commit 45b1d42d authored by Jérome Perrin's avatar Jérome Perrin

code cleanups

parent 3672dd40
...@@ -217,37 +217,9 @@ path, ._jsPlumb_endpoint { cursor:pointer; } ...@@ -217,37 +217,9 @@ path, ._jsPlumb_endpoint { cursor:pointer; }
padding-top:0.9em; padding-top:0.9em;
font-size:0.9em; font-size:0.9em;
margin-top: 1em; margin-top: 1em;
margin-left: 1em; margin-left: 1em;
} }
#not_available {
position: absolute;
width: 200px;
height: 200px;
border: 2px solid;
margin-top: 350px;
margin-left: 500px;
border-radius: 10px;
}
#total_workers {
position: absolute;
width: 100px;
height: 80px;
border: 2px solid;
margin-top: 80px;
margin-left: 720px;
border-radius: 10px;
}
#total_throughput {
position: absolute;
width: 100px;
height: 80px;
border: 2px solid;
margin-top: 200px;
margin-left: 720px;
border-radius: 10px;
} }
...@@ -45,17 +45,9 @@ ...@@ -45,17 +45,9 @@
</textarea></td> </textarea></td>
</table> </table>
<!--
<div id="explanation">
<p>This is a demonstration of Flowchart combined with simulation.</p>
<p>Drag not available people to the box "Available". If there is enough workers, a green path will be displayed on the Flowchart.</p>
<p>Every time there is change to the list of available/not available people, a simulation server get informations and process new calculation.</p>
<p>For now, there is no real simulation, only some little code to make this demo working</p>
<p>This demonstration uses jsPlumb 1.4.0, jQuery 1.8.1 and jQuery UI 1.8.23.</p>
</div>
-->
</div> </div>
<!-- DEP -->
<!-- DEP -->
<script type="text/javascript" src="lib/jquery-1.8.1-min.js"></script> <script type="text/javascript" src="lib/jquery-1.8.1-min.js"></script>
<script type="text/javascript" src="lib/jquery-ui-1.8.23-min.js"></script> <script type="text/javascript" src="lib/jquery-ui-1.8.23-min.js"></script>
<script type="text/javascript" src="lib/jquery.ui.touch-punch.min.js"></script> <script type="text/javascript" src="lib/jquery.ui.touch-punch.min.js"></script>
......
...@@ -52,14 +52,13 @@ ...@@ -52,14 +52,13 @@
// listen for clicks on connections, and offer to change values on click. // listen for clicks on connections, and offer to change values on click.
jsPlumb.bind("click", function(conn) { jsPlumb.bind("click", function(conn) {
//priv.dialog_connection = conn;
jsPlumb.detach(conn); jsPlumb.detach(conn);
}); });
jsPlumb.bind("beforeDetach", function(conn) { jsPlumb.bind("beforeDetach", function(conn) {
return confirm("Delete connection?"); return confirm("Delete connection?");
}); });
jsPlumb.bind("connectionDrag", function(connection) { jsPlumb.bind("connectionDrag", function(connection) {
}); });
......
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