- Timestamp:
- Nov 4, 2014 4:14:22 PM (11 years ago)
- Location:
- pro-violet-viettel/sourcecode/application/modules/admin/views/collaborator
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pro-violet-viettel/sourcecode/application/modules/admin/views/collaborator/index.php
r375 r401 2 2 $base_url = base_url(); 3 3 $this->load->view('layout/admin/header', array('base_url' => $base_url)); 4 $this->load->view('layout/admin/sidebar', array('base_url' => $base_url ));4 $this->load->view('layout/admin/sidebar', array('base_url' => $base_url, 'method'=>$this->router->method, 'class'=>$this->router->class )); 5 5 ?> 6 6 <script type="text/javascript"> … … 35 35 36 36 37 $( '.sorting, .sorting_desc, .sorting_asc' ).click(function( index ) {37 $( '.sorting, .sorting_desc, .sorting_asc' ).click(function( index ) { 38 38 var current_class=$( this ).attr('class'); 39 39 $(".sorting_desc").attr("class","sorting"); … … 62 62 filter(); 63 63 }); 64 $('[data-toggle="ajaxModal"]').on('click', 65 function(e) { 66 $('#ajaxModal').remove(); 67 e.preventDefault(); 68 var $this = $(this) 69 , $remote = $this.data('remote') || $this.attr('href') 70 , $modal = $('<div class="modal" id="ajaxModal"><div class="modal-body"></div></div>'); 71 $('body').append($modal); 72 $modal.modal({backdrop: 'static', keyboard: false}); 73 $modal.load($remote); 74 } 75 ); 64 76 65 77 -
pro-violet-viettel/sourcecode/application/modules/admin/views/collaborator/listview.php
r373 r401 83 83 </label> 84 84 </th> 85 86 <th class="<?php if ($sorting_field == 'full_name') {echo $sorting_order;} else {echo "sorting";}?>" id="full_name" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 183px;" aria-label="Há» tên: activate to sort column ascending">Há» tên</th> 85 87 <th class="<?php if ($sorting_field == 'cellphone') {echo $sorting_order;} else {echo "sorting";}?>" id="cellphone" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Sá» Äiá»n thoại: activate to sort column ascending">Sá» Äiá»n thoại</th> 86 <th class="<?php if ($sorting_field == 'full_name') {echo $sorting_order;} else {echo "sorting";}?>" id="full_name" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 183px;" aria-label="Há» tên: activate to sort column ascending">Há» tên</th>87 88 <th class="sorting" id="money" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 122px;" aria-label="Tiá»n: activate to sort column ascending">Tiá»n</th> 88 89 <th class="<?php if ($sorting_field == 'created_time') {echo $sorting_order;} else {echo "sorting";}?>" id="created_time" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 209px;" aria-label="Ngà y ÄÄng kÜ: activate to sort column ascending"> … … 107 108 </td> 108 109 110 111 <td class=" "><?php echo $collaborator['full_name']?></td> 109 112 <td class=" "> 110 113 <a href="#"><?php echo $collaborator['cellphone']?></a> 111 114 </td> 112 <td class=" "><?php echo $collaborator['full_name']?></td>113 115 <td class="hidden-480 ">3,330 VND</td> 114 116 <td class=" "><?php echo $collaborator['created_time']?></td> … … 131 133 <div class="visible-md visible-lg hidden-sm hidden-xs action-buttons"> 132 134 <a href="#" class="blue"> 133 <i class="icon-zoom-in bigger-130"></i>135 <i data-toggle="ajaxModal" href='http://viettel.violet.vn/admin/cong_tac_vien/xem/<?php echo $collaborator['id'];?>' class="icon-zoom-in bigger-130"></i> 134 136 </a> 135 137 136 138 <a href="#" class="green"> 137 <i class="icon-pencil bigger-130"></i>139 <i data-toggle="ajaxModal" href='http://viettel.violet.vn/admin/cong_tac_vien/sua/<?php echo $collaborator['id'];?>' data-toggle="modal" href='#editUser' class="icon-pencil bigger-130"></i> 138 140 </a> 139 141 140 142 <a href="#" class="red"> 141 <i class="icon-trash bigger-130"></i>143 <i data-toggle="ajaxModal" href='http://viettel.violet.vn/admin/cong_tac_vien/xoa/<?php echo $collaborator['id'];?>' data-toggle="modal" href='#deleteUser' class="icon-trash bigger-130"></i> 142 144 </a> 143 145 </div>
Note: See TracChangeset
for help on using the changeset viewer.