Commit be11a1bd authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼 Committed by Rafael Monnerat

slapos_jio: update panel and use PNG logo instead of hardcoded base64 logo

parent 923b4363
Pipeline #12676 failed with stage
in 0 seconds
......@@ -2,13 +2,13 @@
<html>
<head>
<!--
data-i18n=Home
data-i18n=Services
data-i18n=Dashboard
data-i18n=Login Account
data-i18n=Tickets
data-i18n=Sites
data-i18n=Projects
data-i18n=Invoices
data-i18n=Services
data-i18n=Servers
data-i18n=Networks
data-i18n=Logout
......@@ -33,7 +33,7 @@
</div>
</div>
<div class="panel_img">
<img class="ui-title" alt="ERP5" src="gadget_slapos_panel.png?format=png"/>
<img class="ui-title" alt="SlapOS logo" src="gadget_slapos_panel.png?format=png"/>
</div>
</div>
</script>
......@@ -54,13 +54,13 @@
<script id="panel-template-body" type="text/x-handlebars-template">
<div class="ui-content">
<ul data-role="listview" class="ui-listview" data-enhanced="true">
<li class="ui-first-child"><a href="#?editable=true" class="ui-btn ui-btn-icon-left ui-icon-home" data-i18n="Home" accesskey="h">Home</a></li>
<li class="ui-first-child"><a href="{{hosting_subscription_href}}" class="ui-btn ui-btn-icon-left ui-icon-home" data-i18n="Services" accesskey="l">Services</a></li>
<li><a href="{{dashboard_href}}" class="ui-btn ui-btn-icon-left ui-icon-gears" data-i18n="Dashboard" accesskey="h">Dashboard</a></li>
<li><a href="{{person_href}}" class="ui-btn ui-btn-icon-left ui-icon-user" data-i18n="Login Account" accesskey="p">Account</a></li>
<li><a href="{{support_request_href}}" class="ui-btn ui-btn-icon-left ui-icon-comments" data-i18n="Tickets" accesskey="t">Tickets</a></li>
<li><a href="{{organisation_href}}" class="ui-btn ui-btn-icon-left ui-icon-map-marker" data-i18n="Sites" accesskey="k">Sites</a></li>
<li><a href="{{project_href}}" class="ui-btn ui-btn-icon-left ui-icon-cubes" data-i18n="Projects" accesskey="w">Projects</a></li>
<li><a href="{{accounting_href}}" class="ui-btn ui-btn-icon-left ui-icon-credit-card" data-i18n="Invoices" accesskey="i">Invoices</a></li>
<li><a href="{{hosting_subscription_href}}" class="ui-btn ui-btn-icon-left ui-icon-gears" data-i18n="Services" accesskey="l">Services</a></li>
<li><a href="{{computer_href}}" class="ui-btn ui-btn-icon-left ui-icon-database" data-i18n="Servers" accesskey="c">Servers</a></li>
<li><a href="{{computer_network_href}}" class="ui-btn ui-btn-icon-left ui-icon-globe" data-i18n="Networks" accesskey="n">Networks</a></li>
<li><a href="{{language_href}}" class="ui-btn ui-btn-icon-left ui-icon-language" data-i18n="Language" accesskey="a">Language</a></li>
......
......@@ -63,6 +63,14 @@
</tuple>
</value>
</item>
<item>
  • this kind of change on .xml is not recommended to commit/push, as person and superthomas only exists on the environment you pushed from.

  • Yes, it can also exist and be someone else, which is maybe even more confusing :)

    The best would be that business template do not export this. We already discussed changing business template to not export contributor categories on documents and also not export actor, serial and time on workflows (like we do for components). We did not do because there was plans for a new business template format. Maybe it makes sense to do it now (or re-discuss again).

Please register or sign in to reply
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/20200810-4679F50</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value>
......@@ -226,7 +234,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>superthomas</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -240,7 +248,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>986.65492.29271.38877</string> </value>
<value> <string>988.27906.32629.56507</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -258,7 +266,7 @@
</tuple>
<state>
<tuple>
<float>1601549406.38</float>
<float>1607071619.81</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -93,6 +93,7 @@
context.getUrlFor({command: 'display', options: {page: "slap_network_list", editable: true}}),
context.getUrlFor({command: 'display', options: {page: "slap_project_list", editable: true}}),
context.getUrlFor({command: 'display', options: {page: "slap_person_view", editable: true}}),
context.getUrlFor({command: 'display', options: {page: "slapos", editable: true}}),
context.getUrlFor({command: 'display', options: {page: "slap_language_view"}})
]);
})
......@@ -111,7 +112,8 @@
"computer_network_href": result_list[7],
"project_href": result_list[8],
"person_href": result_list[9],
"language_href": result_list[10]
"dashboard_href": result_list[10],
"language_href": result_list[11]
})
);
})
......
......@@ -74,6 +74,14 @@
</tuple>
</value>
</item>
<item>
<key> <string>categories</string> </key>
<value>
<tuple>
<string>contributor/person_module/20200810-4679F50</string>
</tuple>
</value>
</item>
<item>
<key> <string>content_md5</string> </key>
<value>
......@@ -233,7 +241,7 @@
</item>
<item>
<key> <string>actor</string> </key>
<value> <string>zope</string> </value>
<value> <string>superthomas</string> </value>
</item>
<item>
<key> <string>comment</string> </key>
......@@ -247,7 +255,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>986.62605.47961.15752</string> </value>
<value> <string>987.59252.10760.63197</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -265,7 +273,7 @@
</tuple>
<state>
<tuple>
<float>1601548137.84</float>
<float>1607070942.23</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