From 4f35fb56dea3bdd7070330745e9ded90423fa068 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Thu, 20 Feb 2020 10:13:35 +0100 Subject: [PATCH] Add some icons --- app/static/css/nopaque.css | 3 +++ app/templates/auth/login.html.j2 | 19 +++++++++++++++++++ .../services/corpus_analysis.html.j2 | 2 ++ app/templates/services/nlp.html.j2 | 2 ++ app/templates/services/ocr.html.j2 | 2 ++ app/templates/services/setup_files.html.j2 | 2 ++ 6 files changed, 30 insertions(+) diff --git a/app/static/css/nopaque.css b/app/static/css/nopaque.css index 97b7a7c6..52e21398 100644 --- a/app/static/css/nopaque.css +++ b/app/static/css/nopaque.css @@ -101,6 +101,9 @@ indicator will show up how the column is sorted right now.; */ .service[data-service]:before { content: "help"; } +.service[data-service="corpus_analysis"]:before { + content: "search"; +} .service[data-service="setup_files"]:before { content: "burst_mode"; } diff --git a/app/templates/auth/login.html.j2 b/app/templates/auth/login.html.j2 index ff82a042..ac29e396 100644 --- a/app/templates/auth/login.html.j2 +++ b/app/templates/auth/login.html.j2 @@ -1,6 +1,25 @@ {% extends "nopaque.html.j2" %} {% block page_content %} +{% if current_user.is_anonymous %} + + +{% endif %} +

Cyber cyber

Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam voluptua. At vero eos et accusam et justo duo dolores et ea rebum. Stet clita kasd gubergren, no sea takimata sanctus est Lorem ipsum dolor sit amet.

diff --git a/app/templates/services/corpus_analysis.html.j2 b/app/templates/services/corpus_analysis.html.j2 index 7073bc5c..551b0a42 100644 --- a/app/templates/services/corpus_analysis.html.j2 +++ b/app/templates/services/corpus_analysis.html.j2 @@ -1,5 +1,7 @@ {% extends "nopaque.html.j2" %} +{% set title = 'Corpus analysis' %} + {% block page_content %}
diff --git a/app/templates/services/nlp.html.j2 b/app/templates/services/nlp.html.j2 index 3d813c3d..a2703baf 100644 --- a/app/templates/services/nlp.html.j2 +++ b/app/templates/services/nlp.html.j2 @@ -1,5 +1,7 @@ {% extends "nopaque.html.j2" %} +{% set title = 'Natural Language Processing' %} + {% block page_content %}
diff --git a/app/templates/services/ocr.html.j2 b/app/templates/services/ocr.html.j2 index 7f55a725..0e3de607 100644 --- a/app/templates/services/ocr.html.j2 +++ b/app/templates/services/ocr.html.j2 @@ -1,5 +1,7 @@ {% extends "nopaque.html.j2" %} +{% set title = 'Optical Character Recognition' %} + {% block page_content %}
diff --git a/app/templates/services/setup_files.html.j2 b/app/templates/services/setup_files.html.j2 index 4b62f3ad..57c677e4 100644 --- a/app/templates/services/setup_files.html.j2 +++ b/app/templates/services/setup_files.html.j2 @@ -1,5 +1,7 @@ {% extends "nopaque.html.j2" %} +{% set title = 'File setup' %} + {% block page_content %}