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
b95cfed6
Commit
b95cfed6
authored
Nov 19, 2013
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
spreadsheet for wip
parent
8df9c469
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
73 additions
and
7 deletions
+73
-7
dream/platform/static/index.html
dream/platform/static/index.html
+13
-0
dream/platform/static/lib/jquery.sheet-2.0.0/new_spreadsheet.html
...atform/static/lib/jquery.sheet-2.0.0/new_spreadsheet.html
+10
-6
dream/platform/static/menu.html
dream/platform/static/menu.html
+0
-0
dream/platform/static/src/dream.js
dream/platform/static/src/dream.js
+1
-0
dream/platform/static/src/dream_launcher.js
dream/platform/static/src/dream_launcher.js
+49
-1
No files found.
dream/platform/static/index.html
View file @
b95cfed6
...
...
@@ -8,6 +8,7 @@
<link
rel=
"stylesheet"
href=
"css/layout.css"
>
<link
rel=
"stylesheet"
href=
"css/demo-new.css"
>
<link
rel=
"stylesheet"
href=
"css/jquery-ui.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"lib/jquery.sheet-2.0.0/jquery.sheet.css"
>
</head>
<body
data-demo-id=
"flowchartConnectorsDemo"
data-library=
"jquery"
>
...
...
@@ -26,6 +27,7 @@
<a
id=
"zoom_out"
>
Zoom -
</a>
</div>
</div>
<div
class=
"twelve columns"
>
<div
id=
"main"
>
<div
id=
"render"
></div>
...
...
@@ -71,6 +73,13 @@
</div>
</div>
<div
class=
"twelve columns"
>
<div
id=
"wip"
>
<h4>
WIP
</h4>
<div
class=
"jQuerySheet"
></div>
</div>
</div>
<!-- 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>
...
...
@@ -87,6 +96,10 @@
<script
type=
"text/javascript"
src=
"lib/jquery.flot.stack.js"
></script>
<script
type=
"text/javascript"
src=
"lib/jquery.jsoneditor.js"
></script>
<!-- jqs -->
<script
type=
"text/javascript"
src=
"lib/jquery.sheet-2.0.0/parser.js"
"
></script>
<script
type=
"text/javascript"
src=
"lib/jquery.sheet-2.0.0/jquery.sheet.min.js"
"
></script>
<div
id=
"dialog-form"
title=
"Configure"
>
<form>
<fieldset
id=
"dialog-fieldset"
>
...
...
dream/platform/static/lib/jquery.sheet-2.0.0/new_spreadsheet.html
View file @
b95cfed6
...
...
@@ -5,12 +5,13 @@
cellspacing=
"0"
>
<TBODY>
<TR
height=
"18"
style=
"height: 18px;"
>
<TD
id=
"0_table0_cell_c0_r0"
class=
""
></TD>
<TD
id=
"0_table0_cell_c1_r0"
class=
""
></TD>
<TD
id=
"0_table0_cell_c2_r0"
class=
""
></TD>
<TD
id=
"0_table0_cell_c3_r0"
class=
""
></TD>
<TD
id=
"0_table0_cell_c4_r0"
class=
""
></TD>
<TD
id=
"0_table0_cell_c5_r0"
class=
""
></TD>
<TD
id=
"0_table0_cell_c0_r0"
class=
""
>
ID
</TD>
<TD
id=
"0_table0_cell_c1_r0"
class=
""
>
Class
</TD>
<TD
id=
"0_table0_cell_c2_r0"
class=
""
>
Name
</TD>
<TD
id=
"0_table0_cell_c3_r0"
class=
""
>
Sequence
</TD>
<TD
id=
"0_table0_cell_c4_r0"
class=
""
>
Processing Times
</TD>
<TD
id=
"0_table0_cell_c5_r0"
class=
""
>
Priority
</TD>
<TD
id=
"0_table0_cell_c6_r0"
class=
""
>
Order Date
</TD>
</TR>
<TR
height=
"18"
style=
"height: 18px;"
>
<TD
id=
"0_table0_cell_c0_r1"
class=
""
></TD>
...
...
@@ -19,6 +20,7 @@
<TD
id=
"0_table0_cell_c3_r1"
class=
""
></TD>
<TD
id=
"0_table0_cell_c4_r1"
class=
""
></TD>
<TD
id=
"0_table0_cell_c5_r1"
class=
""
></TD>
<TD
id=
"0_table0_cell_c6_r1"
class=
""
></TD>
</TR>
<TR
height=
"18"
style=
"height: 18px;"
>
<TD
id=
"0_table0_cell_c0_r2"
class=
""
></TD>
...
...
@@ -27,6 +29,7 @@
<TD
id=
"0_table0_cell_c3_r2"
class=
""
></TD>
<TD
id=
"0_table0_cell_c4_r2"
class=
""
></TD>
<TD
id=
"0_table0_cell_c5_r2"
class=
""
></TD>
<TD
id=
"0_table0_cell_c6_r2"
class=
""
></TD>
</TR>
<TR
height=
"18"
style=
"height: 18px;"
>
<TD
id=
"0_table0_cell_c0_r3"
class=
""
></TD>
...
...
@@ -35,6 +38,7 @@
<TD
id=
"0_table0_cell_c3_r3"
class=
""
></TD>
<TD
id=
"0_table0_cell_c4_r3"
class=
""
></TD>
<TD
id=
"0_table0_cell_c5_r3"
class=
""
></TD>
<TD
id=
"0_table0_cell_c6_r3"
class=
""
></TD>
</TR>
</TBODY>
</TABLE>
dream/platform/static/
gadget/
menu.html
→
dream/platform/static/menu.html
View file @
b95cfed6
File moved
dream/platform/static/src/dream.js
View file @
b95cfed6
...
...
@@ -260,6 +260,7 @@
manpy_dict
[
'
nodes
'
]
=
nodes
;
manpy_dict
[
'
edges
'
]
=
data
[
'
edges
'
];
manpy_dict
[
'
general
'
]
=
data
[
'
general
'
];
manpy_dict
[
'
wip
'
]
=
$
.
sheet
.
instance
[
0
].
exportSheet
.
json
();
return
manpy_dict
;
};
...
...
dream/platform/static/src/dream_launcher.js
View file @
b95cfed6
...
...
@@ -278,6 +278,12 @@
_id
:
"
dream_demo
"
,
data
:
data
},
function
(
err
,
response
)
{});
jio
.
put
({
_id
:
"
dream_demo.wip
"
,
data
:
JSON
.
stringify
(
$
.
sheet
.
instance
[
0
].
exportSheet
.
json
(),
undefined
,
"
"
)
},
function
(
err
,
response
)
{});
});
});
...
...
@@ -397,7 +403,49 @@
function
(
e
)
{
dream_instance
.
zoom_out
();
});
});
$
(
"
#graph_zone
"
).
hide
();
// WIP sheet
var
default_config
=
{
id
:
"
jquerysheet-div
"
,
style
:
''
,
jquerySheet
:
true
,
jquerySheetCss
:
true
,
parser
:
true
,
jqueryUiCss
:
true
,
scrollTo
:
false
,
jQueryUI
:
false
,
raphaelJs
:
false
,
gRaphaelJs
:
false
,
colorPicker
:
false
,
colorPickerCss
:
false
,
elastic
:
false
,
advancedMath
:
false
,
finance
:
false
,
editable
:
true
,
autoFiller
:
true
,
urlGet
:
'
lib/jquery.sheet-2.0.0/new_spreadsheet.html
'
};
var
sheet
=
$
(
'
.jQuerySheet
'
).
sheet
(
default_config
);
// reread wip from jio
jio
.
get
({
_id
:
"
dream_demo.wip
"
},
function
(
err
,
response
)
{
if
(
response
!==
undefined
&&
response
.
data
!==
undefined
)
{
var
config
=
$
.
extend
({
buildSheet
:
$
.
sheet
.
makeTable
.
json
(
JSON
.
parse
(
response
.
data
))
})
sheet
.
sheet
(
config
);
}
})
sheet
.
bind
(
'
sheetCellEdited
'
,
function
()
{
// TODO
})
});
})(
jQuery
);
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