forked from dropways/deskapp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ui-modals.php
267 lines (267 loc) · 12.8 KB
/
ui-modals.php
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
<!DOCTYPE html>
<html>
<head>
<?php include('include/head.php'); ?>
</head>
<body>
<?php include('include/header.php'); ?>
<?php include('include/sidebar.php'); ?>
<div class="main-container">
<div class="pd-ltr-20 xs-pd-20-10">
<div class="min-height-200px">
<div class="page-header">
<div class="row">
<div class="col-md-12 col-sm-12">
<div class="title">
<h4>Modals</h4>
</div>
<nav aria-label="breadcrumb" role="navigation">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.php">Home</a></li>
<li class="breadcrumb-item active" aria-current="page">UI Modals</li>
</ol>
</nav>
</div>
</div>
</div>
<div class="row clearfix">
<!-- Large modal -->
<div class="col-md-4 col-sm-12">
<div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
<h5 class="mb-20">Large modal <small>Click on image</small></h5>
<a href="#" class="btn-block" data-toggle="modal" data-target="#bd-example-modal-lg" type="button">
<img src="vendors/images/modal-img1.jpg" alt="modal">
</a>
<div class="modal fade bs-example-modal-lg" id="bd-example-modal-lg" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myLargeModalLabel">Large modal</h4>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
</div>
<div class="modal-body">
<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="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Medium modal -->
<div class="col-md-4 col-sm-12">
<div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
<h5 class="mb-20">Medium modal <small>Click on image</small></h5>
<a href="#" class="btn-block" data-toggle="modal" data-target="#Medium-modal" type="button">
<img src="vendors/images/modal-img2.jpg" alt="modal">
</a>
<div class="modal fade" id="Medium-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myLargeModalLabel">Large modal</h4>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
</div>
<div class="modal-body">
<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="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Small modal -->
<div class="col-md-4 col-sm-12">
<div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
<h5 class="mb-20">Small modal <small>Click on image</small></h5>
<a href="#" class="btn-block" data-toggle="modal" data-target="#small-modal" type="button">
<img src="vendors/images/modal-img3.jpg" alt="modal">
</a>
<div class="modal fade" id="small-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h4 class="modal-title" id="myLargeModalLabel">Large modal</h4>
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
</div>
<div class="modal-body">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Login modal -->
<div class="col-md-4 col-sm-12">
<div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
<h5 class="mb-20">Login modal <small>Click on image</small></h5>
<a href="#" class="btn-block" data-backdrop="static" data-toggle="modal" data-target="#login-modal" type="button">
<img src="vendors/images/modal-img2.jpg" alt="modal">
</a>
<div class="modal fade" id="login-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="login-box bg-white box-shadow pd-ltr-20 border-radius-5">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<img src="vendors/images/login-img.png" alt="login" class="login-img">
<h2 class="text-center mb-30">Login</h2>
<form>
<div class="input-group custom input-group-lg">
<input type="text" class="form-control" placeholder="Username">
<div class="input-group-append custom">
<span class="input-group-text"><i class="fa fa-user" aria-hidden="true"></i></span>
</div>
</div>
<div class="input-group custom input-group-lg">
<input type="password" class="form-control" placeholder="**********">
<div class="input-group-append custom">
<span class="input-group-text"><i class="fa fa-lock" aria-hidden="true"></i></span>
</div>
</div>
<div class="row">
<div class="col-sm-12">
<div class="input-group">
<!--
use code for form submit
<input class="btn btn-primary btn-lg btn-block" type="submit" value="Sign In">
-->
<a class="btn btn-primary btn-lg btn-block" href="index.php">Sign In</a>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Alert modal -->
<div class="col-md-4 col-sm-12">
<div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
<h5 class="mb-20">Alert modal <small>Click on image</small></h5>
<a href="#" class="btn-block" data-toggle="modal" data-target="#alert-modal" type="button">
<img src="vendors/images/modal-img3.jpg" alt="modal">
</a>
<div class="modal fade" id="alert-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm modal-dialog-centered">
<div class="modal-content bg-danger text-white">
<div class="modal-body text-center">
<h3 class="text-white mb-15"><i class="fa fa-exclamation-triangle"></i> Alert</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.</p>
<button type="button" class="btn btn-light" data-dismiss="modal">Ok</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Warning modal -->
<div class="col-md-4 col-sm-12">
<div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
<h5 class="mb-20">Warning modal <small>Click on image</small></h5>
<a href="#" class="btn-block" data-toggle="modal" data-target="#warning-modal" type="button">
<img src="vendors/images/modal-img3.jpg" alt="modal">
</a>
<div class="modal fade" id="warning-modal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel" aria-hidden="true">
<div class="modal-dialog modal-sm modal-dialog-centered">
<div class="modal-content bg-warning">
<div class="modal-body text-center">
<h3 class="mb-15"><i class="fa fa-exclamation-triangle"></i> Warning</h3>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua.</p>
<button type="button" class="btn btn-dark" data-dismiss="modal">Ok</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Success modal -->
<div class="col-md-4 col-sm-12">
<div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
<h5 class="mb-20">Success modal <small>Click on image</small></h5>
<a href="#" class="btn-block" data-toggle="modal" data-target="#success-modal" type="button">
<img src="vendors/images/modal-img3.jpg" alt="modal">
</a>
<div class="modal fade" id="success-modal" tabindex="-1" role="dialog" aria-labelledby="exampleModalCenterTitle" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-body text-center font-18">
<h3 class="mb-20">Form Submitted!</h3>
<div class="mb-30 text-center"><img src="vendors/images/success.png"></div>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
</div>
<div class="modal-footer justify-content-center">
<button type="button" class="btn btn-primary" data-dismiss="modal">Done</button>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Confirmation modal -->
<div class="col-md-4 col-sm-12">
<div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
<h5 class="mb-20">Confirmation modal <small>Click on image</small></h5>
<a href="#" class="btn-block" data-toggle="modal" data-target="#confirmation-modal" type="button">
<img src="vendors/images/modal-img3.jpg" alt="modal">
</a>
<div class="modal fade" id="confirmation-modal" tabindex="-1" role="dialog" aria-hidden="true">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content">
<div class="modal-body text-center font-18">
<h4 class="padding-top-30 mb-30 weight-500">Are you sure you want to continue?</h4>
<div class="padding-bottom-30 row" style="max-width: 170px; margin: 0 auto;">
<div class="col-6">
<button type="button" class="btn btn-secondary border-radius-100 btn-block confirmation-btn" data-dismiss="modal"><i class="fa fa-times"></i></button>
NO
</div>
<div class="col-6">
<button type="button" class="btn btn-primary border-radius-100 btn-block confirmation-btn" data-dismiss="modal"><i class="fa fa-check"></i></button>
YES
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<?php include('include/footer.php'); ?>
</div>
</div>
<?php include('include/script.php'); ?>
</body>
</html>