-
Notifications
You must be signed in to change notification settings - Fork 0
/
tables.html
104 lines (101 loc) · 3.53 KB
/
tables.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Weather Dashboard - Tables</title>
<link
href="https://fonts.googleapis.com/css2?family=VT323&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="styles.css" />
<link rel="stylesheet" href="media-queries.css" />
</head>
<body>
<div class="container">
<nav class="side-menu">
<div class="logo">Weather App</div>
<ul>
<li><a href="index.html">Dashboard</a></li>
<li><a href="#" class="active">Tables</a></li>
</ul>
</nav>
<main>
<header>
<input type="text" placeholder="Enter city name" id="cityInput" />
<button id="searchBtn">Search</button>
<button id="locationBtn">Current Location</button>
<button id="tempToggleBtn">°C / °F</button>
<select id="filterDropdown">
<option value="">Filter By</option>
<option value="ascTemp">Temperature Ascending</option>
<option value="descTemp">Temperature Descending</option>
<option value="rainOnly">Rainy Days Only</option>
<option value="highestTemp">Highest Temperature Day</option>
</select>
<button id="profileBtn"></button>
</header>
<h1 id="city-name">City Name</h1>
<div class="content-container">
<div class="forecast-table widget" style="width: 100%">
<table>
<thead>
<tr>
<th>Date</th>
<th>Temperature</th>
<th>Weather</th>
<th>Humidity</th>
<th>Wind Speed</th>
</tr>
</thead>
<tbody id="forecastTableBody">
<!-- Table rows will be dynamically inserted here -->
</tbody>
</table>
</div>
<div id="chatbot-container" style="width: 30%">
<button id="chatButton" class="retro-button">Chat with AI</button>
<div id="chat-modal" class="modal">
<div class="modal-content">
<span id="close-chat-btn" class="close">×</span>
<div id="chat-log" class="chat-log">
<div class="bot-message">
Hello! Ask me about the weather data!
</div>
</div>
<div class="chat-input">
<input
type="text"
id="user-input"
placeholder="Type your message here..."
/>
<button onclick="sendMessage()" class="retro-button">
Send
</button>
</div>
</div>
</div>
</div>
</div>
</main>
</div>
<div id="profile-modal" class="modal">
<div class="modal-content">
<span id="close-profile-btn" class="close">×</span>
<img
id="profile-picture"
src="./assests/my-circle-profile-picture.png"
alt="Profile Picture"
/>
<h2 id="profile-name">Dawood Qamar</h2>
<p id="profile-email">i222522@nu.edu.pk</p>
</div>
</div>
<footer>
<p>© 2023 Weather Dashboard. All rights reserved.</p>
</footer>
<script src="./js/config.js"></script>
<script src="./js/weather.js"></script>
<script src="./js/app.js"></script>
</body>
</html>