-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathservice.html
177 lines (156 loc) · 4.44 KB
/
service.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
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
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>The Blurb</title>
<link rel="stylesheet" href="css/foundation.css" />
<link href="css/datepicker.css" rel="stylesheet" type="text/css"/>
<script src="js/modernizr.js"></script>
<script src="js/jquery.js"></script>
<!-- Plugin files below -->
<link rel="stylesheet" type="text/css" href="src/jquery.ptTimeSelect.css" />
<link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.21/themes/redmond/jquery-ui.css" />
<script type="text/javascript" src="src/jquery.ptTimeSelect.js"></script>
<script src="http://code.jquery.com/ui/1.10.3/jquery-ui.js"></script>
<script>
$(function() {
var electrical = [
"Wiring",
"Circut Breaker"
];
var plumbing = [
"Toilet",
"Busted Pipe",
"Water Heater"
];
var availableTags = [
"Option1",
"Option2",
"Option3"
];
function split( val ) {
return val.split( /,\s*/ );
}
function extractLast( term ) {
return split( term ).pop();
}
$( "#tags" )
// don't navigate away from the field on tab when selecting an item
.bind( "keydown", function( event ) {
if ( event.keyCode === $.ui.keyCode.TAB &&
$( this ).data( "ui-autocomplete" ).menu.active ) {
event.preventDefault();
}
})
.autocomplete({
minLength: 0,
source: function( request, response ) {
// delegate back to autocomplete, but extract the last term
response( $.ui.autocomplete.filter(
availableTags, extractLast( request.term ) ) );
},
focus: function() {
// prevent value inserted on focus
return false;
},
select: function( event, ui ) {
var terms = split( this.value );
// remove the current input
terms.pop();
// add the selected item
terms.push( ui.item.value );
// add placeholder to get the comma-and-space at the end
terms.push( "" );
this.value = terms.join( ", " );
return false;
}
});
});
$(function(){
$('#datepicker').datepicker();
});
</script>
<style type="text/css">
.drop{
text-shadow: 0px 1px 1px #4d4d4d;
font-size:20px;
color: #EFEFEF;
font-weight:600;
}
#BG{
position: fixed;
top: 0;
left: 0;
/* Preserve aspet ratio */
min-width: 100%;
min-height: 100%;
}
body{
background-color: #272727;
}
</style>
</head>
<body>
<!-- <img src="img/images_3137_1.jpg" id="bg" alt=""> -->
<nav class="top-bar" data-topbar>
<ul class="title-area">
<li class="name">
<h1><a href="#" style="font-size: 20px">Traclyst</a></h1>
</li>
</ul>
<section class="top-bar-section">
<!-- Right Nav Section -->
<ul class="right">
<li ><a href="#">Login</a></li>
<li class="active"><a href="#">Register</a></li>
</ul>
<!-- Left Nav Section -->
<ul class="left">
<li><a href="#">About</a></li>
</ul>
</section>
</nav>
<div class = "row">
<div class="large-12 columns">
<br>
<br>
<div class = "large-3 large-centered columns ">
<H5 style="color: white; font-size: 50px; margin-left: 10px;"> Traclyst</H5>
</div>
</div>
</div>
<div class = "row">
<div class = "large-3 large-centered columns ">
<H5 style="color: white; font-size: 50px"> Service</H5>
</div>
</div>
<div class = "row">
<div class = "large-6 columns ">
<label class = "drop">Date</label>
<input type="text" placeholder="" id="datepicker"/>
</div>
<div class = "large-6 columns">
<label class = "drop">Time</label>
<input type="text" placeholder="" id="timepicker"/>
</div>
</div>
<div class = "row">
<div class = "large-3 large-centered columns ">
<label class = "drop">Sub-Service</label>
<input type="text" id="tags" placeholder="" />
</div>
</div>
<div class="row">
<div class="large-3 large-centered columns">
<br>
<input type="submit" class="small button" value=" Next " />
</div>
</div>
<script type="text/javascript">
$(document).ready(function(){
// find the input fields and apply the time select to them.
$('#timepicker').ptTimeSelect();
});
</script>
</body>
</html>