Changeset 358


Ignore:
Timestamp:
Oct 30, 2014 6:30:22 PM (11 years ago)
Author:
namnd
Message:
 
Location:
pro-violet-viettel/sourcecode/application/views/layout/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/views/layout/admin/footer.php

    r352 r358  
    138138
    139139                        $('#register-button').click(function(){
    140                                         $('#modal-login').modal('show')
     140                        $('#modal-login').modal('show')
    141141                        })
    142142
    143                         $('#validation-form').validate({
     143                        $('#validation-edit-form').validate({
    144144                                errorElement: 'label',
    145145                                errorClass: 'help-block',
     
    156156                                messages: {
    157157                                        username: {
    158                                                 required: "Vui lòng nhập tài khoản hoặc số điện thoại",
    159                                         },
    160                                         password: {
    161                                                 required: "Vui lòng nhập mật khẩu.",
     158                                                required: "Vui lòng nhập tài khoản !",
     159                                        },
     160                                        password: {
     161                                                required: "Vui lòng nhập mật khẩu !",
    162162                                        }
    163163                                },
     
    186186                ?>
    187187                <script>
    188                 $('.validation-add-form').validate({
     188                $('#validation-add-form').validate({
    189189                                errorElement: 'label',
    190190                                errorClass: 'help-block',
     
    201201                                messages: {
    202202                                        username: {
    203                                                 required: "Vui lòng nhập tài khoản",
    204                                         },
    205                                         password: {
    206                                                 required: "Vui lòng nhập mật khẩu.",
    207                                         }
    208                                 },
    209 
     203                                                required: "Vui lòng nhập tài khoản !",
     204                                        },
     205                                        password: {
     206                                                required: "Vui lòng nhập mật khẩu !",
     207                                        }
     208                                },
     209                                /*
    210210                                highlight: function (e) {
    211211                                        $(e).closest('label').removeClass('has-info').addClass('has-error');
     
    215215                                        $(e).closest('label').removeClass('has-error').addClass('has-info');
    216216                                        $(e).remove();
    217                                 },
     217                                },*/
    218218                        });
    219219                </script>
  • pro-violet-viettel/sourcecode/application/views/layout/admin/header.php

    r338 r358  
    6161                                                        <ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
    6262                                                                <li>
    63                                                                         <a href="user_profile.html">
     63                                                                        <a href="<?php echo $base_url; ?>admin/home/user_profile">
    6464                                                                                <i class="icon-user"></i>
    6565                                                                                ThÃŽng tin cá nhân
  • pro-violet-viettel/sourcecode/application/views/layout/admin/sidebar.php

    r338 r358  
    3030                                        <ul class="nav nav-list">
    3131                                                <li class="active">
    32                                                         <a href="">
     32                                                        <a href="<?php echo $base_url; ?>admin/home">
    3333                                                                <i class="icon-dashboard"></i>
    3434                                                                <span class="menu-text"> Bảng điều khiển </span>
Note: See TracChangeset for help on using the changeset viewer.