From 678a0767b7e0ce4561b777533a04eef01aaa10c6 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Thu, 30 Nov 2023 11:21:39 +0100 Subject: [PATCH 1/3] Change Manual icon --- app/templates/_base/navbar.html.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/templates/_base/navbar.html.j2 b/app/templates/_base/navbar.html.j2 index 1242e310..aab85321 100644 --- a/app/templates/_base/navbar.html.j2 +++ b/app/templates/_base/navbar.html.j2 @@ -30,7 +30,7 @@ {% endif %} {%- endfor -%} - help + school From f5e98ae6554980e6c5b5fb081b1e51cf4bfffad5 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Tue, 5 Dec 2023 15:00:21 +0100 Subject: [PATCH 2/3] Add badges to README --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 30c84ae2..cabdf34b 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,8 @@ # nopaque +![release badge](https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque/-/badges/release.svg) +![pipeline badge](https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque/badges/master/pipeline.svg?ignore_skipped=true) + nopaque bundles various tools and services that provide humanities scholars with DH methods and thus can support their various individual research processes. Using nopaque, researchers can subject digitized sources to Optical Character Recognition (OCR). The resulting text files can then be used as a data basis for Natural Language Processing (NLP). The texts are automatically subjected to various linguistic annotations. The data processed via NLP can then be summarized in the web application as corpora and analyzed by means of an information retrieval system through complex search queries. The range of functions of the web application will be successively extended according to the needs of the researchers. ## Prerequisites and requirements From f02d1619e2894fce559b92f51ad959b65de4ba0e Mon Sep 17 00:00:00 2001 From: Inga Kirschnick Date: Thu, 7 Dec 2023 12:46:37 +0100 Subject: [PATCH 3/3] Try to implement anchor tags --- app/static/js/app.js | 8 ++++++++ .../_analysis/query_builder/_query_builder.html.j2 | 13 ++++--------- 2 files changed, 12 insertions(+), 9 deletions(-) diff --git a/app/static/js/app.js b/app/static/js/app.js index 27b675f4..57dd7ca1 100644 --- a/app/static/js/app.js +++ b/app/static/js/app.js @@ -168,6 +168,14 @@ nopaque.App = class App { let manualModalTocElement = document.querySelector('#manual-modal-toc'); let manualModalToc = M.Tabs.getInstance(manualModalTocElement); manualModalToc.select(modalTriggerElement.dataset.manualModalChapter); + // TODO: Make this work. + // if ('manualModalChapterAnchor' in modalTriggerElement.dataset) { + // let manualModalChapterAnchor = document.querySelector(`#${modalTriggerElement.dataset.manualModalChapterAnchor}`); + // let xCoord = manualModalChapterAnchor.getBoundingClientRect().left; + // let yCoord = manualModalChapterAnchor.getBoundingClientRect().top; + // let modalContentElement = modalElement.querySelector('.modal-content'); + // modalContentElement.scroll(xCoord, yCoord); + // } } } } diff --git a/app/templates/corpora/_analysis/query_builder/_query_builder.html.j2 b/app/templates/corpora/_analysis/query_builder/_query_builder.html.j2 index 6baecdda..3e8a8318 100644 --- a/app/templates/corpora/_analysis/query_builder/_query_builder.html.j2 +++ b/app/templates/corpora/_analysis/query_builder/_query_builder.html.j2 @@ -40,6 +40,7 @@ Add new token to your query Add structural attributes to your query incidence modifiers + help_outline
@@ -66,7 +67,7 @@