-
Notifications
You must be signed in to change notification settings - Fork 2
/
email_builder.html
77 lines (71 loc) · 3.11 KB
/
email_builder.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
<!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>Make your email</title>
<link rel="stylesheet" href="./styles/email_builder.css">
<script src="https://kit.fontawesome.com/8c2f4761e6.js" crossorigin="anonymous"></script>
<script src="//cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<link rel="stylesheet" href="./navbar-after.css">
</head>
<body>
<div id="navbar_container"></div>
<div class="email-builder">
<form>
<div class="input-group">
<input type="email" id="sender-email" required>
<label for="sender-email"><i class="fa-solid fa-envelope"></i> Your Email Id</label>
</div>
<div class="input-group">
<input type="email" id="reciever-email" required>
<label for="reciever-email"><i class="fa-solid fa-envelope"></i> Reciever's Email Id</label>
</div>
<div class="input-group">
<input type="text" id="subject" required>
<label for="subject"><i class="fa-solid fa-pen-nib"></i> Subject</label>
</div>
<div class="row">
<div class="input-group">
<input type="text" id="name" required>
<label for="name"><i class="fa-solid fa-user"></i> Your Name</label>
</div>
<div class="input-group">
<input type="tel" id="number" required>
<label for="number"><i class="fa-solid fa-phone-square-alt"></i> Phone no.</label>
</div>
</div>
<div class="input-group">
<textarea id="message" rows="10" required></textarea>
<label for="message"><i class="fa-solid fa-message"></i> Your Message</label>
</div>
<button onclick="getData(event)" class="button1"> SUBMIT <i class="fa-solid fa-paper-plane"></i></button>
<div id="next">
<button onclick="nextPage()" class="button2">Continue <i class="fa-solid fa-forward"></i></button>
</div>
</form>
</div>
</body>
</html>
<script src="./scripts/email_builder.js"></script>
<!-- onclick="debounce(getData,5000)" -->
<script type="module">
import navbar_After from './components/navbar_after.js' ;
let container=document.getElementById("navbar_container") ;
container.innerHTML=navbar_After() ;
let user_name = document.querySelector('#user-name');
let user_data = JSON.parse(localStorage.getItem('user_data')) ;
if(user_data.length>=1){
let user=user_data[user_data.length-1] ;
user_name.innerHTML= `<a href="./logout.html">${user.fullName}</a>` ;
}
let nav_butt = document.querySelector('#nav-button>button');
nav_butt.addEventListener('click', ()=>{
window.location.href = "Pricing.html";
})
let overview = document.querySelector('#logo');
overview.addEventListener('click', ()=>{
window.location.href = "overview.html";
})
</script>