This repository has been archived by the owner on Jul 31, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
60 lines (59 loc) · 2.71 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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Figma Plus</title>
</head>
<link rel="stylesheet" href="./style.css">
<body>
<div id="root">
<div class="nav">
<button id="close">
<svg width="13" height="13" viewBox="0 0 13 13" xmlns="http://www.w3.org/2000/svg">
<path d="M11.4499 0.84314L12.157 1.55025L7.20722 6.49999L12.157 11.4497L11.4499 12.1568L6.50012 7.2071L1.55037 12.1568L0.843262 11.4497L5.79301 6.49999L0.843262 1.55025L1.55037 0.84314L6.50012 5.79289L11.4499 0.84314Z" />
</svg>
</button>
<div id="dropdown">
<button id="settings">
<svg width="17" height="17" viewBox="0 0 17 17" xmlns="http://www.w3.org/2000/svg">
<path d="M8 5H9V8H12V9H9V12H8V9H5V8H8V5Z" />
<path fill-rule="evenodd" clip-rule="evenodd" d="M17 0V9H16.9855C16.7267 13.4617 13.0266 17 8.5 17C3.80558 17 0 13.1944 0 8.5C0 3.97343 3.53831 0.273272 8 0.0144615V0H17ZM16 8.72172L15.9872 8.94209C15.7589 12.878 12.4937 16 8.5 16C4.35786 16 1 12.6421 1 8.5C1 4.50631 4.12203 1.24109 8.05791 1.01278L8.27829 1H16V8.72172Z" />
</svg>
</button>
<div id="settings-menu">
<button id="devmode"><span></span> Turn On Dev mode</button>
</div>
</div>
</div>
<div id="locating" class="show">
<div class="content">
<div class="lds-ripple"><div></div><div></div></div>
<div class="note">Locating Figma</div>
</div>
<button id="locate"><span>locate Manually</span><div class="lds-ripple"><div></div><div></div></div></button>
</div>
<div id="install">
<div class="content">
<img src="./figma.svg" width="64" height="64" />
<div class="note"><small>Found Figma in</small></div>
<div id="path" class="note"></div>
</div>
<button id="inject"><span>install</span><div class="lds-ripple"><div></div><div></div></div></button>
</div>
<div id="uninstall">
<div class="content">
<img class="demo" src="./figmaplus.svg" />
<div class="note"><h3></h3>Installed. Have fun! 😉</h3></div>
<div class="note"><small>Don't forget to report any issue you find.</small></div>
</div>
<button id="uninject"><span>uninstall</span><div class="lds-ripple"><div></div><div></div></div></button>
</div>
<div id="error">
</div>
<script>
// You can also require other files to run in this process
require('./renderer.js')
</script>
</div>
</body>
</html>