-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoptions.php
More file actions
152 lines (148 loc) · 5.57 KB
/
options.php
File metadata and controls
152 lines (148 loc) · 5.57 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
<!DOCTYPE html>
<html>
<head>
<?php include('include/head.php'); ?>
<link rel="stylesheet" type="text/css" href="src/plugins/datatables/media/css/jquery.dataTables.css">
<link rel="stylesheet" type="text/css" href="src/plugins/datatables/media/css/dataTables.bootstrap4.css">
<link rel="stylesheet" type="text/css" href="src/plugins/datatables/media/css/responsive.dataTables.css">
</head>
<body>
<?php include('include/header.php'); ?>
<?php include('include/sidebar.php'); ?>
<div class="main-container">
<div class="pd-ltr-20 customscroll customscroll-10-p height-100-p xs-pd-20-10">
<div class="min-height-200px">
<div class="page-header">
<div class="row">
<div class="col-md-6 col-sm-12">
<div class="title">
<h4>Options</h4>
</div>
<nav aria-label="breadcrumb" role="navigation">
<ol class="breadcrumb">
<li class="breadcrumb-item"><a href="index.php">Catalogue</a></li>
<li class="breadcrumb-item active" aria-current="page">Options</li>
</ol>
</nav>
</div>
<div class="col-md-6 col-sm-12 text-right">
<div class="dropdown">
<a class="btn btn-primary dropdown-toggle" href="#" role="button" data-toggle="dropdown">
Options
</a>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="gerer-options.php"><i class="fa fa-plus"> Ajouter</i></a>
<a class="dropdown-item" href="#"><i class="fa fa-refresh"></i> Rafraichir</a>
<a class="dropdown-item btn-danger" href="#"><i class="fa fa-trash"></i> Supprimer</a>
</div>
</div>
</div>
</div>
</div>
<!-- Export Datatable start -->
<div class="pd-20 bg-white border-radius-4 box-shadow mb-30">
<div class="clearfix mb-20">
<div class="pull-left">
<h5 class="text-blue">Liste des options</h5>
</div>
</div>
<div class="row">
<table class="stripe hover multiple-select-row produits nowrap">
<thead>
<tr>
<th class="datatable-nosort"><input type="checkbox" id="customCheck1" class="selectall">
<label for="customCheck1"></label>
</th>
<th>Nom de l'option</th>
<th>Type</th>
<th class="datatable-nosort">Actions</th>
</tr>
</thead>
<tbody>
<tr>
<td><input type="checkbox"></td>
<td>Quantité</td>
<td>Numérique</td>
<td>
<div class="dropdown">
<a class="btn btn-outline-primary dropdown-toggle" href="#" role="button" data-toggle="dropdown">
<i class="fa fa-ellipsis-h"></i>
</a>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="gerer-options.php"><i class="fa fa-eye"></i> Details</a>
<a class="dropdown-item" href="gerer-options.php"><i class="fa fa-pencil"></i> Modifier</a>
<a class="dropdown-item" href="#"><i class="fa fa-trash"></i> Supprimer</a>
</div>
</div>
</td>
</tr>
<tr>
<td><input type="checkbox"></td>
<td>Taille</td>
<td>Checkbox</td>
<td>
<div class="dropdown">
<a class="btn btn-outline-primary dropdown-toggle" href="#" role="button" data-toggle="dropdown">
<i class="fa fa-ellipsis-h"></i>
</a>
<div class="dropdown-menu dropdown-menu-right">
<a class="dropdown-item" href="gerer-options.php"><i class="fa fa-eye"></i> Details</a>
<a class="dropdown-item" href="gerer-options.php"><i class="fa fa-pencil"></i> Modifier</a>
<a class="dropdown-item" href="#"><i class="fa fa-trash"></i> Supprimer</a>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Export Datatable End -->
</div>
<?php include('include/footer.php'); ?>
</div>
</div>
<?php include('include/script.php'); ?>
<script src="src/plugins/datatables/media/js/jquery.dataTables.min.js"></script>
<script src="src/plugins/datatables/media/js/dataTables.bootstrap4.js"></script>
<script src="src/plugins/datatables/media/js/dataTables.responsive.js"></script>
<script src="src/plugins/datatables/media/js/responsive.bootstrap4.js"></script>
<!-- buttons for Export datatable -->
<script src="src/plugins/datatables/media/js/button/dataTables.buttons.js"></script>
<script src="src/plugins/datatables/media/js/button/buttons.bootstrap4.js"></script>
<script src="src/plugins/datatables/media/js/button/buttons.print.js"></script>
<script src="src/plugins/datatables/media/js/button/buttons.html5.js"></script>
<script src="src/plugins/datatables/media/js/button/buttons.flash.js"></script>
<script src="src/plugins/datatables/media/js/button/pdfmake.min.js"></script>
<script src="src/plugins/datatables/media/js/button/vfs_fonts.js"></script>
<script>
$('document').ready(function(){
$('.selectall').click(function() {
if ($(this).is(':checked')) {
$('div input').attr('checked', true);
} else {
$('div input').attr('checked', false);
}
});
$('.produits').DataTable({
scrollCollapse: true,
autoWidth: false,
responsive: true,
columnDefs: [{
targets: "datatable-nosort",
orderable: false,
}],
"lengthMenu": [[10, 25, 50, -1], [10, 25, 50, "Tout"]],
"language": {
"info": "_START_-_END_ of _TOTAL_ Categories",
searchPlaceholder: "Recherche"
},
dom: 'Bfrtip',
buttons: [
'copy', 'csv', 'pdf', 'print'
]
});
});
</script>
</body>
</html>