2020-02-11 23:40:23 +00:00
|
|
|
{{template "head.html"}}
|
2020-02-12 00:20:21 +00:00
|
|
|
{{template "nav.html" .Global}}
|
2020-02-11 23:40:23 +00:00
|
|
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12 header-tabbed">
|
|
|
|
<h2>Contacts</h2>
|
2020-02-12 20:13:51 +00:00
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" href="/contacts">Contacts</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link" href="/contacts/create">Create contact</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2020-02-11 23:40:23 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="container-fluid mailbox-container">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-2 mailboxes-column">
|
|
|
|
<ul class="nav flex-column">
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link active" href="/contacts">{{.AddressBook.Name}}</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-10 messages-column">
|
|
|
|
<div class="nav flex-column">
|
|
|
|
<form method="get" action="">
|
|
|
|
<input type="text" name="query" value="{{.Query}}"
|
|
|
|
class="form-control" placeholder="Search" autofocus>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{if .AddressObjects}}
|
|
|
|
<ul class="nav flex-column">
|
|
|
|
{{range .AddressObjects}}
|
|
|
|
<li class="nav-item">
|
2020-02-27 11:17:23 +00:00
|
|
|
<a class="nav-link" href="{{.URL}}">{{.Card.Value "FN"}}</a>
|
2020-02-11 23:40:23 +00:00
|
|
|
</li>
|
|
|
|
{{end}}
|
|
|
|
</ul>
|
|
|
|
{{else}}
|
|
|
|
<p>No contact.</p>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{{template "foot.html"}}
|