User Groups and Rights, Fewo
This commit is contained in:
parent
c0c2a1822c
commit
26ecb09cdc
22 changed files with 1316 additions and 787 deletions
|
|
@ -38,3 +38,55 @@
|
|||
border-color: #c1998f;
|
||||
}
|
||||
|
||||
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label-primary::before,
|
||||
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label-primary::before {
|
||||
border-color: #648859 !important;
|
||||
background-color: #648859 !important;
|
||||
}
|
||||
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label-secondary::before,
|
||||
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label-secondary::before {
|
||||
border-color: #f2bf24 !important;
|
||||
background-color: #f2bf24 !important;
|
||||
}
|
||||
|
||||
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label-info::before,
|
||||
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label-info::before {
|
||||
border-color: #28c3d7 !important;
|
||||
background-color: #28c3d7 !important;
|
||||
}
|
||||
|
||||
|
||||
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label-warning::before,
|
||||
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label-warning::before {
|
||||
border-color: #ff844d !important;
|
||||
background-color: #ff844d !important;
|
||||
}
|
||||
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label-danger::before,
|
||||
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label-danger::before {
|
||||
border-color: #d9534f !important;
|
||||
background-color: #d9534f !important;
|
||||
}
|
||||
|
||||
|
||||
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label-client::before,
|
||||
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label-client::before {
|
||||
border-color: #83878b !important;
|
||||
background-color: #83878B !important;
|
||||
}
|
||||
|
||||
|
||||
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label-admin::before,
|
||||
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label-admin::before {
|
||||
border-color: #f2bf24 !important;
|
||||
background-color: #f2bf24 !important;
|
||||
}
|
||||
|
||||
|
||||
.custom-control.custom-checkbox .custom-control-input:checked ~ .custom-control-label-superadmin::before,
|
||||
.custom-control.custom-radio .custom-control-input:checked ~ .custom-control-label-superadmin::before {
|
||||
border-color: #648859 !important;
|
||||
background-color: #648859 !important;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,45 @@ $(function () {
|
|||
// $('[data-toggle="tooltip"]').tooltip();
|
||||
});
|
||||
|
||||
function update_modal_data_show(e, $ele) {
|
||||
e.preventDefault();
|
||||
|
||||
var ele = $ele,
|
||||
url = ele.data('url'),
|
||||
data = {id:ele.data('data')} ,
|
||||
contentType = 'application/x-www-form-urlencoded; charset=UTF-8';
|
||||
|
||||
console.log(data);
|
||||
console.log(url);
|
||||
$.ajax({
|
||||
url: url,
|
||||
data: data,
|
||||
type: "POST",
|
||||
dataType: "html",
|
||||
cache: false,
|
||||
contentType: contentType,
|
||||
encode: true,
|
||||
headers: {
|
||||
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
|
||||
},
|
||||
success: function(data) {
|
||||
// do what ever you want here. add content to <div> if it was not 1 .
|
||||
console.log(data);
|
||||
$('#update-modal-content').html(data);
|
||||
$('.selectpicker').selectpicker(["refresh"]);
|
||||
$('.input-daterange').datepicker({toggleActive: true,format: 'dd.mm.yyyy'});
|
||||
// $.Nestable.init();
|
||||
$('#updateModalShow').modal('show');
|
||||
},
|
||||
error: function(xhr, status, errorThrown) {
|
||||
console.log(xhr);
|
||||
console.log(xhr.responseText);
|
||||
console.log(status);
|
||||
console.log("Sorry, there was a problem!");
|
||||
}
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
function update_modal_data_load(e, $ele) {
|
||||
var ele = $ele,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue