aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/admin_profiles.tpl
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-03-01 21:06:27 -0800
committerredmatrix <git@macgirvin.com>2016-03-01 21:06:27 -0800
commit548bf884a4b34a4881f3188e54c592597f755dc9 (patch)
treef448f4b694f7263388e020e36fb586175d8f203e /view/tpl/admin_profiles.tpl
parenta0baa480e3968306c8ebc297a60f84b4d2ccf8c9 (diff)
downloadvolse-hubzilla-548bf884a4b34a4881f3188e54c592597f755dc9.tar.gz
volse-hubzilla-548bf884a4b34a4881f3188e54c592597f755dc9.tar.bz2
volse-hubzilla-548bf884a4b34a4881f3188e54c592597f755dc9.zip
profile field admin page (functional only: still needs a lot of HTML/CSS cleanup)
Diffstat (limited to 'view/tpl/admin_profiles.tpl')
-rw-r--r--view/tpl/admin_profiles.tpl31
1 files changed, 31 insertions, 0 deletions
diff --git a/view/tpl/admin_profiles.tpl b/view/tpl/admin_profiles.tpl
new file mode 100644
index 000000000..70fcc303b
--- /dev/null
+++ b/view/tpl/admin_profiles.tpl
@@ -0,0 +1,31 @@
+<div class="generic-content-wrapper">
+<h2>{{$title}}</h2>
+
+<form action="admin/profs" method="post">
+
+{{include file="field_textarea.tpl" field=$basic}}
+{{include file="field_textarea.tpl" field=$advanced}}
+
+<input type="submit" name="submit" value="{{$submit}}" />
+
+</form>
+
+<div>{{$all_desc}}</div>
+
+<div>{{$all}}</div>
+
+<br /><br />
+<div>{{$cust_field_desc}}</div>
+
+<button href="admin/profs/new">{{$new}}</button>
+
+{{if $cust_fields}}
+<table>
+{{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>
+{{/foreach}}
+</table>
+{{/if}}
+
+
+</div>