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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Noah Brackenbury
erp5
Commits
5d6b0c46
Commit
5d6b0c46
authored
Oct 21, 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 icons and search field to panel
parent
86e6a0de
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
10 deletions
+40
-10
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
+8
-8
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
+32
-2
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_html.xml
View file @
5d6b0c46
...
...
@@ -137,12 +137,12 @@
</div>
\n
<div
class=
"ui-content"
>
\n
<ul
data-role=
"listview"
>
\n
<li><a
href=
"{{module_href}}"
class=
"ui-btn"
>
Modules
</a></li>
\n
<li><a
class=
"ui-btn"
>
Worklists
</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"
>
Language
</a></li>
\n
<li><a
class=
"ui-btn"
>
Logout
</a></li>
\n
<li><a
href=
"{{module_href}}"
class=
"ui-btn
ui-btn-icon-left ui-icon-puzzle-piece
"
>
Modules
</a></li>
\n
<li><a
class=
"ui-btn
ui-btn-icon-left ui-icon-clipboard
"
>
Worklists
</a></li>
\n
<li><a
href=
"{{history_href}}"
class=
"ui-btn
ui-btn-icon-left ui-icon-history
"
>
History
</a></li>
\n
<li><a
class=
"ui-btn
ui-btn-icon-left ui-icon-gear
"
>
Preferences
</a></li>
\n
<li><a
class=
"ui-btn
ui-btn-icon-left ui-icon-comment-o
"
>
Language
</a></li>
\n
<li><a
class=
"ui-btn
ui-btn-icon-left ui-icon-power-off
"
>
Logout
</a></li>
\n
</ul>
\n
</div>
\n
</script>
\n
...
...
@@ -293,7 +293,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
938.
17417.34725.59835
</string>
</value>
<value>
<string>
938.
24764.47660.35054
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -311,7 +311,7 @@
</tuple>
<state>
<tuple>
<float>
1413
798804.43
</float>
<float>
1413
816767.6
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_panel_js.xml
View file @
5d6b0c46
...
...
@@ -166,6 +166,36 @@
this.props.jelement.panel("toggle");\n
})\n
\n
.declareMethod(\'render\', function (option_dict) {\n
var panel_gadget = this;\n
\n
if (panel_gadget.props.set_search === true) {\n
return panel_gadget;\n
}\n
\n
return new RSVP.Queue()\n
.push(function() {\n
return panel_gadget.declareGadget("gadget_erp5_searchfield.html", {"scope": "search"});\n
})\n
.push(function (my_search_gadget) {\n
var selector, parent_node, search_option_dict = {};\n
\n
panel_gadget.props.set_search = true;\n
\n
// XXX disable for now\n
search_option_dict.disabled = true;\n
search_option_dict.theme = "d";\n
search_option_dict.extended_search = "";\n
parent_node = panel_gadget.__element.querySelector(".ui-content");\n
\n
parent_node.insertBefore(my_search_gadget.__element, parent_node.firstChild);\n
return my_search_gadget.render(search_option_dict);\n
})\n
.push(function () {\n
return panel_gadget;\n
});\n
})\n
\n
/////////////////////////////////////////////////////////////////\n
// declared services\n
/////////////////////////////////////////////////////////////////\n
...
...
@@ -320,7 +350,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
938.
15803.15252.14882
</string>
</value>
<value>
<string>
938.
25789.47838.52889
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -338,7 +368,7 @@
</tuple>
<state>
<tuple>
<float>
1413
280356.13
</float>
<float>
1413
879105.71
</float>
<string>
GMT
</string>
</tuple>
</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