-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
139 lines (126 loc) · 6.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Stay hydrated</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="dark.css">
<!-- <link rel="stylesheet" href="kaiui.css"> -->
<!-- <link rel="stylesheet" href="normalize.css"> -->
<link rel="stylesheet" href="kaios-native-ui.css">
<script src="kaios-native-ui.js" defer></script>
<script src="/js/variables.js" defer></script>
<script src="/js/DOM.js" defer></script>
<script src="/js/script.js" defer></script>
<script src="/js/functions.js" defer></script>
<script src="/translation/script.js" defer></script>
</head>
<body onload="calculateWaterIntake();">
<div id="app">
<header id="header" data-translate="setup"></header>
<div class="toast"></div>
<div class="content home hidden">
<div class="glass"></div>
<h2 class="intakeGoal"></h2>
<div class="quickCupSizeChoose">
</div>
</div>
<div class="content setup">
<!-- GOAL -->
<div class="separator" data-translate="water_intake_goal"></div>
<!-- AUTO -->
<div id="autoGoal" class="radio-container">
<p class="radio-container__text" data-translate="auto_calculated"></p>
<input type="radio" tabindex="0" data-focus=" ,SELECT, " class="focusable radio-container__input" />
<div class="radio-container__radio"></div>
</div>
<div tabindex="0" id="weightUnitChoose" class="selector focusable list-item" data-focus=", SWITCH, ">
<div class="item selected" id="leftItem" data-translate="kg">kg</div>
<div class="item " id="rightItem" data-translate="lbs">lbs</div>
</div>
<div class="input-container">
<label class="input-container__label" data-translate="weight"></label>
<input type="tel" tabindex="0" id="weightInput" class="input-container__input focusable" data-focus=""
value="60" oninput="calculateWaterIntake();" />
</div>
<div class="list-item small focusable" tabindex="0" data-focus=" ,EDIT,">
<p class="list-item__text calculatedNeededWaterIntake">Goal: 2542ml</p>
</div>
<!-- OWN GOAL -->
<div id="ownGoal" class="radio-container">
<p class="radio-container__text" data-translate="own_goal"></p>
<input type="radio" tabindex="0" class="focusable radio-container__input" data-focus=", SELECT," />
<div class="radio-container__radio"></div>
</div>
<div tabindex="0" class="selector focusable list-item hidden" data-focus=", SWITCH,">
<div class="item" id="leftItem" data-translate="ml">ml</div>
<div class="item selected" id="rightItem" data-translate="oz">oz</div>
</div>
<div class="input-container hidden">
<label class="input-container__label" data-translate="amount" data-focus=""></label>
<input type="tel" tabindex="0" class="input-container__input focusable" />
</div>
<!-- WORKOUT -->
<div class="separator" data-translate="workout"></div>
<div class="slider-container">
<p class="slider-container__text" data-translate="daily_workout_length"></p>
<p class="slider-container__subtext">30 min</p>
<input type="range" tabindex="0" min="0" max="120" value="30" step="15"
class="slider-container__slider focusable" data-focus=", PRECISE," />
</div>
<!-- CUP SIZE -->
<div class="separator" data-translate="cup_size"></div>
<div tabindex="0" id="fluidUnitChoose" class="selector focusable list-item" data-focus=", SWITCH,">
<div class="item selected" id="leftItem" data-translate="ml">ml</div>
<div class="item " id="rightItem" data-translate="oz">oz</div>
</div>
<div class="input-container">
<label class="input-container__label" data-translate="amount"></label>
<input type="tel" tabindex="0" class="input-container__input focusable" data-focus="" value="250" />
</div>
<!-- drinking_reminder_interval -->
<div class="separator" data-translate="drinking_reminder_interval"></div>
<div class="radio-container">
<p class="radio-container__text" data-translate="auto_calculated"></p>
<input type="radio" tabindex="0" class="focusable radio-container__input" data-focus=", SELECT ," />
<div class="radio-container__radio"></div>
</div>
<div class="radio-container">
<p class="radio-container__text" data-translate="hourly"></p>
<input type="radio" tabindex="0" class="focusable radio-container__input" data-focus=", SELECT," />
<div class="radio-container__radio"></div>
</div>
<!-- SLeeping schedule -->
<div class="separator" data-translate="sleeping_schedule"></div>
<div class="input-container">
<label class="input-container__label " data-translate="wake_up_time"></label>
<input type="time" tabindex="0" class="input-container__input focusable" value="07:00" />
</div>
<div class="input-container">
<label class="input-container__label " data-translate="sleep_time"></label>
<input type="time" tabindex="0" class="input-container__input focusable" value="20:00" />
</div>
<div class="list-item-indicator focusable" tabindex="0" data-focus=" , SELECT, ">
<p class="list-item-indicator__text" data-translate="finish" ></p>
<span class="list-item-indicator__indicator"></span>
</div>
</div><!--content-->
<div class="option-menu">
<h2 class=" option-title" data-translate="options"></h2>
<div class="options">
<div class="list-item focusable" tabindex="0">Option 1</div>
<div class="list-item focusable" tabindex="0">Option 1</div>
<div class="list-item focusable" tabindex="0">Option 1</div>
<div class="list-item focusable" tabindex="0">Option 1</div>
<div class="list-item focusable" tabindex="0">Option 1</div>
</div>
</div>
<div class="softkeys">
<div class="softkey softkey-left">Left Key</div>
<div class="softkey softkey-center">Select</div>
<div class="softkey softkey-right">Right Key</div>
</div>
</div><!--app-->
</body>
</html>