source: pro-violet-viettel/sourcecode/application/modules/admin/views/cardlog/listview.php @ 426

Last change on this file since 426 was 426, checked in by namnd, 11 years ago
File size: 8.0 KB
Line 
1<div class="breadcrumbs" id="breadcrumbs">
2        <ul class="breadcrumb">
3                <li>
4                        <i class="icon-home home-icon"></i>
5                        <a href="#">Trang chá»§</a>
6                </li>
7                <li><a href="#">Báo cáo</a></li>
8                <li class="active">Card logs</li>
9        </ul><!-- .breadcrumb -->
10
11        <div class="nav-search" id="nav-search">
12                <form class="form-search">
13                        <span class="input-icon">
14                                <input type="text" placeholder="Tìm kiếm ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
15                                <i class="icon-search nav-search-icon"></i>
16                        </span>
17                </form>
18        </div><!-- #nav-search -->
19</div>
20
21<div class="page-content">
22
23        <div class="row">
24                <div class="col-xs-12">
25            <!-- PAGE CONTENT BEGINS -->
26            <div style="padding-bottom:4px" class="table-header">
27                Danh sách log
28            </div>
29                        <!-- PAGE CONTENT BEGINS -->
30                        <div class="table-responsive">
31                <div role="grid" class="dataTables_wrapper" id="sample-table-2_wrapper">
32                    <form onsubmit="return false;" id="cardlog" >
33                        <div class="row">
34                            <div class="col-sm-6">
35                                <div id="sample-table-2_length" class="dataTables_length"><label>Hiện thị
36                                        <select onchange="filter();" name="items" size="1" aria-controls="sample-table-2">                                     
37                                            <?php foreach ($itemsoptions as $option) { ?>
38                                            <option <?php if($option == $perpage) echo "selected"; ?> value="<?=$option?>"><?=$option?></option>
39                                            <?php } ?>
40                                        </select> bản ghi</label>
41
42                                </div>
43                            </div>
44
45                            <div class="col-sm-6">
46                                <div class="dataTables_filter" id="sample-table-2_filter">
47                                    <label>Tìm kiếm:
48                                        <input type="text" name="keyword" id="keyword" value="<?php echo $keyword;?>" aria-controls="sample-table-2"></label>
49                                </div>
50                            </div>
51                        </div>
52                        <input type="hidden" name="sorting_order" id="sorting_order" value="<?php echo $sorting_order;?>" />
53                        <input type="hidden" name="sorting_field" id="sorting_field" value="<?php echo $sorting_field;?>"/>
54                    </form>
55                                <table class="table table-striped table-bordered table-hover dataTable" id="sample-table-2" aria-describedby="sample-table-2_info">
56                                        <thead>
57                                                <tr>
58                                                        <th class="center sorting_disabled" role="columnheader" rowspan="1" colspan="1" style="width: 44px;" aria-label="">
59                                                                <label>
60                                                                        <input type="checkbox" class="ace">
61                                                                        <span class="lbl"></span>
62                                                                </label>
63                                                                </th>
64                                                        <th class="<?php if ($sorting_field == 'sender') {echo $sorting_order;} else {echo "sorting";} ?>" id="sender" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Người gá»­i: activate to sort column ascending">Người gá»­i</th>
65                                                        <th class="<?php if ($sorting_field == 'us_id') {echo $sorting_order;} else {echo "sorting";} ?>" id="us_id" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Tài khoản: activate to sort column ascending">Tài khoản</th>
66                                                        <th class="<?php if ($sorting_field == 'pin_code') {echo $sorting_order;} else {echo "sorting";} ?>" id="pin_code" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Mã pin: activate to sort column ascending">Mã pin</th>
67                                                        <th class="<?php if ($sorting_field == 'serial_number') {echo $sorting_order;} else {echo "sorting";} ?>" id="serial_number" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Số seri: activate to sort column ascending">Số seri</th>
68                                                        <th class="<?php if ($sorting_field == 'card_value') {echo $sorting_order;} else {echo "sorting";} ?>" id="card_value" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Giá trị thẻ nạp: activate to sort column ascending">Giá trị thẻ nạp</th>
69                                                        <th class="<?php if ($sorting_field == 'created_time') {echo $sorting_order;} else {echo "sorting";} ?>" id="created_time" class="hidden-480" role="columnheader" tabindex="0" aria-controls="sample-table-2" rowspan="1" colspan="1" style="width: 176px;" aria-label="Thời gian: activate to sort column ascending">
70                                                                <i class="icon-time bigger-110 hidden-480"></i>
71                                                                Thời gian nạp
72                                                        </th>
73
74                                                        <th></th>
75                                                </tr>
76                                        </thead>
77
78                                        <tbody role="alert" aria-live="polite" aria-relevant="all">
79                                                <?php foreach ($cardlogs as $cardlog): ?>
80                                                <tr>
81                                                        <td class="center">
82                                                                <label>
83                                                                        <input type="checkbox" class="ace" />
84                                                                        <span class="lbl"></span>
85                                                                </label>
86                                                        </td>
87
88                                                        <td>
89                                                                <a href="#"><?php echo $cardlog['sender']; ?></a>
90                                                        </td>
91                                                        <td><?php echo $cardlog['username']; ?></td>
92                                                        <td><?php echo $cardlog['pin_code']; ?></td>
93                                                        <td><?php echo $cardlog['serial_number']; ?></td>
94                                                        <td><?php echo $cardlog['card_value']; ?></td>
95                                                        <td><?php echo $cardlog['created_time']; ?></td>
96
97                                                        <td>
98                                                                <div class="visible-md visible-lg hidden-sm hidden-xs btn-group">
99                                                                        <button class="btn btn-xs btn-success">
100                                                                                <i class="icon-ok bigger-120"></i>
101                                                                        </button>
102
103                                                                        <button class="btn btn-xs btn-info">
104                                                                                <i class="icon-edit bigger-120"></i>
105                                                                        </button>
106
107                                                                        <button class="btn btn-xs btn-danger">
108                                                                                <i class="icon-trash bigger-120"></i>
109                                                                        </button>
110
111                                                                        <button class="btn btn-xs btn-warning">
112                                                                                <i class="icon-flag bigger-120"></i>
113                                                                        </button>
114                                                                </div>
115
116                                                                <div class="visible-xs visible-sm hidden-md hidden-lg">
117                                                                        <div class="inline position-relative">
118                                                                                <button class="btn btn-minier btn-primary dropdown-toggle" data-toggle="dropdown">
119                                                                                        <i class="icon-cog icon-only bigger-110"></i>
120                                                                                </button>
121
122                                                                                <ul class="dropdown-menu dropdown-only-icon dropdown-yellow pull-right dropdown-caret dropdown-close">
123                                                                                        <li>
124                                                                                                <a href="#" class="tooltip-info" data-rel="tooltip" title="View">
125                                                                                                        <span class="blue">
126                                                                                                                <i class="icon-zoom-in bigger-120"></i>
127                                                                                                        </span>
128                                                                                                </a>
129                                                                                        </li>
130
131                                                                                        <li>
132                                                                                                <a href="#" class="tooltip-success" data-rel="tooltip" title="Edit">
133                                                                                                        <span class="green">
134                                                                                                                <i class="icon-edit bigger-120"></i>
135                                                                                                        </span>
136                                                                                                </a>
137                                                                                        </li>
138
139                                                                                        <li>
140                                                                                                <a href="#" class="tooltip-error" data-rel="tooltip" title="Delete">
141                                                                                                        <span class="red">
142                                                                                                                <i class="icon-trash bigger-120"></i>
143                                                                                                        </span>
144                                                                                                </a>
145                                                                                        </li>
146                                                                                </ul>
147                                                                        </div>
148                                                                </div>
149                                                        </td>
150                                                </tr>
151                                                <?php endforeach; ?>
152                                        </tbody>
153                                </table>
154                                <div class="row"><div class="col-sm-6">
155                                                        <div class="dataTables_info" id="sample-table-2_info">Hiển thị <?php echo ($start+1)?> đến <?php echo ($start+$perpage)?> cá»§a <?php echo $total?> bản ghi</div>
156                                   
157                                                        </div>
158                                                        <div class="col-sm-6">
159                                                                <div class="dataTables_paginate paging_bootstrap">
160                                                                        <ul class="pagination">
161                                                                                <?php echo $paging; ?>
162                                                                        </ul>
163                                                                </div>
164                                                        </div>
165                                                </div>
166                        </div><!-- /.table-responsive -->
167
168                        <!-- PAGE CONTENT ENDS -->
169                </div><!-- /.col -->
170        </div><!-- /.row -->
171</div><!-- /.page-content -->
Note: See TracBrowser for help on using the repository browser.