diff options
author | root <root@SRV-WB-Azure-HTTP-02.4hnmjtaz2pauddcuvnayaj34ha.fx.internal.cloudapp.net> | 2016-07-26 09:27:48 +0000 |
---|---|---|
committer | root <root@SRV-WB-Azure-HTTP-02.4hnmjtaz2pauddcuvnayaj34ha.fx.internal.cloudapp.net> | 2016-07-26 09:27:48 +0000 |
commit | 3b44d731089a26a43818b7c0026c3a827947d5a1 (patch) | |
tree | d3e80c4bc5e7417d88ec4aa23f095bd57e9fe159 /settings | |
parent | cc5ddcf537d03c3f2f4cdc6817e02e098f8e8edb (diff) | |
download | nextcloud-server-3b44d731089a26a43818b7c0026c3a827947d5a1.tar.gz nextcloud-server-3b44d731089a26a43818b7c0026c3a827947d5a1.zip |
Orders Admin Log Button
Diffstat (limited to 'settings')
-rw-r--r-- | settings/css/settings.css | 3 | ||||
-rw-r--r-- | settings/templates/admin.php | 20 |
2 files changed, 13 insertions, 10 deletions
diff --git a/settings/css/settings.css b/settings/css/settings.css index 4cd85598443..fe586205bdf 100644 --- a/settings/css/settings.css +++ b/settings/css/settings.css @@ -445,6 +445,9 @@ span.version { table.grid td.date{ white-space: nowrap; } +#log-section p { + margin-top:20px; +} /* ADMIN */ #security-warning li { diff --git a/settings/templates/admin.php b/settings/templates/admin.php index 1830e542bbc..2524c9c2013 100644 --- a/settings/templates/admin.php +++ b/settings/templates/admin.php @@ -514,6 +514,16 @@ if ($_['cronErrors']) { </tr> <?php endforeach;?> </table> + <p><?php p($l->t('What to log'));?> <select name='loglevel' id='loglevel'> + <?php for ($i = 0; $i < 5; $i++): + $selected = ''; + if ($i == $_['loglevel']): + $selected = 'selected="selected"'; + endif; ?> + <option value='<?php p($i)?>' <?php p($selected) ?>><?php p($levelLabels[$i])?></option> + <?php endfor;?> + </select></p> + <?php if ($_['logFileSize'] > 0): ?> <a href="<?php print_unescaped(OC::$server->getURLGenerator()->linkToRoute('settings.LogSettings.download')); ?>" class="button" id="downloadLog"><?php p($l->t('Download logfile'));?></a> <?php endif; ?> @@ -528,16 +538,6 @@ if ($_['cronErrors']) { </em> <?php endif; ?> <?php endif; ?> - - <p><?php p($l->t('What to log'));?> <select name='loglevel' id='loglevel'> - <?php for ($i = 0; $i < 5; $i++): - $selected = ''; - if ($i == $_['loglevel']): - $selected = 'selected="selected"'; - endif; ?> - <option value='<?php p($i)?>' <?php p($selected) ?>><?php p($levelLabels[$i])?></option> - <?php endfor;?> - </select></p> </div> <div class="section" id="admin-tips"> |