-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpopup.html
46 lines (46 loc) · 2.19 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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body style="width: 300px;">
<div id="settings" class="text-center">
<h3>Settings</h3>
<form id="shopifySettings">
<div class="form-group">
<label for="shopifyPartnerId">Shopify Partner ID</label>
<input type="text" class="form-control" name="shopifyPartnerId" id="shopifyPartnerIdField" placeholder="Shopify Partner ID">
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="editorType" value="code" id="editorTypeCode">
<label class="form-check-label" for="editorTypeCode">Edit Code</label>
</div>
<div class="form-check form-check-inline">
<input class="form-check-input" type="radio" name="editorType" value="customize" id="editorTypeOptions">
<label class="form-check-label" for="editorTypeOptions">Edit Theme Settings</label>
</div>
<label for="customButton">Custom Buttons</label>
<div id="customButtonInputs">
</div>
<a href="#" id="addCustomButton">Add Custom Button</a>
</div>
<button class="btn btn-outline-secondary" type="Submit">Save</button>
</form>
</div>
<ul id="results" class="list-group text-center" style="display:none">
<li class="list-group-item text-right" id="settingsLink"><a href="#">settings</a></li>
<li class="list-group-item" id="shop"></li>
<li class="list-group-item">
<div class="alert alert-danger" style="display:none" id="notPurchasedAlert">
This theme might be pirated
</div>
<div id="theme"></div>
</li>
<li class="list-group-item" id="access"></li>
<li class="list-group-item" id="edit"></li>
<li class="list-group-item" id="login"></li>
<div id="custom"></div>
</ul>
<script type="text/javascript" src="mustache.min.js"></script>
<script type="text/javascript" src="popup.js"></script>
</body>
</html>