From 29ec0f6f0555e5851124ee60f7265638caf35548 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Fri, 2 Dec 2022 21:31:59 +0100 Subject: [PATCH] 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 '
'; + echo '
'; 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 '
'; + echo '
'; echo $acomment[0]['agc_comment_raw']; echo '
'; echo ''; @@ -308,7 +308,7 @@ function small(p_id_textarea){ echo h2(_("Description")); $description->set_enrichText('enrich'); $description->style='style="height:250px;width:90%;"'; - echo '
'; + echo '
'; echo $description->input(); echo '
'; } @@ -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. - '
'. + '
'. " ".$acomment[$c]['agc_comment_raw'].'
' ; @@ -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 ''; - echo '

'; + echo ''; + echo '
'; echo $desc->input(); - + echo '
'; } echo '
'; if ($p_view == 'UPD') {