mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
mark required input fields visually (darker border and light yellow background)
This commit is contained in:
parent
fc1ce1fa71
commit
cbf94ab243
@ -984,6 +984,10 @@ foreach($sess as $key => $val)
|
||||
{
|
||||
$class = $this->expand_name($class,$show_c,$show_row,$content['.c'],$content['.row'],$content);
|
||||
}
|
||||
if ($cell['needed'] && !in_array($cell['type'],array('button','buttononly')))
|
||||
{
|
||||
$class .= ' inputRequired';
|
||||
}
|
||||
$cell_options = $cell['size'];
|
||||
if (strchr($cell_options,'$') || $cell_options{0} == '@')
|
||||
{
|
||||
|
@ -18,6 +18,17 @@
|
||||
.gray {
|
||||
color: gray;
|
||||
}
|
||||
.leftPad5 {
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
/*
|
||||
* mark input as required
|
||||
*/
|
||||
.inputRequired input,.inputRequired select,.inputRequired textarea {
|
||||
border: gray 1px solid;
|
||||
background-color: #ffffd0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Styles of the eT editor
|
||||
|
Loading…
Reference in New Issue
Block a user