Merge pull request #14141 from mohitjawanjal/master
Remove inline styles from Relation.php
This commit is contained in:
commit
3178facfa1
@ -101,16 +101,16 @@ class Relation
|
||||
$retval = '<br>';
|
||||
|
||||
$messages = array();
|
||||
$messages['error'] = '<span style="color:red"><strong>'
|
||||
$messages['error'] = '<span class="caution"><strong>'
|
||||
. __('not OK')
|
||||
. '</strong></span>';
|
||||
|
||||
$messages['ok'] = '<span style="color:green"><strong>'
|
||||
$messages['ok'] = '<span class="success"><strong>'
|
||||
. _pgettext('Correctly working', 'OK')
|
||||
. '</strong></span>';
|
||||
|
||||
$messages['enabled'] = '<span style="color:green">' . __('Enabled') . '</span>';
|
||||
$messages['disabled'] = '<span style="color:red">' . __('Disabled') . '</span>';
|
||||
$messages['enabled'] = '<span class="success">' . __('Enabled') . '</span>';
|
||||
$messages['disabled'] = '<span class="caution">' . __('Disabled') . '</span>';
|
||||
|
||||
if (strlen($cfgRelation['db']) == 0) {
|
||||
$retval .= __('Configuration of pmadb…') . ' '
|
||||
|
||||
@ -715,6 +715,9 @@ ul#topmenu2 a {
|
||||
span.caution {
|
||||
color: #FF0000;
|
||||
}
|
||||
span.success {
|
||||
color: green;
|
||||
}
|
||||
fieldset.caution a {
|
||||
color: #FF0000;
|
||||
}
|
||||
@ -3430,4 +3433,4 @@ body .ui-dialog .ui-button-text-only .ui-button-text {
|
||||
/* side menu */
|
||||
#name-panel {
|
||||
overflow:hidden;
|
||||
}
|
||||
}
|
||||
@ -1026,6 +1026,9 @@ ul#topmenu2 a {
|
||||
span.caution {
|
||||
color: #FF0000;
|
||||
}
|
||||
span.success {
|
||||
color: green;
|
||||
}
|
||||
fieldset.caution a {
|
||||
color: #FF0000;
|
||||
}
|
||||
@ -3680,4 +3683,4 @@ body .ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
|
||||
/* side menu */
|
||||
#name-panel {
|
||||
overflow:hidden;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user