From 5764e918f53dc2d1da9b6ff5d85386c19e30b08a Mon Sep 17 00:00:00 2001 From: Stephan Porada Date: Fri, 26 Jun 2020 13:13:18 +0200 Subject: [PATCH] Cosmetics III --- web/app/static/js/nopaque.lists.js | 2 +- .../templates/corpora/analyse_corpus.html.j2 | 81 +++++++++---------- 2 files changed, 37 insertions(+), 46 deletions(-) diff --git a/web/app/static/js/nopaque.lists.js b/web/app/static/js/nopaque.lists.js index d7825790..a9d106f8 100644 --- a/web/app/static/js/nopaque.lists.js +++ b/web/app/static/js/nopaque.lists.js @@ -740,8 +740,8 @@ class ResultsList extends List { ); addToSubResultsBtn.innerHTML = 'add'; addToSubResultsBtn.onclick = (event) => {this.addToSubResults(values.index)} - aCellElement.appendChild(addToSubResultsBtn); aCellElement.appendChild(inspectBtn); + aCellElement.appendChild(addToSubResultsBtn); // add text titles at front as first td of one row textTitlesCellElement.innerText = [...textTitles].join(", "); matchRowElement.insertAdjacentHTML("afterbegin", textTitlesCellElement.outerHTML); diff --git a/web/app/templates/corpora/analyse_corpus.html.j2 b/web/app/templates/corpora/analyse_corpus.html.j2 index 4faa86fe..825aaf19 100644 --- a/web/app/templates/corpora/analyse_corpus.html.j2 +++ b/web/app/templates/corpora/analyse_corpus.html.j2 @@ -273,47 +273,33 @@ + +
+
Context
+
+
+
+