Commit 497c09d1 authored by Roque's avatar Roque

erp5_web_project_ui: styles for project home pages

parent 190dc3f8
...@@ -216,4 +216,38 @@ input[type="submit"] { ...@@ -216,4 +216,38 @@ input[type="submit"] {
.worklist-title { .worklist-title {
color: #777777; color: #777777;
margin-top: 10px; 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
...@@ -242,7 +242,7 @@ ...@@ -242,7 +242,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>982.36777.28263.51165</string> </value> <value> <string>982.36779.34422.1348</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>1584355891.48</float> <float>1584457148.55</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -6,6 +6,7 @@ ...@@ -6,6 +6,7 @@
<title>Project info gadget</title> <title>Project info gadget</title>
<script src="rsvp.js"></script> <script src="rsvp.js"></script>
<script src="renderjs.js"></script> <script src="renderjs.js"></script>
<script type="text/javascript" src="domsugar.js"></script>
<script src="gadget_erp5_page_project_page.js"></script> <script src="gadget_erp5_page_project_page.js"></script>
<link rel="stylesheet" type="text/css" href="gadget_erp5_page_project.css"> <link rel="stylesheet" type="text/css" href="gadget_erp5_page_project.css">
</head> </head>
......
...@@ -238,7 +238,7 @@ ...@@ -238,7 +238,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>982.22394.11217.38775</string> </value> <value> <string>982.28062.10213.8174</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -256,7 +256,7 @@ ...@@ -256,7 +256,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1583832849.31</float> <float>1584629131.92</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
/*jslint nomen: true, indent: 2 */ /*jslint nomen: true, indent: 2 */
/*global window, rJS, RSVP, document, ensureArray, DOMParser, XMLSerializer, /*global window, rJS, RSVP, document, ensureArray, DOMParser, XMLSerializer,
SimpleQuery, ComplexQuery, Query*/ SimpleQuery, ComplexQuery, Query, domsugar*/
(function (window, rJS, RSVP, document, ensureArray, DOMParser, XMLSerializer, (function (window, rJS, RSVP, document, ensureArray, DOMParser, XMLSerializer,
SimpleQuery, ComplexQuery, Query) { SimpleQuery, ComplexQuery, Query, domsugar) {
"use strict"; "use strict";
var VALID_STATE_LIST = ["shared", "released", "published", var VALID_STATE_LIST = ["shared", "released", "published",
...@@ -22,6 +22,11 @@ SimpleQuery, ComplexQuery, Query*/ ...@@ -22,6 +22,11 @@ SimpleQuery, ComplexQuery, Query*/
oSerializer = new XMLSerializer(), oSerializer = new XMLSerializer(),
doc = parser.parseFromString(html, "text/html"), doc = parser.parseFromString(html, "text/html"),
link_list = doc.querySelectorAll("a"); 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) { for (i = 0; i < link_list.length; i += 1) {
link_list[i].setAttribute('href', link_list[i].setAttribute('href',
addRedirectionToReference(link_list[i] addRedirectionToReference(link_list[i]
...@@ -348,4 +353,4 @@ SimpleQuery, ComplexQuery, Query*/ ...@@ -348,4 +353,4 @@ SimpleQuery, ComplexQuery, Query*/
return true; return true;
}); });
}(window, rJS, RSVP, document, ensureArray, DOMParser, XMLSerializer, SimpleQuery, ComplexQuery, Query)); }(window, rJS, RSVP, document, ensureArray, DOMParser, XMLSerializer, SimpleQuery, ComplexQuery, Query, domsugar));
\ No newline at end of file \ No newline at end of file
...@@ -240,7 +240,7 @@ ...@@ -240,7 +240,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>982.36846.48545.18193</string> </value> <value> <string>982.41335.49696.64290</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -258,7 +258,7 @@ ...@@ -258,7 +258,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1584360005.19</float> <float>1584629384.78</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment