-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
405 lines (384 loc) · 18.5 KB
/
index.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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset='UTF-8'>
<meta name="description" content="Styles for Weill Cornell Medicine">
<link rel="stylesheet" href="dist/wcm.css">
<title>WCM Styles</title>
<meta property="og:title" content="WCM Styles" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://wcmc-its.github.io/wcm-styles/" />
<meta property="og:image" content="https://wcmc-its.github.io/wcm-styles/images/WCM_MB_LOGO_HZSS2L_CLR_RGB.png" />
<style media="screen">
section {
padding-top: 4rem;
}
</style>
</head>
<body data-offset="55" data-target="#navbar-collapse-links" data-spy="scroll">
<header>
<nav class="bg-primary fixed-top navbar navbar-dark navbar-expand-xl navbar-wcm ">
<div class="container">
<a class="navbar-brand" href="http://weill.cornell.edu/">
<img title="WCM Logo" src="images/wcm-logo-1line-white.png" alt="Wcm logo 1line white">
</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbar-collapse-links" aria-controls="navbarTogglerDemo02" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbar-collapse-links" role="navigation">
<div class="navbar-text github-link">
<a href="https://github.com/wcmc-its/wcm-styles">
<img src="images/GitHub-Mark-Light-32px.png" alt="GitHub Repo">
</a>
</div>
<ul class="navbar-nav mr-auto mt-2 mt-lg-0">
<li class="nav-item">
<a class="nav-link" href="#headings">Headings</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#tabs">Tabs</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#forms">Forms</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#font-awesome">Font Awesome</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#tables">Tables</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#backgrounds">Backgrounds</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#text">Text</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#pagination">Pagination</a>
</li>
</ul>
</div>
</div>
</nav>
</header>
<div class="container mt-4" id="main">
<div class="row">
<div class="col">
<h1 class="display-4">WCM Styles</h1>
</div>
</div>
<section id="headings">
<div class="row card">
<div class="card-header">Headings</div>
<div class="card-body">
<h1>Heading level 1 </h1>
<h2>Heading level 2 </h2>
<h3>Heading level 3 </h3>
<h4>Heading level 4 </h4>
<h5>Heading level 5 </h5>
</div>
</div>
</section>
<section id="tabs">
<div class="row card">
<div class="card-header">Tabs</div>
<div class="card-body">
<ul class="mb-4 nav nav-tabs" role="tablist">
<li class="nav-item" role="presentation">
<a aria-controls="search-tab" class="active nav-link" data-target="#tab1-content"
data-toggle="tab" href="#" role="tab" aria-expanded="true">
Tab 1
</a>
</li>
<li class="nav-item" role="presentation">
<a aria-controls="browse-tab" class="nav-link" data-target="#tab2-content"
data-toggle="tab" href="#" role="tab" aria-expanded="false">
Tab 2
</a>
</li>
<li class="nav-item" role="presentation">
<a aria-controls="browse-tab" class="nav-link" data-target="#tab3-content"
data-toggle="tab" href="#" role="tab" aria-expanded="false">
Tab 3
</a>
</li>
</ul>
<div class="tab-content" id="nav-tabContent">
<div class="tab-pane fade show active" id="tab1-content" role="tabpanel">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
<div class="tab-pane fade" id="tab2-content" role="tabpanel">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
<div class="tab-pane fade" id="tab3-content" role="tabpanel">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
</div>
</div>
</div>
</div>
</section>
<section id="forms">
<div class="row card">
<div class="card-header">Forms</div>
<div class="card-body">
<form>
<label for="q">Input Group</label>
<div class="input-group search form-group">
<input name="q" id="q" class="form-control" placeholder="Inline placeholder"
required="required"
type="search">
<div class="input-group-append">
<button class="btn btn-primary" type="submit">
<i class="fa fa-search"></i>
<span class="hidden-xs">Appended Button</span>
</button>
</div>
</div>
</form>
<form>
<div class="form-group">
<label for="exampleInputEmail1">Email address</label>
<input type="email" class="form-control" id="exampleInputEmail1" placeholder="Email">
</div>
<div class="form-group">
<label for="exampleInputPassword1">Password</label>
<input type="password" class="form-control" id="exampleInputPassword1" placeholder="Password">
</div>
<div class="form-group">
<label for="exampleInputFile">File input</label>
<input type="file" id="exampleInputFile">
<p class="help-block">Example block-level help text here.</p>
</div>
<div class="checkbox">
<label>
<input type="checkbox"> Check me out
</label>
</div>
<div class="form-group">
<span
class="btn text-info"
data-content="<code>$("[data-toggle='popover']").popover()</code>"
data-html="true"
data-title="Must be enabled with JavaScript"
data-toggle="popover"
data-trigger="focus hover">
<i class="fa fa-info-circle"></i>
</span>
Information Popover
</div>
<button type="submit" class="btn btn-outline-dark">Submit</button>
</form>
<hr>
<h5>Buttons</h5>
<div class="my-2 row">
<button type="button" class="btn btn-primary mx-1">Primary</button>
<button type="button" class="btn btn-secondary mx-1">Secondary</button>
<button type="button" class="btn btn-success mx-1">Success</button>
<button type="button" class="btn btn-danger mx-1">Danger</button>
<button type="button" class="btn btn-warning mx-1">Warning</button>
<button type="button" class="btn btn-info mx-1">Info</button>
<button type="button" class="btn btn-light mx-1">Light</button>
<button type="button" class="btn btn-dark mx-1">Dark</button>
<button type="button" class="btn btn-link mx-1">Link</button>
</div>
<h5>Outline Buttons</h5>
<div class="my-2 row">
<button type="button" class="btn btn-outline-primary mx-1">Primary</button>
<button type="button" class="btn btn-outline-secondary mx-1">Secondary</button>
<button type="button" class="btn btn-outline-success mx-1">Success</button>
<button type="button" class="btn btn-outline-danger mx-1">Danger</button>
<button type="button" class="btn btn-outline-warning mx-1">Warning</button>
<button type="button" class="btn btn-outline-info mx-1">Info</button>
<button type="button" class="btn btn-outline-light mx-1">Light</button>
<button type="button" class="btn btn-outline-dark mx-1">Dark</button>
</div>
<h5>Dropdowns</h5>
<span class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
Dropdown button
</button>
<div class="dropdown-menu" aria-labelledby="dropdownMenuButton">
<a class="dropdown-item" href="#">Action</a>
<a class="dropdown-item" href="#">Another action</a>
<a class="dropdown-item" href="#">Something else here</a>
</div>
</span>
<span class="dropdown">
<button class="btn btn-link dropdown-toggle" data-toggle="dropdown" href="javascript:void(0)" type="button" aria-expanded="false">
Dropdown Link
<span class="caret"></span>
</button>
<ul class="dropdown-menu">
<li><a class="dropdown-item" href="#">Item 1</a></li>
<li><a class="dropdown-item" href="#">Item 2</a></li>
</ul>
</span>
<hr>
<h5>
<label for="phone">Inputmask </label>
<a class="text-dark" href="https://github.com/RobinHerbots/Inputmask" target="_blank"
title="Inputmask on GitHub">
<span hidden>Inputmask on GitHub</span>
<i class="fa fa-external-link"></i>
</a>
</h5>
<input data-inputmask="'alias': 'phone'" type="tel" name="phone" value="" id="phone"
class="form-control" placeholder="Masked phone number">
</div>
</div>
</section>
<section id="font-awesome">
<div class="row card">
<div class="card-header"><a class="text-dark" href="http://fontawesome.io" target="_blank">Font Awesome <i class="fa fa-external-link"></i></a></div>
<div class="card-body">
<table class="table text-center">
<tbody>
<td><i class="fa fa-calendar"></i></td>
<td><i class="fa fa-info"></i></td>
<td><i class="fa fa-question-circle"></i></td>
<td><i class="fa fa-sign-in"></i></td>
<td><i class="fa fa-sign-out"></i></td>
<td><i class="fa fa-university"></i></td>
<td><i class="fa fa-users"></i></td>
</tbody>
</table>
</div>
</div>
</section>
<section id="tables">
<div class="row card">
<div class="card-header">Striped Tables</div>
<div class="card-body">
<table class="table table-striped">
<thead>
<tr>
<th>#</th>
<th>First Name</th>
<th>Last Name</th>
<th>Username</th>
</tr>
</thead>
<tbody>
<tr>
<th scope="row">1</th>
<td>Mark</td>
<td>Otto</td>
<td>@mdo</td>
</tr>
<tr>
<th scope="row">2</th>
<td>Jacob</td>
<td>Thornton</td>
<td>@fat</td>
</tr>
<tr>
<th scope="row">3</th>
<td>Larry</td>
<td>the Bird</td>
<td>@twitter</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<section id="backgrounds">
<div class="row card">
<div class="card-header">Backgrounds</div>
<div class="card-body">
<div class="p-3 mb-2 bg-primary text-white">.bg-primary</div>
<div class="p-3 mb-2 bg-secondary text-white">.bg-secondary</div>
<div class="p-3 mb-2 bg-success text-white">.bg-success</div>
<div class="p-3 mb-2 bg-danger text-white">.bg-danger</div>
<div class="p-3 mb-2 bg-warning text-dark">.bg-warning</div>
<div class="p-3 mb-2 bg-info text-white">.bg-info</div>
<div class="p-3 mb-2 bg-light text-dark">.bg-light</div>
<div class="p-3 mb-2 bg-dark text-white">.bg-dark</div>
<div class="p-3 mb-2 bg-white text-dark">.bg-white</div>
</div>
</div>
</section>
<section id="text">
<div class="row card">
<div class="card-header">Text</div>
<div class="card-body">
<p class="text-primary">.text-primary</p>
<p class="text-secondary">.text-secondary</p>
<p class="text-success">.text-success</p>
<p class="text-danger">.text-danger</p>
<p class="text-warning">.text-warning</p>
<p class="text-info">.text-info</p>
<p class="text-light bg-dark">.text-light</p>
<p class="text-dark">.text-dark</p>
<p class="text-muted">.text-muted</p>
<p class="text-white bg-dark">.text-white</p>
</div>
</div>
</section>
<section id="pagination">
<div class="card row">
<div class="card-header">Pagination</div>
<div class="card-body">
<nav aria-label="Page navigation">
<ul class="pagination">
<li class="disabled page-item">
<a class="page-link" href="#" tabindex="-1">
<span aria-hidden="true">«</span>
</a>
</li>
<li class="active page-item">
<a class="page-link" href="#" tabindex="-1">
1 <span class="sr-only">(current)</span>
</a>
</li>
<li class="page-item"><a class="page-link" href="#">2</a></li>
<li class="page-item"><a class="page-link" href="#">3</a></li>
<li class="page-item"><a class="page-link" href="#">4</a></li>
<li class="page-item"><a class="page-link" href="#">5</a></li>
<li class="page-item">
<a class="page-link" href="#" aria-label="Previous">
<span aria-hidden="true">»</span>
</a>
</li>
</ul>
</nav>
</div>
</div>
</section>
</div><!-- main container -->
<footer class="mt-4">
<nav class="bg-dark navbar-dark " role="navigation">
<div class="container">
<div class="navbar-text">
<small>
© <span id="year"></span>
Weill Cornell Medicine. Reproduction, electronic or otherwise, without the permission of
Weill Cornell Medicine is strictly forbidden. All Rights Reserved.
</small>
</div>
<div class="navbar-text navbar-right">
<small>
Version:
<span id="version"></span>
</small>
</div>
</div>
</nav>
</footer>
<script src="dist/wcm.js"></script>
<script>
var date = new Date()
document.getElementById('year').innerHTML = date.getFullYear()
$.get('package.json', function (res) {
$('#version').text(res.version)
})
$(function () {
$('[data-toggle="popover"]').popover()
})
Inputmask().mask(document.querySelectorAll('input'))
</script>
</body>
</html>