# HG changeset patch # User Goffi # Date 1515159336 -3600 # Node ID 3ee775795cd0e3d14ce5e13bf8c3e2f48476818e # Parent 92ca411ee635148ae013e7d0dbc80ecbd751d4f3 app: simple page so show a link to heavy web application (i.e. pyjamas version) diff -r 92ca411ee635 -r 3ee775795cd0 default/app/app.html --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/app/app.html Fri Jan 05 14:35:36 2018 +0100 @@ -0,0 +1,23 @@ +{% extends 'base/base.html' %} +{% block body %} +
+

+ {% trans app_name=C.APP_NAME %} + The following link allows you to access {{app_name}} web application, which is a more feature full way to use this software (but it is also a bit more heavy and complex to use). + {% endtrans %} +

+

+ {% trans %} + Please note that current version of web application use legacy technologies and will be rewritten for next version of Salut à Toi (0.8). It does contain some bugs and it is under minimal maintenance. + {% endtrans %} +

+ +

+ {% trans %} + Next time you can go directly to the above URL. + {% endtrans %} +

+
+{% endblock body %} diff -r 92ca411ee635 -r 3ee775795cd0 default/components/common.html --- a/default/components/common.html Fri Jan 05 13:14:22 2018 +0100 +++ b/default/components/common.html Fri Jan 05 14:35:36 2018 +0100 @@ -7,6 +7,7 @@ 'tickets_list': _('Tickets'), 'ticket_new': _('Create new ticket'), 'chat': _('Chat'), + 'app': _('Application'), } %} {% macro menu(menus, class='') %} diff -r 92ca411ee635 -r 3ee775795cd0 default/static/app.css --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/default/static/app.css Fri Jan 05 14:35:36 2018 +0100 @@ -0,0 +1,21 @@ +#body { + display: flex; + align-items: center; + justify-content: center; +} + +#web_app_box { + width: 80%; + padding: 2em; + text-align: justify; +} + +#link_section { + font-weight: bold; + text-align: center; + font-size: 1.5rem; +} + +article p:last-child { + text-align: center; +}