-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpopup.html
More file actions
48 lines (47 loc) · 2.19 KB
/
Copy pathpopup.html
File metadata and controls
48 lines (47 loc) · 2.19 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" type="text/css" href="popup.css" />
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet" />
<link href="https://fonts.googleapis.com/css?family=Material+Icons&display=block" rel="stylesheet" />
</head>
<body>
<div id="themes-container"></div>
<div class="button-row">
<mwc-button id="new-theme" label="new theme" raised></mwc-button>
<mwc-button id="import-theme" label="import theme" raised></mwc-button>
</div>
<template id="theme-form">
<form>
<mwc-textfield id="name" type="text" label="Theme Name" outlined> </mwc-textfield>
<mwc-textfield id="author" type="text" autocomplete="name" label="Author" outlined> </mwc-textfield>
<mwc-textfield id="bg" type="url" label="Background Image URL" outlined> </mwc-textfield>
<mwc-select id="light" label="Color Scheme" outlined>
<mwc-list-item value="dark">Dark</mwc-list-item>
<mwc-list-item value="light">Light</mwc-list-item>
</mwc-select>
<color-input color-name="logo"></color-input>
<color-input color-name="icon"></color-input>
<color-input color-name="link"></color-input>
<color-input color-name="hover"></color-input>
<color-input color-name="maxed"></color-input>
<color-input color-name="gold"></color-input>
<color-input color-name="skillbar" is-background></color-input>
<color-input color-name="maxedbar" is-background></color-input>
<div class="button-row">
<mwc-button id="delete-theme" label="delete theme" type="button" raised></mwc-button>
<mwc-button id="export-theme" label="export theme" type="button" raised></mwc-button>
</div>
</form>
</template>
<template id="dialog">
<mwc-dialog open>
<div id="dialog-body"></div>
<mwc-button slot="primaryAction" dialogAction="ok" id="primary-action"></mwc-button>
<mwc-button slot="secondaryAction" dialogAction="cancel">Cancel</mwc-button>
</mwc-dialog>
</template>
<script type="module" src="popup.ts"></script>
</body>
</html>