aboutsummaryrefslogtreecommitdiffstats
path: root/view/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
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')
-rwxr-xr-xview/tpl/admin_aside.tpl1
-rw-r--r--view/tpl/admin_profiles.tpl31
2 files changed, 32 insertions, 0 deletions
diff --git a/view/tpl/admin_aside.tpl b/view/tpl/admin_aside.tpl
index ab190fc95..da762a094 100755
--- a/view/tpl/admin_aside.tpl
+++ b/view/tpl/admin_aside.tpl
@@ -21,6 +21,7 @@
<li><a href='{{$admin.plugins.0}}'>{{$admin.plugins.1}}</a></li>
<li><a href='{{$admin.themes.0}}'>{{$admin.themes.1}}</a></li>
<li><a href='{{$admin.features.0}}'>{{$admin.features.1}}</a></li>
+ <li><a href='{{$admin.profs.0}}'>{{$admin.profs.1}}</a></li>
<li><a href='{{$admin.dbsync.0}}'>{{$admin.dbsync.1}}</a></li>
</ul>
</div>
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>