-
Notifications
You must be signed in to change notification settings - Fork 0
/
edit-room.html
56 lines (53 loc) · 1.67 KB
/
edit-room.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Edit Room</title>
<style>
label {
display: block;
margin: 8px 0;
}
input[type="text"] {
width: 100%;
padding: 4px;
}
.hidden {
display: none;
}
.top-bar {
display: flex;
justify-content: space-between;
align-items: center;
}
</style>
</head>
<body>
<div class="top-bar">
<h1 id="page-title">Room Details</h1>
<div>
<button id="edit-button">Edit Record</button>
<button id="cancel-button" class="hidden">Cancel</button>
<button onclick="window.location.href = 'index.html';">Home</button>
</div>
</div>
<div id="room-details">
<!-- Room details will be populated here -->
</div>
<form id="edit-room-form" class="hidden">
<label for="room_number">Room Number:</label>
<input type="text" id="room_number" name="room_number" readonly>
<label for="room_status">Room Status:</label>
<input type="text" id="room_status" name="room_status">
<label for="admin_notes">Admin Notes:</label>
<input type="text" id="admin_notes" name="admin_notes">
<label for="room_notes">Room Notes:</label>
<input type="text" id="room_notes" name="room_notes">
<button type="submit">Submit</button>
</form>
<br>
<button id="end-of-semester-button">End of Semester Update</button>
<script src="edit-room.js"></script>
</body>
</html>