diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-06-07 09:59:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 09:59:46 +0200 |
commit | b24db1e49102e5b1d373800073abe4bc1a64cb6f (patch) | |
tree | 689bd59d9604faadc88fb786832005f5901bb3ef /settings/templates | |
parent | 49722838033aeb13780f86194db95637d39ab3d0 (diff) | |
parent | 5a20ac7df2e3e6ca4c7f43b66afd87c7c6493c5a (diff) | |
download | nextcloud-server-b24db1e49102e5b1d373800073abe4bc1a64cb6f.tar.gz nextcloud-server-b24db1e49102e5b1d373800073abe4bc1a64cb6f.zip |
Merge pull request #9762 from nextcloud/feature/noid/setupcheck-design
Add visual indicator for setup checks
Diffstat (limited to 'settings/templates')
-rw-r--r-- | settings/templates/settings/admin/overview.php | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/settings/templates/settings/admin/overview.php b/settings/templates/settings/admin/overview.php index 2bddd1f9c3e..08aee8b5b76 100644 --- a/settings/templates/settings/admin/overview.php +++ b/settings/templates/settings/admin/overview.php @@ -151,18 +151,28 @@ <?php endif; ?> </ul> + <div id="security-warning-state-ok" class="hidden"> + <span class="icon icon-checkmark-white"></span><span class="message"><?php p($l->t('All checks passed.'));?></span> + </div> + <div id="security-warning-state-failure" class="hidden"> + <span class="icon icon-close-white"></span><span class="message"><?php p($l->t('There are some errors regarding your setup.'));?></span> + </div> + <div id="security-warning-state-warning" class="hidden"> + <span class="icon icon-error-white"></span><span class="message"><?php p($l->t('There are some warnings regarding your setup.'));?></span> + </div> + <div id="security-warning-state-loading"> + <span class="icon loading"></span><span class="message"><?php p($l->t('Checking for system and security issues.'));?></span> + </div> + <div id="postsetupchecks" data-check-wellknown="<?php if($_['checkForWorkingWellKnownSetup']) { p('true'); } else { p('false'); } ?>"> - <div class="loading"></div> <ul class="errors hidden"></ul> <ul class="warnings hidden"></ul> <ul class="info hidden"></ul> - <p class="hint hidden"> - <?php print_unescaped($l->t('Please double check the <a target="_blank" rel="noreferrer noopener" href="%s">installation guides ↗</a>, and check for any errors or warnings in the <a href="%s">log</a>.', [link_to_docs('admin-install'), \OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => 'logging'])] )); ?> - </p> - </div> - <div id="security-warning-state"> - <span class="hidden icon-checkmark"><?php p($l->t('All checks passed.'));?></span> </div> + <p id="postsetupchecks-hint" class="hidden"> + <?php print_unescaped($l->t('Please double check the <a target="_blank" rel="noreferrer noopener" href="%s">installation guides ↗</a>, and check for any errors or warnings in the <a href="%s">log</a>.', [link_to_docs('admin-install'), \OC::$server->getURLGenerator()->linkToRoute('settings.AdminSettings.index', ['section' => 'logging'])] )); ?> + </p> + </div> <div class="section"> |