FOLLOW-UP: improve appearance
This commit is contained in:
parent
7b0104c86d
commit
14304f9830
3 changed files with 56 additions and 17 deletions
|
|
@ -73,13 +73,15 @@ BODY {
|
|||
--underline-menu:#d7e8ee;
|
||||
--bg-slide:#c5d5e8;
|
||||
--end-level1:#eb7c7e;
|
||||
--border-color:navy;
|
||||
--bg-white:white;
|
||||
}
|
||||
input{
|
||||
font-family: 'OpenSansRegular';
|
||||
padding : 2px;
|
||||
margin:2px;
|
||||
border:1px solid var(--input-color);
|
||||
|
||||
background-color:var(--bg-white);
|
||||
color:var(--input-color);
|
||||
|
||||
}
|
||||
|
|
@ -807,8 +809,9 @@ a.document:hover {
|
|||
}
|
||||
.input_text_ro {
|
||||
border:1px solid #0000FF;
|
||||
background:#EDEDED;
|
||||
color:#0000FF;
|
||||
background-color: var(--bg-white);
|
||||
color:var(--border-color);
|
||||
border-radius: 5px;
|
||||
margin:1px;
|
||||
}
|
||||
.input_text {
|
||||
|
|
@ -856,9 +859,9 @@ fieldset fieldset legend {
|
|||
color:#888;
|
||||
}
|
||||
select {
|
||||
border: 1px solid #0000FF;
|
||||
border: 1px solid var(--border-color);
|
||||
margin:2px;
|
||||
background-color:#FFFFFF;
|
||||
background-color:var(--bg-white);
|
||||
border-radius: 3px;
|
||||
padding: 3px;
|
||||
}
|
||||
|
|
@ -2705,7 +2708,7 @@ td.selectedmenu {
|
|||
.field_follow_up
|
||||
{
|
||||
margin-top:1px;
|
||||
border:1px solid blue;
|
||||
border:1px solid var(--border-color);
|
||||
min-height: 5rem;
|
||||
}
|
||||
|
||||
|
|
@ -3786,7 +3789,7 @@ margin:1px;
|
|||
div.concerned_action {
|
||||
height: 11rem;
|
||||
overflow: auto;
|
||||
background-color: white;
|
||||
background-color: var(--bg-white);
|
||||
border:navy 1px solid;
|
||||
width: 100%;
|
||||
scroll-padding-right: 20px;
|
||||
|
|
@ -4307,4 +4310,22 @@ span.nb-round {
|
|||
#message1 {
|
||||
text-align: center;
|
||||
padding: 10px;
|
||||
}
|
||||
|
||||
|
||||
.inner_box div.fu_comment_div {
|
||||
padding-left: 1rem;
|
||||
padding-right: 1rem;
|
||||
|
||||
}
|
||||
|
||||
|
||||
.field_follow_up {
|
||||
padding: 1rem;
|
||||
border-radius: 10px;
|
||||
|
||||
}
|
||||
|
||||
.field_follow_up {
|
||||
background-color: var(--bg-white);
|
||||
}
|
||||
|
|
@ -283,7 +283,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"';
|
||||
$title->style='class="input_text" style="font-size:2rem;font-weight:bold"';
|
||||
$title->css_size="45rem";
|
||||
|
||||
|
||||
|
|
@ -304,7 +304,8 @@ class Follow_Up
|
|||
$ag_hour->name="ag_hour";
|
||||
$ag_hour->value=$this->ag_hour;
|
||||
$ag_hour->size=6;
|
||||
$ag_hour->javascript=" onblur=check_hour('ag_hour');";
|
||||
if (! $readonly) $ag_hour->javascript=" onblur=check_hour('ag_hour');";
|
||||
|
||||
$str_ag_hour=$ag_hour->input();
|
||||
|
||||
// Profile in charged of the action
|
||||
|
|
@ -420,7 +421,7 @@ class Follow_Up
|
|||
$h_agrefid=new IHidden();
|
||||
$iag_ref=new IText("ag_ref");
|
||||
$iag_ref->value=$this->ag_ref;
|
||||
$iag_ref->readOnly=false;
|
||||
$iag_ref->readOnly=$readonly;
|
||||
$iag_ref->css_size="100%";
|
||||
$str_ag_ref=$iag_ref->input();
|
||||
// Preparing the return string
|
||||
|
|
|
|||
|
|
@ -321,8 +321,13 @@ function small(p_id_textarea){
|
|||
}
|
||||
</script>
|
||||
<p style="margin-left:5%;">
|
||||
<?php echo $title->input();
|
||||
?>
|
||||
<?php if ( ! $readonly) : ?>
|
||||
<?php echo $title->input(); ?>
|
||||
<?php else: ?>
|
||||
<span style="font-size:2rem;font-weight:bold;">
|
||||
<?php echo $title->value; ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
</p>
|
||||
<div class="nicEdit-main">
|
||||
<?php
|
||||
|
|
@ -408,11 +413,18 @@ function small(p_id_textarea){
|
|||
}
|
||||
}
|
||||
|
||||
//---------------------------------- Comment -----------------------------------------------------------------------
|
||||
|
||||
//---------------------------------- -----------------------------------
|
||||
//Comment
|
||||
//---------------------------------- -----------------------------------
|
||||
|
||||
//------------------------------------------------
|
||||
// Single comment to edit
|
||||
//------------------------------------------------
|
||||
|
||||
if ( Document_Option::can_add_comment($ag_id) &&
|
||||
Document_Option::option_comment($this->dt_id) == "ONE_EDIT" )
|
||||
{
|
||||
echo '<div class="fu_comment_div">';
|
||||
if (count($acomment) > 1 ) {
|
||||
echo h2(_("Commentaire"));
|
||||
$comment=new ITextarea("ag_comment_edit");
|
||||
|
|
@ -451,14 +463,18 @@ function small(p_id_textarea){
|
|||
}
|
||||
echo '</span>';
|
||||
}
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
if ( count($acomment) > 0
|
||||
//------------------------------------------------
|
||||
// Multiple comments
|
||||
//------------------------------------------------
|
||||
|
||||
if ( count($acomment) > 0
|
||||
&& Document_Option::can_add_comment($ag_id)
|
||||
&& Document_Option::option_comment($this->dt_id) == "SOME_FIXED")
|
||||
{
|
||||
echo h2(_("Commentaire"));
|
||||
|
||||
echo '<div class="fu_comment_div">';
|
||||
for( $c=1;$c<count($acomment);$c++){
|
||||
$m_desc=_('Commentaire');
|
||||
$comment="";
|
||||
|
|
@ -522,6 +538,7 @@ function small(p_id_textarea){
|
|||
if ($p_view == 'UPD') {
|
||||
|
||||
}
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue