-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
105 lines (92 loc) · 3.21 KB
/
index.html
File metadata and controls
105 lines (92 loc) · 3.21 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
<!DOCTYPE HTML>
<html lang="en-US">
<head>
<meta charset="UTF-8">
<title>Home</title>
<link rel="stylesheet" type="text/css" media="all" href="/css/bootstrap.css">
<!--Responsive stuff-->
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/css" media="all" href="/css/bootstrap-responsive.css">
<style type="text/css">
.headroom{
margin-top:15px;
}
#doSomething{
display: none;
}
#where, #when{
font-size: 18px;
line-height: 24px;
height: 40px;
}
.maxwidth{
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
<!-- If they choose to do something -->
<div id="doSomething">
<div class="container">
<div class="hero-unit headroom maxwidth">
<div class="row-fluid">
<div class="span12">
<h1>What's up?</h1>
</div>
</div>
<div class="row-fluid">
<div class="span6">
<div class="row-fluid headroom">
<input id="where" class="span12 search-query" type="text" placeholder="Where?">
</div>
</div>
<div class="span6">
<div class="row-fluid headroom">
<input id="when" class="span12 search-query" type="text" placeholder="When? (Optional)">
</div>
</div>
</div>
</div>
</div>
</div>
<!-- On initial page load -->
<div id="welcome">
<div class="container">
<div class="hero-unit headroom maxwidth">
<div class="row-fluid">
<div class="span12">
<h1>Hey there. <small>Nice tie.</small></h1>
</div>
</div>
<div class="row-fluid">
<div class="span6">
<div class="row-fluid headroom">
<a id="view" href="#" class="btn btn-large span12">View listings</a>
</div>
</div>
<div class="span6">
<div class="row-fluid headroom">
<a id="do" href="#" class="btn btn-large span12 btn-primary">Do something</a>
</div>
</div>
</div>
</div>
</div>
</div>
<!--Scripts-->
<script type="text/javascript" src="/js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="/js/bootstrap.js"></script>
<script type="text/javascript">
$(document).ready(function(){
//TODO: Set this to "tap" iff on mobile device
var click = "click"
$("#do").live(click, function(){
$("#welcome").slideUp();
$("#doSomething").slideDown();
});
});
</script>
</body>
</html>