]> source.dussan.org Git - nextcloud-server.git/commitdiff
only show connection checks results if there are errors, fix #11476
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 25 Mar 2015 08:34:13 +0000 (09:34 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Wed, 25 Mar 2015 08:34:13 +0000 (09:34 +0100)
settings/css/settings.css
settings/js/admin.js
settings/templates/admin.php

index e400fc2ab48661d133e0b15c0b6f22d13f216ff4..814eb665428bd49d079857ada27bde05e1b7cf66 100644 (file)
@@ -394,16 +394,9 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
 
 #postsetupchecks .loading {
        height: 50px;
-}
-
-#postsetupchecks.section .loading {
        background-position: left center;
 }
 
-#postsetupchecks .hint {
-       margin-top: 15px;
-}
-
 #admin-tips li {
        list-style: initial;
 }
index a3c941f08a4c989d58275051ee2170d2e0ee178d..6ec1a061fc91a9e6d12cc629fb86e6277f7b38d5 100644 (file)
@@ -140,11 +140,10 @@ $(document).ready(function(){
                var $errorsEl;
                $el.find('.loading').addClass('hidden');
                if (errors.length === 0) {
-                       $el.find('.success').removeClass('hidden');
                } else {
                        $errorsEl = $el.find('.errors');
                        for (var i = 0; i < errors.length; i++ ) {
-                               $errorsEl.append('<li class="setupwarning">' + errors[i] + '</li>');
+                               $errorsEl.append('<li>' + errors[i] + '</li>');
                        }
                        $errorsEl.removeClass('hidden');
                        $el.find('.hint').removeClass('hidden');
index 548b541dbeccbe00431055ed980b505c205a8afc..7813babf5c54054d1818812f1b6680248b917c74 100644 (file)
@@ -172,7 +172,6 @@ if ($_['cronErrors']) {
 
 <div id="postsetupchecks">
        <div class="loading"></div>
-       <div class="success hidden"><?php p($l->t('No problems found'));?></div>
        <ul class="errors hidden"></ul>
        <p class="hint hidden">
                <?php print_unescaped($l->t('Please double check the <a target="_blank" href="%s">installation guides ↗</a>, and check for any errors or warnings in the <a href="#log-section">log</a>.', link_to_docs('admin-install'))); ?>