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
074c85c8
Commit
074c85c8
authored
Nov 25, 2014
by
Jérome Perrin
Committed by
Ioannis Papagiannopoulos
Dec 18, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
hack: do not call getConfigurationDict so that we can display static version
parent
cabc8f0f
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
6 deletions
+27
-6
dream/platform/src/dream/index.js
dream/platform/src/dream/index.js
+3
-0
dream/platform/static/dream/index.js
dream/platform/static/dream/index.js
+24
-6
No files found.
dream/platform/src/dream/index.js
View file @
074c85c8
...
...
@@ -422,6 +422,9 @@
result
:
param_list
[
1
]
});
})
.
allowPublicAcquisition
(
"
getConfigurationDict
"
,
function
()
{
return
this
.
props
.
configuration_dict
;
})
/////////////////////////////////////////////////////////////////
// ready
...
...
dream/platform/static/dream/index.js
View file @
074c85c8
...
...
@@ -363,12 +363,30 @@
applicationname
:
"
dream
"
});
}).
push
(
function
()
{
// XXX Hardcoded relative URL
return
jio_gadget
.
ajax
({
url
:
"
../../getConfigurationDict
"
});
}).
push
(
function
(
evt
)
{
g
.
props
.
configuration_dict
=
JSON
.
parse
(
evt
.
target
.
responseText
);
g
.
props
.
configuration_dict
=
{
"
Dream-Configuration
"
:
{
_class
:
"
Dream.Configuration
"
,
gui
:
{
debug_json
:
1
,
download_excel_spreadsheet
:
0
,
exit_stat
:
1
,
job_gantt
:
0
,
job_schedule_spreadsheet
:
0
,
queue_stat
:
1
,
shift_spreadsheet
:
0
,
station_utilisation_graph
:
1
,
wip_part_spreadsheet
:
0
,
wip_spreadsheet
:
0
},
property_list
:
[
{
_class
:
"
Dream.Property
"
,
_default
:
10
,
id
:
"
numberOfReplications
"
,
name
:
"
Number of replications
"
,
type
:
"
number
"
}
]
}
};
});
}).
declareMethod
(
"
render
"
,
function
(
options
)
{
var
gadget
=
this
,
back_kw
=
{
...
...
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