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
01f52c21
Commit
01f52c21
authored
Dec 22, 2014
by
Ioannis Papagiannopoulos
Committed by
Jérome Perrin
Feb 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
static updates to new working version
parent
90071f7d
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
470 additions
and
167 deletions
+470
-167
dream/platform/static/dream/inputModule_viewAddInstanceDefinitionDialog.html
...ic/dream/inputModule_viewAddInstanceDefinitionDialog.html
+1
-1
dream/platform/static/expandable_field/expandablefield.js
dream/platform/static/expandable_field/expandablefield.js
+104
-45
dream/platform/static/fieldset/fieldset.js
dream/platform/static/fieldset/fieldset.js
+16
-9
dream/platform/static/jsplumb/index.html
dream/platform/static/jsplumb/index.html
+2
-2
dream/platform/static/jsplumb/jsplumb.js
dream/platform/static/jsplumb/jsplumb.js
+345
-108
dream/platform/static/jsplumb/test.js
dream/platform/static/jsplumb/test.js
+2
-2
No files found.
dream/platform/static/dream/inputModule_viewAddInstanceDefinitionDialog.html
View file @
01f52c21
...
...
@@ -4,7 +4,7 @@
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1"
>
<title>
Choose Instance
</title>
<link
rel=
"stylesheet"
href=
"
i
nputModule_viewAddInstanceDefinitionDialog.css"
/>
<link
rel=
"stylesheet"
href=
"
I
nputModule_viewAddInstanceDefinitionDialog.css"
/>
<script
src=
"../lib/rsvp.min.js"
type=
"text/javascript"
></script>
<script
src=
"../lib/handlebars.min.js"
type=
"text/javascript"
></script>
...
...
dream/platform/static/expandable_field/expandablefield.js
View file @
01f52c21
This diff is collapsed.
Click to expand it.
dream/platform/static/fieldset/fieldset.js
View file @
01f52c21
...
...
@@ -41,6 +41,10 @@
}
return
gadget
.
declareGadget
(
"
../expandable_field/index.html
"
);
}
if
(
property_definition
.
properties
)
{
// Create a recursive fieldset for this key.
return
gadget
.
declareGadget
(
"
../fieldset/index.html
"
);
}
if
(
property_definition
.
type
===
"
object
"
)
{
// Create a recursive fieldset for this key.
return
gadget
.
declareGadget
(
"
../fieldset/index.html
"
);
...
...
@@ -73,7 +77,9 @@
},
node_id
);
}
Object
.
keys
(
options
.
property_definition
.
properties
).
forEach
(
function
(
property_name
)
{
var
property_definition
=
options
.
property_definition
.
properties
[
property_name
],
value
=
property_definition
.
default
,
i
=
0
,
property
;
var
property_definition
=
options
.
property_definition
.
properties
[
property_name
],
value
,
i
=
0
,
property
;
if
(
property_definition
)
{
value
=
property_definition
.
default
||
{};
if
(
property_definition
.
allOf
)
{
if
(
property_definition
.
allOf
[
0
].
properties
)
{
for
(
property
in
property_definition
.
allOf
[
0
].
properties
)
{
...
...
@@ -87,6 +93,7 @@
}
}
}
}
console
.
log
(
"
TRYING TO FIND A VALUE!!!!
"
);
console
.
log
(
options
);
console
.
log
(
options
.
value
);
...
...
dream/platform/static/jsplumb/index.html
View file @
01f52c21
...
...
@@ -24,9 +24,9 @@
</script>
<template
id=
"popup-edit-template"
>
<div
id=
"
node-
edit-popup"
data-position-to=
"origin"
>
<div
id=
"edit-popup"
data-position-to=
"origin"
>
<div
data-role=
"header"
data-theme=
"a"
>
<h1
class=
"node_class"
>
Node edition
</h1>
<h1
class=
"node_class"
>
Edit properties
</h1>
<a
href=
"#"
data-rel=
"back"
class=
"ui-btn ui-corner-all ui-shadow ui-btn-a ui-icon-delete ui-btn-icon-notext ui-btn-right"
>
Close
</a>
</div>
<br/>
...
...
dream/platform/static/jsplumb/jsplumb.js
View file @
01f52c21
This diff is collapsed.
Click to expand it.
dream/platform/static/jsplumb/test.js
View file @
01f52c21
...
...
@@ -27,7 +27,7 @@
"
Example.Edge
"
:
{
_class
:
"
edge
"
,
allOf
:
[
{
$ref
:
"
#edge
"
$ref
:
"
#
/
edge
"
},
{
properties
:
{
color
:
{
...
...
@@ -40,7 +40,7 @@
"
Example.Node
"
:
{
_class
:
"
node
"
,
allOf
:
[
{
$ref
:
"
#node
"
$ref
:
"
#
/
node
"
},
{
properties
:
{
shape
:
{
...
...
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