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
84f5635d
Commit
84f5635d
authored
Nov 19, 2013
by
Kazuhiko Shiozaki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move Layout Graph button to Tools box.
parent
5685c245
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
4 deletions
+9
-4
dream/platform/static/css/demo-new.css
dream/platform/static/css/demo-new.css
+5
-1
dream/platform/static/index.html
dream/platform/static/index.html
+3
-1
dream/platform/static/src/dream.js
dream/platform/static/src/dream.js
+1
-2
No files found.
dream/platform/static/css/demo-new.css
View file @
84f5635d
...
@@ -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
{
...
...
dream/platform/static/index.html
View file @
84f5635d
...
@@ -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>
...
...
dream/platform/static/src/dream.js
View file @
84f5635d
...
@@ -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
()
{
...
...
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