forked from Daemonite/material
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui-modal.html
263 lines (259 loc) · 12 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
<!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="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="avoid-fout">
<div class="avoid-fout-indicator avoid-fout-indicator-fixed">
<div class="progress-circular progress-circular-alt progress-circular-center">
<div class="progress-circular-wrapper">
<div class="progress-circular-inner">
<div class="progress-circular-left">
<div class="progress-circular-spinner"></div>
</div>
<div class="progress-circular-gap"></div>
<div class="progress-circular-right">
<div class="progress-circular-spinner"></div>
</div>
</div>
</div>
</div>
</div>
<header class="header">
<ul class="nav nav-list pull-left">
<li>
<a data-toggle="menu" href="#menu">
<span class="access-hide">Menu</span>
<span class="icon icon-menu icon-lg"></span>
</a>
</li>
</ul>
<a class="header-logo" href="index.html">Material</a>
<ul class="nav nav-list pull-right">
<li>
<a data-toggle="menu" 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>
</a>
</li>
</ul>
</header>
<nav class="menu" id="menu">
<div class="menu-scroll">
<div class="menu-wrap">
<div class="menu-content">
<a class="menu-logo" href="index.html">Material</a>
<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-nav.html">Navs</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 class="menu-top-info-sub">
<small>Some additional information about John Smith</small>
</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="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 fbtn-lg" data-toggle="dropdown"><span class="fbtn-text">Links</span><span class="fbtn-ori icon icon-open-in-new"></span><span class="fbtn-sub icon icon-close"></span></a>
<div class="fbtn-dropdown">
<a class="fbtn" href="https://github.com/Daemonite/material" target="_blank"><span class="fbtn-text">Fork me on GitHub</span><span class="fa fa-github"></span></a>
<a class="fbtn fbtn-blue" href="https://twitter.com/daemonites" target="_blank"><span class="fbtn-text">Follow Daemon on Twitter</span><span class="fa fa-twitter"></span></a>
<a class="fbtn fbtn-alt" href="http://www.daemon.com.au/" target="_blank"><span class="fbtn-text">Visit Daemon Website</span><span class="fa fa-link"></span></a>
</div>
</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="Modal with iFrame"></iframe>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="js/base.min.js"></script>
</body>
</html>