Skip to content

Commit a48c9a7

Browse files
author
Your Name
committed
Latest Updated Changes
1 parent 6a68fbb commit a48c9a7

File tree

3 files changed

+40
-58
lines changed

3 files changed

+40
-58
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,4 +118,4 @@ For each PR made, an entry should be added to this changelog. It should contain
118118
changelog-update-Issue-1001
119119
- Description: Formatting the buttons - 'Show 100','CSV' and 'Customize Columns' to be on a single line for an optimal use of space.
120120
- Changes:
121-
- Updated delta_url_list.css with necessary modifications
121+
- Updated delta_url_list.css and delta_url_list.js files with necessary modifications

sde_indexing_helper/static/css/delta_url_list.css

Lines changed: 33 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,18 @@
253253
font-weight: 500;
254254
}
255255

256+
.custom-select,
257+
.buttons-csv,
258+
.customizeColumns,
259+
.addPattern {
260+
border-style: solid !important;
261+
border-color: #A7BACD !important;
262+
border-width: 1px !important;
263+
color: #A7BACD !important;
264+
border-radius: 5px !important;
265+
padding: 11px 15px;
266+
}
267+
256268
.addPattern {
257269
background-color: #0066CA !important;
258270
border-color: #0066CA !important;
@@ -435,62 +447,30 @@ div.dt-container div.dt-paging ul.pagination {
435447
min-width: 100%;
436448
}
437449

438-
.dt-container {
450+
#delta_urls_table_wrapper .col-md {
451+
display: flex;
452+
justify-content: space-between;
453+
align-items: center;
454+
grid-auto-flow: row;
439455
position: relative;
440-
}
441456

442-
.dt-container div.dt-buttons {
443-
display: flex !important;
444-
gap: 10px !important;
445-
align-items: center !important;
446-
justify-content: flex-end;
447-
position: absolute;
448-
right: 0;
449-
top: 0;
457+
.dt-info {
458+
position:absolute;
459+
left: 130px;
460+
top: 5px;
461+
}
450462
}
451463

452-
.custom-select,
453-
.buttons-csv,
454-
.customizeColumns,
455-
.addPattern {
456-
border-style: solid !important;
457-
border-color: #A7BACD !important;
458-
border-width: 1px !important;
459-
color: #A7BACD !important;
460-
border-radius: 5px !important;
461-
padding: 11px 15px !important;
462-
margin: 0 !important;
463-
height: 43px !important;
464-
display: flex !important;
465-
align-items: center !important;
466-
}
467-
468-
#exclude_patterns_table_wrapper,
469-
#include_patterns_table_wrapper,
470-
#document_type_patterns_table_wrapper,
471-
#title_patterns_table_wrapper {
472-
margin-top: 15px !important;
473-
}
474-
475-
#exclude_patterns_table_wrapper table,
476-
#include_patterns_table_wrapper table,
477-
#document_type_patterns_table_wrapper table,
478-
#title_patterns_table_wrapper table {
479-
margin-top: 15px !important;
480-
}
481-
482-
#exclude_patterns_table_wrapper .addPattern,
483-
#include_patterns_table_wrapper .addPattern,
484-
#document_type_patterns_table_wrapper .addPattern,
485-
#title_patterns_table_wrapper .addPattern,
486-
#exclude_patterns_table_wrapper .customizeColumns,
487-
#include_patterns_table_wrapper .customizeColumns,
488-
#document_type_patterns_table_wrapper .customizeColumns,
489-
#title_patterns_table_wrapper .customizeColumns {
490-
margin-top: -10px !important;
491-
}
464+
#curated_urls_table_wrapper .col-md {
465+
display: flex;
466+
justify-content: space-between;
467+
align-items: center;
468+
grid-auto-flow: row;
469+
position: relative;
492470

493-
#delta_urls_table_wrapper .dt-buttons,
494-
#curated_urls_table_wrapper .dt-buttons {
495-
gap: 3px !important;
471+
.dt-info {
472+
position:absolute;
473+
left: 130px;
474+
top: 5px;
475+
}
496476
}

sde_indexing_helper/static/js/delta_url_list.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,14 +114,15 @@ function initializeDataTable() {
114114
layout: {
115115
bottomEnd: "inputPaging",
116116
topEnd: null,
117-
topStart: {
118-
info: true,
117+
topStart: null,
118+
top: {
119119
pageLength: {
120120
menu: [
121121
[25, 50, 100, 500],
122122
["Show 25", "Show 50", "Show 100", "Show 500"],
123123
],
124124
},
125+
info:true,
125126
buttons: [
126127
{
127128
extend: "csv",
@@ -332,14 +333,15 @@ function initializeDataTable() {
332333
layout: {
333334
bottomEnd: "inputPaging",
334335
topEnd: null,
335-
topStart: {
336-
info: true,
336+
topStart: null,
337+
top: {
337338
pageLength: {
338339
menu: [
339340
[25, 50, 100, 500],
340341
["Show 25", "Show 50", "Show 100", "Show 500"],
341342
],
342343
},
344+
info:true,
343345
buttons: [
344346
{
345347
extend: "csv",

0 commit comments

Comments
 (0)