-
Notifications
You must be signed in to change notification settings - Fork 42
/
index2.html
173 lines (156 loc) · 7.43 KB
/
index2.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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
---
layout: homepage
title: Covid19Italia Help
lang: it
subtitle: Un progetto per condividere informazioni e attivarsi a supporto dell'emergenza COVID19
---
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin=""/>
<!-- Make sure you put this AFTER Leaflet's CSS -->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"
integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
crossorigin=""></script>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.css" />
<script src="https://cdnjs.cloudflare.com/ajax/libs/Leaflet.awesome-markers/2.0.2/leaflet.awesome-markers.min.js"></script>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/MarkerCluster.css"
crossorigin=""/>
<link rel="stylesheet" href="https://unpkg.com/[email protected]/dist/MarkerCluster.Default.css"
crossorigin=""/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.markercluster.js"
crossorigin=""></script>
<script type="application/ld+json">
[{
"@context": "http://schema.org",
"@type":"Project",
"name": "Covid19Italia.help",
"knowsAbout" : "covid19italia.help è un progetto no profit, organizzato e diretto interamente da volontari e volontarie. È nato per condividere informazioni utili e verificate sull’evento di Coronavirus diffusosi in Italia nel 2020.",
"url": "https://www.covid19italia.help/",
"image": "https://www.covid19italia.help/images/covid19italia-full.png",
"description": "covid19italia.help è un progetto no profit, organizzato e diretto interamente da volontari e volontarie. È nato per condividere informazioni utili e verificate sull’evento di Coronavirus diffusosi in Italia nel 2020.",
"ownershipFundingInfo" : {
"@type" : "AboutPage",
"url" : ["https://www.covid19italia.help/about/"]
},
"sameAs": ["https://www.facebook.com/covid19italia.help", "https://github.com/emergenzeHack/covid19italia", "https://twitter.com/ItaliaCovid19", "https://www.instagram.com/covid19italia.help"]
},
{
"@context": "http://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [{
"@type": "ListItem",
"position": 1,
"item": {
"@id": "https://www.covid19italia.help/",
"name": "Home"
}
},{
"@type": "ListItem",
"position": 2,
"item": {
"@id": "https://www.covid19italia.help/issues/",
"name": "Segnalazioni"
}
},{
"@type": "ListItem",
"position": 3,
"item": {
"@id": "https://www.covid19italia.help/issues/regione/",
"name": "Segnalazioni per regione"
}
},{
"@type": "ListItem",
"position": 4,
"item": {
"@id": "https://www.covid19italia.help/segnala/",
"name": "Segnala"
}
},{
"@type": "ListItem",
"position": 5,
"item": {
"@id": "https://www.covid19italia.help/about/",
"name": "Chi siamo"
}
},{
"@type": "ListItem",
"position": 6,
"item": {
"@id": "https://www.covid19italia.help/contribuisci/",
"name": "Contribuisci"
}
}]
}]
</script>
<div class="row">
<div class="col-12 my-auto">
<div id="map" class="w-100 my-auto" style="height: 400px;"></div>
</div>
<div class="col-12">
<div class="homepage-categories mt-4">
{% assign categories_without_map = site.data.cfg.logos | where: "map", false %}
{% for category in categories_without_map %}
{% capture logo_alt %}
{{ category.name }}
{% if category.logo_credit and category.logo_credit != empty %}
logo by {{ category.logo_credit }}
{% endif %}
{% endcapture %}
{% assign logo_alt = logo_alt | strip %}
{% if site.lang == "it" %}
{% assign linkProperty = 'link' %}
{%else%}
{% assign linkProperty = 'link_' | append : site.lang %}
{% endif %}
{% assign link = category[linkProperty] %}
{% if link and link != empty %}
<div class="card border-0" style="width: 10rem;">
{% if category.logo and category.logo != empty %}
<a href="{{ site.baseurl }}/{{ link }}" title="{{ logo_alt }}">
<img class="card-img-top w-50 mx-auto" src="{{ site.baseurl }}{{ category.logo }}" alt="{{ category.logo-alt }}">
</a>
{% endif %}
<div class="card-body w-100">
<a href="{{ site.baseurl }}/{{ link }}" title="{{ logo_alt }}">
<h6 class="card-title">{{ category.name }}</h6>
</a>
{% if category.footer_include %}
{% include {{category.footer_include}} %}
{% endif %}
</div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
<div class="row">
<div class="col-12 w-100 mb-15">
<form class="global-search" role="form" action="/searchissues" method="get">
<div class="input-group">
<input type="text" class="form-control" id="search-box" name="query" placeholder="Cosa cerchi?">
<div class="input-group-btn">
<button class="btn btn-primary" type="submit"><span><i class="glyphicon glyphicon-search"></i> Cerca tra {{site.data.machgen.issuesjson.size}} segnalazioni</span></button>
</div>
</div>
</form>
</div>
</div>
<hr class="col-lg-12">
<!-- 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>
{%- assign issuecategories = site.data.cfg.issuecategories -%}
{%- assign filteredissues = site.data.machgen.issuesjson | where: "state","open" -%}
{%- include issuemap.html -%}