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
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
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
erp5
Commits
497c09d1
Commit
497c09d1
authored
Mar 10, 2020
by
Roque
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5_web_project_ui: styles for project home pages
parent
190dc3f8
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
49 additions
and
9 deletions
+49
-9
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
+34
-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_page_html.html
...eb_page_module/project_gadget_page_project_page_html.html
+1
-0
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_html.xml
...web_page_module/project_gadget_page_project_page_html.xml
+2
-2
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.js
...em/web_page_module/project_gadget_page_project_page_js.js
+8
-3
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.xml
...m/web_page_module/project_gadget_page_project_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 @
497c09d1
...
...
@@ -217,3 +217,37 @@ input[type="submit"] {
color
:
#777777
;
margin-top
:
10px
;
}
/* PROJECT HOME PAGE */
body
.cke_editable
h1
{
margin-top
:
1.5em
;
font-family
:
"Roboto"
,
Arial
,
sans-serif
;
color
:
#19535F
;
font-size
:
2em
;
margin
:
0.67em
0
;
}
body
.cke_editable
h2
{
font-family
:
"Roboto"
,
Arial
,
sans-serif
;
font-weight
:
normal
;
font-size
:
25px
;
line-height
:
33px
;
color
:
#19535F
;
}
body
.cke_editable
p
,
body
.cke_editable
li
,
body
.cke_editable
span
{
font-family
:
'Heuristica'
,
'Helvetica'
,
Times
,
serif
;
}
body
.cke_editable
ul
li
,
body
.cke_editable
p
{
font-size
:
1.25em
;
line-height
:
1.58em
;
letter-spacing
:
-.003em
;
}
body
.cke_editable
a
{
color
:
#267B87
;
text-decoration
:
none
;
}
\ No newline at end of file
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_css.xml
View file @
497c09d1
...
...
@@ -242,7 +242,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
982.3677
7.28263.51165
</string>
</value>
<value>
<string>
982.3677
9.34422.1348
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -260,7 +260,7 @@
</tuple>
<state>
<tuple>
<float>
1584
355891.48
</float>
<float>
1584
457148.55
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_html.html
View file @
497c09d1
...
...
@@ -6,6 +6,7 @@
<title>
Project info gadget
</title>
<script
src=
"rsvp.js"
></script>
<script
src=
"renderjs.js"
></script>
<script
type=
"text/javascript"
src=
"domsugar.js"
></script>
<script
src=
"gadget_erp5_page_project_page.js"
></script>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"gadget_erp5_page_project.css"
>
</head>
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_html.xml
View file @
497c09d1
...
...
@@ -238,7 +238,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
982.2
2394.11217.38775
</string>
</value>
<value>
<string>
982.2
8062.10213.8174
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -256,7 +256,7 @@
</tuple>
<state>
<tuple>
<float>
158
3832849.31
</float>
<float>
158
4629131.92
</float>
<string>
UTC
</string>
</tuple>
</state>
...
...
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.js
View file @
497c09d1
/*jslint nomen: true, indent: 2 */
/*global window, rJS, RSVP, document, ensureArray, DOMParser, XMLSerializer,
SimpleQuery, ComplexQuery, Query*/
SimpleQuery, ComplexQuery, Query
, domsugar
*/
(
function
(
window
,
rJS
,
RSVP
,
document
,
ensureArray
,
DOMParser
,
XMLSerializer
,
SimpleQuery
,
ComplexQuery
,
Query
)
{
SimpleQuery
,
ComplexQuery
,
Query
,
domsugar
)
{
"
use strict
"
;
var
VALID_STATE_LIST
=
[
"
shared
"
,
"
released
"
,
"
published
"
,
...
...
@@ -22,6 +22,11 @@ SimpleQuery, ComplexQuery, Query*/
oSerializer
=
new
XMLSerializer
(),
doc
=
parser
.
parseFromString
(
html
,
"
text/html
"
),
link_list
=
doc
.
querySelectorAll
(
"
a
"
);
doc
.
querySelector
(
"
head
"
).
appendChild
(
domsugar
(
'
link
'
,
{
href
:
"
gadget_erp5_page_project.css
"
,
type
:
"
text/css
"
,
rel
:
"
stylesheet
"
}));
for
(
i
=
0
;
i
<
link_list
.
length
;
i
+=
1
)
{
link_list
[
i
].
setAttribute
(
'
href
'
,
addRedirectionToReference
(
link_list
[
i
]
...
...
@@ -348,4 +353,4 @@ SimpleQuery, ComplexQuery, Query*/
return
true
;
});
}(
window
,
rJS
,
RSVP
,
document
,
ensureArray
,
DOMParser
,
XMLSerializer
,
SimpleQuery
,
ComplexQuery
,
Query
));
\ No newline at end of file
}(
window
,
rJS
,
RSVP
,
document
,
ensureArray
,
DOMParser
,
XMLSerializer
,
SimpleQuery
,
ComplexQuery
,
Query
,
domsugar
));
\ No newline at end of file
bt5/erp5_web_project_ui/PathTemplateItem/web_page_module/project_gadget_page_project_page_js.xml
View file @
497c09d1
...
...
@@ -240,7 +240,7 @@
</item>
<item>
<key>
<string>
serial
</string>
</key>
<value>
<string>
982.
36846.48545.18193
</string>
</value>
<value>
<string>
982.
41335.49696.64290
</string>
</value>
</item>
<item>
<key>
<string>
state
</string>
</key>
...
...
@@ -258,7 +258,7 @@
</tuple>
<state>
<tuple>
<float>
1584
360005.19
</float>
<float>
1584
629384.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