-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
P.html
174 lines (141 loc) · 7.62 KB
/
P.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
<!DOCTYPE html>
<html lang="sl">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<title>Covid-SPARK</title>
<meta name="description" content="Covid-SPARK * Zaustavimo virus s pravočasnim obveščanjem!">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:image" content="https://covid-spark.info/img/spark-illustration-social.png">
<meta property="og:type" content="website">
<meta property="og:url" content="https://covid-spark.info">
<meta property="og:image" content="https://covid-spark.info/img/spark-illustration-social.png">
<meta name="og:description" content="Covid-SPARK * Zaustavimo virus s pravočasnim obveščanjem!">
<meta name="og:title" content="Covid-SPARK">
<link rel="apple-touch-icon" sizes="57x57" href="img/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="img/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="img/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="img/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="img/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="img/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="img/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="img/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="img/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="img/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="img/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="img/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="img/favicon/favicon-16x16.png">
<link rel="manifest" href="img/favicon/manifest.json">
<meta name="msapplication-TileColor" content="#ffffff">
<meta name="msapplication-TileImage" content="/img/favicon/ms-icon-144x144.png">
<meta name="theme-color" content="#ffffff">
<link rel="stylesheet" href="styles/bulma.min.css">
<link rel="stylesheet" href="styles/main.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
</head>
<body>
<header>
<nav class="navbar is-dark is-fixed-top" role="navigation" aria-label="main navigation">
<div class="container">
<div class="navbar-brand">
<a class="navbar-item" href="http://covid-19.sledilnik.org/" class="right">
<img src="img/logo/LogoSledilnikWhite.png" alt="Sledilnik.org">
</a>
<!--<a class="navbar-item" href="index.html">Covid-SPARK</a>-->
<a class="navbar-item" href="index.html">
<img src="img/logo/LogoSparkWhite.png" alt="Covid-SPARK">
</a>
</div>
<div class="navbar-menu is-active">
<div class="navbar-end">
<a class="navbar-item" href="#" id="msgHref2" class="right">Pošlji SMS</a>
</div>
</div>
</div>
</nav>
</header>
<main>
<div class="container">
<div class="columns">
<div class="column is-10 is-offset-1">
<div class="freeSpace"></div>
<!--<section class="has-text-centered">
<img src="img/[email protected]" alt="Ilustracija SPARK" class="mt-4 mb-4">
</section>-->
<section id="plan">
<h2 class="title section-title is-2">Ustvari SMS</h2>
<div class="instruction">
<p>Tukaj lahko preprosto ustvariš sporočilo Spark.</p>
<br>
<h2 class="title section-title is-2">Spark P</h2>
<p>Imam pozitiven test na SARS-CoV-2.</p>
<br>
<p><b>Dodaj opis:</b><p>
<br>
<script type="text/javascript">
var d = new Date();
var m = new Array(2,5,0)
var P_scene1 = new Array("Prvi simptom sem imel/a ", "Nimam simptomov, a mislim, da sem se okužil/a ", "Nimam simptomov in ne vem, kdaj sem se okužil/a. <i>(Če boš naknadno zaznal/a simptome, to sporoči svojim kontaktom s </i><a href='S.html'><b>»Spark S, covid-spark.info«</b> <i class='fa fa-envelope'></i></a><i>.)</i>");
var P_scene2 = new Array(" , kužen/kužna pa bi lahko bil/a že 2 dneva prej.", ", 3 dni po tem pa bi lahko bil/a kužen/kužna.", "");
for (i=0;i<P_scene1.length-1;i++) {
d.setDate(d.getDate()-m[i]);
var iStr = i.toString();
document.write("<div class='radio'><input type='radio' id='simpt"+iStr+"' name='simpt' value='Simpt"+iStr+"' onclick='changeTextP();'><label for='simpt"+iStr+"'>"+P_scene1[i]+"<input type='date' id='date"+iStr+"' onchange='changeTextP();'>"+P_scene2[i]+"</label></div><div style='padding-bottom: 10px'></div>");
document.getElementById('date'+iStr).valueAsDate = d;
d.setDate(d.getDate()+m[i]);
}
i=2;
iStr = i.toString();
document.write("<div class='radio'><input type='radio' id='simpt"+iStr+"' name='simpt' value='Simpt"+iStr+"' onclick='changeTextP();'><label for='simpt"+iStr+"'>"+P_scene1[i]+"<input type='date' id='date"+iStr+"' onchange='changeTextP()'; style='visibility: hidden;'>"+P_scene2[i]+"</label></div>");
</script>
</div>
<h2 class="title section-title is-2">Predogled SMS-a:</h2>
<div class="instruction">
<table style="width: 200px;">
<tr>
<td>
<b>Spol:</b>
</td>
<td>
<div class='radio'><input type='radio' id='male' name='gender' value='male' onclick='changeTextP();'><label for='male' >M</label></div>
</td>
<td>
<div class='radio'><input type='radio' id='female' name='gender' value='female' onclick='changeTextP();'><label for='female'>Ž</label></div>
</td>
</tr>
</table>
<table>
<tr>
<td style="width: 131px;">
<b>Dodaj šumnike:</b>
</td>
<td style="width: 0px;">
<div class='checkbox'><input type='checkbox' id='sumniki' name='sumniki' value='sumniki' onclick='changeTextP();' checked><label for='sumniki' ></label></div>
</td>
</tr>
</table>
<b><p id="msgText" ></p></b>
</div>
<h2 class="title section-title is-2">Pošlji SMS:
<a href="#" id="msgHref"><i class="fa fa-envelope"></i></a>
</h2>
</section>
</div>
</div>
</div>
</main>
<footer>
<div class="heading is-size-5">covid-spark.info</div>
<div><a href="mailto:[email protected]">[email protected]</a></div>
<div>Verzija 1.1 (december 2020)</div>
<div>Projekt ekipe <a href="http://covid-19.sledilnik.org/">sledilnik.org</a></div>
</footer>
<script src="scripts/main.js"></script>
<script type="text/javascript">document.onload = changeTextP()</script>
<script type="text/javascript">document.onload = setDateMinMax()</script>
</body>
</html>