-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
144 lines (128 loc) · 5.39 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
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css"
integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<style type="text/css">
.navbar-brand>span {
margin-left: 0;
padding-top: 10px;
}
.container {
max-width: 650px;
}
.setting-section {
margin: 25px;
}
.color-section {
width: 100%;
}
.color-description {
width: 100%;
display: flex;
flex-direction: row;
}
.color-section label {
align-self: flex-start;
}
.color-demo-field {
align-self: flex-end;
border: 1px solid;
max-width: 100%;
min-width: 30%;
height: 24px;
}
.btn-primary {
border-color: #27BF9D;
border-radius: 4px;
color: #000;
background-color: #27BF9D;
}
.btn-primary:hover {
border-color: #27BF9D;
border-radius: 4px;
color: #000;
background-color: #27BF9D;
}
</style>
</head>
<body>
<nav class="navbar navbar-light bg-light">
<div class="container-fluid">
<img src="./assets/images/livelike-logo.svg" class="d-inline-block align-text-top" />
<a class="navbar-brand" href="#">
<h1> Experience Builder </h1>
</a>
<ul class="navbar-nav "></ul>
</div>
</nav>
<div class="container">
<div class="row ">
<div class="setting-section section-setup">
<h5>Setup</h5>
<form autocomplete="off">
<div class="form-group">
<label for="experience-name-input">Experience Name</label>
<input type="text" class="form-control" id="experience-name-input"
placeholder="Experience name...">
</div>
<div class="form-group">
<label for="language-select">Language</label>
<select class="form-control" id="language-select" placeholder="Language..."
onchange="app.handleValueChange(event, 'language')">
<option value="en" selected>English</option>
<option value="fr">French</option>
</select>
</div>
</form>
</div>
<div class="setting-section section-visuals">
<h5>Visuals</h5>
<form autocomplete="off">
<div class="form-group">
<label for="login-banner-url-input">Log-in Bannner Image URL</label>
<input type="file" class="form-control" id="login-banner-url-input"
onchange="app.handleFileUpload('loginBannerImageUrl', 'login-banner-url-input')">
</div>
<div class="form-group">
<label for="header-banner-url-input">Header Bannner Image URL</label>
<input type="file" class="form-control" id="header-banner-url-input"
onchange="app.handleFileUpload('headerBannerImageUrl', 'header-banner-url-input')">
</div>
<div class="form-group">
<label for="font-file-url-input">Font File URL</label>
<input type="file" class="form-control" id="font-file-url-input"
onchange="app.handleFileUpload('fontFileUrl', 'font-file-url-input')">
</div>
</form>
</div>
<div class="setting-section section-colors">
<h5>Colors</h5>
<form autocomplete="off" class="form-colors"></form>
</div>
<div class="setting-section section-submit">
<button class="btn btn-primary" id="create-environment-button">Create Environment</button>
</div>
<div class="setting-section">
<a target="_blank" id="experience-link" href=""></a>
<br />
<a target="_blank" id="cms-link" href=""></a>
<br />
<div id="qrcode" style="width:100px; height:100px; margin-top:15px;"></div>
<!-- <button disabled id="download-qr-code-button" onclick="handleDownloadQrCode()" class="btn btn-warning">Download QR Code</button> -->
</div>
</div>
</div>
<script src="./config.template.js"></script>
<script src="./config.js"></script>
<script src="./scripts/qrcode.min.js"></script>
<script src="./scripts/utils.js"></script>
<script src="./scripts/api.js"></script>
<script src="./scripts/app.js"></script>
<script src="./scripts/index.js"></script>
</body>
</html>