blob: 2ab827894a2f5e7e791c3f37e5a34c50cc00e395 (
plain)
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
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>OpenSmarts</title>
<!-- Widgets and Main styles -->
<link rel="stylesheet" href="styles/main.css" />
<link rel="stylesheet" href="styles/widgets.css" />
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Host+Grotesk:ital,wght@0,300..800;1,300..800&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap" rel="stylesheet">
<!-- Theme -->
<link id="theme" rel="stylesheet" href="styles/themes/base.css" />
</head>
<body>
<user>
<a href="?page=user">
<img id="profile" src="assets/profile.png" />
</a>
</user>
<nav>
<a class="nav-el" href="?page=dashboard">Dashboard</a>
<a class="nav-el" href="?page=manage">Manage Devices</a>
<a class="nav-el" href="?page=alerts">Alerts</a>
<a class="nav-el" href="?page=settings">Settings</a>
<a class="nav-el" href="?page=automation">Home Automation</a>
</nav>
<content>
<span class="widget button" style="--top-color: blue; --side-color:red;">Lamp 1</span>
<div class="widget button toggle">Lamp 1</div>
<div class="widget slider" style="--fill-percent: 0.3;"></div>
<div class="widget button checkbox"></div>
<div class="widget color-wheel" style="--pos-x: 0.3; --pos-y: 0.3;"></div>
<div class="widget color-temp" style="--pos: 0.3;"></div>
<div class="widget color-light" style="--pos: 0.3;"></div>
<div class="widget thermostat" style="--percent: 0.3; --arch-color: #0084ff;">
<div class="arch"></div>
<div class="gague">68</div>
<div class="temp">72°</div>
</div>
</content>
<script type="module" src="scripts/main.js"></script>
</body>
</html>
|