1 {{* This template is for the "group" module. It provides the user the possibility to
2 modify a specific contact group (remove contact group, edit contact group name,
3 add or remove contacts to the contact group.
6 <script type="text/javascript" src="view/theme/frio/js/mod_group.js"></script>
8 <div class="generic-page-wrapper">
10 {{* The buttons for editing the contact group (edit name / remove contact group) *}}
11 <div class="group-actions pull-right">
12 <button type="button" id="group-rename" class="btn btn-clear" onclick="showHide('group-edit-wrapper'); showHide('group-edit-header'); return false;" title="{{$edit_name}}" data-toggle="tooltip">
13 <i class="fa fa-pencil" aria-hidden="true"></i>
15 {{if $drop}}{{$drop nofilter}}{{/if}}
19 <div class="section-title-wrapper">
20 <div id="group-edit-header">
24 {{* Edit the name of the group *}}
25 <div id="group-edit-wrapper">
27 <form action="group/{{$gid}}" id="group-edit-form" method="post">
28 <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
30 <div class="pull-left">
31 {{include file="field_input.tpl" field=$gname label=false}}
33 <div id="group-edit-submit-wrapper" class="form-group pull-right">
34 <button class="btn btn-primary btn-small" type="submit" name="submit" value="{{$submit}}">
41 <div class="clear"></div>
44 {{* The search input field to search for contacts *}}
45 <div id="contacts-search-wrapper">
46 <form id="contacts-search-form" class="navbar-form" role="search" method="get" >
48 <div class="form-group form-group-search">
49 <input type="text" name="search" id="contacts-search" class="search-input form-control form-search" onfocus="this.select();" onkeyup="filterList(); return false;" />
50 <button class="btn btn-default btn-sm form-button-search" onclick="filterList(); return false;">{{$submit_filter}}</button>
56 <div id="contacts-search-end"></div>
59 {{* The buttons to switch between the different view modes *}}
60 <div id="group-list-view-switcher" class="btn-group btn-group-sm pull-right">
61 <botton type="button" id="group-list-big" class="active group-list-switcher btn btn-default">
62 <i class="fa fa-align-justify" aria-hidden="true"></i>
64 <button type="button" id="group-list-small" class="btn btn-default group-list-switcher">
65 <i class="fa fa-th-large" aria-hidden="true"></i>
68 <div class="clear"></div>
70 {{* The contact group list *}}
71 <div id="group-update-wrapper">
72 {{include file="groupeditor.tpl"}}