-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontacts.html
More file actions
179 lines (150 loc) · 5.87 KB
/
contacts.html
File metadata and controls
179 lines (150 loc) · 5.87 KB
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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
<!-- <!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="contact form example">
<title>Contact Form Example</title>
</head>
<body>
<h2 class="content-head is-center">Contact Us!</h2>
<aside>
<p>
We would <em>love</em> to hear from you!
</p>
<p>
Please use the <b><em>Contact Form</em></b>
to send us a message.
</p>
</aside>
<form id="gform" method="POST" class="pure-form pure-form-stacked" data-email="from_email@example.com"
action="https://script.google.com/macros/s/AKfycbwRbYUuuM1qBlgBkxIiYVDIjtMHeirkAkijIKUt_Q/exec">
<label for="name">Name: </label>
<input id="name" name="name" placeholder="What your Mom calls you" />
<br>
<label for="message">Message: </label>
<textarea id="message" name="message" rows="10"
placeholder="Tell us what's on your mind..."></textarea>
<br>
<label for="email"><em>Your</em> Email Address:</label>
<input id="email" name="email" type="email" value=""
required placeholder="your.name@email.com" />
<button class="button-success pure-button button-xlarge">
<i class="fa fa-paper-plane"></i> Send
</button>
</form>
<!-- Customise the Thankyou Message People See when they submit the form: -->
<!-- <div id="thankyou_message">
<h2>
<em>Thanks</em> for contacting us!
We will get back to you soon!
</h2>
</div>
<script data-cfasync="false" type="text/javascript"
src="https://cdn.rawgit.com/dwyl/learn-to-send-email-via-google-script-html-no-server/master/form-submission-handler.js"></script>
</body>
</html> -->
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>Login Form</title>
<link rel="stylesheet" href="Login Form.css">
<link href="https://fonts.googleapis.com/css?family=Coiny" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Libre+Baskerville" rel="stylesheet">
<!-- CSS only -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous">
<!-- JS, Popper.js, and jQuery -->
<!-- <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"></script> -->
<style>
body{
margin: 0;
padding: 0;
font-family:'Coiny',cursive;
background: #34495e;
}
.container{
width:300px;
padding: 40px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
background: #191919;
text-align: center;
border-radius: 5px;
box-shadow: 0 50px 50px;
}
.container h1{
color: white;
font-weight: 500;
}
.container input[type="text"],.container input[type="password"]{
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid #3498db;
padding: 14px 10px;
width: 200px;
outline: none;
color: white;
font-size: 16px;
border-radius: 24px;
transition: 0.25s;
}
.container input[type="text"]:focus,.container input[type="password"]:focus{
width: 280px;
border-color: #2ecc71;
}
.container input[type="submit"]{
border: 0;
background: none;
display: block;
margin: 20px auto;
text-align: center;
border: 2px solid #2ecc71;
padding: 14px 25px;
outline: none;
color: white;
border-radius: 24px;
transition: 0.25s;
font-size: 17px;
font-family: 'Libre Baskerville', serif;
}
.container input[type="submit"]:hover{
background: #2ecc71;
}
</style>
</head>
<body>
<form id="gform" method="POST" class="container pure-form pure-form-stacked" data-email="from_email@example.com"
action="https://script.google.com/macros/s/AKfycbwRbYUuuM1qBlgBkxIiYVDIjtMHeirkAkijIKUt_Q/exec" style="width: 500px;">
<h1>Contact Us</h1>
<input type="text" id="name" name="name" placeholder="name">
<!-- <textarea id="message" name="message" rows="10" placeholder="Tell us what's on your mind..."></textarea> -->
<div class="form-group">
<label for="inputAddress" style="color: whitesmoke;">Message</label>
<input type="text" class="form-control" id="message" name="message" placeholder="Tell us what's on your mind..." style="margin-top: 0px;">
</div>
<hr>
<div class="form-group col-md-6">
<label for="inputEmail4" style="color: whitesmoke; width: 300px;margin-left: 51px;">Enter your valid Email</label>
<input type="email" class="form-control" id="email" name="email" placeholder="Your Email ...." style="width: 400px;">
</div>
<hr>
<input type="submit" value="Send">
</form>
<div style="display: none;" id="thankyou_message">
<h2>
<em>Thanks</em> for contacting us!
We will get back to you soon!
</h2>
</div>
<script data-cfasync="false" type="text/javascript"
src="https://cdn.rawgit.com/dwyl/learn-to-send-email-via-google-script-html-no-server/master/form-submission-handler.js"></script>
</body>
</html>