Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
erp5
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Laurent S
erp5
Commits
03915a84
Commit
03915a84
authored
Oct 14, 2014
by
Sven Franck
Committed by
Romain Courteaud
Nov 17, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: added header, erp5 logo, close button form to panel gadget
parent
a899703c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
74 additions
and
35 deletions
+74
-35
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
.../PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
+15
-21
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
...mplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
+20
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
...TemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
+39
-9
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
View file @
03915a84
...
@@ -1255,11 +1255,12 @@ html body div.ui-select div span {\n
...
@@ -1255,11 +1255,12 @@ html body div.ui-select div span {\n
------------------------------- Panel -----------------------------------\n
------------------------------- Panel -----------------------------------\n
-------------------------------------------------------------------------\n
-------------------------------------------------------------------------\n
*/\n
*/\n
/* unset margin inside panel
*/
\n
/* unset margin inside panel
if panel wraps content in .ui-panel-inner
\n
html .ui-panel .ui-header,\n
html .ui-panel .ui-
panel-inner .ui-
header,\n
html .ui-panel .ui-content {\n
html .ui-panel .ui-
panel-inner .ui-
content {\n
margin: -1em;\n
margin: -1em;\n
}\n
}\n
*/\n
/* reposition panel content section */\n
/* reposition panel content section */\n
html .ui-panel .ui-header ~ .ui-content {\n
html .ui-panel .ui-header ~ .ui-content {\n
margin-top: 1em;\n
margin-top: 1em;\n
...
@@ -1792,6 +1793,13 @@ html .ui-footer .ui-title {\n
...
@@ -1792,6 +1793,13 @@ html .ui-footer .ui-title {\n
padding: 0.7em 0;\n
padding: 0.7em 0;\n
}\n
}\n
\n
\n
/* set logo dimensions */\n
html .ui-header img.ui-title {\n
max-height: 32px;\n
padding-top: .25em;\n
padding-bottom: .25em;\n
}\n
\n
/* move title to left if only one controlgroup with menu */\n
/* move title to left if only one controlgroup with menu */\n
html .ui-header .ui-title {\n
html .ui-header .ui-title {\n
margin: 0 59% 0 1%;\n
margin: 0 59% 0 1%;\n
...
@@ -1806,16 +1814,9 @@ html .ui-header .ui-controlgroup ~ .ui-title {\n
...
@@ -1806,16 +1814,9 @@ html .ui-header .ui-controlgroup ~ .ui-title {\n
.ui-header-fixed ~ .ui-content {\n
.ui-header-fixed ~ .ui-content {\n
padding-top: 3em;\n
padding-top: 3em;\n
}\n
}\n
/*
correct border, add shadow
*/\n
/*
remove border on header
*/\n
.ui-header {\n
.ui-header {\n
border-top-width: 0;\n
border-width: 0;\n
border-left-width: 0;\n
border-right-width: 0;\n
/*\n
-webkit-box-shadow: 0 1px 4px #aaa;\n
-moz-box-shadow: 0 1px 4px #aaa;\n
box-shadow: 0 1px 4px #aaa;\n
*/\n
}\n
}\n
\n
\n
/* inset shadow for subheader */\n
/* inset shadow for subheader */\n
...
@@ -1825,13 +1826,6 @@ html body .ui-mobile-viewport .ui-subheader {\n
...
@@ -1825,13 +1826,6 @@ html body .ui-mobile-viewport .ui-subheader {\n
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);\n
-moz-box-shadow: inset 0 1px 3px rgba(0,0,0,.2);\n
box-shadow: inset 0 1px 3px rgba(0,0,0,.2);\n
box-shadow: inset 0 1px 3px rgba(0,0,0,.2);\n
}\n
}\n
\n
/* Double Borders for header and subheader */\n
html body.ui-mobile-viewport .ui-header,\n
html body .ui-mobile-viewport .ui-header {\n
border-bottom-color: rgb(115, 115, 115); /* IE8 */\n
border-bottom-color: rgba(0, 0, 0, .25);\n
}\n
html body.ui-mobile-viewport .ui-subheader,\n
html body.ui-mobile-viewport .ui-subheader,\n
html body .ui-mobile-viewport .ui-subheader {\n
html body .ui-mobile-viewport .ui-subheader {\n
border-top-color: rgb(115, 115, 115); /* IE8 */\n
border-top-color: rgb(115, 115, 115); /* IE8 */\n
...
@@ -4397,7 +4391,7 @@ html .ui-btn[class*="ui-icon-"]:after {\n
...
@@ -4397,7 +4391,7 @@ html .ui-btn[class*="ui-icon-"]:after {\n
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
93
7.54301.29012.61115
</string>
</value>
<value>
<string>
93
8.15820.36055.62600
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -4415,7 +4409,7 @@ html .ui-btn[class*="ui-icon-"]:after {\n
...
@@ -4415,7 +4409,7 @@ html .ui-btn[class*="ui-icon-"]:after {\n
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
141
1743240.9
4
</float>
<float>
141
3280129.4
4
</float>
<string>
GMT
</string>
<string>
GMT
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
View file @
03915a84
...
@@ -121,15 +121,30 @@
...
@@ -121,15 +121,30 @@
<script
src=
"jquerymobile.js"
>
type="text/javascript">
</script>
\n
<script
src=
"jquerymobile.js"
>
type="text/javascript">
</script>
\n
\n
\n
<script
id=
"panel-template"
type=
"text/x-handlebars-template"
>
\n
<script
id=
"panel-template"
type=
"text/x-handlebars-template"
>
\n
<p>
ERP5
</p>
\n
\n
<div
data-role=
"header"
class=
"ui-bar-inherit"
>
\n
<div
class=
"ui-controlgroup ui-controlgroup-horizontal ui-btn-left"
>
\n
<div
class=
"ui-controlgroup-controls"
></div>
\n
</div>
\n
<img
class=
"ui-title"
alt=
"ERP5"
src=
"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWgAAACgCAYAAAAhKfa4AAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB94KDgkcOfgsVrcAABTaSURBVHja7d17lBxlmcfx7/NW9VwayASRgFmYAHEFJEGCsgQED8jM4kESURBUFAW8LLLguoALgoiLrng5KHjWC64XcBGRy5oEPUAiIKCgsKAkEIRNYhKYTYIRJyQ9l65+n/1jBsEVIVPdPdM9/fschsM5nOqpefrtXz1VXfW+5u6IiEjjSV/NElMZREQaj6mDFhFpTEElEBFRQIuIiAJaREQBLSIiCmgREQW0iIgooEVERAEtIqKAFhERBbSIiAJaREQU0CIiooAWkdqLzimAt8xP9MMU0CIi6qBFREQBLSIiCmgREQW0iIgooEVEFNAiIqKAFhERBbSIiAJaREQU0CIik0aqEohIQ3DWYqxstt0um/UXFNAiMqkZ3wfObbbdLlj9XluXOEREGlQ9A3ozrTTlIHg54yQNKRGpFV3imDw2A9uM/6/14ehWNhgEhoCNBhuisSFAH/hjw2V7LEtZXjTWq2YjNQMbdHzYsJLjvzdsHc76aKwx55EKLH90JY/PmsmghrYCWiQnawtG2/OCbvqfn5oZbQVoA9zpc7jbI3cnoXIrlvy2VWsGtBk2WiHrHv2PkbrZyAdznz3IgPujc4fDHcmmoZ/R1a7A1iUOkTrEkjE9GMcnCZdjyaPA0uhcRBZnqjovWK8UmBuMcxPjZu9qXwd8u4L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roup ui-controlgroup-horizontal ui-btn-right"
>
\n
<div
class=
"ui-controlgroup-controls"
>
\n
<form
action=
"#"
method=
"post"
>
\n
<input
type=
"submit"
data-icon=
"delete"
data-iconpos=
"notext"
value=
"Close"
/>
\n
</form>
\n
</div>
\n
</div>
\n
</div>
\n
<div
class=
"ui-content"
>
\n
<ul
data-role=
"listview"
>
\n
<ul
data-role=
"listview"
>
\n
<li><a
href=
"{{module_href}}"
class=
"ui-btn"
>
Modules
</a></li>
\n
<li><a
href=
"{{module_href}}"
class=
"ui-btn"
>
Modules
</a></li>
\n
<li><a
class=
"ui-btn"
>
Worklists
</a></li>
\n
<li><a
class=
"ui-btn"
>
Worklists
</a></li>
\n
<li><a
class=
"ui-btn"
>
History
</a></li>
\n
<li><a
href=
"{{history_href}}"
class=
"ui-btn"
>
History
</a></li>
\n
<li><a
class=
"ui-btn"
>
Preferences
</a></li>
\n
<li><a
class=
"ui-btn"
>
Preferences
</a></li>
\n
<li><a
class=
"ui-btn"
>
Language
</a></li>
\n
<li><a
class=
"ui-btn"
>
Language
</a></li>
\n
<li><a
class=
"ui-btn"
>
Logout
</a></li>
\n
<li><a
class=
"ui-btn"
>
Logout
</a></li>
\n
</ul>
\n
</ul>
\n
</div>
\n
</script>
\n
</script>
\n
\n
\n
<!-- custom script -->
\n
<!-- custom script -->
\n
...
@@ -264,7 +279,7 @@
...
@@ -264,7 +279,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
romai
n
</string>
</value>
<value>
<string>
sve
n
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -278,7 +293,7 @@
...
@@ -278,7 +293,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
938.
4475.15340.20019
</string>
</value>
<value>
<string>
938.
15810.43123.7748
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -296,7 +311,7 @@
...
@@ -296,7 +311,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
141
2599426.4
1
</float>
<float>
141
3280160.6
1
</float>
<string>
GMT
</string>
<string>
GMT
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
View file @
03915a84
...
@@ -136,24 +136,54 @@
...
@@ -136,24 +136,54 @@
g.props.jelement.panel({\n
g.props.jelement.panel({\n
display: "overlay",\n
display: "overlay",\n
position: "left",\n
position: "left",\n
theme: "
b
"\n
theme: "
d
"\n
// animate: false\n
// animate: false\n
});\n
});\n
})\n
})\n
\n
\n
.ready(function (g) {\n
.ready(function (g) {\n
g.props.jelement.html(panel_template({\n
return new RSVP.Queue()\n
module_href: "#"\n
.push(function () {\n
}));\n
return RSVP.all([\n
g.props.jelement.trigger("create");\n
g.whoWantToDisplayThisFrontPage("front"),\n
g.whoWantToDisplayThisFrontPage("history"),\n
]);\n
})\n
.push(function (all_result) {\n
g.props.jelement.html(panel_template({\n
module_href: all_result[0],\n
history_href: all_result[1]\n
}));\n
g.props.jelement.trigger("create");\n
});\n
})\n
})\n
\n
\n
.declareAcquiredMethod("whoWantToDisplayThisFrontPage", "whoWantToDisplayThisFrontPage")\n
/////////////////////////////////////////////////////////////////\n
/////////////////////////////////////////////////////////////////\n
// declared methods\n
// declared methods\n
/////////////////////////////////////////////////////////////////\n
/////////////////////////////////////////////////////////////////\n
.declareMethod(\'toggle\', function () {\n
.declareMethod(\'toggle\', function () {\n
this.props.jelement.panel("toggle");\n
this.props.jelement.panel("toggle");\n
});\n
})\n
\n
/////////////////////////////////////////////////////////////////\n
// declared services\n
/////////////////////////////////////////////////////////////////\n
.declareService(function () {\n
var panel_gadget = this;\n
\n
function formSubmit() {\n
panel_gadget.toggle();\n
}\n
\n
// Listen to form submit\n
return loopEventListener(\n
panel_gadget.props.element.querySelector(\'form\'),\n
\'submit\',\n
false,\n
formSubmit\n
);\n
})\n
\n
\n
}(window, rJS, Handlebars, jQuery));
</string>
</value>
}(window, rJS, Handlebars, jQuery));
</string>
</value>
</item>
</item>
...
@@ -276,7 +306,7 @@
...
@@ -276,7 +306,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
actor
</string>
</key>
<key>
<string>
actor
</string>
</key>
<value>
<string>
romai
n
</string>
</value>
<value>
<string>
sve
n
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
comment
</string>
</key>
<key>
<string>
comment
</string>
</key>
...
@@ -290,7 +320,7 @@
...
@@ -290,7 +320,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
938.
4544.32819.35584
</string>
</value>
<value>
<string>
938.
15803.15252.14882
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -308,7 +338,7 @@
...
@@ -308,7 +338,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
141
2607722.67
</float>
<float>
141
3280356.13
</float>
<string>
GMT
</string>
<string>
GMT
</string>
</tuple>
</tuple>
</state>
</state>
...
...
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