-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathcrediti.html
186 lines (178 loc) · 9.25 KB
/
crediti.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
174
175
176
177
178
179
180
181
182
183
184
185
186
---
layout: page
---
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
{% include head.html %}
</head>
<body>
<div class="preloader">
<div class="lds-ripple">
<div class="lds-pos"></div>
<div class="lds-pos"></div>
</div>
</div>
<div id="main-wrapper" data-theme="light" data-layout="vertical" data-navbarbg="skin6" data-sidebartype="full"
data-sidebar-position="fixed" data-header-position="fixed" data-boxed-layout="full">
{% include header.html %}
{% include sidebar.html %}
<div class="page-wrapper">
<div class="page-breadcrumb">
<div class="row">
<div class="col-12 align-self-center">
<h1 class="page-title text-dark font-weight-medium mb-1">Crediti</h1>
<div class="d-flex align-items-center">
<nav aria-label="breadcrumb">
<ol class="breadcrumb m-0 p-0">
<li class="breadcrumb-item">
<i>«Ma il vero modo di essere felici è quello di procurare la felicità agli
altri.<br>
Preoccupatevi di lasciare questo mondo un po' migliore di come lo avete
trovato e, <br>
quando suonerà la vostra ora di morire, potrete morire felici nella
coscienza<br>
di non aver sprecato il vostro tempo, ma di avere fatto "del vostro
meglio".»<br>
<div style="margin-top: 6px;">
<b>Lord Baden Powell</b>
</div>
</i>
</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
<div class="container-fluid" style="padding-top: 15px;" id="vue-credits">
<div class="row">
<div class="col-md-12">
<div class="card">
<div class="card-header bg-info">
<h2 class="mb-0 text-white"><b>Nato dall'idea di:</b></h2>
</div>
<div class="card-body">
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a
href="https://www.linkedin.com/in/dawid-w%C4%99glarz-199574100/" target="_blank"
rel="noreferrer">Dawid Węglarz</a>
</h3>
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a
href="https://www.linkedin.com/in/azzeccagarbugli/" target="_blank"
rel="noreferrer">Francesco
Coppola</a>
</h3>
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a
href="https://www.linkedin.com/in/lucaferroni/" target="_blank"
rel="noreferrer">Luca `fero[da]`
Ferroni</a></h3>
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a
href="https://www.linkedin.com/in/r-serafini/" target="_blank"
rel="noreferrer">Riccardo
Serafini</a></h3>
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a href="https://befair.it"
target="_blank" rel="noreferrer">beFair</a></h3>
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a href="https://pdp.linux.it"
target="_blank" rel="noreferrer">PDP Free Software User Group</a></h3>
</div>
</div>
<div class="row">
<div class="col-12 align-self-center">
<div class="card-header bg-info" style="border-radius: 25px !important;">
<h2 class="mb-0 text-white"><b>Server messi a disposizione da:</b></h2>
</div>
</div>
</div>
<br>
<div class="card">
<div class="card-header bg-secondary text-white">
<h3 class="mb-0"><b>Istituzioni</b></h3>
</div>
<div class="card-body">
<template v-for="item in credits.INSTITUTION">
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a :href="item[1]" target="_blank">[[
item[0] ]]</a></h3>
</template>
</div>
</div>
<div class="card">
<div class="card-header bg-secondary text-white">
<h3 class="mb-0"><b>Persone</b></h3>
</div>
<div class="card-body">
<template v-for="item in credits.PERSON">
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a :href="item[1]" target="_blank">[[
item[0] ]]</a></h3>
</template>
</div>
</div>
<div class="card">
<div class="card-header bg-secondary text-white">
<h3 class="mb-0"><b>Associazioni</b></h3>
</div>
<div class="card-body">
<template v-for="item in credits.ASSOCIATION">
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a :href="item[1]" target="_blank">[[
item[0] ]]</a></h3>
</template>
</div>
</div>
<div class="card">
<div class="card-header bg-secondary text-white">
<h3 class="mb-0"><b>Aziende</b></h3>
</div>
<div class="card-body">
<template v-for="item in credits.COMPANY">
<h3 class="card-subtitle mt-2 mb-2 text-muted"><a :href="item[1]" target="_blank">[[
item[0] ]]</a></h3>
</template>
</div>
</div>
</div>
</div>
</div>
</div>
{%include footer.html%}
</div>
<script src="./assets/libs/jquery/dist/jquery.min.js"></script>
<script src="./assets/libs/popper.js/dist/umd/popper.min.js"></script>
<script src="./assets/libs/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="./dist/js/app-style-switcher.js"></script>
<script src="./dist/js/feather.min.js"></script>
<!-- <script src="./assets/libs/perfect-scrollbar/dist/perfect-scrollbar.jquery.min.js"></script> -->
<script src="./dist/js/sidebarmenu.js"></script>
<script src="./dist/js/custom.js"></script>
<script src="dist/js/vue.min.js"></script>
<!-- <script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script> -->
<script>
var app = new Vue({
el: '#vue-credits',
delimiters: ['[[', ']]'],
data: {
credits: {
'INSTITUTION': [],
'PERSON': [],
'COMPANY': [],
'ASSOCIATION': [],
},
},
mounted: function () {
fetch('https://iorestoacasa.work/hosts.json')
.then(r => r.json())
.then(json => {
this.credits = json.credits;
this.sortCredits();
});
},
methods: {
sortCredits: function () {
this.credits['INSTITUTION'].sort((a, b) => a[0][0].localeCompare(b[0][0]));
this.credits['PERSON'].sort((a, b) => a[0][0].localeCompare(b[0][0]));
this.credits['COMPANY'].sort((a, b) => a[0][0].localeCompare(b[0][0]));
this.credits['ASSOCIATION'].sort((a, b) => a[0][0].localeCompare(b[0][0]));
}
},
})
</script>
</body>
</html>