aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/privacy_groups.tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-06-17 16:58:12 +0200
committerMario <mario@mariovavti.com>2018-06-17 16:58:12 +0200
commit9c5df51141d68e50d3c1f5d3097160408debce48 (patch)
treed529d05124c26931a9b2c5ea097a6a4b03dd483a /view/tpl/privacy_groups.tpl
parent9e29c136788fc14b9264843e11541bb6a2176e19 (diff)
downloadvolse-hubzilla-9c5df51141d68e50d3c1f5d3097160408debce48.tar.gz
volse-hubzilla-9c5df51141d68e50d3c1f5d3097160408debce48.tar.bz2
volse-hubzilla-9c5df51141d68e50d3c1f5d3097160408debce48.zip
some work on mod group
Diffstat (limited to 'view/tpl/privacy_groups.tpl')
-rw-r--r--view/tpl/privacy_groups.tpl28
1 files changed, 28 insertions, 0 deletions
diff --git a/view/tpl/privacy_groups.tpl b/view/tpl/privacy_groups.tpl
new file mode 100644
index 000000000..b4e27ef2c
--- /dev/null
+++ b/view/tpl/privacy_groups.tpl
@@ -0,0 +1,28 @@
+<div class="generic-content-wrapper">
+ <div class="clearfix section-title-wrapper">
+ <button type="button" class="btn btn-sm btn-success float-right" onclick="openClose('group_tools')"><i class="fa fa-plus-circle"></i> {{$add_new_label}}</button>
+ <h2>{{$title}}</h2>
+ </div>
+ <div id="group_tools" class="clearfix section-content-tools-wrapper"{{if ! $new}} style="display: none"{{/if}}>
+ <form action="group/new" id="group-edit-form" method="post" >
+ <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
+ {{include file="field_input.tpl" field=$gname}}
+ {{include file="field_checkbox.tpl" field=$public}}
+ <button type="submit" name="submit" class="btn btn-sm btn-primary float-right">{{$submit}}</button>
+ </form>
+ </div>
+
+ <table id="groups-index">
+ <tr>
+ <th width="99%">{{$name_label}}</th>
+ <th width="1%">{{$count_label}}</th>
+ </tr>
+
+ {{foreach $entries as $group}}
+ <tr id="groups-index-{{$group.id}}" class="group-index-row">
+ <td><a href="group/{{$group.id}}">{{$group.name}}</a></td>
+ <td>{{$group.count}}</td>
+ </tr>
+ {{/foreach}}
+ </table>
+</div>