-
Notifications
You must be signed in to change notification settings - Fork 0
/
SmartHome.html
186 lines (173 loc) · 6.18 KB
/
SmartHome.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
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="./styles/stylesheet.css">
<link rel="stylesheet" href="./styles/mediaqueries.css">
<link rel="stylesheet" href="./styles/animations.css">
<title>SmartHome</title>
<link rel="icon" href="./media/images/logo.png">
</head>
<!-- Body of the website -->
<body id="SmartHomePage" class="loading-animation">
<header>
<nav>
<div id="logo" onclick="location.reload()"><img src="./media/images/logo.png" alt="SmartHome Logo">
<p>SmartHome</p>
</div>
<div class="nav-wrapper">
<div id="user">
<img src="./media/images/man.png" alt="Your user icon">
<div id="user-settings-wrapper">
<div id="user-name"></div>
<div id="user-address">
Your Address:
<br>
123 Nicki Lane,<br>
Gag City,<br>
Floptropica.
</div>
<div id="user-delete">Delete this profile</div>
</div>
</div>
<div id="profiles">
<p></p>
</div>
<div id="current-time"></div>
</div>
</nav>
</header>
<main>
<h1 id="house-name" contenteditable="true" spellcheck=false>...</h1>
<div id="content-windows">
<div id="general-outer-window">
<div id="climate-stats">
<p id="climate-stats-text"></p>
</div>
<div id="general-home-preferences">
<p id="preferences-text"></p>
<div id="general-home-preferences-selection">
<div class="preference" draggable="true">
<div id="climate"></div>
<p id="climate-button-text"></p>
</div>
<div class="preference" draggable="true">
<div id="blinds-button"></div>
<p id="blinds-button-text"></p>
</div>
<div class="preference" draggable="true">
<div id="lights"></div>
<p id="lights-button-text"></p>
</div>
<div class="preference" draggable="true">
<div id="chatGPT"></div>
<p id="AI-button-text"></p>
</div>
<div class="preference" draggable="true">
<div id="groceries"></div>
<p id="groceries-button-text"></p>
</div>
<div class="preference" draggable="true">
<div id="vacuum-robot"></div>
<p id="vacuum-robot-button-text"></p>
</div>
</div>
</div>
</div>
<div id="environments-routine-outer-window">
<div id="routine-window">
<p id="routine-text"></p>
<button id="set-routine-button-main">Set Routine</button>
<div id="routine">
<p>No Activities Yet...</p>
</div>
</div>
<div id="environments">
<p id="environments-text"></p>
<div style="display: flex;"">
<button id="expand-environments-button">
<svg class="svg-icon"
style="width: 1em; height: 1em;vertical-align: middle;fill: currentColor;overflow: hidden;"
viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg">
<path
d="M429.9 872.8H218.7l232.1-232.1c17.2-17.2 17.2-45 0-62.2-17.2-17.2-45-17.2-62.2 0L152.8
814.2V604.8c0-24.3-19.7-44-44-44s-44 19.7-44 44v312c0 24.3 19.7 44 44 44h321c24.3 0 44-19.7
44-44s-19.6-44-43.9-44z m486-808h-321c-24.3 0-44 19.7-44 44s19.7 44 44 44H806l-232.1 232c-17.2
17.2-17.2 45 0 62.2 8.6 8.6 19.9 12.9 31.1 12.9 11.3 0 22.5-4.3 31.1-12.9l235.7-235.7v209.4c0
24.3 19.7 44 44 44s44-19.7 44-44v-312c0.1-24.2-19.6-43.9-43.9-43.9z" />
</svg>
</button>
<button id="edit-environment-button">
<svg fill="none" height="24" stroke="currentColor"
stroke-linecap="round" stroke-linejoin="round" stroke-width="1.7" viewBox="0 0 24 24"
width="24" xmlns="http://www.w3.org/2000/svg"><path d="M12 20h9"/>
<path d="M16.5 3.5a2.121 2.121 0 0 1 3 3L7 19l-4 1 1-4L16.5 3.5z"/>
</svg>
</button>
</div>
<div id="environment-selection">
<div class="environment" id="add-environment-wrapper">
<svg id="add-environment-button" xmlns="http://www.w3.org/2000/svg" width="50" height="50"
viewBox="0 0 52 52">
<path
d="M26 0C11.664 0 0 11.663 0 26s11.664 26 26 26 26-11.663 26-26S40.336 0
26 0zm0 50C12.767 50 2 39.233 2 26S12.767 2 26 2s24 10.767 24 24-10.767 24-24 24z" />
<path
d="M38.5 25H27V14c0-.553-.448-1-1-1s-1 .447-1 1v11H13.5c-.552 0-1 .447-1 1s.448
1 1 1H25v12c0 .553.448 1 1 1s1-.447 1-1V27h11.5c.552 0 1-.447 1-1s-.448-1-1-1z" />
</svg>
<p id="add-environment-button-text"></p>
</div>
</div>
</div>
<div class="paddles">
<button class="left-paddle paddle">
<
</button>
<button class="right-paddle paddle">
>
</button>
</div>
</div>
</div>
</main>
<footer>
<div id="settings"><img src="media/images/settings-icon.png" alt="Settings icon">
<div></div>
<div></div>
</div>
<div id="more-info"><p>i</p></div>
<select id="language-select">
<option value="en">English</option>
<option value="pt">Português</option>
</select>
</footer>
<script src="scripts/main.js"></script>
<script src="scripts/language.js"></script>
<script src="scripts/settings.js"></script>
<script src="scripts/time.js"></script>
<script src="scripts/houseName.js"></script>
<script src="scripts/pantryProducts.js"></script>
<script src="scripts/generalPreferences.js"></script>
<script src="scripts/Climate.js"></script>
<script src="scripts/Lights.js"></script>
<script src="scripts/chatGPT.js"></script>
<script src="scripts/VacuumRobot.js"></script>
<script src="scripts/Blinds.js"></script>
<script src="scripts/environments.js"></script>
<script src="scripts/Environment.js"></script>
<script src="scripts/Kitchen.js"></script>
<script src="scripts/LivingRoom.js"></script>
<script src="scripts/Bedroom.js"></script>
<script src="scripts/Bathroom.js"></script>
<script src="scripts/Office.js"></script>
<script src="scripts/editEnvironment.js"></script>
<script src="scripts/drag.js"></script>
<script src="scripts/routines.js"></script>
<script src="scripts/addEnvironments.js"></script>
<script src="scripts/scroll.js"></script>
<script src="scripts/instantiateGeneral.js"></script>
<script src="scripts/addingUser.js"></script>
</body>
</html>