Mail and Booking

This commit is contained in:
Kevin Adametz 2020-04-15 12:11:42 +02:00
parent 62e84637b6
commit 5daea268f7
250 changed files with 5377 additions and 1473 deletions

BIN
public/128.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View file

@ -341,7 +341,7 @@ figcaption {
margin: 0;
width: auto;
}
/*
.messages-wrapper {
position: relative;
display: -ms-flexbox;
@ -696,11 +696,81 @@ figcaption {
left: auto
}
}
*/
.btn-next {
border-color: rgba(0, 0, 0, 0);
background: #8897AA;
color:#fff
}
.btn-next:hover {
border-color: rgba(0, 0, 0, 0);
background: #818fa2;
color:#fff
}
.btn-next:focus, .btn-next.focus {
box-shadow:0 0 0 2px rgba(136, 151, 170, 0.4)
}
.btn-next.disabled, .btn-next:disabled {
border-color: rgba(0, 0, 0, 0) !important;
background: #8897AA !important;
box-shadow: none !important;
color:#fff !important
}
.btn-next .badge {
background: #fff;
color:#8897AA
}
.btn-next:active, .btn-next.active, .show > .btn-next.dropdown-toggle {
border-color: rgba(0, 0, 0, 0);
background: #768394;
box-shadow:none
}
.btn-group .btn-next, .input-group-prepend .btn-next, .input-group-append .btn-next {
border-right: 1px solid #768394;
border-left:1px solid #768394
}
.badge-md {
font-size: 0.95em;
}
.table.table-sm td {
font-size: 0.9em;
}
.badge-next {
background-color: #8897AA;
color:#fff;
}
.badge-next[href]:hover, .badge-next[href]:focus {
background-color: #768394;
color:#fff;
text-decoration: none;
}
.badge-dark {
background-color: rgba(200, 21, 176, 0.9);
color: #fff;
}
.badge-dark[href]:hover, .badge-dark[href]:focus {
background-color: rgb(176, 21, 152);
}
.badge-success {
background-color: #94ae59;
color: #fff;
}
.text-success {
color: #94ae59 !important;
}
.default-style .datepicker-dropdown {
z-index: 2080 !important;
@ -708,3 +778,6 @@ figcaption {
.default-style .dtp {
z-index: 2080;
}
.table th, .table td {
padding: 0.4rem;
}

View file

@ -151,7 +151,7 @@ $(function () {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
success: function(data) {
console.log(data);
// console.log(data);
$(data.response.target).find('.modal-dialog').html(data.html);
$(data.response.target + '.selectpicker').selectpicker('refresh');
initModalInner();
@ -170,6 +170,41 @@ $(function () {
});
function ajax_object_action(event, object, callback) {
event.preventDefault();
var data = {};
$.each(object.data(), function(index, value){
data[index] = value;
});
var url = data['url'];
/*console.log(data);
console.log(url);*/
$.ajax({
url: url,
data: data,
type: "POST",
dataType: "json",
cache: false,
contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
encode: true,
headers: {
'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content')
},
success: function(data) {
//data will send data to callback function
callback(data);
},
error: function(xhr, status, errorThrown) {
console.log(xhr);
console.log(xhr.responseText);
console.log(status);
console.log(errorThrown);
console.log("Sorry, there was a problem!");
}
});
return false;
}
function update_modal_data_show(e, $ele) {
e.preventDefault();
@ -178,8 +213,8 @@ function update_modal_data_show(e, $ele) {
data = {id:ele.data('data')} ,
contentType = 'application/x-www-form-urlencoded; charset=UTF-8';
console.log(data);
console.log(url);
/* console.log(data);
console.log(url);*/
$.ajax({
url: url,
data: data,
@ -381,25 +416,5 @@ $(function() {
e.preventDefault();
$('.messages-wrapper, .messages-card').toggleClass('messages-sidebox-open');
});
// New message
// {
if (!window.Quill) {
$('#message-editor,#message-editor-toolbar').remove();
$('#message-editor-fallback').removeClass('d-none');
} else {
$('#message-editor-fallback').remove();
new Quill('#message-editor', {
modules: {
toolbar: '#message-editor-toolbar'
},
placeholder: 'Type your message...',
theme: 'snow'
});
}
// }
});

Binary file not shown.

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

View file

@ -1 +1 @@
/Users/kevinadametz/Websites/mein.sterntours.local/storage/app/public
/Users/kadmin/Websites/mein.sterntours.local/storage/app/public