-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathindex.html
328 lines (283 loc) · 12.1 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
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<!-- <%@ language="javascript"%> -->
<!DOCTYPE html>
<html lang="en-150">
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta charset="utf-8">
<!-- <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/cosmo/bootstrap.min.css" media="all"> <!--bootswatch-->
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <!--google icons-->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"> <!--font awesome 20px-sm-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-104312945-1', 'auto');
ga('send', 'pageview');
function changeLangEn() {
var titulo = "Simple Calculators";
var titulo2 = "In Medicine & Critical Care";
var contents = "Contents";
var contents2 = "Some time-savers for daily use (in English & Spanish)";
var nutricion_calc = "Parenteral Nutrition";
var nutricion_calc2 = "Mini Calculator for Parenteral Nutrition in the Critically Ill Adult";
var ped_calc = "Pediatric Fluidotherapy";
var ped_calc2 = "Fluids and Drugs Calculator for Children in the OR [unfinished]";
var opioid_calc = "Opioid Calculator"
var opioid_calc2 = "Opioid Equivalence, Rotation and Tapering"
var pghacker_calc = "PG-HACKER Score";
var pghacker_calc2 = "MACE cumulative incidence for diabetic patients post-MI [unpublished]";
var contacto = "Contact";
var nutritionLink = document.getElementById("nutritionLink");
var pedLink = document.getElementById("pedLink");
var opioidLink = document.getElementById("opioidLink");
var daceLink = document.getElementById("daceLink");
document.getElementById("titulo").innerHTML = titulo;
document.getElementById("titulo2").innerHTML = titulo2;
document.getElementById("contents").innerHTML = contents;
document.getElementById("contents2").innerHTML = contents2;
document.getElementById("nutricion_calc").innerHTML = nutricion_calc;
document.getElementById("nutricion_calc2").innerHTML = nutricion_calc2;
document.getElementById("ped_calc").innerHTML = ped_calc;
document.getElementById("ped_calc2").innerHTML = ped_calc2;
document.getElementById("opioid_calc").innerHTML = opioid_calc;
document.getElementById("opioid_calc2").innerHTML = opioid_calc2;
document.getElementById("pghacker_calc").innerHTML = pghacker_calc;
document.getElementById("pghacker_calc2").innerHTML = pghacker_calc2;
document.getElementById("contacto").innerHTML = contacto;
nutritionLink.setAttribute('href', "./nutrition_calc.html");
pedLink.setAttribute('href', "./pedi_calc.html");
opioidLink.setAttribute('href', "./opioids_m.html");
daceLink.setAttribute('href', "./dace.html");
}
function changeLangEs() {
var titulo = "Mini Calculadoras";
var titulo2 = "En Medicina & Cuidados Críticos";
var contents = "Contenidos";
var contents2 = "Ahorrando tiempo en la práctica diaria (en Inglés & Español)";
var nutricion_calc = "Nutrición Parenteral";
var nutricion_calc2 = "Calculadora Abreviada para Nutrición Parenteral en Adultos";
var ped_calc = "Fluídos Pediatría";
var ped_calc2 = "Calculadora para Fluídos y Fármacos en Pediatría [en construcción]";
var opioid_calc = "Calculadora de opioides"
var opioid_calc2 = "Equivalencia de Opioides, Rotación y Reducción"
var pghacker_calc = "PG-HACKER Score";
var pghacker_calc2 = "Incidencia acumulada de MACE en diabéticos post-IAM [en revisión]";
var contacto = "Contacto";
var nutritionLink = document.getElementById("nutritionLink");
var pedLink = document.getElementById("pedLink");
var opioidLink = document.getElementById("opioidLink");
var daceLink = document.getElementById("daceLink");
document.getElementById("titulo").innerHTML = titulo;
document.getElementById("titulo2").innerHTML = titulo2;
document.getElementById("contents").innerHTML = contents;
document.getElementById("contents2").innerHTML = contents2;
document.getElementById("nutricion_calc").innerHTML = nutricion_calc;
document.getElementById("nutricion_calc2").innerHTML = nutricion_calc2;
document.getElementById("ped_calc").innerHTML = ped_calc;
document.getElementById("ped_calc2").innerHTML = ped_calc2;
document.getElementById("opioid_calc").innerHTML = opioid_calc;
document.getElementById("opioid_calc2").innerHTML = opioid_calc2;
document.getElementById("pghacker_calc").innerHTML = pghacker_calc;
document.getElementById("pghacker_calc2").innerHTML = pghacker_calc2;
document.getElementById("contacto").innerHTML = contacto;
nutritionLink.setAttribute('href', "./nutricion_calc.html");
pedLink.setAttribute('href', "./ped_calc.html");
opioidLink.setAttribute('href', "./opioids_m.html");
daceLink.setAttribute('href', "./dace.html");
}
</script>
<style>
.input-lg {
font-size: 30px;
}
.input {
font-size: 20px;
}
.panel {
border: 1px solid #1d4249;
border-radius:0;
transition: box-shadow 0.5s;
}
.panel:hover {
box-shadow: 5px 0px 40px rgba(0,0,0, .2);
background-color: #fff !important;
}
.panel1:hover {
border: 1px solid #d04949;
color: #d04949;
}
.panel2:hover {
border: 1px solid #6995b0;
color: #6995b0;
}
.panel3:hover {
border: 1px solid #cca300;
color: #cca300;
}
.panel1 .button:hover {
border: 1px solid #d04949;
background-color: #d04949 !important;
color: #d04949;
}
.panel2 .button:hover {
border: 1px solid #6995b0;
background-color: #6995b0 !important;
color: #6995b0;
}
.panel3 .button:hover {
border: 1px solid #cca300;
background-color: #cca300 !important;
color: #cca300;
}
/*.panel-footer .btn:hover {
border: 1px solid #f4511e;
background-color: #fff !important;
color: #f4511e;
}*/
.panel-heading {
color: #fff !important;
background-color: #1d4249 !important;
padding: 25px;
border-bottom: 1px solid transparent;
border-top-left-radius: 0px;
border-top-right-radius: 0px;
border-bottom-left-radius: 0px;
border-bottom-right-radius: 0px;
}
.panel-footer {
background-color: #fff !important;
}
.panel-footer h3 {
font-size: 32px;
}
.panel-footer h4 {
color: #aaa;
font-size: 14px;
}
.panel-footer .btn {
margin: 15px 0;
background-color: #1d4249;
color: #fff;
}
a:link {
color: #1d4249 !important;
text-decoration: none;
}
a:visited {
color: #1d4249;
text-decoration: none;
}
.panel1 a:hover {
color: #d04949;
text-decoration: none;
}
.panel2 a:hover {
color: #6995b0;
text-decoration: none;
}
.panel3 a:hover {
color: #cca300;
text-decoration: none;
}
</style>
<title>Calculators for Medicine & Intensive Care</title>
</head>
<body>
<div id="intro" class="jumbotron text-center">
<h1><span id="titulo"> Simple Calculators </span> <span class="fa fa-calculator"></a></span></h1>
<h3><span id="titulo2"> In Medicine & Critical Care</span> </h3>
<div class="row">
<div class="col-sm-5 col-md-5 col-xs-4 text-center">
</div> <!--EOF column-->
<div class="col-sm-1 col-md-1 col-xs-2 text-center">
<h4><img class="img-responsive button" src="./pics/gray-spain.png" alt="spanish" onclick="changeLangEs()"></h4>
</div> <!--EOF column-->
<div class="col-sm-1 col-md-1 col-xs-2 text-center">
<h4><img class="img-responsive button" src="./pics/gray-uk.png" alt="english" onclick="changeLangEn()"></h4>
</div> <!--EOF column-->
<div class="col-sm-5 col-md-5 col-xs-4 text-center">
</div> <!--EOF column-->
</div> <!--EOF row-->
</div> <!--EOF jumbotron-->
<hr>
<div id="calculators" class="container-fluid">
<div class="text-center">
<h2><span id="contents"> Contents</span> </h2>
<h4><span id="contents2"> Some time-savers for daily use (in English & Spanish)</span> </h4>
<h3></h3>
</div>
<div class="row slideanim">
<div class="col-sm-4 col-xs-12">
<div class="panel panel3 panel-default text-center">
<a id="nutritionLink" href="./nutricion_calc.html" target="blank">
<div class="button panel-heading">
<h1><span id="nutricion_calc"> Parenteral Nutrition</span> </h1>
</div> <!--EOF panel-heading-->
<div class="panel3 panel-body">
<p><span id="nutricion_calc2"> Mini Calculator for Parenteral Nutrition in the Critically Ill Adult</span> </p>
</div> <!--EOF panel-body-->
</a>
</div> <!--EOF panel-->
</div> <!--EOF column-->
<div class="col-sm-4 col-xs-12">
<div class="panel panel2 panel-default text-center">
<a id="pedLink" href="./ped_calc.html" target="blank">
<div class="button panel-heading">
<h1><span id="ped_calc"> Pediatric Fluidotherapy</span> </h1>
</div> <!--EOF panel-heading-->
<div class="panel2 panel-body">
<p><span id="ped_calc2"> Fluids and Drugs Calculator for Children in the OR [unfinished]</span> </p>
</div> <!--EOF panel-body-->
</a>
</div> <!--EOF panel-->
</div> <!--EOF column-->
<div class="col-sm-4 col-xs-12">
<div class="panel panel1 panel-default text-center">
<a id="opioidLink" href="./opioids_m.html" target="blank">
<div class="button panel-heading">
<h1><span id="opioid_calc"> Opioid Calculator</span> </h1>
</div> <!--EOF panel-heading-->
<div class="panel1 panel-body">
<span id="opioid_calc2"> Opioid Equivalence, Rotation and Tapering</span>
</div> <!--EOF panel-body-->
</a>
</div> <!--EOF panel-->
</div> <!--EOF column-->
</div> <!--EOF row-->
</div> <!--EOF container-->
<div id="contact" class="container-fluid">
<div class="row">
<div class="col-sm-12 col-md-12 noScreen text-center">
<h2><span id="contacto"> Contact</span> </h2>
<div class="well well-sm well-sm">
<p><a href="mailto:[email protected]" style="color:#404040"><span class="fa fa-user-md"></span> Aurora Baluja González</a></p>
<p><span class="fa fa-hospital-o"></span> Servicio de Anestesiología y Reanimación. Hospital Clínico Universitario</p>
<p><span class="glyphicon glyphicon-map-marker"></span> Santiago de Compostela, Spain</p>
</div> <!--EOF well-sm-->
<p><h3><a href="https://github.com/aurora-mareviv" target="blank" style="color:#404040"><span class="fa fa-github"></a> </span>
<a href="https://talesofr.wordpress.com" target="blank" style="color:#404040"><span class="fa fa-rss"></a></span>
<a href="https://twitter.com/maureviv" target="blank" style="color:#404040"><span class="fa fa-twitter"></a></span>
</h3>
</p>
</div> <!--EOF column-->
</div> <!--EOF row-->
</div> <!--EOF container-->
<div id="license" class="container-fluid">
<div class="row">
<div class="col-sm-12 col-md-12 noScreen">
<h3> </h3>
<hr>
<p style="color:#bfbfbf"><span class="fa fa-linux" style="color:#bfbfbf"></span>
License - <a href="https://github.com/aurora-mareviv" target="blank" style="color:#bfbfbf">Code</a>: GNU-GPL v3.
<a href="http://getbootstrap.com/" target="blank" style="color:#bfbfbf">Bootstrap CSS</a>,
<a href="https://bootswatch.com/" target="blank" style="color:#bfbfbf">Bootswatch theme</a>: MIT.
</p>
</div> <!--EOF column-->
</div> <!--EOF row-->
</div> <!--EOF container-->
</body>
</html>