-
Notifications
You must be signed in to change notification settings - Fork 1
/
styleguide.html
273 lines (272 loc) · 15.3 KB
/
styleguide.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!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">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name="description" content="">
<meta name="author" content="">
<title>Theme Template for Bootstrap</title>
<!-- Bootstrap core CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Bootstrap theme -->
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<!-- Custom styles for this template -->
<link href="//getbootstrap.com/examples/theme/theme.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" crossorigin="anonymous">
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
<div class="container theme-showcase" role="main">
<!-- Main jumbotron for a primary marketing message or call to action -->
<div class="jumbotron">
<h1>US&R StyleGuide</h1>
<p>This is a styleguide showcasing the stylesheet included in the responder system. Use it as a starting point to create something more unique by building on or modifying it.</p>
</div>
<div class="page-header">
<h1>Buttons</h1>
</div>
<p>
<button type="button" class="btn btn-lg btn-default">Default</button>
<button type="button" class="btn btn-lg btn-primary">Primary</button>
<button type="button" class="btn btn-lg btn-success">Success</button>
<button type="button" class="btn btn-lg btn-danger">Danger</button>
<button type="button" class="btn btn-lg btn-link">Link</button>
</p>
<div class="page-header">
<h1>Labels</h1>
</div>
<h5>
<span class="label label-default">Default</span>
<span class="label label-primary">Primary</span>
<span class="label label-success">Success</span>
<span class="label label-info">Info</span>
<span class="label label-warning">Warning</span>
<span class="label label-danger">Danger</span>
</h5>
<h5>
<img src="http://placehold.it/50/55C1E7/fff&text=TL" alt="User Avatar" class="img-circle" />
<img src="http://placehold.it/50/FA6F57/fff&text=ME" alt="User Avatar" class="img-circle" />
</h5>
<div class="page-header">
<h1>Icons</h1>
</div>
<h5>
<span class="glyphicon glyphicon-comment"></span>
<span class="glyphicon glyphicon-camera"></span>
<span class="glyphicon glyphicon-film"></span>
<span class="glyphicon glyphicon-volume-up"></span>
<span class="glyphicon glyphicon-volume-down"></span>
<span class="glyphicon glyphicon-time"></span>
<i class="fa fa-envelope fa-fw"></i>
<i class="fa fa-caret-down"></i>
<i class="fa fa-angle-right"></i>
<i class="fa fa-bell fa-fw"></i>
<i class="fa fa-comment fa-fw"></i>
<i class="fa fa-twitter fa-fw"></i>
<i class="fa fa-tasks fa-fw"></i>
<i class="fa fa-upload fa-fw"></i>
<i class="fa fa-user fa-fw"></i>
<i class="fa fa-gear fa-fw"></i>
<i class="fa fa-sign-out fa-fw"></i>
<i class="fa fa-search"></i>
<i class="fa fa-bar-chart-o fa-fw"></i>
<i class="fa fa-hospital-o fa-fw"></i>
<i class="fa fa-ambulance fa-fw"></i>
<i class="fa fa-user-md fa-fw"></i>
<i class="fa fa-warning fa-fw"></i>
<i class="fa fa-heartbeat fa-fw"></i>
<i class="fa fa-bolt fa-fw"></i>
<i class="fa fa-check fa-fw"></i>
</h5>
<div class="page-header">
<h1>Badges</h1>
</div>
<p>
<a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Inbox <span class="badge">42</span></a>
</p>
<ul class="nav nav-pills" role="tablist">
<li role="presentation" class="active"><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Home <span class="badge">42</span></a></li>
<li role="presentation"><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Profile</a></li>
<li role="presentation"><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Messages <span class="badge">3</span></a></li>
</ul>
<div class="dropdown theme-dropdown clearfix">
<a id="dropdownMenu1" href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#" class="sr-only dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1">
<li class="active"><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Action</a></li>
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Another action</a></li>
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Separated link</a></li>
</ul>
</div>
<div class="page-header">
<h1>Navbars</h1>
</div>
<nav class="navbar navbar-default">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Project name</a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Home</a></li>
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#about">About</a></li>
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#contact">Contact</a></li>
<li class="dropdown">
<a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
<ul class="dropdown-menu">
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Action</a></li>
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Another action</a></li>
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Something else here</a></li>
<li role="separator" class="divider"></li>
<li class="dropdown-header">Nav header</li>
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">Separated link</a></li>
<li><a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#">One more separated link</a></li>
</ul>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</nav>
<div class="page-header">
<h1>List groups</h1>
</div>
<div class="row">
<div class="col-sm-4">
<ul class="list-group">
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Morbi leo risus</li>
<li class="list-group-item">Porta ac consectetur ac</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
</div>
<!-- /.col-sm-4 -->
<div class="col-sm-4">
<div class="list-group">
<a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#" class="list-group-item active">
Cras justo odio
</a>
<a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#" class="list-group-item">Dapibus ac facilisis in</a>
<a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#" class="list-group-item">Morbi leo risus</a>
<a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#" class="list-group-item">Porta ac consectetur ac</a>
<a href="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/public/chii/styleguide.html#" class="list-group-item">Vestibulum at eros</a>
</div>
</div>
<!-- /.col-sm-4 -->
<!-- /.col-sm-4 -->
</div>
<div class="page-header">
<h1>Panels</h1>
</div>
<div class="row">
<div class="col-sm-4">
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">Panel title</h3>
</div>
<div class="panel-body">
Panel content
</div>
</div>
<div class="panel panel-primary">
<div class="panel-heading">
<h3 class="panel-title">Panel title</h3>
</div>
<div class="panel-body">
Panel content
</div>
</div>
</div>
<!-- /.col-sm-4 -->
<!-- /.col-sm-4 -->
<!-- /.col-sm-4 -->
</div>
<div class="page-header">
<h1>Search Bar</h1>
</div>
<div class="row">
<div class="col-sm-4">
<div class="input-group custom-search-form">
<input id="search-input" type="text" class="form-control" placeholder="Search...">
<span class="input-group-btn">
<button class="btn btn-default" type="button">
<i class="fa fa-search"></i>
</button>
</span>
</div>
</div>
<!-- /.col-sm-4 -->
<!-- /.col-sm-4 -->
<!-- /.col-sm-4 -->
</div>
<div class="page-header">
<h1>Map</h1>
</div>
<div class="row">
<div class="col-md-8">
<div id="map" style="height:600px"></div>
</div>
</div>
</div>
<script>
function createMarker(map, id, name, lat, lng, tel){
var contentString = '<div id="content">'+
'<div id="bodyContent">'+
'<p><b>' + name + '</b></p>'+
'<p><b><i class="fa fa-heartbeat fa-fw"></i></b><a href="/chii#' + id + '">' + name + '\'s health status</a></p>' +
'<p><b><i class="fa fa-phone fa-fw"></i></b><a href="tel:' + tel + '">' + tel + '</a></p>' +
'<p><b><i class="fa fa-map-marker fa-fw"></i></b><a href="https://maps.google.com?saddr=Current+Location&daddr=' + lat + ',' + lng + '">Direction</p>' +
'</div>'+
'</div>';
var infowindow = new google.maps.InfoWindow({
content: contentString
});
var marker = new google.maps.Marker({
position: {lat: lat, lng: lng},
title: name,
map: map,
});
marker.addListener('click', function() {
infowindow.open(map, marker);
});
return marker;
}
function initMap() {
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 15,
center: {lat: 37.402, lng: -122.07}
});
createMarker(map, 1, 'Eric Bachman', 37.402, -122.07, '123-456-7890');
}
</script>
<!-- /container -->
<!-- Bootstrap core JavaScript
================================================== -->
<!-- Placed at the end of the document so the pages load faster -->
<!-- <script src="./Theme Template for Bootstrap_files/jquery.min.js"></script> -->
<!-- <script>window.jQuery || document.write('<script src="../../assets/js/vendor/jquery.min.js"><\/script>')</script> -->
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<!-- <script src="file:///Users/walia-mac/Documents/cmu/workspace/prep/srid_task5/usar/assets/js/docs.min.js"></script> -->
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
<script src="//getbootstrap.com/assets/js/ie10-viewport-bug-workaround.js"></script>
<script async defer src="//maps.googleapis.com/maps/api/js?key=AIzaSyB5FvpOiPafON2wTpP9cxQHnff73QTStHw&callback=initMap"></script>
</body>
</html>