-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathedit_building.html
86 lines (86 loc) · 2.23 KB
/
edit_building.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
<html>
<head>
<title>WIDI management: Edit Building</title>
<style>
form {
float: left;
}
table {
border: 2px solid black;
}
.tabs {
display: flex;
align-items: flex-end;
}
.tab {
border-left: 2px solid black;
border-top: 2px solid black;
border-right: 2px solid black;
padding: 5px;
border-radius: 5px 5px 0 0;
bottom: 0;
}
.tab:not(.this) {
background: grey;
height: 20px;
}
.this {
padding: 10px;
height: 30px;
}
</style>
</head>
<body>
<h1><a href="index.html">WIDI management</a></h1>
<p>This is an admin function and should only be visible to "admins".</p>
<div class="tabs">
<div class="tab"><a href="devices.html">Manage Devices</a></div>
<div class="tab this">Manage Buildings</div>
</div>
<table>
<tr>
<th>Building</th>
<th>Airgroups</th>
<th>Actions</th>
</tr>
<tr>
<td><input value="test456" /></td>
<td><input value="test, test_5g" /></td>
<td>
<form action="buildings.html">
<button type="submit">Save</button>
</form>
<form action="buildings.html">
<button type="submit">Cancel</button>
</form>
</td>
</tr>
<tr>
<td>JeffJeff</td>
<td>JeffJeff, JeffJeff_5g</td>
<td><button>Edit</button><button>Delete</button></td>
</tr>
<tr>
<td>testy333</td>
<td>testy333</td>
<td><button>Edit</button><button>Delete</button></td>
</tr>
<tr>
<td>Hut_six</td>
<td>Hut_six, Hut_six_dev</td>
<td><button>Edit</button><button>Delete</button></td>
</tr>
<tr>
<td>ThatBuildingOverThere</td>
<td>TheWeirdlyNamedAirgroupInThatBuildingOverThere, TheWeirdlyNamedAirgroupInThatBuildingOverThere_5g</td>
<td><button>Edit</button><button>Delete</button></td>
</tr>
</table>
<script>
function add() {
document.getElementById("newname").value = "";
document.getElementById("newgroups").value = "";
}
</script>
</body>
</html>