-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
72 lines (62 loc) · 2.97 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
62
63
64
65
66
67
68
69
70
71
72
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Loyalty Lion</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-MrcW6ZMFYlzcLA8Nl+NtUVF0sA7MsXsP1UyJoMp4YLEuNSfAP+JcXn/tWtIaxVXM" crossorigin="anonymous"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap" rel="stylesheet">
</head>
<body>
<section>
<div class="header"><img src="logo-1x.png" alt=""></div>
<div class="flex-container">
<h2>Connect with <b> LoyaltyLion</b></h2>
<form onsubmit="return onSubmit(event)">
<div class="form-group">
<label for="gorgiasEmail">Gorgias username (Your email address)</label>
<input type="email" id="gorgiasEmail" name="gorgiasEmail" placeholder="[email protected]" class="form-control form-control-lg" required>
</div>
<div class="form-group">
<label for="gorgiasDomain">Gorgias account domain</label>
<div class="input-group">
<input type="text" id="gorgiasDomain" name="gorgiasDomain" placeholder="mystore" class="form-control form-control-lg" required>
<span class="input-group-text">.gorgias.com</span>
</div>
</div>
<div class="form-group">
<label for="gorgiasAPIKey">
Gorgias API Key
<span class="info-btn">
<p>To find your Gorgias API key, visit<strong> Settings -> REST API</strong> and copy the text below the <strong>Password (API Key)</strong> field.
</p>
</span>
</label>
<input type="text" id="gorgiasAPIKey" name="gorgiasAPIKey" class="form-control form-control-lg" required>
</div>
<div class="form-group">
<label for="loyaltyLionAPIToken">LoyaltyLion API Token</label>
<input type="password" id="loyaltyLionAPIToken" name="loyaltyLionAPIToken" class="form-control form-control-lg" required>
</div>
<div class="form-group">
<label for="loyaltyLionAPISecret">
LoyaltyLion API Secret
<span class="info-btn">
<p>You can find your <strong>API key</strong> in your <a href="https://google.com" target="_blank">LoyaltyLion settings.</a></p>
</span>
</label>
<input type="password" id="loyaltyLionAPISecret" name="loyaltyLionAPISecret" class="form-control form-control-lg" required>
</div>
<button id="connectButton" type="submit" name="connectButton" class="btn btn-info btn-lg">
Connect with LoyaltyLion
</button>
</form>
</div>
</section>
</body>
<script type="text/javascript" src="./index.js"></script>
</html>