-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
183 lines (175 loc) · 5.91 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
<!-- @format -->
<html>
<head>
<meta charset="UTF-8" />
<link
href="https://static.eu1.mindsphere.io/mdsp-css/v1.3.0/css/mdsp-css.min.css"
rel="stylesheet"
/>
<link
href="https://static.eu1.mindsphere.io/osbar/v4/css/mdspstyles.4.9.1.min.css"
rel="stylesheet"
/>
<link rel="stylesheet" href="assets/css/styles.css" />
<link rel="stylesheet" href="vendor/font-awesome-4.7.0/css/font-awesome.min.css" />
<meta content="width=device-width, initial-scale=1.0" name="viewport" />
<title>MindSphere Authorization Helper</title>
<template id="listItem">
<li class="list__item">
<div class="item__content">
<div
class="content__column content__column--primary has-default-width-20 xs-100 sm-66 md-33 lg-20 xl-20"
>
<p title="HOST" class="item__title">
{{domain}}
<a href="https://{{domain}}" title="Reload Application" target="_new">
<i class="fa fa-external-link has-color-accentBlueDark"></i>
</a>
</p>
<p
data="{{session}}"
title="SESSION (Click to Show)"
class="item__title has-color-contextBlue600"
style="cursor: pointer;"
>
{{sessionShort}}
</p>
<p
data="{{xsrftoken}}"
title="XSRF-TOKEN (Click to Show)"
class="item__title has-color-forced-contextGreen600"
style="cursor: pointer;"
>
{{xsrftokenShort}}
</p>
<div class="item__description">
<button
data="{{linux}}"
class="button--primary"
title="Copy Environment Variables for Bash to Clipboard"
>
<i class="fa fa-clipboard has-color-forced-accentBlueDark"></i> Bash
</button>
<button
data="{{cmd}}"
class="button--primary"
title="Copy Environment Variables for CMD to Clipboard"
>
<i class="fa fa-clipboard has-color-accentRedDark"></i> CMD
</button>
<button
data="{{ps}}"
class="button--primary"
title="Copy Environment Variables for PowerShell to Clipboard"
>
<i class="fa fa-clipboard has-color-accentYellowDark"></i> PS
</button>
<button
data="{{sessionraw}}"
class="button--primary"
title="Copy SESSION Cookie to Clipboard"
>
<i class="fa fa-clipboard has-color-contextBlue600"> </i> Session
</button>
<button
data="{{xsrftokenraw}}"
class="button--primary"
title="Copy XSRF-TOKEN Cookie to Clipboard"
>
<i class="fa fa-clipboard has-color-contextGreen600"> </i> Xsrf
</button>
</div>
</div>
</div>
</li>
</template>
</head>
<body>
<osbar-root id="_mdspbar" ng-version="6.0.6">
<mdsp-home-link
><a href="#">
<img
src="assets/images/authentication-helper.png"
style="height: 24px; margin: 6px;"
/> </a
></mdsp-home-link>
<div
data-mdsp-e2e="osbar_dropdownWrapper"
class="_mdsp-dropdownWrapper _mdsp-tenantInfo text"
>
<a data-mdsp-e2e="osbar_dropdownLinkEnabled"
><span class="dropdown-link-enabled">MindSphere Cookies </span></a
>
</div>
<div id="_mdsp-filler"></div>
<mdsp-operator-type>
<div id="_mdsp-operatorType">
<div class="_mdsp-operatorType__innerWrap">
auth
</div>
</div>
</mdsp-operator-type>
</osbar-root>
<div
class="mdsp mdsp-defaults"
id="_mdspcontent"
style="
min-width: 500px;
min-height: 500px;
margin-left: 10px;
margin-right: 10px;
text-align: left;
"
>
<div class="emptyState">
<div class="emptyState__visual">
<i class="fa fa-certificate fa-2x"></i>
</div>
<h2 class="emptyState__title">
You don't have any MindSphere Cookies
</h2>
<div class="emptyState__description">
Please login to your tenant to start borrowing cookies for the development tools.
</div>
</div>
<div class="list" style="text-align: left !important;">
<ul class="list__list" id="cookieList"></ul>
</div>
<div
class="has-color-forced-gray400"
style="margin-top: 5px; font-size: 14px; text-align: right;"
>
<p>
treat the authentication cookies like your credentials<br />and use them only in secure
environments
</p>
<a
class="has-color-forced-gray250"
style="text-decoration: none;"
title="License"
href="https://opensource.mindsphere.io/docs/mindsphere-auth-helper/LICENSE.html"
target="_new"
>
License (MIT) <i class="fa fa-legal"></i
></a>
<a
class="has-color-forced-gray250"
style="text-decoration: none;"
title="Source Code"
href="https://github.com/mindsphere-auth-helper/index.html"
target="_new"
>github <i class="fa fa-github"></i
></a>
<a
class="has-color-forced-gray250"
style="text-decoration: none;"
title="Documentation"
href="https://opensource.mindsphere.io/docs/mindsphere-auth-helper/index.html"
target="_new"
>opensource.mindsphere.io <i class="fa fa-external-link"></i
></a>
</div>
</div>
<script type="module" src="./scripts.js" type="text/javascript"></script>
</body>
</html>