-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
176 lines (170 loc) · 4.39 KB
/
Copy pathpopup.html
File metadata and controls
176 lines (170 loc) · 4.39 KB
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
<!DOCTYPE html>
<html>
<head>
<title>GitRepoTools Options</title>
<style>
body {
width: 300px;
padding: 16px;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
font-size: 14px;
line-height: 1.5;
color: #24292e;
transition: opacity 0.2s ease;
}
.header {
margin-bottom: 16px;
border-bottom: 1px solid #e1e4e8;
padding-bottom: 8px;
}
.header h2 {
margin: 0;
font-size: 16px;
font-weight: 600;
}
.option-group {
margin-bottom: 16px;
}
.option-group h3 {
margin: 0 0 8px;
font-size: 14px;
font-weight: 600;
}
.option {
display: flex;
align-items: center;
margin-bottom: 8px;
}
.option label {
margin-left: 8px;
cursor: pointer;
}
.option input[type="checkbox"] {
cursor: pointer;
}
.footer {
margin-top: 16px;
padding-top: 16px;
border-top: 1px solid #e1e4e8;
font-size: 12px;
color: #6a737d;
}
.coffee-button {
display: inline-flex;
align-items: center;
padding: 6px 12px;
background-color: #FFDD00;
color: #000;
border: none;
border-radius: 4px;
font-size: 14px;
font-weight: 500;
text-decoration: none;
cursor: pointer;
transition: background-color 0.2s;
}
.coffee-button:hover {
background-color: #FFD700;
}
.coffee-button img {
margin-right: 8px;
width: 20px;
height: 20px;
}
.reset-button {
display: inline-flex;
align-items: center;
padding: 4px 8px;
background-color: #f6f8fa;
color: #24292f;
border: 1px solid #d0d7de;
border-radius: 4px;
font-size: 12px;
font-weight: 500;
text-decoration: none;
cursor: pointer;
transition: background-color 0.2s;
margin-top: 8px;
}
.reset-button:hover {
background-color: #f3f4f6;
}
.loading-spinner {
display: none;
width: 16px;
height: 16px;
border: 2px solid #f3f3f3;
border-top: 2px solid #0969da;
border-radius: 50%;
animation: spin 1s linear infinite;
margin: 0 auto;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div class="loading-spinner" id="loadingSpinner"></div>
<div class="header">
<h2>GitRepoTools Settings</h2>
</div>
<div class="option-group">
<h3>Tool Categories</h3>
<div class="option">
<input type="checkbox" id="showDeepWiki" checked>
<label for="showDeepWiki">Show DeepWiki</label>
</div>
<div class="option">
<input type="checkbox" id="showDiagram" checked>
<label for="showDiagram">Show Diagram Tools</label>
</div>
<div class="option">
<input type="checkbox" id="showGitingest" checked>
<label for="showGitingest">Show Gitingest Button</label>
</div>
<div class="option">
<input type="checkbox" id="showIDE" checked>
<label for="showIDE">Show IDE Options</label>
</div>
</div>
<div class="option-group">
<h3>IDE Options</h3>
<div class="option">
<input type="checkbox" id="showVSCode" checked>
<label for="showVSCode">VS Code Web</label>
</div>
<div class="option">
<input type="checkbox" id="showGithubDev" checked>
<label for="showGithubDev">github.dev</label>
</div>
<div class="option">
<input type="checkbox" id="showCodeSandbox" checked>
<label for="showCodeSandbox">CodeSandbox</label>
</div>
<div class="option">
<input type="checkbox" id="showStackBlitz" checked>
<label for="showStackBlitz">StackBlitz</label>
</div>
<div class="option">
<input type="checkbox" id="showGitpod" checked>
<label for="showGitpod">Gitpod</label>
</div>
<button class="reset-button" id="resetButton">Reset to Defaults</button>
</div>
<div class="option-group">
<h3>Support</h3>
<div class="option">
<a href="https://buymeacoffee.com/rohit.wadhwa" target="_blank" class="coffee-button">
<img src="https://cdn.buymeacoffee.com/buttons/bmc-new-btn-logo.svg" alt="Buy me a coffee">
Buy me a coffee
</a>
</div>
</div>
<div class="footer">
Changes are saved automatically
</div>
<script src="popup.js"></script>
</body>
</html>