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
Labels
Merge Requests
146
Merge Requests
146
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
Jobs
Commits
Open sidebar
nexedi
erp5
Commits
16a5be11
Commit
16a5be11
authored
Mar 10, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_project_ui: new styles for project home page boxes
parent
5b9c15de
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
16 deletions
+15
-16
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_css.css
...eItem/web_page_module/project_gadget_page_project_css.css
+2
-6
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_css.xml
...eItem/web_page_module/project_gadget_page_project_css.xml
+2
-2
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_front_page_js.js
..._page_module/project_gadget_page_project_front_page_js.js
+9
-6
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_front_page_js.xml
...page_module/project_gadget_page_project_front_page_js.xml
+2
-2
No files found.
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_css.css
View file @
16a5be11
...
...
@@ -5,6 +5,7 @@ div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_project_front_page.html"
]
.front-project-list
.project-box
{
width
:
32%
;
margin-bottom
:
10px
;
border-style
:
solid
;
border-width
:
1px
;
...
...
@@ -21,11 +22,10 @@ div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] a {
div
[
data-gadget-url
$
=
"gadget_erp5_page_project_front_page.html"
]
.front-project-list
.project-box
.project-info
{
display
:
inline-flex
;
width
:
100%
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_project_front_page.html"
]
.front-project-list
.project-box
.project-info
.left
{
width
:
35
%
;
width
:
100
%
;
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_project_front_page.html"
]
.front-project-list
.project-box
.project-line
{
...
...
@@ -44,10 +44,6 @@ div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-
color
:
#767676
;
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_project_front_page.html"
]
.front-project-list
.project-box
.project-line.field
span
{
margin-left
:
15px
;
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_project_front_page.html"
]
.front-project-list
.project-box
.project-title
{
color
:
#19535F
;
font-weight
:
normal
;
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_css.xml
View file @
16a5be11
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
982.28
167.48461.4176
2
</string>
</value>
<value>
<string>
982.28
486.62527.3850
2
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
15838
39349.7
</float>
<float>
15838
58398.3
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_front_page_js.js
View file @
16a5be11
...
...
@@ -225,7 +225,7 @@
query
:
project_query
,
limit
:
QUERY_LIMIT
,
select_list
:
[
'
title
'
,
'
source_decision_title
'
],
sort_on
:
[[
"
modification_dat
e
"
,
"
ascending
"
]]
sort_on
:
[[
"
titl
e
"
,
"
ascending
"
]]
})
.
push
(
function
(
result
)
{
return
result
.
data
.
rows
;
...
...
@@ -251,18 +251,21 @@
left_info_div
=
document
.
createElement
(
'
div
'
),
right_div
=
document
.
createElement
(
'
div
'
),
right_line_div
=
document
.
createElement
(
'
div
'
),
supervisor_line_div
=
document
.
createElement
(
'
div
'
),
supervisor_field_div
=
document
.
createElement
(
'
div
'
),
supervisor_value_div
=
document
.
createElement
(
'
div
'
),
project_link
=
document
.
createElement
(
'
a
'
),
forum_link
=
document
.
createElement
(
'
a
'
),
supervisor_field_label
=
document
.
createElement
(
'
label
'
),
supervisor_value_span
=
document
.
createElement
(
'
span
'
);
if
(
supervisor
)
{
supervisor_line_div
.
classList
.
add
(
"
field
"
,
"
project-line
"
);
supervisor_field_div
.
classList
.
add
(
"
field
"
,
"
project-line
"
);
supervisor_value_div
.
classList
.
add
(
"
field
"
,
"
project-line
"
);
supervisor_field_label
.
innerHTML
=
SUPERVISOR_FIELD_TITLE
;
supervisor_value_span
.
innerHTML
=
supervisor
;
supervisor_line_div
.
appendChild
(
supervisor_field_label
);
supervisor_line_div
.
appendChild
(
supervisor_value_span
);
right_div
.
appendChild
(
supervisor_line_div
);
supervisor_field_div
.
appendChild
(
supervisor_field_label
);
supervisor_value_div
.
appendChild
(
supervisor_value_span
);
right_div
.
appendChild
(
supervisor_field_div
);
right_div
.
appendChild
(
supervisor_value_div
);
}
box_div
.
classList
.
add
(
"
project-box
"
);
title_div
.
classList
.
add
(
"
project-title
"
);
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_front_page_js.xml
View file @
16a5be11
...
...
@@ -234,7 +234,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
982.284
56.11875.61474
</string>
</value>
<value>
<string>
982.284
83.44287.48213
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>
158385
6506.94
</float>
<float>
158385
8209.78
</float>
<string>
UTC
</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