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
Tomáš Peterka
erp5
Commits
6455b899
Commit
6455b899
authored
Aug 07, 2014
by
Romain Courteaud
Committed by
Sebastien Robin
Aug 08, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add a link to create new document
parent
388a6604
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
55 additions
and
17 deletions
+55
-17
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
.../PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
+15
-9
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_html.xml
...PathTemplateItem/web_page_module/rjs_gadget_erp5_html.xml
+10
-4
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
...i/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
+29
-3
bt5/erp5_web_renderjs_ui/bt/revision
bt5/erp5_web_renderjs_ui/bt/revision
+1
-1
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
View file @
6455b899
...
...
@@ -162,8 +162,14 @@ html.ui-mobile legend, .ui-btn, .ui-li-static, html.ui-mobile body form label {\
font-family: Helvetica, Arial, sans-serif;\n
font-size: 90%;\n
}\n
html body .ui-header .ui-btn {\n
font-size: 85%\n
html body .ui-controlgroup.ui-btn-right,\n
html body .ui-header >
.ui-btn {\n
font-size: 90%;\n
}\n
/* fix font-size on notext buttons, so icons don\'t zoom, JQMs-px font-size */\n
html body .ui-header .ui-controlgroup .ui-btn,\n
html body .ui-footer .ui-controlgroup .ui-btn {\n
font-size: 100%;\n
}\n
\n
\n
...
...
@@ -865,6 +871,11 @@ html head + body .ui-body-b.ui-focus{\n
.ui-header .ui-btn-right {\n
right: 0;\n
}\n
/* fix controlgroups in header font-size */\n
.ui-header .ui-controlgroup.ui-btn-left, \n
.ui-header .ui-controlgroup.ui-btn-right {\n
font-size: auto;\n
}\n
/* double borders */\n
html .ui-header .ui-btn-left.ui-btn,\n
html .ui-header .ui-btn-left .ui-btn {\n
...
...
@@ -953,11 +964,6 @@ html .ui-btn, label.ui-btn {\n
.ui-btn-icon-notext:after {\n
text-indent: 0;\n
}\n
/* fix font-size on notext buttons, so icons don\'t zoom, JQMs-px font-size */\n
.ui-header .ui-btn-icon-notext,\n
.ui-footer .ui-btn-icon-notext {\n
font-size: 12.5px;\n
}\n
\n
/* ---------------------------- TABLE ------------------------------------ */\n
/* NOTE: since the table widget is not used, JQM CSS is added hard coded */\n
...
...
@@ -1460,7 +1466,7 @@ html.ui-mobile body nav.ui-title {\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
936.4
6336.62391.44851
</string>
</value>
<value>
<string>
936.4
7424.46819.23074
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -1478,7 +1484,7 @@ html.ui-mobile body nav.ui-title {\n
</tuple>
<state>
<tuple>
<float>
14073
35558.98
</float>
<float>
14073
98552.06
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_html.xml
View file @
6455b899
...
...
@@ -142,7 +142,13 @@
data-gadget-sandbox=
"public"
></div>
\n
</div>
\n
\n
<a
href=
"#"
class=
"responsive ui-btn ui-icon-home ui-btn-icon-left"
>
Home
</a>
\n
<div
class=
"ui-controlgroup ui-controlgroup-horizontal ui-btn-right"
>
\n
<div
class=
"ui-controlgroup-controls"
>
\n
<a
class=
"responsive ui-btn ui-icon-plus ui-btn-icon-left ui-disabled"
role=
"button"
data-role=
"button"
>
New
</a>
\n
<a
role=
"button"
data-role=
"button"
href=
"#"
class=
"responsive ui-btn ui-icon-home ui-btn-icon-left"
>
Home
</a>
\n
</div>
\n
</div>
\n
\n
</header>
\n
\n
<article></article>
\n
...
...
@@ -276,7 +282,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
sve
n
</string>
</value>
<value>
<string>
romai
n
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -290,7 +296,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
936.4
6013.38940.47974
</string>
</value>
<value>
<string>
936.4
7410.50555.22340
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -308,7 +314,7 @@
</tuple>
<state>
<tuple>
<float>
14073
14211.01
</float>
<float>
14073
97647.36
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_js.xml
View file @
6455b899
...
...
@@ -205,10 +205,29 @@
})\n
\n
.push(function (form_gadget) {\n
\n
var new_content_action = sub_options.erp5_document._links.action_object_new_content_action,\n
plus_queue;\n
if (new_content_action === undefined) {\n
var new_element = gadget.__element.querySelector(".ui-icon-plus");\n
new_element.href = "";\n
if (!new_element.classList.contains("ui-disabled")) {\n
new_element.classList.add("ui-disabled");\n
}\n
} else {\n
// XXX copied from whoWantToDisplayThisPage\n
plus_queue = gadget.aq_pleasePublishMyState({jio_key: gadget.props.jio_key, view: new_content_action.name})\n
.push(function (hash) {\n
var new_element = gadget.__element.querySelector(".ui-icon-plus");\n
new_element.href = hash;\n
new_element.classList.remove("ui-disabled");\n
});\n
}\n
return RSVP.all([\n
form_gadget.render(sub_options),\n
form_gadget.getElement(),\n
gadget.props.breadcrumb_gadget.render(breadcrumb_options)\n
gadget.props.breadcrumb_gadget.render(breadcrumb_options),\n
plus_queue\n
]);\n
})\n
}\n
...
...
@@ -325,6 +344,13 @@
queue;\n
\n
if (options.jio_key === undefined) {\n
\n
var new_element = gadget.__element.querySelector(".ui-icon-plus");\n
new_element.href = "";\n
if (!new_element.classList.contains("ui-disabled")) {\n
new_element.classList.add("ui-disabled");\n
}\n
\n
if (options.page === "login") {\n
queue = renderLoginForm(gadget, options);\n
} else if (options.page === undefined) {\n
...
...
@@ -515,7 +541,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
936.4
5060.38036.50312
</string>
</value>
<value>
<string>
936.4
7421.11609.45107
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -533,7 +559,7 @@
</tuple>
<state>
<tuple>
<float>
14073
11956.87
</float>
<float>
14073
98340.29
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/bt/revision
View file @
6455b899
39
\ No newline at end of file
40
\ No newline at end of file
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