Commit 04157d04 authored by Romain Courteaud's avatar Romain Courteaud

[erp5_travel_expense] Add a web manifest

parent 701efacd
...@@ -148,6 +148,8 @@ gadget_hr_translation_data.js\n ...@@ -148,6 +148,8 @@ gadget_hr_translation_data.js\n
gadget_officejs_widget_listbox.js\n gadget_officejs_widget_listbox.js\n
erp5_launcher.js\n erp5_launcher.js\n
erp5_launcher.html\n erp5_launcher.html\n
gadget_officejs_hr_web_manifest.json\n
hr_logo.svg\n
\n \n
gadget_officejs_page_expense_report.html\n gadget_officejs_page_expense_report.html\n
gadget_officejs_page_expense_report.js\n gadget_officejs_page_expense_report.js\n
...@@ -380,7 +382,7 @@ NETWORK:\n ...@@ -380,7 +382,7 @@ NETWORK:\n
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>966.59986.993.48708</string> </value> <value> <string>973.40447.29564.60893</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -398,8 +400,8 @@ NETWORK:\n ...@@ -398,8 +400,8 @@ NETWORK:\n
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1523958492.04</float> <float>1549964903.16</float>
<string>GMT+2</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
</object> </object>
......
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
<link href="font-awesome/font-awesome.css" rel="stylesheet" type="text/css" /> <link href="font-awesome/font-awesome.css" rel="stylesheet" type="text/css" />
<link rel="stylesheet" href="jquerymobile.css"> <link rel="stylesheet" href="jquerymobile.css">
<link rel="stylesheet" href="gadget_erp5.css"> <link rel="stylesheet" href="gadget_erp5.css">
${webapp_manifest_full_link_tag}
<script data-renderjs-configuration="application_title" type="text/x-renderjs-configuration">${application_title}</script> <script data-renderjs-configuration="application_title" type="text/x-renderjs-configuration">${application_title}</script>
<script data-renderjs-configuration="panel_gadget" type="text/x-renderjs-configuration">${panel_gadget}</script> <script data-renderjs-configuration="panel_gadget" type="text/x-renderjs-configuration">${panel_gadget}</script>
......
...@@ -222,7 +222,7 @@ ...@@ -222,7 +222,7 @@
</item> </item>
<item> <item>
<key> <string>actor</string> </key> <key> <string>actor</string> </key>
<value> <string>cedric.le.ninivin</string> </value> <value> <string>zope</string> </value>
</item> </item>
<item> <item>
<key> <string>comment</string> </key> <key> <string>comment</string> </key>
...@@ -236,7 +236,7 @@ ...@@ -236,7 +236,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>962.4234.59641.41216</string> </value> <value> <string>973.40447.29564.60893</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -254,7 +254,7 @@ ...@@ -254,7 +254,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1505315239.43</float> <float>1549964847.35</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
{
"short_name": "HR",
"name": "OfficeJS HR",
"description": "Business travel, Expense remboursement, Leave request management",
"icons": [{
"src": "hr_logo.svg",
"sizes": "any",
"type": "image/svg"
}],
"start_url": "../../",
"display": "standalone"
}
\ No newline at end of file
...@@ -299,6 +299,16 @@ ...@@ -299,6 +299,16 @@
<value> <string>string</string> </value> <value> <string>string</string> </value>
</item> </item>
</dictionary> </dictionary>
<dictionary>
<item>
<key> <string>id</string> </key>
<value> <string>configuration_webapp_manifest_url</string> </value>
</item>
<item>
<key> <string>type</string> </key>
<value> <string>string</string> </value>
</item>
</dictionary>
</tuple> </tuple>
</value> </value>
</item> </item>
...@@ -385,6 +395,10 @@ ...@@ -385,6 +395,10 @@
<key> <string>configuration_view_action_category</string> </key> <key> <string>configuration_view_action_category</string> </key>
<value> <string>object_view</string> </value> <value> <string>object_view</string> </value>
</item> </item>
<item>
<key> <string>configuration_webapp_manifest_url</string> </key>
<value> <string>gadget_officejs_hr_web_manifest.json</string> </value>
</item>
<item> <item>
<key> <string>configuration_x_frame_options</string> </key> <key> <string>configuration_x_frame_options</string> </key>
<value> <string>SAMEORIGIN</string> </value> <value> <string>SAMEORIGIN</string> </value>
...@@ -624,7 +638,7 @@ ...@@ -624,7 +638,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>966.51303.25888.32000</string> </value> <value> <string>973.40447.29564.60893</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -642,8 +656,8 @@ ...@@ -642,8 +656,8 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1523518073.81</float> <float>1549964409.02</float>
<string>GMT+2</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
</object> </object>
......
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