Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alignment of ‘Show 100’, ‘CSV’, ‘CUSTOMIZE COLUMNS’ #1242

6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ For each PR made, an entry should be added to this changelog. It should contain
- Added `escapeHtml` function in the `delta_url_list.js` file to handle special character escaping correctly.
- Called this function while retrieving the titles in `getGeneratedTitleColumn()` and `getCuratedGeneratedTitleColumn()` functions.

- 1196-arrange-the-show-100-csv-customize-columns-boxes-to-be-in-one-line-on-the-delta-urls-page
changelog-update-Issue-1001
- Description: Formatting the buttons - 'Show 100','CSV' and 'Customize Columns' to be on a single line for an optimal use of space.
- Changes:
- Updated delta_url_list.css and delta_url_list.js files with necessary modifications

- 1246-minor-enhancement-document-type-pattern-form-require-document-type-or-show-appropriate-error
- Description: In the Document Type Pattern Form, if the user does not select a Document Type while filling out the form, an appropriate error message is displayed.
- Changes:
Expand Down
33 changes: 28 additions & 5 deletions sde_indexing_helper/static/css/delta_url_list.css
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,6 @@
}

.modalFooter {
position: sticky;
bottom: 0;
position: sticky;
bottom: 0;
padding: 10px 0;
Expand Down Expand Up @@ -255,8 +253,6 @@
font-weight: 500;
}



.custom-select,
.buttons-csv,
.customizeColumns,
Expand Down Expand Up @@ -440,7 +436,6 @@ div.dt-buttons .btn.processing:after {
}


/* pagination position */
div.dt-container div.dt-paging ul.pagination {
position: absolute;
right: 60px;
Expand All @@ -451,3 +446,31 @@ div.dt-container div.dt-paging ul.pagination {
max-width: 100%;
min-width: 100%;
}

#delta_urls_table_wrapper .col-md {
display: flex;
justify-content: space-between;
align-items: center;
grid-auto-flow: row;
position: relative;

.dt-info {
position:absolute;
left: 130px;
top: 5px;
}
}

#curated_urls_table_wrapper .col-md {
display: flex;
justify-content: space-between;
align-items: center;
grid-auto-flow: row;
position: relative;

.dt-info {
position:absolute;
left: 130px;
top: 5px;
}
}
10 changes: 6 additions & 4 deletions sde_indexing_helper/static/js/delta_url_list.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,14 +114,15 @@ function initializeDataTable() {
layout: {
bottomEnd: "inputPaging",
topEnd: null,
topStart: {
info: true,
topStart: null,
top: {
pageLength: {
menu: [
[25, 50, 100, 500],
["Show 25", "Show 50", "Show 100", "Show 500"],
],
},
info:true,
buttons: [
{
extend: "csv",
Expand Down Expand Up @@ -332,14 +333,15 @@ function initializeDataTable() {
layout: {
bottomEnd: "inputPaging",
topEnd: null,
topStart: {
info: true,
topStart: null,
top: {
pageLength: {
menu: [
[25, 50, 100, 500],
["Show 25", "Show 50", "Show 100", "Show 500"],
],
},
info:true,
buttons: [
{
extend: "csv",
Expand Down