-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
50 lines (47 loc) · 1.92 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
<link href="lib/bootstrap.min.css" rel="stylesheet">
<style>
.centered {
position: fixed;
top: 50%;
left: 50%;
-webkit-transform: translate(-50%, -50%);
transform: translate(-50%, -50%);
}
</style>
<html ng-app="app" ng-csp>
<body ng-controller="mainCtrl" ng-init="session.refresh()">
<div class="container" style="padding-top: 20px; padding-bottom: 20px;">
<div ng-if="!session.loading">
<div class="text-center">
<div>
<button class="btn" ng-class="{'btn-success':controlActive, 'btn-primary':!controlActive}" ng-click="session.toggleControl()">{{ controlActive ? "You're controlling this page (click to stop)" : "Remote-Control this page!" }}</button>
</div>
<div ng-show="controlSite">
<span class="text-muted">{{ controlSite }}</span>
</div>
<br/>
<div>
<div>
<img class="img-responsive" src="" ng-src="{{ session.qr }}">
</div>
<span class="text-muted"> Session ID: {{ session.session }}</span>
</div>
<br/>
<div>
<a href="https://remote-sli.de/?connectionInfo" target="_blank">Connection Info</a>
</div>
</div>
</div>
<div ng-if="session.loading">
<div class="text-center" style="min-width:200px;">
<strong>Loading Session...</strong>
</div>
</div>
</div>
</body>
</html>
<script src="lib/jquery.min.js"></script>
<script src="lib/bootstrap.min.js"></script>
<script src="lib/angular.min.js"></script>
<script src="lib/analytics.js"></script>
<script src="index.js"></script>