generated from algolia-samples/sample-application
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
39 lines (39 loc) · 1.73 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Algolia Sample template</title>
<meta name="description" content="An Algolia Sample" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Hind:wght@300;400&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/index.css" />
</head>
<body>
<div class="container">
<div class="sidebar">
<p>This is an
<a href="https://github.com/algolia-samples"> Algolia sample application,</a> showcasing how to build different emails recommendations with Algolia.<br/></br>
<a href="https://github.com/algolia-samples/email-recommendations">
View code on GitHub
</a>
</p>
<hr>
<form action="" id="templateForm">
<label for="templateName">Select an email template:</label>
<select name="templateName" id="templateName"></select>
</form>
<p id="explanation"></p>
<hr>
<form action="" id="sendForm">
<label for="toEmail">Send this email</label>
<input type="email" name="toEmail" id="toEmail" required/>
<button type="submit">Send</button>
</form>
</div>
<div id="main"></div>
</div>
<script type="text/javascript" src="js/index.js"></script>
</body>
</html>