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
Sven Franck
erp5
Commits
ed4ef1d9
Commit
ed4ef1d9
authored
Feb 16, 2015
by
Sven Franck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_renderjs_ui: fix css of multilistField
parent
4bcd41ff
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
43 additions
and
23 deletions
+43
-23
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
.../PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
+18
-13
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_multilistfield_html.xml
...m/web_page_module/rjs_gadget_erp5_multilistfield_html.xml
+5
-5
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_multilistfield_js.xml
...tem/web_page_module/rjs_gadget_erp5_multilistfield_js.xml
+20
-5
No files found.
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_css.xml
View file @
ed4ef1d9
...
...
@@ -390,17 +390,18 @@ form label span {\n
color: red;\n
}\n
\n
\n
/* layout form with left|right|center|bottom XXX: One big mess to re-factor!!!\n
.center {\n
/* stretch controlgroup controls in case they don\'t */\n
html.ui-mobile head + body .ui-field-contain fieldset .ui-controlgroup-controls {\n
width: 100%;\n
padding: 0 .5em;\n
-webkit-box-sizing: border-box;\n
-moz-box-sizing: border-box;\n
box-sizing: border-box;\n
text-align: left;\n
}\n
*/\n
/* remove double borders on vertical fieldsets TODO: no pseudo, not generic! */\n
html.ui-mobile head + body .ui-field-contain fieldset.ui-controlgroup-vertical .ui-controlgroup-controls > * .ui-btn {\n
border-bottom-width: 0;\n
}\n
html.ui-mobile head + body .ui-field-contain fieldset.ui-controlgroup-vertical .ui-controlgroup-controls > *:last-child .ui-btn {\n
border-bottom-width: 1px;\n
}\n
\n
.left,\n
.right,\n
.center,\n
...
...
@@ -1395,6 +1396,10 @@ html .ui-table-header:before {\n
----------------------------- Textinput ---------------------------------\n
-------------------------------------------------------------------------\n
*/\n
/* remove JQM icons */\n
.ui-input-search:after {\n
background-image: none;\n
}\n
/* pre-enhanced clear button padding */\n
.ui-input-has-clear .ui-btn input {\n
padding-left: 0;\n
...
...
@@ -1829,6 +1834,7 @@ html body .ui-tag-list-inset .ui-controlgroup-horizontal .ui-checkbox .ui-btn-ac
text-shadow: none;\n
color: black;\n
}\n
\n
/*\n
-------------------------------------------------------------------------\n
-------------------------------- Button ---------------------------------\n
...
...
@@ -4634,7 +4640,6 @@ html .ui-panel .ui-content .ui-btn[class*="ui-icon-"]:after {\n
background-image: url(images/icons-png/user-white.png);\n
}\n
\n
\n
]]>
</string>
</value>
...
...
@@ -4758,7 +4763,7 @@ html .ui-panel .ui-content .ui-btn[class*="ui-icon-"]:after {\n
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
super_sven
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -4772,7 +4777,7 @@ html .ui-panel .ui-content .ui-btn[class*="ui-icon-"]:after {\n
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
94
0.38971.30865.62105
</string>
</value>
<value>
<string>
94
1.1077.23453.57702
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -4790,7 +4795,7 @@ html .ui-panel .ui-content .ui-btn[class*="ui-icon-"]:after {\n
</tuple>
<state>
<tuple>
<float>
142
2462300.89
</float>
<float>
142
4105668.83
</float>
<string>
GMT
</string>
</tuple>
</state>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_multilistfield_html.xml
View file @
ed4ef1d9
...
...
@@ -127,7 +127,7 @@
</script>
\n
</head>
\n
<body>
\n
<fieldset
class=
"ui-controlgroup ui-corner-all"
>
\n
<fieldset
class=
"ui-controlgroup ui-corner-all
ui-controlgroup-vertical
"
>
\n
<div
class=
"ui-controlgroup-controls"
>
\n
</div>
\n
</fieldset>
\n
...
...
@@ -255,7 +255,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
xiaowu
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -269,7 +269,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
940.
57847.24942.44731
</string>
</value>
<value>
<string>
940.
61935.4199.24456
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -287,8 +287,8 @@
</tuple>
<state>
<tuple>
<float>
142
3579715.15
</float>
<string>
UTC
</string>
<float>
142
4105340.28
</float>
<string>
GMT
</string>
</tuple>
</state>
</object>
...
...
bt5/erp5_web_renderjs_ui/PathTemplateItem/web_page_module/rjs_gadget_erp5_multilistfield_js.xml
View file @
ed4ef1d9
...
...
@@ -169,6 +169,7 @@
})\n
.push(function (translated_htmls) {\n
var select_div,\n
wrapper_class_string,\n
div = document.createElement("div");\n
for (i = 0; i < translated_htmls.length; i += 1) {\n
div.innerHTML = translated_htmls[i];\n
...
...
@@ -176,7 +177,21 @@
selects[i].innerHTML = select_div.innerHTML;\n
if (field_json.editable !== 1) {\n
selects[i].setAttribute(\'readonly\', \'readonly\');\n
selects[i].setAttribute(\'data-wrapper-class\', \'ui-state-readonly\');\n
wrapper_class_string = wrapper_class_string || "";\n
wrapper_class_string += \'ui-state-readonly \';\n
}\n
// XXX add first + last class, needs to be improved\n
if (i === 0) {\n
wrapper_class_string = wrapper_class_string || ""; \n
wrapper_class_string += \'ui-first-child\';\n
}\n
if (i === translated_htmls.length - 1) {\n
wrapper_class_string = wrapper_class_string || ""; \n
wrapper_class_string += \'ui-last-child\';\n
}\n
if (wrapper_class_string) {\n
selects[i].setAttribute(\'data-wrapper-class\', wrapper_class_string);\n
wrapper_class_string = undefined;\n
}\n
}\n
});\n
...
...
@@ -315,7 +330,7 @@
</item>
<item>
<key>
<string>
actor
</string>
</key>
<value>
<string>
xiaowu
</string>
</value>
<value>
<string>
zope
</string>
</value>
</item>
<item>
<key>
<string>
comment
</string>
</key>
...
...
@@ -329,7 +344,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
94
0.58254.30018.38519
</string>
</value>
<value>
<string>
94
1.1091.39269.24183
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -347,8 +362,8 @@
</tuple>
<state>
<tuple>
<float>
142
3644326.02
</float>
<string>
UTC
</string>
<float>
142
4106460.96
</float>
<string>
GMT
</string>
</tuple>
</state>
</object>
...
...
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