-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
121 lines (103 loc) · 3.98 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
<!-- Copyright © 2023. Cloud Software Group, Inc. All Rights Reserved. -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="lib/semantic-ui-css/semantic.min.css">
<title>SPA Demo</title>
</head>
<body>
<div class="ui container">
<!-- Navigation Menu -->
<div class="ui four item inverted menu">
<div class="header item">
Single Page App
</div>
<div class="header item">
<label for="launch-type">Launch Type: </label>
<select id="launch-type">
<option default value="Receiver">Receiver</option>
<option value="HTML5">HTML5</option>
<option value="IFrame">IFrame</option>
</select>
</div>
</div>
<!-- Error Template -->
<script id="error-template" type="text/html">
<div class="ui red inverted segment" style="height:250px;">
<br>
<h2 class="ui center aligned icon header">
<i class="exclamation triangle icon"></i>
<div class="content">
Error
</div>
</h2>
</div>
</script>
<!-- SignIn Template -->
<script id="signin-template" type="text/html">
<h1 class="ui header">#</h1>
<form class="ui form" action="https://localhost:7182/Auth/BeginLogIn" method="post">
<input type="text" id="CustomerDomain" name="CustomerDomain" placeholder="Customer Domain" style="width:30em" />
<input type="submit" value="Login" class="ui button" />
</form>
<hr>
</script>
<!-- Loading Template -->
<script id="loading-template" type="text/html">
<h1 class="ui header">Loading...</h1>
<hr>
</script>
<!-- Resources Template -->
<script id="resources-template" type="text/x-handlebars-template">
<h1 class="ui header">Resources</h1>
<div class="ui eight cards">
{{#each resources}}
<div class="ui card"
onclick="PerformLaunch(this)"
data-launchStatus="{{ links.launchStatusUrl }}"
data-launchIca="{{ links.launchUrl }}">
<div class="ui loader"></div>
<div class="image">
<img src="{{links.imageUrl}}" width="32" height="32">
</div>
<div class="content">
<div class="center aligned header">
{{name}}
</div>
</div>
</div>
{{/each}}
</div>
<div class="ui divider"></div>
<form action="https://localhost:7182/Auth/LogOut" method="post">
<input type="submit" value="Sign Out" class="ui right floated button" />
</form>
</script>
<!-- Application Root -->
<div id="app"></div>
<iframe id="sessionIframe"></iframe>
</div>
<!-- JS Library Dependencies -->
<script src="lib/jquery/dist/jquery.min.js"></script>
<script src="lib/semantic-ui-css/semantic.min.js"></script>
<script src="lib/axios/dist/axios.min.js"></script>
<script src="lib/handlebars/dist/handlebars.min.js"></script>
<script src="js/app.js"></script>
<script src="js/CitrixHTML5SDK.js"></script>
<style>
#sessionIframe {
display: none;
position:fixed;
top: 0;
left: 0;
width:90%;
height:90%;
margin:5%;
background: black;
}
</style>
</body>
</html>