2 {{* This template is for the "group" module. It provides the user the possibility to
3 modify a specific contact group (remove contact group, edit contact group name,
4 add or remove contacts to the contact group.
7 <script type="text/javascript" src="view/theme/frio/js/mod_group.js"></script>
9 <div class="generic-page-wrapper">
11 {{* The buttons for editing the contact group (edit name / remove contact group) *}}
12 <div class="group-actions pull-right">
13 <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">
14 <i class="fa fa-pencil" aria-hidden="true"></i>
16 {{if $drop}}{{$drop}}{{/if}}
20 <div class="section-title-wrapper">
21 <div id="group-edit-header">
25 {{* Edit the name of the group *}}
26 <div id="group-edit-wrapper">
28 <form action="group/{{$gid}}" id="group-edit-form" method="post">
29 <input type="hidden" name="form_security_token" value="{{$form_security_token}}">
31 <div class="pull-left">
32 {{include file="field_input.tpl" field=$gname label=false}}
34 <div id="group-edit-submit-wrapper" class="form-group pull-right">
35 <button class="btn btn-primary btn-small" type="submit" name="submit" value="{{$submit}}">
42 <div class="clear"></div>
45 {{* The search input field to search for contacts *}}
46 <div id="contacts-search-wrapper">
47 <form id="contacts-search-form" class="navbar-form" role="search" method="get" >
49 <div class="form-group form-group-search">
50 <input type="text" name="search" id="contacts-search" class="search-input form-control form-search" onfocus="this.select();" onkeyup="filterList(); return false;" />
51 <button class="btn btn-default btn-sm form-button-search" onclick="filterList(); return false;">{{$submit_filter}}</button>
57 <div id="contacts-search-end"></div>
60 {{* The buttons to switch between the different view modes *}}
61 <div id="group-list-view-switcher" class="btn-group btn-group-sm pull-right">
62 <botton type="button" id="group-list-big" class="active group-list-switcher btn btn-default">
63 <i class="fa fa-align-justify" aria-hidden="true"></i>
65 <button type="button" id="group-list-small" class="btn btn-default group-list-switcher">
66 <i class="fa fa-th-large" aria-hidden="true"></i>
69 <div class="clear"></div>
71 {{* The contact group list *}}
72 <div id="group-update-wrapper">
73 {{include file="groupeditor.tpl"}}