Commit 10d1a080 authored by Tomáš Peterka's avatar Tomáš Peterka

[erp5_web_renderjs_ui] Add nice empty page for (empty) worklist (req. #20170616-1C0AF77)

/reviewed-on !296
parents 628a30a7 c71e4b4b
<svg width="442" height="442" xmlns="http://www.w3.org/2000/svg">
<g>
<title>background</title>
<rect x="-1" y="-1" width="444" height="444" id="canvas_background" fill="none"/>
</g>
<g>
<title>Layer 1</title>
<path fill="none" d="m376.865,255.699c-3.242,41.214 -11.062,79.647 -23.599,113.514c50.455,-3.396 72.019,-32.736 72.019,-62.119c0,-22.779 -17.919,-45.148 -48.42,-51.395z" id="svg_2"/>
<path fill="none" d="m358.394,210.563c-3.877,-4.276 -18.431,-13.962 -54.253,-22.41c-36.689,-8.653 -84.195,-13.419 -133.763,-13.419c-49.565,0 -97.07,4.767 -133.76,13.419c-35.822,8.448 -50.376,18.134 -54.252,22.41c3.876,4.274 18.431,13.961 54.252,22.41c36.689,8.652 84.194,13.417 133.76,13.417c49.566,0 97.072,-4.765 133.763,-13.417c35.822,-8.45 50.376,-18.137 54.253,-22.41z" id="svg_3"/>
<path d="m368.35498,209.84914c0.02815,-1.99592 0.04222,-3.99973 0.04222,-6.00905c0,-24.05827 -81.98779,-43.56208 -183.12192,-43.56208c-101.13325,0 -183.11928,19.50381 -183.11928,43.56208c0,129.87542 58.38531,235.15991 183.11928,235.15991c73.35782,0 123.75779,-36.42387 152.83743,-92.83773c2.93382,0.21276 5.89051,0.36011 8.8982,0.36011c51.26974,0 92.83307,-31.01131 92.83307,-69.26564c0,-32.77242 -30.50962,-60.21107 -71.489,-67.4076zm-65.44283,11.64934c-32.26587,6.81751 -74.04466,10.57218 -117.63687,10.57218c-43.58957,0 -85.36749,-3.75467 -117.63423,-10.57218c-31.50339,-6.65677 -44.3028,-14.29061 -47.71152,-17.65918c3.40872,-3.36856 16.20901,-11.00083 47.71152,-17.6576c32.26586,-6.81829 74.04378,-10.57375 117.63423,-10.57375c43.59045,0 85.36924,3.75625 117.63687,10.57375c31.50339,6.65677 44.30279,14.28904 47.71239,17.6576c-3.4096,3.36857 -16.209,11.00163 -47.71239,17.65918zm43.20437,107.35369c11.02557,-26.68457 17.90193,-56.97016 20.75484,-89.44552c26.82212,4.92244 42.58173,22.54852 42.58173,40.49767c-0.00176,23.15289 -18.9643,46.27033 -63.33657,48.94785z" id="svg_4" fill="#9ACEE6" stroke="null"/>
<path d="m210.689,129.078c28.191,-42.617 -49.313,-88.43 4.219,-126.078c-44.528,2.943 -52.161,30.188 -40.935,51.461c10.656,20.191 36.676,34.271 36.716,74.617z" id="svg_5" fill="#8391AE"/>
<path d="m181.162,153.501c12.646,-35.708 -59.268,-64.515 -19.553,-105.806c-37.209,10.992 -36.253,41.592 -20.227,58.701c11.568,12.354 32.523,18.086 39.78,47.105z" id="svg_6" fill="#8391AE"/>
<g id="svg_11">
<text fill="#ffffff" stroke-width="0" stroke-opacity="null" x="87" y="343.5" id="svg_7" font-size="84" font-family="'Courier New', Courier, monospace" text-anchor="start" xml:space="preserve" stroke="null">ERP</text>
<text fill="#005fbf" stroke="null" stroke-width="0" stroke-opacity="null" x="235" y="343.5" id="svg_9" font-size="84" font-family="'Courier New', Courier, monospace" text-anchor="start" xml:space="preserve">5</text>
</g>
</g>
</svg>
\ No newline at end of file
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="erp5.portal_type"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_Access_contents_information_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Add_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Change_local_roles_Permission</string> </key>
<value>
<tuple>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_Modify_portal_content_Permission</string> </key>
<value>
<tuple>
<string>Assignee</string>
<string>Assignor</string>
<string>Manager</string>
</tuple>
</value>
</item>
<item>
<key> <string>_View_Permission</string> </key>
<value>
<tuple>
<string>Anonymous</string>
<string>Assignee</string>
<string>Assignor</string>
<string>Associate</string>
<string>Auditor</string>
<string>Manager</string>
<string>Owner</string>
</tuple>
</value>
</item>
<item>
<key> <string>_count</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value>
</item>
<item>
<key> <string>_mt_index</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAM=</string> </persistent>
</value>
</item>
<item>
<key> <string>_tree</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAQ=</string> </persistent>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value> <string>44ac687b01d1ce4fafd2f189548a7c35</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/svg+xml</string> </value>
</item>
<item>
<key> <string>default_reference</string> </key>
<value> <string>gadget_erp5_worklist_empty.svg</string> </value>
</item>
<item>
<key> <string>description</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>filename</string> </key>
<value> <string>coffee-erp5.svg</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>-1</int> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>rjs_gadget_erp5_worklist_empty_svg</string> </value>
</item>
<item>
<key> <string>language</string> </key>
<value> <string>en</string> </value>
</item>
<item>
<key> <string>portal_type</string> </key>
<value> <string>Image</string> </value>
</item>
<item>
<key> <string>short_title</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Gadget ERP5 Worklist Empty</string> </value>
</item>
<item>
<key> <string>version</string> </key>
<value> <string>001</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>-1</int> </value>
</item>
<item>
<key> <string>workflow_history</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAU=</string> </persistent>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="2" aka="AAAAAAAAAAI=">
<pickle>
<global name="Length" module="BTrees.Length"/>
</pickle>
<pickle> <int>0</int> </pickle>
</record>
<record id="3" aka="AAAAAAAAAAM=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="4" aka="AAAAAAAAAAQ=">
<pickle>
<global name="OOBTree" module="BTrees.OOBTree"/>
</pickle>
<pickle>
<none/>
</pickle>
</record>
<record id="5" aka="AAAAAAAAAAU=">
<pickle>
<global name="PersistentMapping" module="Persistence.mapping"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>data</string> </key>
<value>
<dictionary>
<item>
<key> <string>document_publication_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAY=</string> </persistent>
</value>
</item>
<item>
<key> <string>edit_workflow</string> </key>
<value>
<persistent> <string encoding="base64">AAAAAAAAAAc=</string> </persistent>
</value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
<record id="6" aka="AAAAAAAAAAY=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>publish_alive</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1497624334.07</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
<item>
<key> <string>validation_state</string> </key>
<value> <string>published_alive</string> </value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
<record id="7" aka="AAAAAAAAAAc=">
<pickle>
<global name="WorkflowHistoryList" module="Products.ERP5Type.patches.WorkflowTool"/>
</pickle>
<pickle>
<tuple>
<none/>
<list>
<dictionary>
<item>
<key> <string>action</string> </key>
<value> <string>edit</string> </value>
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
<value>
<none/>
</value>
</item>
<item>
<key> <string>error_message</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>960.5725.61839.60808</string> </value>
</item>
<item>
<key> <string>state</string> </key>
<value> <string>current</string> </value>
</item>
<item>
<key> <string>time</string> </key>
<value>
<object>
<klass>
<global name="DateTime" module="DateTime.DateTime"/>
</klass>
<tuple>
<none/>
</tuple>
<state>
<tuple>
<float>1497629798.36</float>
<string>UTC</string>
</tuple>
</state>
</object>
</value>
</item>
</dictionary>
</list>
</tuple>
</pickle>
</record>
</ZopeData>
......@@ -108,7 +108,7 @@
<value> <string encoding="cdata"><![CDATA[
CACHE MANIFEST\n
# generated on Wed, 03 Apr 2017 12:00:00 GMT+0200\n
# generated on Mon, 19 Jun 2017 12:00:00 GMT+0200\n
# XXX + fonts\n
# images/ajax-loader.gif\n
CACHE:\n
......@@ -119,6 +119,7 @@ font-awesome/font-awesome-webfont.woff?v=4.6.3\n
font-awesome/font-awesome-webfont.woff2?v=4.6.3\n
font-awesome/font-awesome-webfont.ttf?v=4.6.3\n
font-awesome/font-awesome-webfont.svg?v=4.6.3#fontawesomeregular\n
gadget_erp5_worklist_empty.svg?format=svg\n
erp5_launcher_nojqm.js\n
gadget_erp5_nojqm.css\n
gadget_erp5_editor_panel.html\n
......@@ -371,7 +372,7 @@ NETWORK:\n
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>958.22627.55549.31829</string> </value>
<value> <string>960.9595.29464.53282</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -389,7 +390,7 @@ NETWORK:\n
</tuple>
<state>
<tuple>
<float>1491211677.95</float>
<float>1497860105.36</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -2,6 +2,7 @@
<html>
<!--
data-i18n=Worklist
data-i18n=All work caught up!
-->
<head>
<meta http-equiv="Content-type" content="text/html; charset=utf-8" />
......@@ -20,11 +21,18 @@
<!-- XXX must set theme here! -->
<script id="table-template" type="text/x-handlebars-template">
{{#if documentList }}
<ul data-role="listview" data-theme="c" class="document-listview ui-listview-inset ui-corner-all">
{{#each documentlist}}
<li class="ui-li-has-count" data-icon="false" ><a class="ui-body-inherit" href="{{link}}">{{title}} <span class="ui-li-count">{{count}}</span></a></li>
{{/each}}
</ul>
{{else}}
<div class="first-loader">
<h2 data-i18n="All work caught up!">All work caught up!</h2>
<img width="442" height="442" src="gadget_erp5_worklist_empty.svg?format=svg">
</div>
{{/if}}
</script>
</head>
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>953.56732.44606.43468</string> </value>
<value> <string>960.5779.34485.904</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1474556302.46</float>
<float>1497630124.81</float>
<string>UTC</string>
</tuple>
</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