diff --git a/src/main/resources/public/css/main.css b/src/main/resources/public/css/main.css
index afd5e55d..358b17bd 100644
--- a/src/main/resources/public/css/main.css
+++ b/src/main/resources/public/css/main.css
@@ -163,7 +163,7 @@ body {
@media (max-width:413px){
#realPaymentMethods{
- overflow-x: scroll;
+ overflow-x: scroll;
}
}
@@ -191,4 +191,54 @@ body {
.unauthenticated a:nth-child(2){
width:52%;
}
-}
\ No newline at end of file
+}
+
+/*Tables footer customization. */
+[id$=_paginate].dataTables_paginate {
+ padding: 0 !important;
+ align-items: center !important;
+ justify-content: center !important;
+ display: flex !important;
+ float: right !important;
+ margin-top: 4px;
+}
+
+[id$=_paginate] > a.paginate_button {
+ padding: 0 !important;
+ height: 2.5em !important;
+ width: 2.5em !important;
+ display: inline-flex !important;
+ align-items: center !important;
+ justify-content: center !important;
+}
+
+[id$=_paginate] > span .paginate_button {
+ padding: 0px !important;
+ height: 2.5em !important;
+ width: 2.5em !important;
+ display: inline-flex !important;
+ align-items: center !important;
+ justify-content: center !important;
+}
+
+[id$=_length]{
+ margin: 0 !important;
+ margin-left: 8px !important;
+ padding: 0 !important;
+ height: 100% !important;
+}
+
+[id$=_length] > label {
+ display: inline-flex !important;
+ flex-direction: column;
+ align-items: center !important;
+ justify-content: center !important;
+ font-size: 14px !important;
+ font-weight: normal !important;
+ margin: 0 !important;
+ padding: 0 !important;
+}
+
+.dataTables_info {
+ text-align: center;
+}
diff --git a/src/main/resources/public/js/getAndAddContracts.js b/src/main/resources/public/js/getAndAddContracts.js
index 3aac743c..b325377b 100644
--- a/src/main/resources/public/js/getAndAddContracts.js
+++ b/src/main/resources/public/js/getAndAddContracts.js
@@ -23,8 +23,26 @@ var projectContractsCount = -1;
)
$("#tasks").show();
$("#tasksTable").DataTable({
+ dom: "<'row w-100 align-items-center'<'col-sm-12 col-md-12 justify-content-end'Q>>" +
+ "<'row w-100'<'col-sm-12'tr>>" +
+ "<'row w-100 align-items-center'<'col-sm-12 col-md-4 justify-content-end mb-1'i><'col-sm-12 col-md-8 d-flex justify-content-end align-items-center'lp>>",
+ searchBuilder: {
+ columns: [1, 2],
+ },
language: {
- loadingRecords: ''
+ loadingRecords: '
',
+ searchBuilder:{
+ add: "+",
+ title: {
+ 0: 'Date filters',
+ _: 'Date filters (%d)'
+ },
+ },
+ lengthMenu: "