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
139
Merge Requests
139
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
e4f7a511
Commit
e4f7a511
authored
Feb 09, 2022
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_project_ui: project dashboard improvements
parent
1b487f8c
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
8 deletions
+22
-8
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
+9
-0
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
-4
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 @
e4f7a511
...
@@ -92,6 +92,15 @@ div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-
...
@@ -92,6 +92,15 @@ div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-
margin-bottom
:
8px
;
margin-bottom
:
8px
;
}
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_project_front_page.html"
]
.front-project-list
.project-box
.project-title
a
{
color
:
#267B87
;
font-weight
:
normal
;
font-size
:
14px
;
line-height
:
33px
;
margin-bottom
:
8px
;
margin-left
:
14px
;
}
div
[
data-gadget-url
$
=
"gadget_erp5_page_project_front_page.html"
]
.front-project-list
.project-box
span
.margined
{
div
[
data-gadget-url
$
=
"gadget_erp5_page_project_front_page.html"
]
.front-project-list
.project-box
span
.margined
{
margin-right
:
5px
;
margin-right
:
5px
;
}
}
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_css.xml
View file @
e4f7a511
...
@@ -242,7 +242,7 @@
...
@@ -242,7 +242,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
82.36779.34422.1348
</string>
</value>
<value>
<string>
9
98.5120.55627.52002
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -260,7 +260,7 @@
...
@@ -260,7 +260,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
584457148.55
</float>
<float>
1
644420658.08
</float>
<string>
UTC
</string>
<string>
UTC
</string>
</tuple>
</tuple>
</state>
</state>
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_front_page_js.js
View file @
e4f7a511
...
@@ -301,11 +301,15 @@
...
@@ -301,11 +301,15 @@
function
createProjectHtmlElement
(
project_id
,
project_title
,
function
createProjectHtmlElement
(
project_id
,
project_title
,
project_url
,
supervisor
,
supervisor_url
)
{
project_url
,
supervisor
,
supervisor_url
)
{
var
project_link
=
domsugar
(
'
a
'
,
{
//title_div will have 2 elements: span (with title text) and a link (with text "Project Page")
href
:
project_url
//update styles: " div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] a" to be a smaller text
},
[
project_title
]),
var
project_title_span
=
domsugar
(
'
span
'
,
{},
[
project_title
]),
project_link
=
domsugar
(
'
a
'
,
{
href
:
project_url
,
id
:
project_title
+
"
-project_page_link
"
},
[
"
(Project Page)
"
]),
title_div
=
domsugar
(
'
div
'
,
{
class
:
"
project-title
"
},
title_div
=
domsugar
(
'
div
'
,
{
class
:
"
project-title
"
},
[
project_link
]),
[
project_
title_span
,
project_
link
]),
left_info_div
=
domsugar
(
'
div
'
,
{
class
:
"
project-left
"
}),
left_info_div
=
domsugar
(
'
div
'
,
{
class
:
"
project-left
"
}),
supervisor_field_label
=
domsugar
(
'
label
'
,
{},
[
SUPERVISOR_FIELD_TITLE
]),
supervisor_field_label
=
domsugar
(
'
label
'
,
{},
[
SUPERVISOR_FIELD_TITLE
]),
supervisor_value_link
=
domsugar
(
'
a
'
,
{
supervisor_value_link
=
domsugar
(
'
a
'
,
{
...
@@ -562,6 +566,7 @@
...
@@ -562,6 +566,7 @@
})
})
.
declareJob
(
"
detachRenderProjectForumLink
"
,
function
()
{
.
declareJob
(
"
detachRenderProjectForumLink
"
,
function
()
{
return
;
var
gadget
=
this
,
var
gadget
=
this
,
i
,
i
,
forum_link_html
,
forum_link_html
,
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_front_page_js.xml
View file @
e4f7a511
...
@@ -234,7 +234,7 @@
...
@@ -234,7 +234,7 @@
</item>
</item>
<item>
<item>
<key>
<string>
serial
</string>
</key>
<key>
<string>
serial
</string>
</key>
<value>
<string>
9
82.41488.58477.39116
</string>
</value>
<value>
<string>
9
98.5123.35694.4864
</string>
</value>
</item>
</item>
<item>
<item>
<key>
<string>
state
</string>
</key>
<key>
<string>
state
</string>
</key>
...
@@ -252,7 +252,7 @@
...
@@ -252,7 +252,7 @@
</tuple>
</tuple>
<state>
<state>
<tuple>
<tuple>
<float>
1
584697605.84
</float>
<float>
1
644428660.52
</float>
<string>
UTC
</string>
<string>
UTC
</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