]> source.dussan.org Git - nextcloud-server.git/commitdiff
add Tips & tricks section to admin settings
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Fri, 20 Mar 2015 17:40:13 +0000 (18:40 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Mon, 23 Mar 2015 17:19:13 +0000 (18:19 +0100)
settings/css/settings.css
settings/templates/admin.php

index 0716cd24938e7956fd8120b7027a5ed47c1f8ab7..7e3a39409052f201a22e82a1efe08cd1f6df9df1 100644 (file)
@@ -386,3 +386,11 @@ doesnotexist:-o-prefocus, .strengthify-wrapper {
        font-weight: normal;
        margin-top: 5px;
 }
+
+#admin-tips li {
+       list-style: initial;
+}
+#admin-tips li a {
+       display: inline-block;
+       padding: 3px 0;
+}
index 23c3a36e28c658a195db0ade828e2372b52e6983..e24b51368ddb0227e5dcf4a337b3093d5f890686 100644 (file)
@@ -111,7 +111,7 @@ if ($_['databaseOverload']) {
                </strong>
        </p>
        <p>
-               <?php p($l->t('To migrate to another database use the command line tool: \'occ db:convert-type\'')); ?>
+               <?php print_unescaped($l->t('To migrate to another database use the command line tool: \'occ db:convert-type\', or see the <a target="_blank" href="%s">documentation ↗</a>.', link_to_docs('admin-db-conversion') )); ?>
        </p>
 
 </div>
@@ -228,7 +228,7 @@ if ($_['cronErrors']) {
        <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>, and check for any errors or warnings in the <a href="#log-section">log</a>.', \OC_Helper::linkToDocs('admin-install')));
+                       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')));
                ?></span>
        </div>
 </div>
@@ -491,6 +491,17 @@ if ($_['cronErrors']) {
        <?php endif; ?>
 </div>
 
+<div class="section" id="admin-tips">
+       <h2><?php p($l->t('Tips & tricks'));?></h2>
+       <ul>
+               <li><a target="_blank" href="<?php p(link_to_docs('admin-backup')); ?>"><?php p($l->t('How to do backups'));?> ↗</a></li>
+               <li><a target="_blank" href="<?php p(link_to_docs('admin-monitoring')); ?>"><?php p($l->t('Advanced monitoring'));?> ↗</a></li>
+               <li><a target="_blank" href="<?php p(link_to_docs('admin-performance')); ?>"><?php p($l->t('Performance tuning'));?> ↗</a></li>
+               <li><a target="_blank" href="<?php p(link_to_docs('admin-config')); ?>"><?php p($l->t('Improving the config.php'));?> ↗</a></li>
+               <li><a target="_blank" href="<?php p(link_to_docs('developer-theming')); ?>"><?php p($l->t('Theming'));?> ↗</a></li>
+       </ul>
+</div>
+
 <div class="section">
        <h2><?php p($l->t('Version'));?></h2>
        <strong><?php p($theme->getTitle()); ?></strong> <?php p(OC_Util::getHumanVersion()) ?>