source: pro-violet-viettel/sourcecode/application/modules/frontend/views/home.php @ 294

Last change on this file since 294 was 294, checked in by dungnv, 11 years ago
File size: 11.9 KB
Line 
1<!DOCTYPE html>
2<html lang="en">
3        <head>
4                <meta charset="utf-8" />
5                <title>Đăng nhập |Violet Space</title>
6
7                <meta name="description" content="User login page" />
8                <meta name="viewport" content="width=device-width, initial-scale=1.0" />
9
10                <!-- basic styles -->
11                <link href="assets/css/bootstrap.min.css" rel="stylesheet" />
12                <link rel="stylesheet" href="assets/css/font-awesome.min.css" />
13
14                <link rel="stylesheet" href="assets/css/ace-fonts.css" />
15
16                <!-- ace styles -->
17
18                <link rel="stylesheet" href="assets/css/ace.min.css" />
19                <link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
20
21                <!--[if lte IE 8]>
22                  <link rel="stylesheet" href="assets/css/ace-ie.min.css" />
23                <![endif]-->
24
25                <!-- inline styles related to this page -->
26
27                <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
28
29                <!--[if lt IE 9]>
30                <script src="assets/js/html5shiv.js"></script>
31                <script src="assets/js/respond.min.js"></script>
32                <![endif]-->
33        </head>
34
35        <body class="login-layout">
36                <div class="main-container">
37                        <div class="main-content">
38                                <div class="row">
39                                        <div class="space-6"></div>
40                                        <div class="col-sm-8">
41                                                <div class="title-box">
42                                                        <h1>Violet <small>Space</small></h1>
43                                                </div>
44                                                <div class="title-box">
45                                                        <h3>Dịch vụ lưu trữ trá»±c tuyến dữ liệu bài giảng cá»§a <a href="violet.vn">Violet.vn</a></h3>
46                                                </div>
47                                                <iframe src="https://www.facebook.com/plugins/likebox.php?href=https%3A%2F%2Fwww.facebook.com%2FthuvienViolet.vn&amp;width=800&amp;height=258&amp;colorscheme=light&amp;show_faces=true&amp;header=false&amp;stream=false&amp;show_border=false&amp;appId=742161799178550" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:800px; height:140px;" allowTransparency="true"></iframe>
48                                        </div>
49                                        <div class="col-sm-4">
50                                                <div class="login-container">
51                                                        <div class="position-relative">
52                                                                <div id="login-box" class="login-box visible widget-box no-border" style="background: transparent">
53                                                                        <div class="widget-body" style="background:transparent">
54                                                                                <div class="widget-main" style="background:transparent">
55                                                                                        <h4 class="header blue lighter bigger">
56                                                                                                <i class="icon-cloud-upload green"></i>
57                                                                                                VIOLET SPACE |<small>Đăng nhập</small>
58                                                                                        </h4>
59
60                                                                                        <form action="index-user.html" id="validation-form" method="get">
61                                                                                                <fieldset>
62                                                                                                        <label class="block clearfix has-error">
63                                                                                                                <span class="block input-icon input-icon-right">
64                                                                                                                        <input type="text" class="form-control" name="account" placeholder="Tài khoản | Số điện thoại" />
65                                                                                                                        <i class="icon-user"></i>
66                                                                                                                </span>
67                                                                                                                <div class="help-block">help! </div>
68                                                                                                        </label>
69
70                                                                                                        <label class="block clearfix">
71                                                                                                                <span class="block input-icon input-icon-right">
72                                                                                                                        <input type="password" class="form-control" name="password" placeholder="Mật khẩu" />
73                                                                                                                        <i class="icon-lock"></i>
74                                                                                                                </span>
75                                                                                                                <div class="help-block"> </div>
76                                                                                                        </label>
77
78                                                                                                        <div class="space"></div>
79
80                                                                                                        <div class="clearfix">
81                                                                                                                <label class="inline">
82                                                                                                                        <input type="checkbox" class="ace" />
83                                                                                                                        <span class="lbl"> Ghi nhớ</span>
84                                                                                                                </label>
85
86                                                                                                                <a href="index-user.html" title="">
87                                                                                                                        <button type="submit" id="login-button" class="pull-right btn btn-sm btn-primary">
88                                                                                                                                <i class="icon-key"></i>
89                                                                                                                                Đăng nhập
90                                                                                                                        </button>
91                                                                                                                </a>
92                                                                                                        </div>
93
94                                                                                                        <div class="space-4"></div>
95                                                                                                </fieldset>
96                                                                                        </form>
97                                                                                </div><!-- /widget-main -->
98
99                                                                                <div class="toolbar clearfix">
100                                                                                        <div>
101                                                                                                <a href="#" onclick="show_box('forgot-box'); return false;" class="forgot-password-link">
102                                                                                                        <i class="icon-arrow-left"></i>
103                                                                                                        Quên mật khẩu
104                                                                                                </a>
105                                                                                        </div>
106
107                                                                                        <div>
108                                                                                                <a href="#" onclick="show_box('signup-box'); return false;" class="user-signup-link">
109                                                                                                        Đăng kÜ tài khoản
110                                                                                                        <i class="icon-arrow-right"></i>
111                                                                                                </a>
112                                                                                        </div>
113                                                                                </div>
114                                                                        </div><!-- /widget-body -->
115                                                                </div><!-- /login-box -->
116
117                                                                <div id="forgot-box" class="forgot-box widget-box no-border" style="background: transparent">
118                                                                        <div class="widget-body" style="background:transparent">
119                                                                                <div class="widget-main" style="background:transparent">
120                                                                                        <h4 class="header red lighter bigger">
121                                                                                                <i class="icon-key"></i>
122                                                                                                Nhận lại mật khẩu
123                                                                                        </h4>
124
125                                                                                        <div class="space-6"></div>
126                                                                                        <p>
127                                                                                                Điền số điện thoại đăng kÜ tài khoản cá»§a bạn
128                                                                                        </p>
129
130                                                                                        <form>
131                                                                                                <fieldset>
132                                                                                                        <label class="block clearfix">
133                                                                                                                <span class="block input-icon input-icon-right">
134                                                                                                                        <input type="email" class="form-control" placeholder="Số điện thoại" />
135                                                                                                                        <i class="icon-phone"></i>
136                                                                                                                </span>
137                                                                                                                <div class="help-block"> </div>
138                                                                                                        </label>
139
140                                                                                                        <div class="clearfix">
141                                                                                                                <button type="button" class="pull-right btn btn-sm btn-danger">
142                                                                                                                        <i class="icon-lightbulb"></i>
143                                                                                                                        Gá»­i!
144                                                                                                                </button>
145                                                                                                        </div>
146                                                                                                </fieldset>
147                                                                                        </form>
148                                                                                </div><!-- /widget-main -->
149
150                                                                                <div class="toolbar center">
151                                                                                        <a href="#" onclick="show_box('login-box'); return false;" class="back-to-login-link">
152                                                                                                Đăng nhập
153                                                                                                <i class="icon-arrow-right"></i>
154                                                                                        </a>
155                                                                                </div>
156                                                                        </div><!-- /widget-body -->
157                                                                </div><!-- /forgot-box -->
158
159                                                                <div id="signup-box" class="signup-box widget-box no-border" style="background: transparent">
160                                                                        <div class="widget-body" style="background:transparent">
161                                                                                <div class="widget-main" style="background:transparent">
162                                                                                        <h4 class="header green lighter bigger">
163                                                                                                <i class="icon-group blue"></i>
164                                                                                                Đăng kÜ thành viên
165                                                                                        </h4>
166
167                                                                                        <div class="space-6"></div>
168                                                                                        <p> Điền đầy đủ thÃŽng tin sau: </p>
169
170                                                                                        <form>
171                                                                                                <fieldset>
172
173                                                                                                        <label class="block clearfix">
174                                                                                                                <span class="block input-icon input-icon-right">
175                                                                                                                        <input type="text" class="form-control" name="account" placeholder="Số điện thoại" />
176                                                                                                                        <i class="icon-user"></i>
177                                                                                                                </span>
178                                                                                                                <div class="help-block"> </div>
179                                                                                                        </label>
180
181                                                                                                        <label class="block clearfix">
182                                                                                                                <span class="block input-icon input-icon-right">
183                                                                                                                        <input type="text" class="form-control" name="codeCTV" placeholder="Mã CTV" />
184                                                                                                                        <i class="icon-male"></i>
185                                                                                                                </span>
186                                                                                                                <div class="help-block"> </div>
187                                                                                                        </label>
188
189                                                                                                        <label class="block">
190                                                                                                                <input type="checkbox" class="ace" />
191                                                                                                                <span class="lbl">
192                                                                                                                        TÃŽi đồng Ü với
193                                                                                                                        <a href="#">Điều khoản sá»­ dụng cá»§a Violet</a>
194                                                                                                                </span>
195                                                                                                        </label>
196
197                                                                                                        <div class="space-24"></div>
198
199                                                                                                        <div class="clearfix">
200                                                                                                                <button type="reset" class="width-30 pull-left btn btn-sm">
201                                                                                                                        <i class="icon-refresh"></i>
202                                                                                                                        Xóa hết
203                                                                                                                </button>
204
205                                                                                                                <button type="button" id="register-button" class="width-65 pull-right btn btn-sm btn-success">
206                                                                                                                        Hoàn tất
207                                                                                                                        <i class="icon-arrow-right icon-on-right"></i>
208                                                                                                                </button>
209                                                                                                        </div>
210                                                                                                </fieldset>
211                                                                                        </form>
212                                                                                </div>
213
214                                                                                <div class="toolbar center">
215                                                                                        <a href="#" onclick="show_box('login-box'); return false;" class="back-to-login-link">
216                                                                                                <i class="icon-arrow-left"></i>
217                                                                                                Đăng nhập
218                                                                                        </a>
219                                                                                </div>
220                                                                        </div><!-- /widget-body -->
221                                                                </div><!-- /signup-box -->
222                                                        </div><!-- /position-relative -->
223                                                </div>
224                                        </div><!-- /.col -->
225                                </div><!-- /.row -->
226
227                        </div>
228                </div><!-- /.main-container -->
229
230                <div class="modal fade" id="modal-login" tabindex="-1" role="dialog"aria-hidden="true">
231                  <div class="modal-dialog">
232                    <div class="modal-content">
233                      <div class="modal-header">
234                        <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button>
235                        <h4 class="modal-title">Đăng nhập hệ thống</h4>
236                      </div>
237                      <div class="modal-body">
238                        <div class="alert alert-block alert-success">
239                                                        <button type="button" class="close" data-dismiss="alert">
240                                                                <i class="icon-remove"></i>
241                                                        </button>
242                                                        <strong>
243                                                                <i class="icon-ok"></i>
244                                                                Đăng kÜ tài khoản thành cÃŽng !
245                                                        </strong>
246                                                        <p>
247                                                                Hệ thống đã gá»­i mật khẩu vào số điện thoại đăng kÜ cá»§a bạn.
248                                                        </p>
249                                                </div>
250                        <form>
251                                                        <fieldset>
252                                                                <label class="block clearfix">
253                                                                        <span class="block input-icon input-icon-right">
254                                                                                <input type="text" class="form-control" placeholder="Tài khoản | Số điện thoại" />
255                                                                                <i class="icon-user"></i>
256                                                                        </span>
257                                                                </label>
258
259                                                                <label class="block clearfix">
260                                                                        <span class="block input-icon input-icon-right">
261                                                                                <input type="password" class="form-control" placeholder="Mật khẩu" />
262                                                                                <i class="icon-lock"></i>
263                                                                        </span>
264                                                                </label>
265
266                                                                <div class="space"></div>
267
268                                                                <div class="clearfix">
269                                                                        <label class="inline">
270                                                                                <input type="checkbox" class="ace" />
271                                                                                <span class="lbl"> Ghi nhớ</span>
272                                                                        </label>
273
274                                                                        <a href="index-user.html" title="">
275                                                                                <button type="button" class="pull-right btn btn-sm btn-primary">
276                                                                                        <i class="icon-key"></i>
277                                                                                        Đăng nhập
278                                                                                </button>
279                                                                        </a>
280                                                                </div>
281
282                                                                <div class="space-4"></div>
283                                                        </fieldset>
284                                                </form>
285                      </div>
286                    </div>
287                  </div>
288                </div>
289                <!-- basic scripts -->
290
291                <!--[if !IE]> -->
292
293                <script type="text/javascript">
294                        window.jQuery || document.write("<script src='assets/js/jquery-2.0.3.min.js'>"+"<"+"/script>");
295                </script>
296                <script src="assets/js/bootstrap.min.js"></script>
297                <script src="assets/js/jquery.validate.min.js"></script>
298
299                <script src="assets/js/ace-elements.min.js"></script>
300                <script src="assets/js/ace.min.js"></script>
301                <!-- <![endif]-->
302
303                <!--[if IE]>
304<script type="text/javascript">
305 window.jQuery || document.write("<script src='assets/js/jquery-1.10.2.min.js'>"+"<"+"/script>");
306</script>
307<![endif]-->
308
309                <script type="text/javascript">
310                        if("ontouchend" in document) document.write("<script src='assets/js/jquery.mobile.custom.min.js'>"+"<"+"/script>");
311                </script>
312
313                <!-- inline scripts related to this page -->
314
315                <script type="text/javascript">
316                        function show_box(id) {
317                         jQuery('.widget-box.visible').removeClass('visible');
318                         jQuery('#'+id).addClass('visible');
319                        }
320
321                        $('#register-button').click(function(){
322                                        $('#modal-login').modal('show')
323                        })
324
325                        $('#validation-form').validate({
326                                errorElement: 'label',
327                                errorClass: 'help-block',
328                                focusInvalid: true,
329                                rules: {
330                                        password: {
331                                                required: true,
332                                                minlength: 5
333                                        },
334                                        account: {
335                                                required: true
336                                        }
337                                },
338               
339                                messages: {
340                                        account: {
341                                                required: "Please provide a valid email.",
342                                        },
343                                        password: {
344                                                required: "Please specify a password.",
345                                                minlength: "Please specify a secure password."
346                                        }
347                                },
348
349                                highlight: function (e) {
350                                        $(e).closest('label').removeClass('has-info').addClass('has-error');
351                                },
352               
353                                success: function (e) {
354                                        $(e).closest('label').removeClass('has-error').addClass('has-info');
355                                        $(e).remove();
356                                },
357                        });
358                </script>
359        </body>
360</html>
Note: See TracBrowser for help on using the repository browser.