forked from emergenzeHack/covid19italia
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
72 lines (66 loc) · 3.63 KB
/
index.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
---
layout: homepage
title: Covid19Italia Help
subtitle: Un progetto per condividere informazioni a supporto dell'emergenza COVID19
---
<div class="homepage-categories">
{% for category in site.data.logos %}
{% if category.map == false %}
{% capture logo_alt %}{{ category.name }}{% if category.logo_credit and category.logo_credit != empty %} logo by {{ category.logo_credit }}{% endif %}{% endcapture %}
<a href="{{ site.baseurl }}/{{ category.link | slugify }}" class="thumbnail" title="{{ logo_alt }}">
{% if category.logo and category.logo != empty %}
<img src="{{ site.baseurl }}{{ category.logo }}" alt="{{ logo_alt }}">
{% endif %}
{{ category.name }}
</a>
{% endif %}
{% endfor %}
</div>
<hr class="col-lg-12">
<div class="row">
<div class="col-lg-12 col-xs-12">
<form class="global-search" role="form" action="/searchissues" method="get">
<div class="form-group">
<label for="search-box">Cosa cerchi?</label>
<input type="text" class="form-control" id="search-box" name="query" placeholder="">
</div>
<div class="form-group">
<label for="labelchoice">Categoria</label>
<select class="form-control" id="labelchoice" name="label">
<option value=""></option>
<option value="Alloggi">Alloggi</option>
<option value="Cerco lavoro">Cerco lavoro</option>
<option value="Offro lavoro">Offro lavoro</option>
<option value="acquisto solidale">Acquisto Solidale</option>
<option value="Bambini">Bambini</option>
<option value="Bollettino">Bollettino</option>
<option value="Bufale">Bufale</option>
<option value="Contatti">Contatti</option>
<option value="Donazioni">Donazioni</option>
<option value="Fabbisogni">Fabbisogni</option>
<option value="Notizie Utili">Notizie Utili</option>
<option value="Ospitalita animali">Ospitalità animali</option>
<option value="Raccolte Fondi">Raccolte Fondi</option>
</select>
</div>
<div class="form-group">
<input type="submit" class="btn btn-primary" value="Cerca">
</div>
</form>
</div>
</div>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="//code.jquery.com/jquery-1.12.4.min.js"></script>
<script type="text/javascript" src="../js/moment.min.js"></script>
<script type="text/javascript" src="../js/masonry.min.js"></script>
<!-- form di ricerca delle news -->
<script src="../js/jquery.sieve.min.js" type="text/javascript"></script>
<script type="text/javascript" src="//cdnjs.cloudflare.com/ajax/libs/elasticlunr/0.9.5/elasticlunr.min.js"></script>
<script type="text/javascript" src="../js/lunr.stemmer.support.min.js"></script>
<script type="text/javascript" src="../js/lunr.it.min.js"></script>
<script type="text/javascript" src="../js/search.min.js"></script>
<script>
var searchTemplate="<div class='form-group'><div class='input-group'><div class='input-group-addon'>Cerca:</div><input type='text' class='form-control' placeholder='(cerca qui...)'></div></div>"
$("div.sieve").sieve({ itemSelector: ".panel-info" });
</script>
<style> div.form-inline.text-center {padding-bottom: 8rem;} .itemTitle a {font-weight: bold; color: #337ab7 !important; text-decoration: none;} </style>