From a7ca43660ab5b93495e89d4efa12d761a9f31902 Mon Sep 17 00:00:00 2001 From: joshuastegmaier Date: Mon, 2 Oct 2023 14:30:58 -0400 Subject: [PATCH] Moved and changed styling of OCR button --- .../transcriptions/asset_detail.html | 23 ++++++++++--------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/concordia/templates/transcriptions/asset_detail.html b/concordia/templates/transcriptions/asset_detail.html index ebc9ba7af..2a1f19bd0 100644 --- a/concordia/templates/transcriptions/asset_detail.html +++ b/concordia/templates/transcriptions/asset_detail.html @@ -360,6 +360,17 @@
Why does By the People have this feature?
+ {% if transcription_status == "not_started" or transcription_status == "in_progress" %} + + {% endif %}
@@ -513,15 +524,6 @@

- {% if transcription_status == "not_started" or transcription_status == "in_progress" %} - - {% endif %}
Share this item: {% share_buttons current_asset_url asset.item.title %}
@@ -885,7 +887,6 @@ let ocrSection = document.getElementById("ocr-section"); let editorColumn = document.getElementById("editor-column"); let viewerColumn = document.getElementById("viewer-column"); - let helpContainer = document.getElementById("help-container"); let layoutColumns = ["#viewer-column", "#editor-column"]; let verticalKey = 'transcription-split-sizes-vertical'; let horizontalKey = 'transcription-split-sizes-horizontal'; @@ -965,7 +966,7 @@ contributeContainer.classList.add("flex-row"); viewerColumn.classList.add("h-100"); if(ocrSection != null){ - helpContainer.prepend(ocrSection); + viewerColumn.append(ocrSection); } return Split(layoutColumns, { sizes: sizesHorizontal,