This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathindex.html
164 lines (146 loc) · 9.89 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
<!DOCTYPE html>
<html>
<head>
<script>
if (location.protocol === 'https:') {
location.replace(`http:${location.href.substring(location.protocol.length)}`);
}
</script>
<title>Macro Deck :: Web client</title>
<meta name="author" content="Manuel Mayer">
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="author" content="Manuel Mayer">
<meta name="application-name" content="Macro Deck">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-title" content="Macro Deck">
<meta name="msapplication-TileColor" content="#454545">
<meta name="theme-color" content="#454545">
<meta name="apple-mobile-web-app-status-bar-style" content="#454545">
<meta name="msapplication-config" content="browserconfig.xml?v=210703071156">
<link rel="apple-touch-icon" sizes="57x57" href="/images/favicon/apple-touch-icon-57x57.png?v=210703071156">
<link rel="apple-touch-icon" sizes="60x60" href="/images/favicon/apple-touch-icon-60x60.png?v=210703071156">
<link rel="apple-touch-icon" sizes="72x72" href="/images/favicon/apple-touch-icon-72x72.png?v=210703071156">
<link rel="apple-touch-icon" sizes="76x76" href="/images/favicon/apple-touch-icon-76x76.png?v=210703071156">
<link rel="apple-touch-icon" sizes="114x114" href="/images/favicon/apple-touch-icon-114x114.png?v=210703071156">
<link rel="apple-touch-icon" sizes="120x120" href="/images/favicon/apple-touch-icon-120x120.png?v=210703071156">
<link rel="apple-touch-icon" sizes="144x144" href="/images/favicon/apple-touch-icon-144x144.png?v=210703071156">
<link rel="apple-touch-icon" sizes="152x152" href="/images/favicon/apple-touch-icon-152x152.png?v=210703071156">
<link rel="apple-touch-icon" sizes="180x180" href="/images/favicon/apple-touch-icon-180x180.png?v=210703071156">
<link rel="icon" type="image/png" href="/images/favicon/android-chrome-36x36.png?v=210703071156" sizes="36x36">
<link rel="icon" type="image/png" href="/images/favicon/android-chrome-48x48.png?v=210703071156" sizes="48x48">
<link rel="icon" type="image/png" href="/images/favicon/android-chrome-72x72.png?v=210703071156" sizes="72x72">
<link rel="icon" type="image/png" href="/images/favicon/android-chrome-96x96.png?v=210703071156" sizes="96x96">
<link rel="icon" type="image/png" href="/images/favicon/android-chrome-144x144.png?v=210703071156" sizes="144x144">
<link rel="icon" type="image/png" href="/images/favicon/android-chrome-192x192.png?v=210703071156" sizes="192x192">
<link rel="icon" type="image/png" href="/images/favicon/favicon-16x16.png?v=210703071156" sizes="16x16">
<link rel="icon" type="image/png" href="/images/favicon/favicon-32x32.png?v=210703071156" sizes="32x32">
<link rel="icon" type="image/png" href="/images/favicon/favicon-96x96.png?v=210703071156" sizes="96x96">
<link rel="shortcut icon" type="image/x-icon" href="/images/favicon/favicon.ico?v=210703071156">
<meta name="msapplication-TileImage" content="mstile-150x150.png?v=210703071156">
<meta name="msapplication-square70x70logo" content="mstile-70x70.png?v=210703071156">
<meta name="msapplication-square150x150logo" content="mstile-150x150.png?v=210703071156">
<meta name="msapplication-wide310x150logo" content="mstile-310x150.png?v=210703071156">
<meta name="msapplication-square310x310logo" content="mstile-310x310.png?v=210703071156">
<link href="/images/favicon/apple-touch-startup-image-320x460.png?v=210703071156" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 1)" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-640x920.png?v=210703071156" media="(device-width: 320px) and (device-height: 480px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-640x1096.png?v=210703071156" media="(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-748x1024.png?v=210703071156" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 1) and (orientation: landscape)" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-750x1024.png?v=210703071156" media="" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-750x1294.png?v=210703071156" media="(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-768x1004.png?v=210703071156" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 1) and (orientation: portrait)" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-1182x2208.png?v=210703071156" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: landscape)" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-1242x2148.png?v=210703071156" media="(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-1496x2048.png?v=210703071156" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: landscape)" rel="apple-touch-startup-image">
<link href="/images/favicon/apple-touch-startup-image-1536x2008.png?v=210703071156" media="(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)" rel="apple-touch-startup-image">
<link rel="manifest" href="manifest.json?v=210703071156" />
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/animate.css" rel="stylesheet">
<script src="js/NoSleep.min.js"></script>
<script src="js/url-search-params-polyfill.js"></script>
<script src="js/jquery-3.5.1.min.js"></script>
</head>
<body id="body" onload="" class="bg-dark">
<button class="btn btn-danger d-none" id="btn-back" onclick="back()">Back</button>
<button class="btn btn-success" id="btn-fullscreen" onclick="openFullscreen()">Fullscreen</button>
<button class="btn btn-success" id="btn-dark" onclick="toggleDark()">Light</button>
<div class="connect-container container-fluid animate__animated animate__fadeIn" id="connect-container">
<div class="text-center text-w m-3">
<div class="text-center p-0 m-0">
<div class="row justify-content-md-center container-fluid">
<div class="col col-sm">
<a href="https://macrodeck.org/imprint" class="text-w" target="_blank">Imprint</a>
|
<a href="https://macrodeck.org/privacy" class="text-w" target="_blank">Privacy statement</a>
|
<a href="https://macrodeck.org/termsofuse" class="text-w" target="_blank">Terms of use</a>
</div>
</div>
</div>
</div>
<div class="row justify-content-center align-self-center text-center">
<div class="col">
<img id="logo" class="mb-0" src="images/logo.png" alt="" width="300" height="60">
</div>
</div>
<div class="row text-center mt-5 overflow-auto" style="max-width: 1000px; margin: auto;">
<div class="col mb-5">
<h4 class="pb-2">New connection</h4>
<form class="form-connect" name="connect">
<div class="row">
<div class="col">
<label for="inputHost" class="sr-only">IP address/hostname</label>
<input type="text" name="inputHost" id="inputHost" class="form-control" placeholder="IP address/hostname" required="" autofocus="">
</div>
<div class="col-auto">
<label for="inputPort" class="sr-only">Port</label>
<input style="width: 80px;" type="text" name="inputPort" id="inputPort" class="form-control" placeholder="Port" required="" autofocus="" value="8191">
</div>
</div>
<button class="btn btn-primary mt-2 w-100" type="submit">
<span id="button-connect-spinner" class="spinner-border spinner-border-sm d-none" role="status" aria-hidden="true"></span>
Connect
</button>
</form>
</div>
<div id="col-recent-connections" class="col-md d-none">
<h4 class="text-center pb-2">Recent connections</h4>
<div id="recent-connections" class="mr-2 ml-2">
</div>
</div>
</div>
<div class="text-center text-w m-3">
<div class="text-center p-0 m-0">
<div class="row justify-content-md-center container-fluid">
<div class="col col-sm">
<h5 class="mt-0 mb-0 font-weight-normal text-w">Web client <span id="labelVersion"></span> | Client id: <span id="client-id"></span></h5>
</div>
</div>
</div>
</div>
</div>
<div class="button-container" id="button-container"></div>
<div id="cookiealert-modal" data-backdrop="static" data-keyboard="false" class="modal fade" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content bg-dark">
<div class="modal-header text-dark">
<h5 class="modal-title">Cookies 🍪</h5>
</div>
<div class="modal-body text-dark">
<p>We care about privacy! This website uses only technically necessary cookies.</p>
<a href="https://cookiesandyou.com/" target="_blank">Learn more about cookies</a>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-primary acceptcookies">Close</button>
</div>
</div>
</div>
</div>
<script src="js/bootstrap.js"></script>
<script src="js/client.js"></script>
<script src="js/cookiealert.js"></script>
</body>
</html>