-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (60 loc) · 1.7 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>Instant Pali Cards</title>
<!-- https://electronjs.org/docs/tutorial/security#csp-meta-tag -->
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self' 'unsafe-inline';"
/>
<link
rel="stylesheet"
href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/1.4.0/css/fabric.min.css"
/>
<link
rel="stylesheet"
href="https://static2.sharepointonline.com/files/fabric/office-ui-fabric-js/1.4.0/css/fabric.components.min.css"
/>
<style>
@font-face {
font-family: "Handlee";
src: url("Handlee-Regular.ttf") format("truetype"); /* Safari, Android, iOS */
}
body {
font-family: sans-serif;
}
h1 {
font-family: "Handlee", sans-serif;
}
.container {
display: grid;
grid-template-columns: auto;
grid-template-rows: 100px 300px 100px;
align-content: stretch;
justify-content: center;
}
.ms-Button.ms-Button--compound {
height: fit-content;
}
</style>
</head>
<body>
<div class="container">
<h1>Instant Pali Cards</h1>
<button class="ms-Button ms-Button--compound" id="selectBtn">
<span class="ms-Button-icon"
><i class="ms-Icon ms-Icon--plus"></i
></span>
<span class="ms-Button-label">Select .xslx file</span>
<span class="ms-Button-description"
>Choose file from anywhere, save it to your Dropbox folder</span
>
</button>
Created with Metta at Wat Sacca
</div>
<script>
require("./renderer.js");
</script>
</body>
</html>