This repository has been archived by the owner on Jun 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
207 lines (191 loc) · 7.43 KB
/
index.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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<!DOCTYPE html>
<html>
<head>
<meta charset = "UTF-8">
<base href="./">
<title>Cue Display</title>
<link rel = "stylesheet" href = "node_modules/bootstrap/dist/css/bootstrap.min.css" />
<link rel = "stylesheet" href = "node_modules/mdi/css/materialdesignicons.min.css " media="all" type="text/css" />
<style>
body{
margin: 15px;
padding: 0;
background-color: #eee;
}
div.headerMain{
margin-bottom: 8px;
margin-top: -6px;
}
div.mainLogo{
background-image: url(icons/64x64.png);
height: 64px;
width: 64px;
}
div.mainTitle{
font-family: inherit;
font-weight: 500;
line-height: 1.2;
font-size: 2.5rem;
margin-top: -16px;
margin-top: 6px;
font-weight: 200;
text-shadow: 1px 2px 4px rgba(0, 98, 204, 0.65);
padding-left: 13px;
}
div.openDebug, div.openHelp{
padding: 2px;
cursor: pointer;
}
div.openDebug:hover, div.openHelp:hover{
color: #909090;
}
div.logWindow{
white-space: pre;
font-size: 0.65rem;
height: 143px;
overflow-y: scroll;
transition: all 0.2s linear;
}
div.logWindowMax{
height: 356px;
}
.inpLabel{
margin-bottom: 0;
font-size: .875rem;
}
.statHogconnectionBadge{
transition: all 0.2s linear;
}
/* status cards */
div.statusValue{
text-align: center;
}
div.statusName{
text-align: center;
font-weight: 200;
font-size: 0.8rem;
}
div.colStatus .badge{
font-size: 75%;
font-weight: 500;
}
div.colMain{
padding: 0px 12px;
}
div.colMain div.col-sm-3, div.colMain div.col-sm-4, div.colMain div.col-sm-9{
padding-left: 3px;
padding-right: 3px;
}
/* Customized styles for bootstrap */
div.defaultCard{
margin-bottom: 5px;
}
div.defaultCardHeader{
font-weight: 500;
}
div.collapseArrow{
display: inline-flex;
float: right;
transform:rotate(0deg);
transition: all 0.2s linear;
font-size: 1.5rem;
margin: -0.4rem;
}
.collapseArrow.down{
transform:rotate(-90deg);
}
.card-header {
padding: 0.15rem 0.45rem;
}
.card-body{
padding: 0.25rem 0.75rem;
}
div.cueDisplayNr{
font-size: 4rem;
text-align: center;
}
div.cueDisplayName{
text-align: center;
}
</style>
</head>
<body>
<div class="headerMain">
<div class="float-left mainLogo"></div>
<div class="float-left mainTitle">Cue Display</div>
<div class="float-right openDebug"><i class="mdi mdi-settings"></i> </div>
<div class="float-right openHelp"><i class="mdi mdi-help-circle-outline"></i> </div>
<div class="clearfix"></div>
</div>
<div class="card defaultCard colSettings">
<div class="card-header defaultCardHeader">Instellingen</div>
<div class="card-body collapse collEnable">
<label class="inpLabel">Hog Lists Export</label>
<div class="input-group input-group-sm mb-3">
<input type="text" class="form-control inpHogExportFile" placeholder="Klik op openen om een bestand te openen">
<div class="input-group-append">
<button class="btn btn-outline-secondary btnHogExportFileDialog" type="button"><i class="mdi mdi-folder-open"></i> Open</button>
</div>
</div>
<label class="inpLabel">Huidige show</label>
<div class="input-group input-group-sm mb-3">
<input type="text" disabled="disabled" class="form-control currentShow" value="Open een Hog Export bestand">
</div>
<div class="row">
<div class="col-sm-6">
<div class="input-group-sm">
<label class="inpLabel">Huidige lijst</label>
<input type="number" class="form-control inpCueLists" value="1">
</div>
</div>
<div class="col-sm-6">
<label class="inpLabel">Ingaande poort</label>
<div class="input-group input-group-sm mb-3">
<input type="number" class="form-control inpServerPort" value="7002">
</div>
</div>
</div>
<!-- Buttons -->
<div class="row">
<div class="col-sm-12 text-center">
<button class = "btn btn-success btn-sm btnStartServer"><i class="mdi mdi-play"></i> Start Server</button>
<button class = "btn btn-danger btn-sm btnStopServer"><i class="mdi mdi-stop"></i> Stop Server</button>
</div>
</div>
</div>
</div>
</div>
<div class="row colMain">
<div class="col-sm-4">
<div class="card defaultCard colStatus statServer">
<div class="card-body mx-auto">
<div class="statusValue"><span class="badge badge-success">Gestart</span></div>
<div class="statusName">Server</div>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card defaultCard colStatus statHogconnection">
<div class="card-body mx-auto">
<div class="statusValue"><span class="badge badge-warning statHogconnectionBadge">Verbonden</span></div>
<div class="statusName">Verbinding met Hog</div>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card defaultCard colStatus statIpadress">
<div class="card-body mx-auto">
<div class="statusValue"><span class="badge badge-dark">255.255.255.255</span></div>
<div class="statusName">Lokaal IP Adres</div>
</div>
</div>
</div>
</div>
<div class="h3">Current Cue</div>
<div class="card card-body">
<div class="cueDisplayNr">...</div>
<div class="cueDisplayName">...</div>
</div>
<script src = "./view.js" ></script>
</body>
</html>