-
Notifications
You must be signed in to change notification settings - Fork 0
/
persons.html
83 lines (79 loc) · 3.35 KB
/
persons.html
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<script src="https://cdn.front.nu/dist/front.js" template="true"></script>
<title globalize="persons">Persons</title>
<template>
<aside index="0"></aside>
<aside index="1">
<nav class="sidebar bcwhite w15r xxxl_w20r">
<h5 class="p1 mt1" globalize="search">Search</h5>
<hr>
<div class="p1">
<small class="pb1 ttu" globalize="name">Name</small>
<input type="text" onkeyup="filter()">
</div>
<div class="p1">
<small class="pb1 ttu" globalize="country_of_birth">Country of birth</small>
<select>
<option>All</option>
</select>
</div>
<div class="p1">
<small class="pb1 ttu" globalize="country_of_residence">Country of residence</small>
<select>
<option>All</option>
</select>
</div>
<div class="p1">
<small class="pb1 ttu" globalize="country_of_residence">Ethnicity</small>
<select>
<option>All</option>
</select>
</div>
</nav>
</aside>
</template>
<section class="pauto" storage="api">
<nav class="crumbs pointer bocblack01 bw1 bcwhite br05 gray w0">
<ol>
<li><a href="#" globalize="database">Identity</a></li>
<li globalize="persons">Persons</li>
</ol>
</nav>
<button class="br50 bcblack white w1r h1r fr"><i class="icon24">+</i></button>
<h3 class="mt1 mb1" globalize="persons">Persons</h3>
<nav class="tabs mt05" id="test">
<input type="radio" name="panel" id="tabalive" checked>
<label for="tabalive" id="alive">Alive ({# alive #})</label>
<section class="p0 shade1" json="personsalive" bind="alive:alive"
bindvalue="{{ jsonheader:content-range = split('/',1) }}">
<div id="personsalive" class="box cards list br0-" iterate="true"
datasource="{{ storage:api.persons.endpoint }}?and=(death.is.null)"
dataheader="{{ storage:api.persons.headers }}">
<a href="database/person.html?id={{ jsonget:id }}">
<figure class="p075 bcwhite bcblack001_h">
<p class="f2 pl1" filteron="true">{{ jsonget:first_name.swe }} {{ jsonget:middle_name.swe }} {{
jsonget:last_name.swe }}</p>
<img src="" jsonget="birth.country_code" jsonbefore="https://cdn.front.nu/dist/design/front/flags/famfamfam/" jsonafter=".gif" class="f0">
</figure>
</a>
</div>
</section>
<input type="radio" name="panel" id="tabdead">
<label for="tabdead" id="dead" hide>Dead ({# dead #})</label>
<section class="lg_p0 shade1" run="false" json="personsdead" bind="dead:dead"
bindvalue="{{ jsonheader:content-range = split('/',1) }}">
<div id="personsdead" class="box cards list br0-" iterate="true"
datasource="{{ storage:api.persons.endpoint }}?and=(death.not.is.null)"
dataheader="{{ storage:api.persons.headers }}">
<a href="database/person.html?id={{ jsonget:id }}">
<figure class="p1 bcwhite bcblack001_h">
<img src="" jsonget="birth.country_code"
jsonbefore="https://cdn.front.nu/dist/design/front/flags/famfamfam/" jsonafter=".gif" class="f0">
<p class="f2 pl1" filteron="true">{{ jsonget:first_name.swe }} {{ jsonget:middle_name.swe }} {{
jsonget:last_name.swe }}</p>
<p class="tar" jsonget="death.date"></p>
</figure>
</a>
</div>
</section>
</nav>
</section>