.admin-dl-horizontal

tokarchuk/v1.17
crackcomm 11 years ago
parent 868d921f7b
commit 5a07b5430e
  1. 4
      public/css/gogs.css
  2. 16
      templates/admin/config.tmpl
  3. 2
      templates/admin/dashboard.tmpl
  4. 8
      templates/repo/single_file.tmpl

@ -1234,10 +1234,10 @@ html, body {
/* admin dashboard/configuration */ /* admin dashboard/configuration */
.dl-horizontal > dt { .admin-dl-horizontal > dt {
width: 320px; width: 320px;
} }
.dl-horizontal > dd { .admin-dl-horizontal > dd {
margin-left: 340px; margin-left: 340px;
} }

@ -9,7 +9,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal"> <dl class="dl-horizontal admin-dl-horizontal">
<dt>Application Name</dt> <dt>Application Name</dt>
<dd>{{AppName}}</dd> <dd>{{AppName}}</dd>
<dt>Application Version</dt> <dt>Application Version</dt>
@ -36,7 +36,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal"> <dl class="dl-horizontal admin-dl-horizontal">
<dt>Type</dt> <dt>Type</dt>
<dd>{{.DbCfg.Type}}</dd> <dd>{{.DbCfg.Type}}</dd>
<dt>Host</dt> <dt>Host</dt>
@ -59,7 +59,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal"> <dl class="dl-horizontal admin-dl-horizontal">
<dt>Register Email Confirmation</dt> <dt>Register Email Confirmation</dt>
<dd><i class="fa fa{{if .Service.RegisterEmailConfirm}}-check{{end}}-square-o"></i></dd> <dd><i class="fa fa{{if .Service.RegisterEmailConfirm}}-check{{end}}-square-o"></i></dd>
<dt>Disenable Registeration</dt> <dt>Disenable Registeration</dt>
@ -85,7 +85,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal"> <dl class="dl-horizontal admin-dl-horizontal">
<dt>Enabled</dt> <dt>Enabled</dt>
<dd><i class="fa fa{{if .MailerEnabled}}-check{{end}}-square-o"></i></dd> <dd><i class="fa fa{{if .MailerEnabled}}-check{{end}}-square-o"></i></dd>
<dt>Name</dt> <dt>Name</dt>
@ -104,7 +104,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal"> <dl class="dl-horizontal admin-dl-horizontal">
<dt>Cache Adapter</dt> <dt>Cache Adapter</dt>
<dd>{{.CacheAdapter}}</dd> <dd>{{.CacheAdapter}}</dd>
<dt>Cache Config</dt> <dt>Cache Config</dt>
@ -119,7 +119,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal"> <dl class="dl-horizontal admin-dl-horizontal">
<dt>Session Provider</dt> <dt>Session Provider</dt>
<dd>{{.SessionProvider}}</dd> <dd>{{.SessionProvider}}</dd>
<dt>Cookie Name</dt> <dt>Cookie Name</dt>
@ -150,7 +150,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal"> <dl class="dl-horizontal admin-dl-horizontal">
<dt>Picture Service</dt> <dt>Picture Service</dt>
<dd>{{.PictureService}}</dd> <dd>{{.PictureService}}</dd>
</dl> </dl>
@ -163,7 +163,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal"> <dl class="dl-horizontal admin-dl-horizontal">
<dt>Log Mode</dt> <dt>Log Mode</dt>
<dd>{{.LogMode}}</dd> <dd>{{.LogMode}}</dd>
<dt>Log Config</dt> <dt>Log Config</dt>

@ -19,7 +19,7 @@
</div> </div>
<div class="panel-body"> <div class="panel-body">
<dl class="dl-horizontal"> <dl class="dl-horizontal admin-dl-horizontal">
<dt>Server Uptime</dt> <dt>Server Uptime</dt>
<dd>{{.SysStatus.Uptime}}</dd> <dd>{{.SysStatus.Uptime}}</dd>

@ -13,11 +13,11 @@
{{end}} {{end}}
{{if not .ReadmeInSingle}} {{if not .ReadmeInSingle}}
<div class="btn-group pull-right"> <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" href="{{.FileLink}}">Raw</a>
<a class="btn btn-default hidden" href="#">Blame</a> <a class="btn btn-default" href="#">Blame</a>
<a class="btn btn-default hidden" href="#">History</a> <a class="btn btn-default" href="#">History</a>
<a class="btn btn-danger hidden" href="#">Delete</a> <a class="btn btn-danger" href="#">Delete</a>
</div> </div>
{{end}} {{end}}
</div> </div>

Loading…
Cancel
Save