Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
45b1d42d
Commit
45b1d42d
authored
Sep 18, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
code cleanups
parent
3672dd40
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
41 deletions
+4
-41
dream/platform/static/css/demo-new.css
dream/platform/static/css/demo-new.css
+1
-29
dream/platform/static/index.html
dream/platform/static/index.html
+2
-10
dream/platform/static/src/jsonPlumb.js
dream/platform/static/src/jsonPlumb.js
+1
-2
No files found.
dream/platform/static/css/demo-new.css
View file @
45b1d42d
...
...
@@ -217,37 +217,9 @@ path, ._jsPlumb_endpoint { cursor:pointer; }
padding-top
:
0.9em
;
font-size
:
0.9em
;
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
;
}
dream/platform/static/index.html
View file @
45b1d42d
...
...
@@ -45,17 +45,9 @@
</textarea></td>
</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>
<!-- DEP -->
<!-- DEP -->
<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.touch-punch.min.js"
></script>
...
...
dream/platform/static/src/jsonPlumb.js
View file @
45b1d42d
...
...
@@ -52,14 +52,13 @@
// listen for clicks on connections, and offer to change values on click.
jsPlumb
.
bind
(
"
click
"
,
function
(
conn
)
{
//priv.dialog_connection = conn;
jsPlumb
.
detach
(
conn
);
});
jsPlumb
.
bind
(
"
beforeDetach
"
,
function
(
conn
)
{
return
confirm
(
"
Delete connection?
"
);
});
jsPlumb
.
bind
(
"
connectionDrag
"
,
function
(
connection
)
{
});
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment