-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.html
76 lines (45 loc) · 2.41 KB
/
device.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
<!DOCTYPE html>
<html lang="de">
<head>
<title>New Device</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap-night.min.css" rel="stylesheet">
<script src="https://code.jquery.com/jquery-3.6.0.min.js" integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/howler/2.2.3/howler.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-pprn3073KE6tl6bjs2QrFaJGz5/SUsLqktiwsUTF55Jfv3qYSDhgCecCxMW52nD2" crossorigin="anonymous"></script>
</head>
<body>
<div class= "container">
<div class = "row">
<div class = "col-3">
<div class = "card-body">
<h5 class = "card-title">New Device</h5>
</div>
<form>
<div class="form-group">
<label for="name">Name</label>
<input type="text" class="form-control mb-2" id="name" name="name" placeholder="Name">
<label for="MAC">MAC-Adresse</label>
<input type="text" class="form-control mb-2" id="MAC" placeholder="6b:49:fc:9c:35:2f" name="mac">
<label for="IP">IP-Adresse</label>
<input type="text" class="form-control" id="IP" placeholder="192.168.5.1 (optional)" name="ip">
<button type="submit" class="btn btn-success mt-2">Add</button>
</div>
</form>
</div>
</div>
</div>
</body>
<div class = "card mt-3">
<div class = "card-body">
<h5 class = "card-title">Quick Wakeup</h5>
<form action="/wakeup">
<div class="form-group">
<label for="IP">MAC-Adresse</label>
<input type="text" class="form-control" id="MAC" placeholder="6b:49:fc:9c:35:2f" name="mac">
<button type="submit" class="btn btn-primary mt-2">Wake Up</button>
</div>
</form>
</div>
</div>