forked from tilfinltd/aws-extend-switch-roles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
popup.html
139 lines (138 loc) · 3.28 KB
/
popup.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
<html>
<head>
<style>
* { box-sizing: border-box }
html { padding: 0 }
body {
background-color: #fff;
margin: 0;
padding: 0;
font-family: "Segoe UI", Arial, Meiryo, sans-serif;
max-width: 600px;
max-height: 600px;
}
.optionMenu {
list-style: none;
padding: 0;
margin: 0;
}
.optionMenu li {
padding: 0;
margin: 0;
border-bottom: 1px solid #ccc;
}
.optionMenu a {
color: #000;
display: block;
font-size: 13px;
line-height: 2;
margin: 2px;
padding: 2px 14px;
text-decoration: none;
width: 9em;
}
a:hover {
background-color: #e8fafa;
}
#openOptionsLink { font-weight: bold }
.mainPane {
border-right: 1px solid #ddd;
padding-left: 10px;
margin-right: 4px;
padding-right: 10px;
}
#main {
font-size: 15px;
padding-bottom: 5px;
}
#roleList {
padding: 0;
margin: 0;
overflow-x: hidden;
max-height: 516px;
scrollbar-width: thin;
}
#roleList li {
padding: 0;
margin: 4px 10px 4px 2px;
list-style: none;
white-space: nowrap;
vertical-align: middle;
}
#roleList li a {
color: #000;
font-family: Arial;
cursor: pointer;
display: block;
line-height: 29px;
text-decoration: none;
}
#roleList li a > * {
vertical-align: top;
}
.headSquare {
background-size: contain;
display: inline-block;
margin: 5px 8px 5px 5px;
width: 20px;
height: 20px;
}
.suffixAccountId {
color: #666;
font-size: 95%;
font-weight: normal;
margin-left: 1.25em;
}
#noMain p {
font-size: 12px;
margin: 12px 5px 5px 5px;
line-height: 1.66;
}
#supportComment p {
line-height: 1.25;
margin: .5em 0;
font-weight: bold;
}
</style>
</head>
<body>
<div style="display: flex">
<div class="mainPane" style="min-width: 280px">
<div id="main" style="display: none">
<div style="padding: 12px 6px 6px;">
<span style="color: #2c2c2c">Role List</span>
<input id="roleFilter" type="text" placeholder="Filter"
style="border:1px solid #bbb;border-radius:3px;font-size:13px;margin-left:0.4em;max-width:30ex;padding:.8ex">
</div>
<ul id="roleList">
</ul>
</div>
<div id="noMain" style="display: none;">
<p></p>
</div>
</div>
<div>
<ul class="optionMenu">
<li><a href="#" id="openOptionsLink">Configuration</a></li>
<li><a href="#" id="openUpdateNoticeLink">Update Notice</a></li>
<li><a
href="https://github.com/tilfinltd/aws-extend-switch-roles/blob/master/CHANGELOG.md#changelog" rel="noopener noreferrer" target="_blank">Release Notes</a></li>
<li><a href="#" id="openCreditsLink">Credits</a></li>
<li><a href="#" id="openSupportersLink">Supporters</a></li>
<li><a href="https://github.com/tilfinltd/aws-extend-switch-roles" rel="noopener noreferrer"
target="_blank">Website</a></li>
</ul>
<div style="margin: 5px">
<div id="supportComment" style="display: none; margin: 6px">
<p>Is this helpful?</p>
<p>Could you <a href="#" id="openSupportMe" style="text-decoration: none">support me</a>? 🥺</p>
</div>
<img id="goldenkey" style="display: none; margin: 6px 8px 6px auto" title="Thank you for your support." src="/icons/golden_icon.png" width="44" height="44">
</div>
</div>
</div>
<script src="js/popup.js" charset="utf-8"></script>
<div id="sandbox" style="display: none;"></div>
</body>
</head>
</html>