forked from Daemonite/material
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui-modal.html
280 lines (276 loc) · 12.3 KB
/
ui-modal.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="initial-scale=1.0, width=device-width" name="viewport">
<title>Modals & Toasts - Material</title>
<!-- css -->
<link href="css/base.min.css" rel="stylesheet">
<!-- favicon -->
<!-- ... -->
<!-- ie -->
<!--[if lt IE 9]>
<script src="js/html5shiv.js" type="text/javascript"></script>
<script src="js/respond.js" type="text/javascript"></script>
<![endif]-->
</head>
<body>
<header class="header">
<ul class="nav nav-list pull-left">
<li>
<a class="menu-toggle" href="#menu">
<span class="access-hide">Menu</span>
<span class="icon icon-menu"></span>
<span class="header-close icon icon-close"></span>
</a>
</li>
</ul>
<a class="header-logo" href="index.html">Material</a>
<ul class="nav nav-list pull-right">
<li>
<a class="menu-toggle" href="#search">
<span class="access-hide">Search</span>
<span class="icon icon-search"></span>
<span class="header-close icon icon-close"></span>
</a>
</li>
<li>
<a class="menu-toggle" href="#profile">
<span class="access-hide">John Smith</span>
<span class="avatar avatar-sm"><img alt="alt text for John Smith avatar" src="images/users/avatar-001.jpg"></span>
<span class="header-close icon icon-close"></span>
</a>
</li>
</ul>
</header>
<nav class="menu" id="menu">
<div class="menu-scroll">
<div class="menu-wrap">
<div class="menu-content">
<ul class="nav">
<li>
<a href="ui-card.html">Cards</a>
</li>
<li>
<a href="ui-collapse.html">Collapsible Regions</a>
</li>
<li>
<a href="ui-dropdown.html">Dropdowns</a>
</li>
<li class="active">
<a href="ui-modal.html">Modals & Toasts</a>
</li>
<li>
<a href="ui-progress.html">Progress Bars</a>
</li>
<li>
<a href="ui-tab.html">Tabs</a>
</li>
<li>
<a href="ui-tile.html">Tiles</a>
</li>
</ul>
<hr>
<ul class="nav">
<li>
<a href="ui-button.html">Buttons</a>
</li>
<li>
<a href="ui-form.html">Form Elements</a>
<span class="menu-collapse-toggle collapsed" data-target="#form-elements" data-toggle="collapse"><i class="icon icon-close menu-collapse-toggle-close"></i><i class="icon icon-add menu-collapse-toggle-default"></i></span>
<ul class="menu-collapse collapse" id="form-elements">
<li>
<a href="ui-form-adv.html">Form Elements <small>(materialised)</small></a>
</li>
</ul>
</li>
<li>
<a href="ui-icon.html">Icons</a>
</li>
<li>
<a href="ui-table.html">Tables</a>
</li>
</ul>
<hr>
<ul class="nav">
<li>
<a href="page-affix.html">Full-Width Page <small>(with fixed LHC/RHC)</small></a>
</li>
<li>
<a href="page-palette.html">Page Palettes</a>
<span class="menu-collapse-toggle collapsed" data-target="#page-palettes" data-toggle="collapse"><i class="icon icon-close menu-collapse-toggle-close"></i><i class="icon icon-add menu-collapse-toggle-default"></i></span>
<ul class="menu-collapse collapse" id="page-palettes">
<li>
<a href="page-palette-blue.html">Blue Palette</a>
</li>
<li>
<a href="page-palette-green.html">Green Palette</a>
</li>
<li>
<a href="page-palette-purple.html">Purple Palette</a>
</li>
<li>
<a href="page-palette-red.html">Red Palette</a>
</li>
<li>
<a href="page-palette-yellow.html">Yellow Palette</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</nav>
<nav class="menu menu-right" id="profile">
<div class="menu-scroll">
<div class="menu-wrap">
<div class="menu-top">
<div class="menu-top-img">
<img alt="John Smith" src="images/samples/landscape.jpg">
</div>
<div class="menu-top-info">
<a class="menu-top-user" href="javascript:void(0)"><span class="avatar pull-left"><img alt="alt text for John Smith avatar" src="images/users/avatar-001.jpg"></span>John Smith</a>
</div>
</div>
<div class="menu-content">
<ul class="nav">
<li>
<a href="javascript:void(0)"><span class="icon icon-account-box"></span>Profile Settings</a>
</li>
<li>
<a href="javascript:void(0)"><span class="icon icon-add-to-photos"></span>Upload Photo</a>
</li>
<li>
<a href="page-login.html"><span class="icon icon-exit-to-app"></span>Logout</a>
</li>
</ul>
</div>
</div>
</div>
</nav>
<div class="menu menu-right menu-search" id="search">
<div class="menu-scroll">
<div class="menu-wrap">
<div class="menu-top">
<div class="menu-top-info">
<form class="menu-top-form">
<label class="access-hide" for="menu-search">Search</label>
<input class="form-control form-control-inverse menu-search-focus" id="menu-search" placeholder="Search" type="search">
<button class="access-hide" type="submit">Search</button>
</form>
</div>
</div>
<div class="menu-content">
<div class="menu-content-inner">
<p><strong>Saved Search Queries:</strong></p>
<ul>
<li><a href="javascript:void(0)">lorem ipsum dolor sit amet</a></li>
<li><a href="javascript:void(0)">consectetur adipiscing elit</a></li>
<li><a href="javascript:void(0)">sed ornare orci lorem</a></li>
<li><a href="javascript:void(0)">vel eleifend elit tempor eleifend</a></li>
<li><a href="javascript:void(0)">morbi feugiat aliquet justo</a></li>
</ul>
<hr>
<p><strong>Popular Search Queries:</strong></p>
<ul>
<li><a href="javascript:void(0)">id ullamcorper tortor lobortis eu</a></li>
<li><a href="javascript:void(0)">aliquam ut tellus arcu</a></li>
<li><a href="javascript:void(0)">cestibulum tortor purus</a></li>
<li><a href="javascript:void(0)">pretium ac dolor id</a></li>
<li><a href="javascript:void(0)">gravida molestie libero</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
<div class="content">
<div class="content-heading">
<div class="container">
<h1 class="heading">Modals & Toasts</h1>
</div>
</div>
<div class="content-inner">
<div class="container">
<h2 class="content-sub-heading">Modals</h2>
<p class="margin-half-top"><a class="btn waves-button waves-effect" data-toggle="modal" href="#modal">Toggle Modal</a></p>
<p><a class="btn waves-button waves-effect" data-toggle="modal" href="#modal-big">Full-width Modal</a></p>
<p><a class="btn waves-button waves-effect" data-toggle="modal" href="#modal-iframe">Modal with iFrame</a></p>
<h2 class="content-sub-heading">Toasts</h2>
<p><a class="btn waves-button waves-effect" data-toggle="toast" title="Simple toast with some text">Toggle Toast</a></p>
<p class="margin-half-bottom"><a class="btn waves-button waves-effect" data-toggle="toast" title="<a data-dismiss='toast'>Dismiss</a><div class='toast-text'>Simple toast with some text and a simple <a href='javascript:void(0)'>link</a>.</div>">Toast with Action Button</a></p>
</div>
</div>
</div>
<footer class="footer">
<div class="container">
<p>Material</p>
</div>
</footer>
<div class="fbtn-container">
<div class="fbtn-inner">
<a class="fbtn fbtn-red" href="https://github.com/Daemonite/material"><span class="fbtn-text">Fork me on GitHub</span><span class="fa fa-github"></span></a>
</div>
</div>
<div aria-hidden="true" class="modal fade" id="modal" role="dialog" tabindex="-1">
<div class="modal-dialog modal-xs">
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">Modal Title</h2>
</div>
<div class="modal-inner">
<p><strong>Overflowing text to show scroll behaviour</strong></p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-alt" data-dismiss="modal" type="button">Close</button><button class="btn btn-flat btn-alt" data-dismiss="modal" type="button">OK</button></p>
</div>
</div>
</div>
</div>
<div aria-hidden="true" class="modal fade" id="modal-big" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-heading">
<a class="modal-close" data-dismiss="modal">×</a>
<h2 class="modal-title">Modal Title</h2>
</div>
<div class="modal-inner">
<p><strong>Overflowing text to show scroll behaviour</strong></p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
<p>Cras mattis consectetur purus sit amet fermentum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Morbi leo risus, porta ac consectetur ac, vestibulum at eros.</p>
<p>Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Vivamus sagittis lacus vel augue laoreet rutrum faucibus dolor auctor.</p>
<p>Aenean lacinia bibendum nulla sed consectetur. Praesent commodo cursus magna, vel scelerisque nisl consectetur et. Donec sed odio dui. Donec ullamcorper nulla non metus auctor fringilla.</p>
</div>
<div class="modal-footer">
<p class="text-right"><button class="btn btn-flat btn-alt" data-dismiss="modal" type="button">Close</button><button class="btn btn-flat btn-alt" data-dismiss="modal" type="button">OK</button></p>
</div>
</div>
</div>
</div>
<div aria-hidden="true" class="modal fade" id="modal-iframe" role="dialog" tabindex="-1">
<div class="modal-dialog modal-full">
<div class="modal-content">
<iframe class="iframe-seamless" src="ui-modal-iframe.html" title="Modle with iFrame"></iframe>
</div>
</div>
</div>
<script src="js/base.min.js" type="text/javascript"></script>
</body>
</html>