gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-backoffice] 03/03: info bar gets red.


From: gnunet
Subject: [GNUnet-SVN] [taler-backoffice] 03/03: info bar gets red.
Date: Mon, 04 Jun 2018 14:40:37 +0200

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

marcello pushed a commit to branch master
in repository backoffice.

commit 7a7c675a07119b72664c311ed964d2e7eb3ce055
Author: Marcello Stanisci <address@hidden>
AuthorDate: Mon Jun 4 14:40:18 2018 +0200

    info bar gets red.
---
 js/backoffice.js                                     | 2 +-
 talerbackoffice/backoffice/static/backoffice.css     | 7 +++++++
 talerbackoffice/backoffice/templates/backoffice.html | 9 +++++----
 3 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/js/backoffice.js b/js/backoffice.js
index 059f61a..4af24dd 100644
--- a/js/backoffice.js
+++ b/js/backoffice.js
@@ -186,7 +186,7 @@ var show_error = function(response_text){
   /* Get hold of the info bar.  */
   var info_bar = document.getElementById("information-bar");
   info_bar.innerHTML = `<p>${msg}</p>`; 
-  info_bar.style.visibility = ""; 
+  info_bar.style.visibility = "visible"; 
 
   /* Info bar will disappear at next page load/reload.  */
 }
diff --git a/talerbackoffice/backoffice/static/backoffice.css 
b/talerbackoffice/backoffice/static/backoffice.css
index 1278d04..910e6b9 100644
--- a/talerbackoffice/backoffice/static/backoffice.css
+++ b/talerbackoffice/backoffice/static/backoffice.css
@@ -11,6 +11,13 @@
   z-index: 2;
 }
 
+#information-bar {
+  border-radius: 8px;
+  padding: 1px;
+  background: #ff8566;
+  visibility: hidden;
+}
+
 #history-container {
   margin-bottom: 10cm;
 }
diff --git a/talerbackoffice/backoffice/templates/backoffice.html 
b/talerbackoffice/backoffice/templates/backoffice.html
index 363f467..72ab74e 100644
--- a/talerbackoffice/backoffice/templates/backoffice.html
+++ b/talerbackoffice/backoffice/templates/backoffice.html
@@ -5,6 +5,11 @@
   the user can see the money flow from Taler transactions to
   wire transfers and viceversa.</p>
 
+  <div id="information-bar">
+    <!-- programmatically filled.  -->
+  </div>
+
+  <br />
   <div>
     <select id="instance" onchange="change_instance();">
       {% for instance in instances %}
@@ -13,10 +18,6 @@
     </select>
   </div>
 
-  <div id="information-bar"
-       stlye="visibility: hidden;">
-  </div>
-
   <div>
     <form action="">
       <input type="text"

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



reply via email to

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