aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-03-03 12:08:21 +0100
committerMario Vavti <mario@mariovavti.com>2016-03-03 12:08:21 +0100
commitb704f977daa93f84662b7857dd882d6c5a2c5963 (patch)
treedcca0de004fb1bbe74c12f21d1cafb20771d10ed /view/tpl
parent59e04aed1b7ea68b51b8672768dffd21f5a4bd4d (diff)
parent436e91a1e13bc488003262dfffb0a7d273a3106a (diff)
downloadvolse-hubzilla-b704f977daa93f84662b7857dd882d6c5a2c5963.tar.gz
volse-hubzilla-b704f977daa93f84662b7857dd882d6c5a2c5963.tar.bz2
volse-hubzilla-b704f977daa93f84662b7857dd882d6c5a2c5963.zip
Merge branch 'master' of https://github.com/redmatrix/hubzilla
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/admin_profiles.tpl25
1 files changed, 16 insertions, 9 deletions
diff --git a/view/tpl/admin_profiles.tpl b/view/tpl/admin_profiles.tpl
index 70fcc303b..8962c21b3 100644
--- a/view/tpl/admin_profiles.tpl
+++ b/view/tpl/admin_profiles.tpl
@@ -1,5 +1,14 @@
<div class="generic-content-wrapper">
-<h2>{{$title}}</h2>
+<div class="section-title-wrapper"><a title="{{$new}}" class="btn btn-primary btn-xs pull-right" href="admin/profs/new"><i class="icon-plus-sign">&nbsp;{{$new}}</i></a><h2>{{$title}}</h2>
+<div class="clear"></div>
+</div>
+
+<div class="section-content-tools-wrapper">
+
+<div class="section-content-info-wrapper">{{$all_desc}}
+<br /><br />
+{{$all}}
+</div>
<form action="admin/profs" method="post">
@@ -10,22 +19,20 @@
</form>
-<div>{{$all_desc}}</div>
-<div>{{$all}}</div>
+{{if $cust_fields}}
<br /><br />
-<div>{{$cust_field_desc}}</div>
-
-<button href="admin/profs/new">{{$new}}</button>
+<div><strong>{{$cust_field_desc}}</strong></div>
+<br />
-{{if $cust_fields}}
-<table>
+<table width="100%">
{{foreach $cust_fields as $field}}
-<tr><td>{{$field.field_desc}}</td><td>{{$field.field_name}}</td><td><a href="admin/profs/{{$field.id}}" >{{$edit}}</a> <a href="admin/profs/drop/{{$field.id}}">{{$drop}}</a></td></tr>
+<tr><td>{{$field.field_name}}</td><td>{{$field.field_desc}}</td><td><a class="btn btn-danger btn-xs" href="admin/profs/drop/{{$field.id}}" title="{{$drop}}"><i class="icon-trash"></i>&nbsp;{{$drop}}</a> <a class="btn btn-xs" title="{{$edit}}" href="admin/profs/{{$field.id}}" ><i class="icon-pencil"></i></a></td></tr>
{{/foreach}}
</table>
{{/if}}
+</div>
</div>