Merge pull request #14141 from mohitjawanjal/master

Remove inline styles from Relation.php
This commit is contained in:
Maurício Meneghini Fauth 2018-05-03 12:52:30 -03:00 committed by GitHub
commit 3178facfa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 6 deletions

View File

@ -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…') . ' '

View File

@ -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;
}
}

View File

@ -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;
}
}