Commit 43bacffb authored by Paul Graydon's avatar Paul Graydon

wendelin_telecom_web: Add service worker precache manifest lists

parent 9526a7cb
...@@ -421,9 +421,7 @@ ...@@ -421,9 +421,7 @@
</item> </item>
<item> <item>
<key> <string>configuration_precache_manifest_script_list</string> </key> <key> <string>configuration_precache_manifest_script_list</string> </key>
<value> <value> <string>WebSection_getWendelinTelecomAdminFrontPrecacheManifestList</string> </value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>configuration_precache_manifest_url_list</string> </key> <key> <string>configuration_precache_manifest_url_list</string> </key>
...@@ -720,7 +718,7 @@ ...@@ -720,7 +718,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1018.59071.29968.8123</string> </value> <value> <string>1020.64893.12366.34986</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -740,7 +738,7 @@ ...@@ -740,7 +738,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1724745578.7</float> <float>1732875955.18</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -460,7 +460,7 @@ ...@@ -460,7 +460,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1018.59069.57117.29047</string> </value> <value> <string>1020.53498.36107.6451</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -480,7 +480,7 @@ ...@@ -480,7 +480,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1724745519.44</float> <float>1732872490.59</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -382,7 +382,7 @@ ...@@ -382,7 +382,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1018.59069.57117.29047</string> </value> <value> <string>1020.53498.36107.6451</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -402,7 +402,7 @@ ...@@ -402,7 +402,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1724745519.44</float> <float>1732872490.58</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
...@@ -421,9 +421,7 @@ ...@@ -421,9 +421,7 @@
</item> </item>
<item> <item>
<key> <string>configuration_precache_manifest_script_list</string> </key> <key> <string>configuration_precache_manifest_script_list</string> </key>
<value> <value> <string>WebSection_getWendelinTelecomClientFrontPrecacheManifestList</string> </value>
<none/>
</value>
</item> </item>
<item> <item>
<key> <string>configuration_precache_manifest_url_list</string> </key> <key> <string>configuration_precache_manifest_url_list</string> </key>
...@@ -720,7 +718,7 @@ ...@@ -720,7 +718,7 @@
</item> </item>
<item> <item>
<key> <string>serial</string> </key> <key> <string>serial</string> </key>
<value> <string>1018.59072.47195.51114</string> </value> <value> <string>1020.64901.14996.8226</string> </value>
</item> </item>
<item> <item>
<key> <string>state</string> </key> <key> <string>state</string> </key>
...@@ -740,7 +738,7 @@ ...@@ -740,7 +738,7 @@
</tuple> </tuple>
<state> <state>
<tuple> <tuple>
<float>1724745656.33</float> <float>1732875952.19</float>
<string>UTC</string> <string>UTC</string>
</tuple> </tuple>
</state> </state>
......
url_list = [
'plotly_strict_v2.34.0.js',
'gadget_ors_e_utran_ip_throughput_kpi.html',
'gadget_ors_e_utran_ip_throughput_kpi.js',
'gadget_ors_e_rab_accessibility_kpi.html',
'gadget_ors_e_rab_accessibility_kpi.js',
'gadget_ors_kpi.css',
'gadget_erp5_page_wendelin_telecom_admin_front.html',
'gadget_erp5_page_wendelin_telecom_admin_front.js',
'gadget_wendelin_telecom_admin_panel.html',
'gadget_wendelin_telecom_admin_panel.js',
'gadget_wendelin_telecom_panel.css',
'gadget_wendelin_telecom_panel.png'
]
return url_list
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>REQUEST=None</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSection_getWendelinTelecomAdminFrontPrecacheManifestList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
url_list = [
'plotly_strict_v2.34.0.js',
'gadget_ors_e_utran_ip_throughput_kpi.html',
'gadget_ors_e_utran_ip_throughput_kpi.js',
'gadget_ors_e_rab_accessibility_kpi.html',
'gadget_ors_e_rab_accessibility_kpi.js',
'gadget_ors_kpi.css',
'wendelin_telecom_home_message.html',
'gadget_erp5_page_wendelin_telecom_client_front.html',
'gadget_erp5_page_wendelin_telecom_client_front.js',
'gadget_wendelin_telecom_client_panel.html',
'gadget_wendelin_telecom_client_panel.js',
'gadget_wendelin_telecom_panel.css',
'gadget_wendelin_telecom_panel.png'
]
return url_list
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_bind_names</string> </key>
<value>
<object>
<klass>
<global name="_reconstructor" module="copy_reg"/>
</klass>
<tuple>
<global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
<global name="object" module="__builtin__"/>
<none/>
</tuple>
<state>
<dictionary>
<item>
<key> <string>_asgns</string> </key>
<value>
<dictionary>
<item>
<key> <string>name_container</string> </key>
<value> <string>container</string> </value>
</item>
<item>
<key> <string>name_context</string> </key>
<value> <string>context</string> </value>
</item>
<item>
<key> <string>name_m_self</string> </key>
<value> <string>script</string> </value>
</item>
<item>
<key> <string>name_subpath</string> </key>
<value> <string>traverse_subpath</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</state>
</object>
</value>
</item>
<item>
<key> <string>_params</string> </key>
<value> <string>REQUEST=None</string> </value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>WebSection_getWendelinTelecomClientFrontPrecacheManifestList</string> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -6,10 +6,6 @@ ...@@ -6,10 +6,6 @@
web_site_value python: context.getWebSiteValue(); web_site_value python: context.getWebSiteValue();
portal python: context.getPortalObject(); portal python: context.getPortalObject();
root_absolute_url python: (portal if web_site_value is None else web_site_value).absolute_url() + '/'; root_absolute_url python: (portal if web_site_value is None else web_site_value).absolute_url() + '/';
available_oauth_login_list python: portal.ERP5Site_getAvailableOAuthLoginList();
enable_google_login python: 'google' in available_oauth_login_list;
enable_facebook_login python: 'facebook' in available_oauth_login_list;
enable_openidconnect_login python: 'openidconnect' in available_oauth_login_list;
"> ">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
...@@ -76,37 +72,6 @@ ...@@ -76,37 +72,6 @@
<input type="submit" value="Login" i18n:attributes="value" i18n:domain="ui" tal:attributes="name python: '%s:method' % (form_action, )"/> <input type="submit" value="Login" i18n:attributes="value" i18n:domain="ui" tal:attributes="name python: '%s:method' % (form_action, )"/>
<a i18n:domain="ui" i18n:translate="" tal:attributes="href python: '%sWebSite_viewRecoverAccount?%s' % (absolute_url, modules['urllib'].urlencode([('came_from', absolute_url)]))">I forgot my password!</a> <a i18n:domain="ui" i18n:translate="" tal:attributes="href python: '%sWebSite_viewRecoverAccount?%s' % (absolute_url, modules['urllib'].urlencode([('came_from', absolute_url)]))">I forgot my password!</a>
</div> </div>
<div class="dialog_button_container" tal:condition="enable_google_login">
<a tal:attributes="href python: root_absolute_url + 'ERP5Site_redirectToGoogleLoginPage'"
i18n:translate=""
i18n:domain="ui"
class="sign_in_with_google"
>
<img alt="Sign in with Google" src="google_login_button.png"/>
</a>
</div>
<div class="dialog_button_container" tal:condition="enable_facebook_login">
<a tal:attributes="href python: root_absolute_url + 'ERP5Site_redirectToFacebookLoginPage'"
i18n:translate=""
i18n:domain="ui"
class="sign_in_with_facebook"
>
<img alt="Login with Facebook" src="facebook_login_button.png">
</a>
</div>
<div class="dialog_button_container" tal:condition="enable_openidconnect_login">
<a tal:attributes="href python: root_absolute_url + 'ERP5Site_redirectToOpenIdLoginPage'"
i18n:translate=""
i18n:domain="ui"
class="sign_in_with_openid"
>
<img alt="Sign in with OpenID Connect" src="openid_login_button.png"/>
</a>
</div>
</div> </div>
</div> </div>
......
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