aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/connections.tpl
blob: 1f7aa05b70889e8f1d957443799b62b4e7fa59d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<div class="generic-content-wrapper">
	<div class="section-title-wrapper">
		<div class="dropdown pull-right">
			<button type="button" class="btn btn-primary btn-xs" onclick="openClose('contacts-search-form');">
				<i class="fa fa-search"></i>&nbsp;{{$label}}
			</button>
			<button type="button" class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" title="{{$sort}}">
				<i class="fa fa-sort"></i>
			</button>
			<ul class="dropdown-menu">
				{{foreach $tabs as $menu}}
				<li><a href="{{$menu.url}}">{{$menu.label}}</a></li>
				{{/foreach}}
			</ul>
		</div>
		{{if $finding}}<h2>{{$finding}}</h2>{{else}}<h2>{{$header}}{{if $total}} ({{$total}}){{/if}}</h2>{{/if}}
	</div>
	<div id="contacts-search-form" class="section-content-tools-wrapper">
		<form action="{{$cmd}}" method="get" >
			<div class="form-group">
				<div class="input-group">
					<input type="text" name="search" id="contacts-search" class="widget-input" onfocus="this.select();" value="{{$search}}" placeholder="{{$desc}}" />
					<div class="input-group-btn">
						<button id="contacts-search-submit" class="btn btn-default btn-sm" type="submit" name="submit" value="{{$submit}}"><i class="fa fa-search"></i></button>
					</div>
				</div>
			</div>
		</form>
	</div>
	<div id="connections-wrapper">
		{{foreach $contacts as $contact}}
			{{include file="connection_template.tpl"}}
		{{/foreach}}
		<div id="page-end"></div>
	</div>
</div>
<script>$(document).ready(function() { loadingPage = false;});</script>
<div id="page-spinner"></div>