phpcompta-dev
[Top][All Lists]
Advanced

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

[Phpcompta-dev] r5589 - in phpcompta/trunk: html include


From: phpcompta-dev
Subject: [Phpcompta-dev] r5589 - in phpcompta/trunk: html include
Date: Mon, 9 Dec 2013 21:07:07 +0100 (CET)

Author: danydb
Date: 2013-12-09 21:07:07 +0100 (Mon, 09 Dec 2013)
New Revision: 5589

Modified:
   phpcompta/trunk/html/style-color.css
   phpcompta/trunk/html/style-epad.css
   phpcompta/trunk/html/style.css
   phpcompta/trunk/include/class_inum.php
Log:
Update style

Modified: phpcompta/trunk/html/style-color.css
===================================================================
--- phpcompta/trunk/html/style-color.css        2013-12-09 20:02:37 UTC (rev 
5588)
+++ phpcompta/trunk/html/style-color.css        2013-12-09 20:07:07 UTC (rev 
5589)
@@ -1358,3 +1358,8 @@
        list-style-type:none;
        text-align:left;
 }
+input.inum {
+    text-align:right;
+    border:1px solid blue;
+    margin:2px
+}
\ No newline at end of file

Modified: phpcompta/trunk/html/style-epad.css
===================================================================
--- phpcompta/trunk/html/style-epad.css 2013-12-09 20:02:37 UTC (rev 5588)
+++ phpcompta/trunk/html/style-epad.css 2013-12-09 20:07:07 UTC (rev 5589)
@@ -1349,3 +1349,8 @@
        list-style-type:none;
        text-align:left;
 }
+input.inum {
+    text-align:right;
+    border:1px solid blue;
+    margin:2px
+}
\ No newline at end of file

Modified: phpcompta/trunk/html/style.css
===================================================================
--- phpcompta/trunk/html/style.css      2013-12-09 20:02:37 UTC (rev 5588)
+++ phpcompta/trunk/html/style.css      2013-12-09 20:07:07 UTC (rev 5589)
@@ -1343,3 +1343,8 @@
        list-style-type:none;
        text-align:left;
 }
+input.inum {
+    text-align:right;
+    border:1px solid blue;
+    margin:2px
+}
\ No newline at end of file

Modified: phpcompta/trunk/include/class_inum.php
===================================================================
--- phpcompta/trunk/include/class_inum.php      2013-12-09 20:02:37 UTC (rev 
5588)
+++ phpcompta/trunk/include/class_inum.php      2013-12-09 20:07:07 UTC (rev 
5589)
@@ -45,8 +45,8 @@
         parent::__construct($name,$value);
 
         $this->size=9;
-        $this->style='style="text-align:right;border:1px solid 
blue;margin:2px"';
-               $this->javascript= 'onchange="format_number(this,2);"';
+        $this->style='class="inum"';
+       $this->javascript= 'onchange="format_number(this,2);"';
     }
     /*!\brief print in html the readonly value of the widget*/
     public function display()
@@ -55,7 +55,8 @@
         $readonly=" readonly ";
                $this->id=($this->id=="")?$this->name:$this->id;
 
-        $style='style="border:solid 1px 
blue;color:black;background:#EDEDED;text-align:right"';
+        //$style='style="border:solid 1px 
blue;color:black;background:#EDEDED;text-align:right"';
+        $style=' class="inum input_text_ro"';
         $this->value=str_replace('"','',$this->value);
         $r='<INPUT '.$style.' TYPE="TEXT" id="'.
            $this->id.'"'.



---
PhpCompta est un logiciel de comptabilité libre en ligne (full web)
Projet opensource http://www.phpcompta.eu



reply via email to

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