-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
147 lines (136 loc) · 5.22 KB
/
index.html
File metadata and controls
147 lines (136 loc) · 5.22 KB
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
<!DOCTYPE html>
<html manifest="manifest.appcache" lang="pt-br">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<script>
if (window.applicationCache) {
applicationCache.addEventListener('updateready', function() {
if (confirm('Uma nova versão está disponível. Mostrar agora?')) {
window.location.reload();
}
});
}
</script>
<title>IMC para a Tati - PradoJ.com</title>
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
<link rel="shortcut icon" href="Calculator.ico">
<link rel="apple-touch-icon" href="Calculator-64.png">
<link rel="stylesheet" href="js/jquery.mobile/jquery.mobile.min.css" />
<script type="text/javascript" src="js/libs/jquery-1.5.1.min.js"></script>
<script src="js/jquery.mobile/jquery.mobile.min.js"></script>
<script src="js/libs/jquery.global.js"></script>
<script src="js/libs/jquery.glob.pt-BR.js"></script>
<script src="js/script.js"></script>
</head>
<body>
<div data-role="page" data-theme="b" id="input">
<div data-role="header">
<h1>IMC para a Tati</h1>
<p>Com proteção sobre o peso :0)</p>
</div>
<form data-role="content">
<fieldset>
<label for="altura">Altura em metros?</label><br />
<input id="altura" type="text" step="0.01" min="0" placeholder="Ex.: 1,50"><br />
<label for="peso">Peso em quilos(protegido)</label><br />
<input id="peso" type="password" placeholder="Ex.: 200"><br />
<p>
<a href="#output" id="calcular" data-role="button">Calcular IMC</a><br />
</p>
</fieldset>
</form>
<div data-role="footer">
<p>© <script type="text/javascript">
var currentTime = new Date();
document.write(currentTime.getFullYear());
</script> - <a href="http://pradoj.com">PradoJ.com</a> - <a href="http://pradoj.com/contato/">Contato</a></p>
</div>
<script type="text/javascript">
bb_bid = "1639816";
bb_lang = "pt-BR";
bb_keywords = "imc, peso, emagrecer, calculadora";
bb_name = "custom";
bb_limit = "4";
bb_format = "bbe";
</script>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-7518068256340054";
/* tati */
google_ad_slot = "2725484457";
google_ad_width = 125;
google_ad_height = 125;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>
<div data-role="page" data-theme="b" id="output">
<div data-role="header">
<a href="#input" data-rel="back">Voltar</a>
<h1>IMC para a Tati</h1>
</div>
<div data-role="content">
<p id="result"></p>
<a href="#tabelaImc" data-rel="dialog" data-role="button" data-theme="a">Ver tabela IMC</a>
<a href="#input" data-rel="back" data-role="button">Voltar</a>
</div>
<div data-role="footer">
<p>© <script type="text/javascript">
var currentTime = new Date();
document.write(currentTime.getFullYear());
</script> - <a href="http://pradoj.com">PradoJ.com</a> - <a href="http://pradoj.com/contato/">Contato</a></p>
</div>
</div>
<div data-role="page" data-theme="b" id="tabelaImc">
<div data-role="header">
<h1>IMC para a Tati</h1>
</div>
<div data-role="content">
<table>
<caption>Tabela IMC</caption>
<tr>
<th>IMC</th>
<th>Classificação</th>
</tr>
<tr>
<th>Abaixo de 18,5</th>
<td>Subnutrição</td>
</tr>
<tr>
<th>Entre 18,6 e 24,9</th>
<td>Peso saudável</td>
</tr>
<tr>
<th>Entre 25 e 29,9</th>
<td>Sobrepeso</td>
</tr>
<tr>
<th>Entre 30 e 34,9</th>
<td>Obesidade grau 1</td>
</tr>
<tr>
<th>Entre 35 e 39,9</th>
<td>Obesidade grau 2</td>
</tr>
<tr>
<th>Acima de 40</th>
<td>Obesidade grau 3</td>
</tr>
</table>
</div>
</div>
<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','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-23860787-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>