This repository was archived by the owner on Aug 15, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcontact.html
More file actions
136 lines (110 loc) · 4.47 KB
/
contact.html
File metadata and controls
136 lines (110 loc) · 4.47 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
<!-- Avinash Singh -->
<!DOCTYPE html >
<head>
<meta http-equiv="content-type" content="text/html;charset=utf-8" />
<title>Contact</title>
<link rel="icon" type="image/png" href="img/Logo2.png">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
<link rel="stylesheet" href="css/font-awesome.min.css" rel="stylesheet">
<script src="js/vendor/jquery-1.10.2.min.js"></script>
</head>
<style type="text/css">
body {background-color: black;}
</style>
<body>
<br/>
<a href="https://hyperperform.github.io" ><img src="img/logo.png" style="margin-left: 10px" alt="" height="200px" width="210px" class="img-responsive"></a>
<div class="container">
<br/><br/><br/><br/>
<form class="well form-horizontal" action="https://formspree.io/hyperperformteam@gmail.com" method="post" id="contact_form">
<fieldset>
<!-- Form Name -->
<div >
<center><legend style="color: #337AB7">Contact Us!<br/></legend></center>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label"><span style="color:red; font-weight:bolder;">* </span>Name</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-user"></i></span>
<input name="name" id="name" placeholder="Name" class="form-control" type="text" required="required">
</div>
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label">E-Mail (optional)</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-envelope"></i></span>
<input name="email" id="email" placeholder="E-Mail Address" class="form-control" type="text">
</div>
</div>
</div>
<!-- Text input-->
<div class="form-group">
<label class="col-md-4 control-label">Phone Number (optional)</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-earphone"></i></span>
<input id="phone" name="phone" placeholder="eg. 012 345 6789" class="form-control" type="text">
</div>
</div>
</div>
<!-- Subject -->
<div class="form-group">
<label class="col-md-4 control-label">Subject</label>
<div class="col-md-4 selectContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-list"></i></span>
<select name="subject" id="subject" class="form-control selectpicker" required="required">
<option>Question</option>
<option>Feedback</option>
<option>Complaint</option>
<option>Suggestion</option>
<option>Bug</option>
</select>
</div>
</div>
</div>
<!-- Text area -->
<div class="form-group">
<label class="col-md-4 control-label"><span style="color:red; font-weight:bolder;">* </span>Description</label>
<div class="col-md-4 inputGroupContainer">
<div class="input-group">
<span class="input-group-addon"><i class="glyphicon glyphicon-pencil"></i></span>
<textarea class="form-control" name="comment" id="comment" required="required" placeholder="Write your comment here ..."></textarea>
</div>
</div>
</div>
<!-- Success message -->
<center><div class="alert alert-danger" role="alert" id="success_message"></div>
</center>
<!-- Button -->
<div class="form-group">
<label class="col-md-4 control-label"></label>
<center><div class="col-md-4">
<button id="b" name="b" type="button" class="btn btn-warning" onclick="send()">Send <span class="glyphicon glyphicon-send"></span></button>
<div id="bb" name="bb" ></div>
</div></center>
</div>
</fieldset>
</form>
</div>
</div><!-- /.container -->
<script type="text/javascript">
// $("#bb").addClass("hidden");
function send()
{
if ( ($('#name').val().length > 0 ) && ($('#comment').val().length > 0) )
{
$("#b").html("<span class='icon-spinner icon-spin icon-large' ></span>");
$("#contact_form").submit();
}
else $('#success_message').text("Please fill out the required fields");
}
</script>
</body>
</html>