-
Notifications
You must be signed in to change notification settings - Fork 7
/
popup.html
88 lines (88 loc) · 2.66 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
<!DOCTYPE html>
<body class="body">
<link rel="stylesheet" href="styles.css" />
<script src="utils.js"></script>
<a href="https://default.wtf/" target="_blank" class="link">
<header>
<img src="images/logo.svg" alt="Default Account for Google™ products" /> Default Account for Google™ products
</header>
</a>
<section class="content">
<!-- Tab links -->
<div class="tab" width="360px">
<button class="tablinks" id="accounts_button">Default account</button>
<button class="tablinks" id="rules_button">Rules</button>
</div>
<!-- Tab content -->
<div id="Rules" class="tabcontent">
<h3>Set account for specific Google™ service</h3>
<div id="service-picker-container" class="picker-container"></div>
<div
style="margin-top: 10px"
id="account-picker-container"
class="picker-container"
></div>
<div
style="margin-bottom: 20px"
id="action-button-div"
class="action-button"
>
<svg
width="10"
height="6"
viewBox="0 0 10 6"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M1 1L4.94343 4.94343C4.97467 4.97467 5.02533 4.97467 5.05657 4.94343L9 1"
stroke="#2B2337"
stroke-width="2"
stroke-linecap="round"
/>
</svg>
</div>
<div class="hr"></div>
<div>
<h3>Active rules</h3>
<div id="rules-body">
<script src="rules.js"></script>
</div>
</div>
</div>
<div id="Accounts" class="tabcontent">
<h3>Select a default account for all Google™ services</h3>
<div id="accounts_body">
<script src="accounts.js"></script>
</div>
</div>
<div class="footer">
<div>
You can switch accounts with the shortcuts <b>Option (Alt) + {num}</b>.
To edit/disable them, go to "<b>chrome://extensions/shortcuts</b>" in
the URL bar.
</div>
<br />
<div>
To support the extension,
<a href="https://www.buymeacoffee.com/default" target="_blank"
>you can buy us a coffee</a
>.
</div>
<br />
<div>
Google™ is a trademark of Google Inc. Use of this trademark is subject to Google Permissions.
</div>
</div>
<template id="cell_template">
<a class="cell-body link">
<img class="cell-image" />
<div class="top">
<div class="cell-title"></div>
<div class="cell-description"></div>
</div>
<div class="cell-corner"></div>
</a>
</template>
</section>
</body>