adjust list of errors, more compact and readable

This commit is contained in:
Jan-Christoph Borchardt 2015-03-06 15:27:21 +01:00
parent d11f040720
commit db02edd7c8
3 changed files with 9 additions and 3 deletions

View File

@ -339,6 +339,12 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
background-position: left center;
}
#postsetupchecks .hint, #postsetupchecks .setupwarning {
#postsetupchecks .hint {
margin-top: 15px;
}
#postsetupchecks .setupwarning {
list-style: initial;
font-weight: normal;
margin-top: 5px;
}

View File

@ -144,7 +144,7 @@ $(document).ready(function(){
} else {
$errorsEl = $el.find('.errors');
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');
$el.find('.hint').removeClass('hidden');

View File

@ -225,7 +225,7 @@ if ($_['cronErrors']) {
<h2><?php p($l->t('Configuration Checks'));?></h2>
<div class="loading"></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">
<span class="setupwarning"><?php
print_unescaped($l->t('Please double check the <a href=\'%s\'>installation guides</a>.', \OC_Helper::linkToDocs('admin-install')));