friendica-github/view/theme/frio/templates/directory_header.tpl

48 lines
1.5 KiB
Smarty
Raw Permalink Normal View History

2024-08-24 18:23:27 +00:00
{{*
* Copyright (C) 2010-2024, the Friendica project
* SPDX-FileCopyrightText: 2010-2024 the Friendica project
*
* SPDX-License-Identifier: AGPL-3.0-or-later
*}}
2016-04-21 00:14:37 +00:00
<div class="generic-page-wrapper">
{{if $gdirpath}}
<ul class="list-unstyled pull-right">
<li><div id="global-directory-link"><a href="{{$gdirpath}}">{{$globaldir}}</a></div></li>
</ul>
{{/if}}
{{include file="section_title.tpl"}}
{{* The search input field to search for contacts *}}
<div id="directory-search-wrapper">
<form id="directory-search-form" class="navbar-form" role="search" action="{{$search_mod}}" method="get">
<div class="row">
<div class="col-md-2"></div>
<div class="col-md-8 ">
<div class="form-group form-group-search">
2021-11-07 09:18:25 +00:00
<input type="text" name="search" id="directory-search" class="search-input form-control form-search" onfocus="this.select();" value="{{$search}}" placeholder="{{$desc}}"/>
<button class="btn btn-default btn-sm form-button-search" type="submit" id="directory-search-submit">{{$submit}}</button>
</div>
2016-04-21 00:14:37 +00:00
</div>
<div class="col-md-2"></div>
2016-04-21 00:14:37 +00:00
</div>
</form>
</div>
2016-04-21 00:14:37 +00:00
<hr>
2016-04-21 00:14:37 +00:00
<div id="directory-search-end" class="clear"></div>
2016-04-21 00:14:37 +00:00
{{* format each contact with the contact/entry.tpl *}}
<ul id="viewcontact_wrapper" class="viewcontact_wrapper media-list">
{{foreach $contacts as $contact}}
<li>{{include file="contact/entry.tpl"}}</li>
{{/foreach}}
</ul>
2016-04-21 00:14:37 +00:00
<div class="directory-end"></div>
2016-04-21 00:14:37 +00:00
{{$paginate nofilter}}
2019-02-18 12:03:21 +00:00
</div>