-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
51 lines (45 loc) · 1.5 KB
/
index.html
File metadata and controls
51 lines (45 loc) · 1.5 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
<!-- index.html -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>iOS Dashboard</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container">
<h1 id="title">Dashboard</h1>
<div class="info-block">
<div id="time">--:--</div>
<div id="date">-- -- ----</div>
<div id="vibe">Vibe Check: Loading...</div>
<div id="battery">Battery: --%</div>
<div id="weather">Weather: Loading...</div>
</div>
<textarea id="note" placeholder="Quick note..."></textarea>
<button onclick="saveNote()">Save Note</button>
<div id="saved-note"></div>
<div class="quick-links">
<a href="https://github.com" target="_blank">GitHub</a>
<a href="shortcuts://">Shortcuts</a>
<a href="notes://">Notes</a>
<a href="https://github.com/Rickveloper/iOS-weather-widget" target="_blank">Weather Widget Repo</a>
</div>
<div class="spotify-block">
<button id="spotify-login" onclick="startSpotifyAuth()">Login to Spotify</button>
<div id="spotify-nowplaying" class="hidden">
<img id="album-art" src="" alt="Album Art">
<div id="track-info">
<div id="song-name">Song</div>
<div id="artist-name">Artist</div>
</div>
</div>
</div>
<div class="theme-toggle">
<button onclick="toggleTheme()">Toggle Theme</button>
</div>
</div>
<script src="script.js"></script>
</body>
</html>