Commit 28c5e07e authored by Roque's avatar Roque

erp5_web_project_ui: cleanup

parent f08f35ae
/* FRONT PAGE */ /* FRONT PAGE */
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] ul {
display: flex;
align-items: flex-start;
flex-wrap: wrap;
}
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] ul li {
flex-shrink: 1;
vertical-align: top;
padding: 3pt;
border: 1px solid rgba(0, 0, 0, 0.3);
border-radius: 0.325em;
box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.15);
background-color: #FFFFFF;
}
@media only screen and (max-width: 85em) and (min-width: 45em), not screen and (max-width: 85em) {
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] ul li {
margin-right: 18pt;
margin-bottom: 18pt;
flex-basis: 28em;
}
}
@media not screen and (min-width: 45em) {
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] ul li {
flex-basis: 100%;
margin-bottom: 6pt;
}
}
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list { div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list {
margin-top: 10px; margin-top: 10px;
} }
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box { div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box {
margin-bottom: 10px;
border-style: solid;
border-width: 1px;
border-radius: 5px;
padding: 5px;
padding: 5px; padding: 5px;
padding-left: 15px; padding-left: 15px;
} }
...@@ -19,19 +45,32 @@ div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] a { ...@@ -19,19 +45,32 @@ div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] a {
text-decoration: none; text-decoration: none;
} }
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .project-left a {
color: #111;
text-decoration: none;
}
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .project-right .value a {
color: #111;
text-decoration: none;
}
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box .project-info { div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box .project-info {
display: inline-flex; display: inline-flex;
width: 100%
} }
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box .project-info .left { div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box .project-info .project-left {
width: 35%; width: 100%;
}
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box .project-info .project-right {
min-width: 92px;
} }
div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box .project-line { div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box .project-line {
margin-bottom: 5px; margin-bottom: 5px;
font-family: "Roboto", Arial, sans-serif; font-family: "Roboto", Arial, sans-serif;
font-size: 1.25em; font-size: 11pt;
line-height: 1.58em; line-height: 1.58em;
letter-spacing: -.003em; letter-spacing: -.003em;
} }
...@@ -44,17 +83,13 @@ div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project- ...@@ -44,17 +83,13 @@ div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-
color: #767676; 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 { div[data-gadget-url$="gadget_erp5_page_project_front_page.html"] .front-project-list .project-box .project-title {
color: #19535F; color: #19535F;
font-weight: normal; font-weight: normal;
font-size: 24px; font-size: 20px;
line-height: 33px; line-height: 33px;
font-weight: bold; font-weight: bold;
margin-bottom: 5px; margin-bottom: 8px;
} }
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 {
......
...@@ -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.28167.48461.41762</string> </value> <value> <string>982.36777.28263.51165</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>1583839349.7</float> <float>1584355891.48</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -234,7 +234,7 @@ ...@@ -234,7 +234,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>982.27073.47895.53828</string> </value> <value> <string>982.38309.20229.23722</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>1583832002.17</float> <float>1584447692.07</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -271,30 +271,56 @@ SimpleQuery, ComplexQuery, Query*/ ...@@ -271,30 +271,56 @@ SimpleQuery, ComplexQuery, Query*/
"value": web_page_info.content}); "value": web_page_info.content});
} }
url_parameter_list = [ url_parameter_list = [
getUrlParameterDict('milestone_module', milestone_view, [["stop_date", "ascending"]], getUrlParameterDict('milestone_module',
null, createProjectQuery(null, [["selection_domain_date_milestone_domain", "future"]])), milestone_view,
getUrlParameterDict('task_module', "view", [["delivery.start_date", "descending"]], [["stop_date", "ascending"]],
["title", "delivery.start_date", "source_title"], null,
createProjectQuery(modification_dict.jio_key, createProjectQuery(null, [["selection_domain_date_milestone_domain", "future"]])),
[["selection_domain_state_task_domain", "confirmed"]])), getUrlParameterDict('task_module',
getUrlParameterDict('support_request_module', "view", [["delivery.start_date", "descending"]], "view",
null, createProjectQuery(modification_dict.jio_key, [["delivery.start_date", "descending"]],
[["selection_domain_state_support_domain", "validated"]])), ["title", "delivery.start_date", "source_title, translated_simulation_state_title"],
getUrlParameterDict('bug_module', "view", [["delivery.start_date", "descending"]], createProjectQuery(modification_dict.jio_key,
["title", "description", "source_person_title", "destination_person_title", "delivery.start_date"], [["selection_domain_state_task_domain", "opened"]])),
createProjectQuery(modification_dict.jio_key, getUrlParameterDict('support_request_module',
[["selection_domain_state_bug_domain", "open"]])), "view",
getUrlParameterDict('task_report_module', 'view', [["delivery.start_date", "descending"]], [["delivery.start_date", "descending"]],
["title", "delivery.start_date", "source_title"], null,
createProjectQuery(modification_dict.jio_key, createProjectQuery(modification_dict.jio_key,
[["selection_domain_state_task_report_domain", "confirmed"]])), [["selection_domain_state_support_domain", "validated"]])),
getUrlParameterDict('test_result_module', 'view', [["delivery.start_date", "descending"]], getUrlParameterDict('bug_module',
null, createProjectQuery(modification_dict.jio_key, [])), "view",
getUrlParameterDict('test_suite_module', 'view', [["creation_date", "descending"]], [["delivery.start_date", "descending"]],
null, createProjectQuery(modification_dict.jio_key, [["translated_validation_state_title", "validated"]])), ["title", "description", "source_person_title", "destination_person_title",
getUrlParameterDict(modification_dict.jio_key, document_view, [["modification_date", "descending"]], "delivery.start_date", "translated_simulation_state_title"],
["download", "title", "reference", "modification_date"], createProjectQuery(null, [["selection_domain_state_document_domain", "confirmed"]])), createProjectQuery(modification_dict.jio_key,
getUrlParameterDict(modification_dict.jio_key, activity_view, [["modification_date", "descending"]]) [["selection_domain_state_bug_domain", "open"]])),
getUrlParameterDict('task_report_module',
'view',
[["delivery.start_date", "descending"]],
["title", "delivery.start_date", "source_title",
"translated_simulation_state_title"],
createProjectQuery(modification_dict.jio_key,
[["selection_domain_state_task_report_domain", "confirmed"]])),
getUrlParameterDict('test_result_module',
'view',
[["delivery.start_date", "descending"]],
null,
createProjectQuery(modification_dict.jio_key, [])),
getUrlParameterDict('test_suite_module',
'view',
[["creation_date", "descending"]],
null,
createProjectQuery(modification_dict.jio_key,
[["translated_validation_state_title", "validated"]])),
getUrlParameterDict(modification_dict.jio_key,
document_view,
[["modification_date", "descending"]],
["download", "title", "reference", "modification_date"],
createProjectQuery(null, [["selection_domain_state_document_domain", "confirmed"]])),
getUrlParameterDict(modification_dict.jio_key,
activity_view,
[["modification_date", "descending"]])
]; ];
if (web_page_info) { if (web_page_info) {
url_parameter_list.push(getUrlParameterDict(web_page_info.id, web_page_info.edit_view)); url_parameter_list.push(getUrlParameterDict(web_page_info.id, web_page_info.edit_view));
......
...@@ -67,6 +67,12 @@ ...@@ -67,6 +67,12 @@
<none/> <none/>
</value> </value>
</item> </item>
<item>
<key> <string>content_type</string> </key>
<value>
<none/>
</value>
</item>
<item> <item>
<key> <string>default_reference</string> </key> <key> <string>default_reference</string> </key>
<value> <string>gadget_erp5_page_project_page.js</string> </value> <value> <string>gadget_erp5_page_project_page.js</string> </value>
...@@ -185,7 +191,7 @@ ...@@ -185,7 +191,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1582882412.91</float> <float>1583923139.12</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
...@@ -234,7 +240,7 @@ ...@@ -234,7 +240,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>982.28167.7529.15718</string> </value> <value> <string>982.36846.48545.18193</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -252,7 +258,7 @@ ...@@ -252,7 +258,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1583839344.31</float> <float>1584360005.19</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
...@@ -279,7 +285,9 @@ ...@@ -279,7 +285,9 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>action</string> </key> <key> <string>action</string> </key>
<value> <string>detect_converted_file</string> </value> <value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
...@@ -295,7 +303,7 @@ ...@@ -295,7 +303,7 @@
</item> </item>
<item> <item>
<key> <string>external_processing_state</string> </key> <key> <string>external_processing_state</string> </key>
<value> <string>converted</string> </value> <value> <string>empty</string> </value>
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
...@@ -313,7 +321,7 @@ ...@@ -313,7 +321,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1582882343.89</float> <float>1583923069.49</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -169,7 +169,7 @@ ...@@ -169,7 +169,7 @@
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-visible' and contains(@id, 'documented-project') and contains(@id, 'Task') and contains(@id, '-number')]</td> <td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-hidden' and contains(@id, 'documented-project') and contains(@id, 'Task') and contains(@id, '-number')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -190,7 +190,7 @@ ...@@ -190,7 +190,7 @@
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-visible' and contains(@id, 'documented-project') and contains(@id, 'Bug') and contains(@id, '-number')]</td> <td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-hidden' and contains(@id, 'documented-project') and contains(@id, 'Bug') and contains(@id, '-number')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-visible' and contains(@id, 'documented-project') and contains(@id, 'Test-Result') and contains(@id, '-number')]</td> <td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-hidden' and contains(@id, 'documented-project') and contains(@id, 'Test-Result') and contains(@id, '-number')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -232,7 +232,7 @@ ...@@ -232,7 +232,7 @@
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-visible' and contains(@id, 'documented-project') and contains(@id, 'Milestone') and contains(@id, '-number')]</td> <td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-hidden' and contains(@id, 'documented-project') and contains(@id, 'Milestone') and contains(@id, '-number')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
...@@ -253,7 +253,7 @@ ...@@ -253,7 +253,7 @@
</tr> </tr>
<tr> <tr>
<td>assertElementPresent</td> <td>assertElementPresent</td>
<td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-visible' and contains(@id, 'documented-project') and contains(@id, 'Task-Report') and contains(@id, '-number')]</td> <td>//div[@class='front-project-list']//div[@class='project-line']//span[@class='ui-hidden' and contains(@id, 'documented-project') and contains(@id, 'Task-Report') and contains(@id, '-number')]</td>
<td></td> <td></td>
</tr> </tr>
<tr> <tr>
......
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