aboutsummaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorUnknown <joe2010xtmf@163.com>2014-05-06 13:47:47 -0400
committerUnknown <joe2010xtmf@163.com>2014-05-06 13:47:47 -0400
commit7cb5a15c9b7a2a118d756d15cb745743f207a318 (patch)
treedba01566116b8ad49f0762812ecb3ab96597090f /templates
parente573855a4f040abd4aa6a2afa9ce610a1ec2670f (diff)
downloadgitea-7cb5a15c9b7a2a118d756d15cb745743f207a318.tar.gz
gitea-7cb5a15c9b7a2a118d756d15cb745743f207a318.zip
Batch of mirror fixes
Diffstat (limited to 'templates')
-rw-r--r--templates/admin/config.tmpl4
-rw-r--r--templates/admin/dashboard.tmpl24
2 files changed, 26 insertions, 2 deletions
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index 8ba6b60cd5..96565bac87 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -20,8 +20,8 @@
<dd>{{.Domain}}</dd>
<dt>Offline Mode</dt>
<dd><i class="fa fa{{if .OfflineMode}}-check{{end}}-square-o"></i></dd>
- <dt>Router Log</dt>
- <dd><i class="fa fa{{if .RouterLog}}-check{{end}}-square-o"></i></dd>
+ <dt>Disable Router Log</dt>
+ <dd><i class="fa fa{{if .DisableRouterLog}}-check{{end}}-square-o"></i></dd>
<hr/>
<dt>Run User</dt>
<dd>{{.RunUser}}</dd>
diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl
index 76539842d2..e8dca09e57 100644
--- a/templates/admin/dashboard.tmpl
+++ b/templates/admin/dashboard.tmpl
@@ -3,6 +3,7 @@
<div id="body" class="container" data-page="admin">
{{template "admin/nav" .}}
<div id="admin-container" class="col-md-10">
+ {{template "base/alert" .}}
<div class="panel panel-default">
<div class="panel-heading">
Statistic
@@ -15,6 +16,29 @@
<div class="panel panel-default">
<div class="panel-heading">
+ Operations
+ </div>
+
+ <div class="panel-body">
+ <table class="table">
+ <thead>
+ <tr>
+ <th>Name</th>
+ <th>Op.</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Clean unbind OAuthes</td>
+ <td><i class="fa fa-caret-square-o-right"></i> <a href="/admin?op=1">Run</a></td>
+ </tr>
+ </tbody>
+ </table>
+ </div>
+ </div>
+
+ <div class="panel panel-default">
+ <div class="panel-heading">
System Monitor Status
</div>