noalyss-commit
[Top][All Lists]
Advanced

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

[Noalyss-commit] [noalyss] 28/30: cosmetic


From: Dany De Bontridder
Subject: [Noalyss-commit] [noalyss] 28/30: cosmetic
Date: Sat, 3 Dec 2022 08:35:15 -0500 (EST)

sparkyx pushed a commit to branch master
in repository noalyss.

commit 29ec0f6f0555e5851124ee60f7265638caf35548
Author: sparkyx <danydb@noalyss.eu>
AuthorDate: Fri Dec 2 21:31:59 2022 +0100

    cosmetic
---
 include/action.common.inc.php          |  2 +-
 include/class/follow_up.class.php      |  3 ++-
 include/template/follow_up-display.php | 16 ++++++++--------
 3 files changed, 11 insertions(+), 10 deletions(-)

diff --git a/include/action.common.inc.php b/include/action.common.inc.php
index ff793c0b0..2bb742526 100644
--- a/include/action.common.inc.php
+++ b/include/action.common.inc.php
@@ -223,7 +223,7 @@ if ($sub_action == "update")
 
//--------------------------------------------------------------------------------
 if ($sub_action == 'detail')
 {
-       echo '<div class="content">';
+       echo '<div class="content" style="padding:1rem">';
         if ( $correction == 0 )
         {
             $act = new Follow_Up($cn);
diff --git a/include/class/follow_up.class.php 
b/include/class/follow_up.class.php
index 7b82d5635..ec89f1955 100644
--- a/include/class/follow_up.class.php
+++ b/include/class/follow_up.class.php
@@ -213,7 +213,7 @@ class Follow_Up
         // Description
         $desc=new ITextArea();
         $desc->set_enrichText("enrich");
-        $desc->style=' class="itextarea" style="width:80%;margin-left:0px"';
+        $desc->style=' class="itextarea" style="width:80%;margin-left:5%;"';
         $desc->name="ag_comment";
         $desc->readOnly=$readonly;
         $acomment=$this->db->get_array("SELECT agc_id, ag_id, 
to_char(agc_date,'DD.MM.YYYY HH24:MI') as str_agc_date, agc_comment, 
agc_comment_raw,tech_user
@@ -268,6 +268,7 @@ class Follow_Up
         $title->name="ag_title";
         $title->value=$this->ag_title;
         $title->size=60;
+       $title->style='style="font-size:2rem;font-weight:bold"';
 
 
         // Priority of the ag_priority
diff --git a/include/template/follow_up-display.php 
b/include/template/follow_up-display.php
index faf7b8e78..0353d712e 100644
--- a/include/template/follow_up-display.php
+++ b/include/template/follow_up-display.php
@@ -280,7 +280,7 @@ function small(p_id_textarea){
             if ( $p_view != 'READ' && $editable_description == true){
                 echo h2(_("Description"));
                 $itDescription=new ITextarea("ag_description");
-                $itDescription->style='class="input_text field_follow_up" 
style="height:21rem;width:98%"';
+                $itDescription->style='class="input_text field_follow_up" 
style="height:21rem;width:98%;margin-left:1em;"';
 
                 $ag_description_id= $acomment[0]['agc_id'];
                 $itDescription->value=$acomment[0]['agc_comment'];
@@ -299,7 +299,7 @@ function small(p_id_textarea){
             elseif ($p_view == 'READ' || $editable_description == false)
             {
                 echo h2(_("Description"));
-                echo '<div class="nicEdit-main field_follow_up">';
+                echo '<div class="nicEdit-main field_follow_up" 
style="margin-left:5%;margin-bottom:1rem;width:90%;">';
                 echo $acomment[0]['agc_comment_raw'];
                 echo '</div>';
                 echo '</pre>';
@@ -308,7 +308,7 @@ function small(p_id_textarea){
           echo h2(_("Description"));
           $description->set_enrichText('enrich');
           $description->style='style="height:250px;width:90%;"';
-          echo '<div class="textarea" style="margin-left:5%;margin-right:5%">';
+          echo '<div class="textarea" 
style="margin-left:5%;margin-right:5%;margin-bottom:1rem;width:90%;">';
           echo $description->input();
           echo '</div>';
    }
@@ -322,7 +322,7 @@ function small(p_id_textarea){
         if (count($acomment) > 1 )  {
             echo h2(_("Commentaire"));
             $comment=new ITextarea("ag_comment_edit");
-            $comment->style='class="input_text field_follow_up" 
style="height:21rem;width:98%"';
+            $comment->style='class="input_text field_follow_up" 
style="height:21rem;width:98%;margin-left:5%;"';
 
             $ag_comment_id= (count($acomment) > 1)?$acomment[1]['agc_id']:-1;
             $comment->value=(count($acomment) > 1 
)?$acomment[1]['agc_comment']:'';
@@ -375,7 +375,7 @@ function small(p_id_textarea){
                 $js=Icon_Action::trash("accom".$acomment[$c]['agc_id'], 
$rmComment);
                 $comment= h($m_desc.' 
'.$acomment[$c]['agc_id'].'('.$acomment[$c]['tech_user']." ".
                         $acomment[$c]['str_agc_date'].')').$js.
-                                '<div class="nicEdit-main field_follow_up" 
id="com'.$acomment[$c]['agc_id'].'"> '.
+                                '<div class="nicEdit-main field_follow_up" 
style="margin-left:5%;margin-bottom:2rem;width:90%" 
id="com'.$acomment[$c]['agc_id'].'"> '.
                                 " ".$acomment[$c]['agc_comment_raw'].'</div>'
                                 ;
 
@@ -396,10 +396,10 @@ function small(p_id_textarea){
             echo $comment;
         } // end for
         if (  $has_description &&  $p_view == 'UPD' && 
Document_Option::can_add_comment($ag_id))  {
-            echo '<span class="noprint">';
-            echo '<p></p>';
+               echo '<span class="noprint">';
+               echo '<div style="margin-left:5%">';
                 echo $desc->input();
-
+               echo '</div>';
             }
             echo '</span>';
             if  ($p_view == 'UPD') {



reply via email to

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