2023-05-14 01:54:35 +02:00
|
|
|
{{* This template is for the "circle" module. It provides the user the possibility to
|
|
|
|
modify a specific contact circle (remove contact circle, edit contact circle name,
|
|
|
|
add or remove contacts to the contact circle.
|
2017-04-21 16:04:29 +02:00
|
|
|
*}}
|
|
|
|
|
2023-05-14 01:54:35 +02:00
|
|
|
<script type="text/javascript" src="view/theme/frio/js/mod_circle.js?v={{$smarty.const.FRIENDICA_VERSION}}"></script>
|
2017-04-21 16:04:29 +02:00
|
|
|
|
|
|
|
<div class="generic-page-wrapper">
|
2018-07-10 00:36:50 +02:00
|
|
|
{{if $editable == 1}}
|
2023-05-14 01:54:35 +02:00
|
|
|
{{* The buttons for editing the contact circle (edit name / remove contact circle) *}}
|
|
|
|
<div class="circle-actions pull-right">
|
|
|
|
<button type="button" id="circle-rename" class="btn btn-clear" onclick="showHide('circle-edit-wrapper'); showHide('circle-edit-header'); return false;" title="{{$edit_name}}" data-toggle="tooltip">
|
2017-04-21 16:04:29 +02:00
|
|
|
<i class="fa fa-pencil" aria-hidden="true"></i>
|
|
|
|
</button>
|
2018-12-22 21:25:23 +01:00
|
|
|
{{if $drop}}{{$drop nofilter}}{{/if}}
|
2017-04-21 16:04:29 +02:00
|
|
|
</div>
|
2018-07-10 00:36:50 +02:00
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
<div class="section-title-wrapper">
|
2023-05-14 01:54:35 +02:00
|
|
|
<div id="circle-edit-header">
|
2018-07-10 00:36:50 +02:00
|
|
|
<h2>{{$title}}</h2>
|
|
|
|
</div>
|
2017-04-21 16:04:29 +02:00
|
|
|
|
2023-05-14 01:54:35 +02:00
|
|
|
{{* Edit the name of the circle *}}
|
|
|
|
<div id="circle-edit-wrapper">
|
2017-04-21 16:04:29 +02:00
|
|
|
|
2023-05-14 01:54:35 +02:00
|
|
|
<form action="circle/{{$gid}}" id="circle-edit-form" method="post">
|
2018-10-25 09:33:01 +02:00
|
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
|
|
|
2018-07-10 00:36:50 +02:00
|
|
|
<div class="pull-left">
|
|
|
|
{{include file="field_input.tpl" field=$gname label=false}}
|
|
|
|
</div>
|
2023-05-14 01:54:35 +02:00
|
|
|
<div id="circle-edit-submit-wrapper" class="form-group pull-right">
|
2018-12-14 04:28:12 +01:00
|
|
|
<button class="btn btn-primary btn-small" type="submit" name="submit" value="{{$submit}}">
|
|
|
|
{{$submit}}
|
2018-07-10 00:36:50 +02:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="clear"></div>
|
2017-04-21 16:04:29 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
{{* The search input field to search for contacts *}}
|
|
|
|
<div id="contacts-search-wrapper">
|
2021-05-19 23:47:15 +02:00
|
|
|
<form id="contacts-search-form" class="navbar-form" role="search" method="get">
|
2017-04-21 16:04:29 +02:00
|
|
|
<div class="row">
|
2018-07-10 00:36:50 +02:00
|
|
|
<div class="form-group form-group-search">
|
|
|
|
<input type="text" name="search" id="contacts-search" class="search-input form-control form-search" onfocus="this.select();" onkeyup="filterList(); return false;" />
|
|
|
|
<button class="btn btn-default btn-sm form-button-search" onclick="filterList(); return false;">{{$submit_filter}}</button>
|
2017-04-21 16:04:29 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2018-07-10 00:36:50 +02:00
|
|
|
</form>
|
2017-04-21 16:04:29 +02:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="contacts-search-end"></div>
|
|
|
|
|
2023-05-14 01:54:35 +02:00
|
|
|
{{if $circle_editor}}
|
2017-04-21 16:04:29 +02:00
|
|
|
{{* The buttons to switch between the different view modes *}}
|
2023-05-14 01:54:35 +02:00
|
|
|
<div id="circle-list-view-switcher" class="btn-group btn-group-sm pull-right">
|
|
|
|
<button type="button" id="circle-list-big" class="active circle-list-switcher btn btn-default">
|
2017-04-21 16:04:29 +02:00
|
|
|
<i class="fa fa-align-justify" aria-hidden="true"></i>
|
2023-03-22 04:16:57 +01:00
|
|
|
</button>
|
2023-05-14 01:54:35 +02:00
|
|
|
<button type="button" id="circle-list-small" class="btn btn-default circle-list-switcher">
|
2017-04-21 16:04:29 +02:00
|
|
|
<i class="fa fa-th-large" aria-hidden="true"></i>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div class="clear"></div>
|
|
|
|
|
2023-05-14 01:54:35 +02:00
|
|
|
{{* The contact circle list *}}
|
|
|
|
<div id="circle-update-wrapper">
|
|
|
|
{{include file="circle_editor.tpl"}}
|
2017-04-21 16:04:29 +02:00
|
|
|
</div>
|
|
|
|
{{/if}}
|
|
|
|
</div>
|