gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [taler-backoffice] branch master updated: Rudimentary langu


From: gnunet
Subject: [GNUnet-SVN] [taler-backoffice] branch master updated: Rudimentary language-switch menu.
Date: Tue, 04 Sep 2018 12:36:42 +0200

This is an automated email from the git hooks/post-receive script.

marcello pushed a commit to branch master
in repository backoffice.

The following commit(s) were added to refs/heads/master by this push:
     new 37f7272  Rudimentary language-switch menu.
37f7272 is described below

commit 37f7272373c2abc5b0ff9484008bf56908ac8db0
Author: Marcello Stanisci <address@hidden>
AuthorDate: Tue Sep 4 12:36:10 2018 +0200

    Rudimentary language-switch menu.
---
 talerbackoffice/backoffice/static/backoffice.css   | 23 ++++++++++++++++++++++
 .../backoffice/templates/backoffice.html           |  8 ++++++--
 talerbackoffice/backoffice/templates/base.html     |  1 -
 3 files changed, 29 insertions(+), 3 deletions(-)

diff --git a/talerbackoffice/backoffice/static/backoffice.css 
b/talerbackoffice/backoffice/static/backoffice.css
index 0e41201..4cf50e9 100644
--- a/talerbackoffice/backoffice/static/backoffice.css
+++ b/talerbackoffice/backoffice/static/backoffice.css
@@ -1,3 +1,26 @@
+
+/**
+ * Next two makes the "langs" menu stick
+ * to the right side of the screen, avoiding
+ * the overlapping between the menu and next
+ * 'p' element.
+ */
+#langs {
+  float: right;
+}
+
+.clear {
+  clear: both;
+}
+
+#langs ul {
+  list-style: none;
+}
+
+#langs li {
+  display: inline;
+}
+
 .logo-text {
   text-align: center;
   margin-top: 0pt;
diff --git a/talerbackoffice/backoffice/templates/backoffice.html 
b/talerbackoffice/backoffice/templates/backoffice.html
index 324779a..f47f82a 100644
--- a/talerbackoffice/backoffice/templates/backoffice.html
+++ b/talerbackoffice/backoffice/templates/backoffice.html
@@ -1,14 +1,18 @@
 {% extends "templates/base.html" %}
 {% block main %}
   <h1 class="logo-text">Taler backoffice</h1>
-  <p>{% trans %}This is the Taler backoffice facility.  Through it,
+  <ul id="langs">
+    <li><a href="../en/">[en]</a></li>
+    <li><a href="../it/">[it]</a></li>
+    <li><a href="../de/">[de]</a></li>
+  </ul>
+  <p class="clear">{% trans %}This is the Taler backoffice facility.  Through 
it,
   the user can see the money flow from Taler transactions to
   wire transfers and viceversa.{% endtrans %}</p>
 
   <div id="information-bar">
     <!-- programmatically filled.  -->
   </div>
-
   <br />
   <div>
     <span style="margin-right: 10px;">{% trans %}Current instance:{% endtrans 
%}</span>
diff --git a/talerbackoffice/backoffice/templates/base.html 
b/talerbackoffice/backoffice/templates/base.html
index 4e8109c..e575ec7 100644
--- a/talerbackoffice/backoffice/templates/base.html
+++ b/talerbackoffice/backoffice/templates/base.html
@@ -42,7 +42,6 @@
     </ul>
     <p>You can learn more about Taler on our main <a 
href="https://taler.net";>website</a>.</p>
   </div>
-
   <section id="main" class="content">
     <a href="{{ url("/") }}">
       <div id="logo">

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]