From 5cc4099d083bf823e1b7b0a79bc041ac40480f35 Mon Sep 17 00:00:00 2001 From: rasarkar <105652044+rasarkar@users.noreply.github.com> Date: Fri, 1 Nov 2024 09:32:09 -0400 Subject: [PATCH] CONCD-924 (#2581) * CONCD-924 Xs don't seem right * CONCD-924 Status/contributor count/call to action should align with left edge of transcription box (they are currently a little indented) * CONCD-924 workaround for dialog not closing * CONCD-924 About this campaign header should be centered - it's formatted to the left because there isn't a left arrow * CONCD-924 Show what I can review: Right edge of text should align with right edge of Not started filter box * CONCD-924 Radio button styling doesn't match 'show what i can review' button * CONCD-924 Banner styling is different - link shows as box within the box of the banner instead of just a hyperlink within the banner * CONCD-924 Status and contributor count disappear after you click the save button * CONCD-924 Carousel header should be bolded * CONCD-924 project image thumbnail size * CONCD-924 fixed a bug where the guide was sliding twice --- concordia/static/js/src/contribute.js | 4 ++-- concordia/static/scss/base.scss | 21 ++++++++++++++++++- .../templates/fragments/_filter-buttons.html | 2 +- .../templates/fragments/recent-pages.html | 8 +++---- concordia/templates/home.html | 19 ++++++++++------- .../asset_reservation_failure_modal.html | 2 +- .../transcriptions/asset_detail/editor.html | 2 +- .../transcriptions/asset_detail/guide.html | 10 ++++----- .../transcriptions/campaign_detail.html | 4 ++-- .../templates/transcriptions/item_detail.html | 4 ++-- .../transcriptions/project_detail.html | 4 ++-- 11 files changed, 51 insertions(+), 29 deletions(-) diff --git a/concordia/static/js/src/contribute.js b/concordia/static/js/src/contribute.js index 046b796c9..de599785a 100644 --- a/concordia/static/js/src/contribute.js +++ b/concordia/static/js/src/contribute.js @@ -305,8 +305,8 @@ function setupPage() { .attr('hidden', 'hidden') .filter('#message-inprogress') .removeAttr('hidden'); - messageChildren - .filter('#message-contributors') + $('#transcription-status-display').removeAttr('hidden'); + $('#message-contributors') .removeAttr('hidden') .find('#message-contributors-num') .html(responseData.asset.contributors); diff --git a/concordia/static/scss/base.scss b/concordia/static/scss/base.scss index 440bed2ef..0c3393378 100644 --- a/concordia/static/scss/base.scss +++ b/concordia/static/scss/base.scss @@ -129,6 +129,8 @@ $alert-padding-x: 1rem; @import '../../../node_modules/bootstrap/scss/nav'; @import '../../../node_modules/bootstrap/scss/navbar'; @import '../../../node_modules/bootstrap/scss/breadcrumb'; +@import '../../../node_modules/bootstrap/scss/alert'; +@import '../../../node_modules/bootstrap/scss/close'; @import '../../../node_modules/bootstrap/scss/carousel'; // progress @@ -234,6 +236,15 @@ header.border-bottom { color: $dark; } } + + &.alert-success { + background-color: $green; + } +} + +.alert a[type='button'] { + color: inherit; + font-size: 1.5rem; } .font-serif { @@ -705,10 +716,13 @@ li.breadcrumb-item.active { margin: 0 -6px; } +.row .concordia-object-card-container { + width: 90%; +} + .concordia-object-card-container { display: flex; flex-wrap: wrap; - width: 90%; padding-top: 0.25em; } @@ -996,6 +1010,11 @@ body .disabled > .page-link { width: 14px; } +#previous-guide, +#next-guide { + cursor: pointer; +} + .aspect-ratio-box { height: 0; overflow: hidden; diff --git a/concordia/templates/fragments/_filter-buttons.html b/concordia/templates/fragments/_filter-buttons.html index 0e81f124a..7a234d92b 100644 --- a/concordia/templates/fragments/_filter-buttons.html +++ b/concordia/templates/fragments/_filter-buttons.html @@ -1,5 +1,5 @@ {% if user.is_authenticated %} -
+
diff --git a/concordia/templates/fragments/recent-pages.html b/concordia/templates/fragments/recent-pages.html index 2f33a69f2..ee3a218f1 100644 --- a/concordia/templates/fragments/recent-pages.html +++ b/concordia/templates/fragments/recent-pages.html @@ -18,12 +18,12 @@

Recent Pages Worked On

-
- +
+
-
- +
+
diff --git a/concordia/templates/home.html b/concordia/templates/home.html index f99f41813..96ac8d695 100644 --- a/concordia/templates/home.html +++ b/concordia/templates/home.html @@ -15,14 +15,17 @@ {% if SHOW_BANNER and banner %}
-
@@ -74,7 +77,7 @@

Review