fix ui for dark layout

This commit is contained in:
Markus
2023-04-28 22:49:26 +02:00
parent 972ba9d522
commit 136fc045f6
5 changed files with 15 additions and 11 deletions

View File

@@ -40,7 +40,6 @@
min-height:20px;
padding:19px;
margin-bottom:20px;
background-color:#fbfbfb;
border:1px solid #999;
-webkit-border-radius:4px;
-moz-border-radius:4px;

View File

@@ -22,13 +22,13 @@ $(document).ready(function(){
dom: '<"toolbar">frt',
"createdRow": function ( row, data, index ) {
if(data.validate == "t"){
$(row).addClass('bg-warning');
$(row).addClass('text-bg-warning');
}
},
columns: colomnspez,
});
$("div.toolbar").html('<a class="btn-sm btn-secondary mr-2" href="/newBill" role="button">Neue Rechnung</a><a class="btn-sm btn-secondary" href="/newTransfer" role="button">Neuer Transfer</a>');
$("div.toolbar").html('<a class="btn-sm btn-secondary mx-2" href="/newBill" role="button">Neue Rechnung</a><a class="btn-sm btn-secondary" href="/newTransfer" role="button">Neuer Transfer</a>');
$('#bookings tbody').on('click', 'td.dt-receiver', function () {collapseDetails($(this), datatable);} );
$('#bookings tbody').on('click', 'td.dt-datum', function () {location.href = '/editBill/'+getId($(this),datatable);});
$('#bookings tbody').on('click', 'table.tabdet', function () {location.href = '/editBill/'+$(this).attr('data-bs-id');});