Details | Last modification | View Log | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 1 | espaco | 1 | <!-- BEGIN PAGE BREADCRUMB --> |
| 2 | <ul class="page-breadcrumb breadcrumb"> |
||
| 3 | <li> |
||
| 4 | <a href="#">Home</a><i class="fa fa-circle"></i> |
||
| 5 | </li> |
||
| 6 | <li> |
||
| 7 | <a href="#">jQuery Plugins</a><i class="fa fa-circle"></i> |
||
| 8 | </li> |
||
| 9 | <li class="active"> |
||
| 10 | Ajax Datatables |
||
| 11 | </li> |
||
| 12 | </ul> |
||
| 13 | <!-- END PAGE BREADCRUMB --> |
||
| 14 | |||
| 15 | <!-- BEGIN MAIN CONTENT --> |
||
| 16 | <div class="row"> |
||
| 17 | <div class="col-md-12"> |
||
| 18 | <div class="note note-danger note-bordered"> |
||
| 19 | <p> |
||
| 20 | NOTE: The below datatable is not connected to a real database so the filter and sorting is just simulated for demo purposes only. |
||
| 21 | </p> |
||
| 22 | </div> |
||
| 23 | <!-- Begin: life time stats --> |
||
| 24 | <div class="portlet light"> |
||
| 25 | <div class="portlet-title"> |
||
| 26 | <div class="caption font-green-sharp"> |
||
| 27 | <i class="icon-settings font-green-sharp"></i> |
||
| 28 | <span class="caption-subject bold uppercase">Order Listing</span> |
||
| 29 | </div> |
||
| 30 | <div class="actions"> |
||
| 31 | <a href="#" class="btn default yellow-stripe"> |
||
| 32 | <i class="fa fa-plus"></i> |
||
| 33 | <span class="hidden-480"> |
||
| 34 | New Order </span> |
||
| 35 | </a> |
||
| 36 | <div class="btn-group"> |
||
| 37 | <a class="btn default yellow-stripe" href="#" data-toggle="dropdown"> |
||
| 38 | <i class="fa fa-share"></i> |
||
| 39 | <span class="hidden-480"> |
||
| 40 | Tools </span> |
||
| 41 | <i class="fa fa-angle-down"></i> |
||
| 42 | </a> |
||
| 43 | <ul class="dropdown-menu pull-right"> |
||
| 44 | <li> |
||
| 45 | <a href="#"> |
||
| 46 | Export to Excel </a> |
||
| 47 | </li> |
||
| 48 | <li> |
||
| 49 | <a href="#"> |
||
| 50 | Export to CSV </a> |
||
| 51 | </li> |
||
| 52 | <li> |
||
| 53 | <a href="#"> |
||
| 54 | Export to XML </a> |
||
| 55 | </li> |
||
| 56 | <li class="divider"> |
||
| 57 | </li> |
||
| 58 | <li> |
||
| 59 | <a href="#"> |
||
| 60 | Print Invoices </a> |
||
| 61 | </li> |
||
| 62 | </ul> |
||
| 63 | </div> |
||
| 64 | </div> |
||
| 65 | </div> |
||
| 66 | <div class="portlet-body"> |
||
| 67 | <div class="table-container"> |
||
| 68 | <div class="table-actions-wrapper"> |
||
| 69 | <span> |
||
| 70 | </span> |
||
| 71 | <select class="table-group-action-input form-control input-inline input-small input-sm"> |
||
| 72 | <option value="">Select...</option> |
||
| 73 | <option value="Cancel">Cancel</option> |
||
| 74 | <option value="Cancel">Hold</option> |
||
| 75 | <option value="Cancel">On Hold</option> |
||
| 76 | <option value="Close">Close</option> |
||
| 77 | </select> |
||
| 78 | <button class="btn btn-sm yellow table-group-action-submit"><i class="fa fa-check"></i> Submit</button> |
||
| 79 | </div> |
||
| 80 | <table class="table table-striped table-bordered table-hover" id="datatable_ajax"> |
||
| 81 | <thead> |
||
| 82 | <tr role="row" class="heading"> |
||
| 83 | <th width="2%"> |
||
| 84 | <input type="checkbox" class="group-checkable"> |
||
| 85 | </th> |
||
| 86 | <th width="5%"> |
||
| 87 | Record # |
||
| 88 | </th> |
||
| 89 | <th width="15%"> |
||
| 90 | Date |
||
| 91 | </th> |
||
| 92 | <th width="15%"> |
||
| 93 | Customer |
||
| 94 | </th> |
||
| 95 | <th width="10%"> |
||
| 96 | Ship To |
||
| 97 | </th> |
||
| 98 | <th width="10%"> |
||
| 99 | Price |
||
| 100 | </th> |
||
| 101 | <th width="10%"> |
||
| 102 | Amount |
||
| 103 | </th> |
||
| 104 | <th width="10%"> |
||
| 105 | Status |
||
| 106 | </th> |
||
| 107 | <th width="10%"> |
||
| 108 | Actions |
||
| 109 | </th> |
||
| 110 | </tr> |
||
| 111 | <tr role="row" class="filter"> |
||
| 112 | <td> |
||
| 113 | </td> |
||
| 114 | <td> |
||
| 115 | <input type="text" class="form-control form-filter input-sm" name="order_id"> |
||
| 116 | </td> |
||
| 117 | <td> |
||
| 118 | <div class="input-group date date-picker margin-bottom-5" data-date-format="dd/mm/yyyy"> |
||
| 119 | <input type="text" class="form-control form-filter input-sm" readonly name="order_date_from" placeholder="From"> |
||
| 120 | <span class="input-group-btn"> |
||
| 121 | <button class="btn btn-sm default" type="button"><i class="fa fa-calendar"></i></button> |
||
| 122 | </span> |
||
| 123 | </div> |
||
| 124 | <div class="input-group date date-picker" data-date-format="dd/mm/yyyy"> |
||
| 125 | <input type="text" class="form-control form-filter input-sm" readonly name="order_date_to" placeholder="To"> |
||
| 126 | <span class="input-group-btn"> |
||
| 127 | <button class="btn btn-sm default" type="button"><i class="fa fa-calendar"></i></button> |
||
| 128 | </span> |
||
| 129 | </div> |
||
| 130 | </td> |
||
| 131 | <td> |
||
| 132 | <input type="text" class="form-control form-filter input-sm" name="order_customer_name"> |
||
| 133 | </td> |
||
| 134 | <td> |
||
| 135 | <input type="text" class="form-control form-filter input-sm" name="order_ship_to"> |
||
| 136 | </td> |
||
| 137 | <td> |
||
| 138 | <div class="margin-bottom-5"> |
||
| 139 | <input type="text" class="form-control form-filter input-sm" name="order_price_from" placeholder="From"/> |
||
| 140 | </div> |
||
| 141 | <input type="text" class="form-control form-filter input-sm" name="order_price_to" placeholder="To"/> |
||
| 142 | </td> |
||
| 143 | <td> |
||
| 144 | <div class="margin-bottom-5"> |
||
| 145 | <input type="text" class="form-control form-filter input-sm margin-bottom-5 clearfix" name="order_quantity_from" placeholder="From"/> |
||
| 146 | </div> |
||
| 147 | <input type="text" class="form-control form-filter input-sm" name="order_quantity_to" placeholder="To"/> |
||
| 148 | </td> |
||
| 149 | <td> |
||
| 150 | <select name="order_status" class="form-control form-filter input-sm"> |
||
| 151 | <option value="">Select...</option> |
||
| 152 | <option value="pending">Pending</option> |
||
| 153 | <option value="closed">Closed</option> |
||
| 154 | <option value="hold">On Hold</option> |
||
| 155 | <option value="fraud">Fraud</option> |
||
| 156 | </select> |
||
| 157 | </td> |
||
| 158 | <td> |
||
| 159 | <div class="margin-bottom-5"> |
||
| 160 | <button class="btn btn-sm yellow filter-submit margin-bottom"><i class="fa fa-search"></i> Search</button> |
||
| 161 | </div> |
||
| 162 | <button class="btn btn-sm red filter-cancel"><i class="fa fa-times"></i> Reset</button> |
||
| 163 | </td> |
||
| 164 | </tr> |
||
| 165 | </thead> |
||
| 166 | <tbody> |
||
| 167 | </tbody> |
||
| 168 | </table> |
||
| 169 | </div> |
||
| 170 | </div> |
||
| 171 | </div> |
||
| 172 | <!-- End: life time stats --> |
||
| 173 | </div> |
||
| 174 | </div> |
||
| 175 | <!-- END MAIN CONTENT --> |
||
| 176 | <!-- BEGIN MAIN JS --> |
||
| 177 | <script> |
||
| 178 | TableAjax.init(); |
||
| 179 | </script> |
||
| 180 | <!-- END MAIN JS --> |