gnunet-svn
[Top][All Lists]
Advanced

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

[GNUnet-SVN] [taler-bank] branch master updated: formatting


From: gnunet
Subject: [GNUnet-SVN] [taler-bank] branch master updated: formatting
Date: Tue, 06 Feb 2018 00:58:01 +0100

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

dold pushed a commit to branch master
in repository bank.

The following commit(s) were added to refs/heads/master by this push:
     new 216b80a  formatting
216b80a is described below

commit 216b80a4320ff19c968fcd5e1bbcf83d94b36f33
Author: Florian Dold <address@hidden>
AuthorDate: Tue Feb 6 00:57:52 2018 +0100

    formatting
---
 talerbank/app/static/bank.css             | 19 +------------------
 talerbank/app/templates/profile_page.html |  8 ++++----
 2 files changed, 5 insertions(+), 22 deletions(-)

diff --git a/talerbank/app/static/bank.css b/talerbank/app/static/bank.css
index 2b71200..2f54298 100644
--- a/talerbank/app/static/bank.css
+++ b/talerbank/app/static/bank.css
@@ -25,22 +25,6 @@ a.pure-button {
   text-decoration: line-through;
 }
 
-/**
- * NOTE: could not set input width with "normal"
- * 'size' and 'maxlength' HTML attributes because
- * they are ignored for "number"-typed inputs. */
-input#id_amount {
-  width: 230px;
-  padding-right: 160px;
-}
-
-/* Styling the wrapper */
-span.currency-symbol {
-  position: absolute;
-  margin-top: 13px;
-  margin-left: 90px;
-}
-
 input[type="number"]::-webkit-outer-spin-button, 
input[type="number"]::-webkit-inner-spin-button {
   -webkit-appearance: none;
   margin: 0;
@@ -71,8 +55,7 @@ input[type="number"] {
 }
 
 .fieldbox {
-  margin-left: 0.5em;
-  margin-right: 0.5em;
+  margin-right: 1em;
   margin-bottom: 0.5em;
 }
 
diff --git a/talerbank/app/templates/profile_page.html 
b/talerbank/app/templates/profile_page.html
index a770edd..6215aeb 100644
--- a/talerbank/app/templates/profile_page.html
+++ b/talerbank/app/templates/profile_page.html
@@ -113,18 +113,18 @@
           <div id="transfer-fields">
           
           <div class="fieldbox">
-            <label class="fieldlabel" for="id_amount">Amount to 
transfer</label>
+            <label class="fieldlabel" for="id_amount">Amount to 
transfer:</label>
             {{ wt_form.amount }}<!--
-            --><input type="text" readonly id="id_currency" size="9" value="{{ 
currency }}">
+            --><input type="text" readonly id="id_currency" size="{{ 
currency|length }}" value="{{ currency }}">
           </div>
             
           <div class="fieldbox">
-            <label class="fieldlabel" for="id_receiver">Receiver</label>
+            <label class="fieldlabel" for="id_receiver">Receiver:</label>
             {{ wt_form.receiver }}
           </div>
             
           <div class="fieldbox">
-            <label class="fieldlabel" for="id_receiver">Subject</label>
+            <label class="fieldlabel" for="id_receiver">Subject:</label>
             {{ wt_form.subject }}
           </div>
           

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



reply via email to

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