summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcrackcomm <crackcomm@gmail.com>2014-04-01 05:44:30 +0200
committercrackcomm <crackcomm@gmail.com>2014-04-01 05:44:30 +0200
commit5a07b5430eb7858d6bb4198a7ea874f3a91b346f (patch)
tree1de47ad7ff8d25d3c4ccf7d1db3107d14162f8ba
parent868d921f7bb30a3bd5c690b484722fc35c0d8211 (diff)
downloadgitea-5a07b5430eb7858d6bb4198a7ea874f3a91b346f.tar.gz
gitea-5a07b5430eb7858d6bb4198a7ea874f3a91b346f.zip
.admin-dl-horizontal
-rwxr-xr-xpublic/css/gogs.css4
-rw-r--r--templates/admin/config.tmpl16
-rw-r--r--templates/admin/dashboard.tmpl2
-rw-r--r--templates/repo/single_file.tmpl8
4 files changed, 15 insertions, 15 deletions
diff --git a/public/css/gogs.css b/public/css/gogs.css
index 4071220466..a018a9dbae 100755
--- a/public/css/gogs.css
+++ b/public/css/gogs.css
@@ -1234,10 +1234,10 @@ html, body {
/* admin dashboard/configuration */
-.dl-horizontal > dt {
+.admin-dl-horizontal > dt {
width: 320px;
}
-.dl-horizontal > dd {
+.admin-dl-horizontal > dd {
margin-left: 340px;
}
diff --git a/templates/admin/config.tmpl b/templates/admin/config.tmpl
index d7c3ba761d..96c52fb5a0 100644
--- a/templates/admin/config.tmpl
+++ b/templates/admin/config.tmpl
@@ -9,7 +9,7 @@
</div>
<div class="panel-body">
- <dl class="dl-horizontal">
+ <dl class="dl-horizontal admin-dl-horizontal">
<dt>Application Name</dt>
<dd>{{AppName}}</dd>
<dt>Application Version</dt>
@@ -36,7 +36,7 @@
</div>
<div class="panel-body">
- <dl class="dl-horizontal">
+ <dl class="dl-horizontal admin-dl-horizontal">
<dt>Type</dt>
<dd>{{.DbCfg.Type}}</dd>
<dt>Host</dt>
@@ -59,7 +59,7 @@
</div>
<div class="panel-body">
- <dl class="dl-horizontal">
+ <dl class="dl-horizontal admin-dl-horizontal">
<dt>Register Email Confirmation</dt>
<dd><i class="fa fa{{if .Service.RegisterEmailConfirm}}-check{{end}}-square-o"></i></dd>
<dt>Disenable Registeration</dt>
@@ -85,7 +85,7 @@
</div>
<div class="panel-body">
- <dl class="dl-horizontal">
+ <dl class="dl-horizontal admin-dl-horizontal">
<dt>Enabled</dt>
<dd><i class="fa fa{{if .MailerEnabled}}-check{{end}}-square-o"></i></dd>
<dt>Name</dt>
@@ -104,7 +104,7 @@
</div>
<div class="panel-body">
- <dl class="dl-horizontal">
+ <dl class="dl-horizontal admin-dl-horizontal">
<dt>Cache Adapter</dt>
<dd>{{.CacheAdapter}}</dd>
<dt>Cache Config</dt>
@@ -119,7 +119,7 @@
</div>
<div class="panel-body">
- <dl class="dl-horizontal">
+ <dl class="dl-horizontal admin-dl-horizontal">
<dt>Session Provider</dt>
<dd>{{.SessionProvider}}</dd>
<dt>Cookie Name</dt>
@@ -150,7 +150,7 @@
</div>
<div class="panel-body">
- <dl class="dl-horizontal">
+ <dl class="dl-horizontal admin-dl-horizontal">
<dt>Picture Service</dt>
<dd>{{.PictureService}}</dd>
</dl>
@@ -163,7 +163,7 @@
</div>
<div class="panel-body">
- <dl class="dl-horizontal">
+ <dl class="dl-horizontal admin-dl-horizontal">
<dt>Log Mode</dt>
<dd>{{.LogMode}}</dd>
<dt>Log Config</dt>
diff --git a/templates/admin/dashboard.tmpl b/templates/admin/dashboard.tmpl
index ef64e57916..31970f7ac4 100644
--- a/templates/admin/dashboard.tmpl
+++ b/templates/admin/dashboard.tmpl
@@ -19,7 +19,7 @@
</div>
<div class="panel-body">
- <dl class="dl-horizontal">
+ <dl class="dl-horizontal admin-dl-horizontal">
<dt>Server Uptime</dt>
<dd>{{.SysStatus.Uptime}}</dd>
diff --git a/templates/repo/single_file.tmpl b/templates/repo/single_file.tmpl
index 9199ca91f7..6127a57674 100644
--- a/templates/repo/single_file.tmpl
+++ b/templates/repo/single_file.tmpl
@@ -13,11 +13,11 @@
{{end}}
{{if not .ReadmeInSingle}}
<div class="btn-group pull-right">
- <a class="btn btn-default hidden" href="#">Edit</a>
+ <a class="btn btn-default" href="#">Edit</a>
<a class="btn btn-default" href="{{.FileLink}}">Raw</a>
- <a class="btn btn-default hidden" href="#">Blame</a>
- <a class="btn btn-default hidden" href="#">History</a>
- <a class="btn btn-danger hidden" href="#">Delete</a>
+ <a class="btn btn-default" href="#">Blame</a>
+ <a class="btn btn-default" href="#">History</a>
+ <a class="btn btn-danger" href="#">Delete</a>
</div>
{{end}}
</div>