Merge pull request #14736 from owncloud/errors-list
adjust list of errors, more compact and readable
This commit is contained in:
commit
81dc550af0
|
@ -339,6 +339,12 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
|
||||||
background-position: left center;
|
background-position: left center;
|
||||||
}
|
}
|
||||||
|
|
||||||
#postsetupchecks .hint, #postsetupchecks .setupwarning {
|
#postsetupchecks .hint {
|
||||||
margin-top: 15px;
|
margin-top: 15px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#postsetupchecks .setupwarning {
|
||||||
|
list-style: initial;
|
||||||
|
font-weight: normal;
|
||||||
|
margin-top: 5px;
|
||||||
|
}
|
||||||
|
|
|
@ -144,7 +144,7 @@ $(document).ready(function(){
|
||||||
} else {
|
} else {
|
||||||
$errorsEl = $el.find('.errors');
|
$errorsEl = $el.find('.errors');
|
||||||
for (var i = 0; i < errors.length; i++ ) {
|
for (var i = 0; i < errors.length; i++ ) {
|
||||||
$errorsEl.append('<div class="setupwarning">' + errors[i] + '</div>');
|
$errorsEl.append('<li class="setupwarning">' + errors[i] + '</li>');
|
||||||
}
|
}
|
||||||
$errorsEl.removeClass('hidden');
|
$errorsEl.removeClass('hidden');
|
||||||
$el.find('.hint').removeClass('hidden');
|
$el.find('.hint').removeClass('hidden');
|
||||||
|
|
|
@ -225,7 +225,7 @@ if ($_['cronErrors']) {
|
||||||
<h2><?php p($l->t('Configuration Checks'));?></h2>
|
<h2><?php p($l->t('Configuration Checks'));?></h2>
|
||||||
<div class="loading"></div>
|
<div class="loading"></div>
|
||||||
<div class="success hidden"><?php p($l->t('No problems found'));?></div>
|
<div class="success hidden"><?php p($l->t('No problems found'));?></div>
|
||||||
<div class="errors hidden"></div>
|
<ul class="errors hidden"></ul>
|
||||||
<div class="hint hidden">
|
<div class="hint hidden">
|
||||||
<span class="setupwarning"><?php
|
<span class="setupwarning"><?php
|
||||||
print_unescaped($l->t('Please double check the <a href=\'%s\'>installation guides</a>.', \OC_Helper::linkToDocs('admin-install')));
|
print_unescaped($l->t('Please double check the <a href=\'%s\'>installation guides</a>.', \OC_Helper::linkToDocs('admin-install')));
|
||||||
|
|
Loading…
Reference in New Issue