noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 10/219: GESTION -> CUST, MANAGER, ADM ... est


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 10/219: GESTION -> CUST, MANAGER, ADM ... esthetic move the name of the tiers to the right
Date: Mon, 18 Dec 2017 13:22:27 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 04fec6916f49251a9ae084afa418d1404aff39e9
Author: Dany De Bontridder <address@hidden>
Date:   Wed Jul 12 22:51:51 2017 +0200

    GESTION -> CUST, MANAGER, ADM ... esthetic move the name of the tiers
    to the right
---
 html/style-classic.css        | 14 +++++++++++++-
 html/style-light.css          |  7 +++++++
 include/category_card.inc.php |  5 +++--
 include/class/fiche.class.php |  2 +-
 4 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/html/style-classic.css b/html/style-classic.css
index 05142c8..65cf67f 100644
--- a/html/style-classic.css
+++ b/html/style-classic.css
@@ -2214,7 +2214,19 @@ td.selectedmenu {
  */
 #summary_op1,#summary_op2 
 {
-    position:float;
     float:left;
     padding-left: 150px;
 }
+/*
+ * Name of the tiers in GESTION 
+ */
+#gestion_title {
+    float:right;
+    margin-right: 5%;
+    font-size:150%;
+    color :white;
+    font-variant: small-caps;
+    background-color: #5D90CD;
+    padding: 3px 20px 3px 20px;
+    margin-top:20px;
+}
\ No newline at end of file
diff --git a/html/style-light.css b/html/style-light.css
index 83f729f..b6a4ac5 100644
--- a/html/style-light.css
+++ b/html/style-light.css
@@ -2149,3 +2149,10 @@ td.selectedmenu {
     position:float;
     float:left;
 }
+/*
+ * Name of the tiers in GESTION 
+ */
+#gestion_title {
+    float:right;
+    margin-right: 25px;
+}
\ No newline at end of file
diff --git a/include/category_card.inc.php b/include/category_card.inc.php
index 101b00f..c0357e4 100644
--- a/include/category_card.inc.php
+++ b/include/category_card.inc.php
@@ -64,7 +64,8 @@ switch ($ss_action)
         $def=1;
         $ss_action='dc';
 }
-$f=new Fiche($cn, $_REQUEST['f_id']);
+$f_id=$http->request('f_id',"number");
+$f=new Fiche($cn, $f_id);
 
 echo '<div class="content">';
 echo $f->get_gestion_title();
@@ -77,7 +78,7 @@ $menu=array(
     array('href'=>$root.'&sc=balag', 'label'=>_('Balance âgée'), 
'alt'=>_('Balance âgée du tiers')),
     array('href'=>$root.'&sc=let', 'label'=>_('Lettrage'), 
'alt'=>_('Opérations & Lettrages'))
 );
-echo '<ul class="tabs">';
+echo '<ul class="tabs" style="padding-top:0px">';
 for ($i=0; $i<count($menu); $i++)
 {
     $style=($def==($i+1))?"tabs_selected":"tabs";
diff --git a/include/class/fiche.class.php b/include/class/fiche.class.php
index 385d93f..e18e4e5 100644
--- a/include/class/fiche.class.php
+++ b/include/class/fiche.class.php
@@ -1985,7 +1985,7 @@ class Fiche
 
        function get_gestion_title()
        {
-               $r = "<h2>" . h($this->getName()) . " " . 
h($this->getAttribut(ATTR_DEF_FIRST_NAME)) . '[' . $this->get_quick_code() . 
']</h2>';
+               $r = "<h2 id=\"gestion_title\">" . h($this->getName()) . " " . 
h($this->getAttribut(ATTR_DEF_FIRST_NAME)) . '[' . $this->get_quick_code() . 
']</h2>';
                return $r;
        }
        function get_all_account()



reply via email to

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