From 823e42faf08d07bb5d99d618eb569f80352dd324 Mon Sep 17 00:00:00 2001 From: Patrick Jentsch Date: Thu, 16 Mar 2023 10:31:58 +0100 Subject: [PATCH] Replace roadmap with manual --- app/main/routes.py | 8 ++-- app/static/css/style.css | 4 ++ app/templates/_navbar.html.j2 | 7 ++-- app/templates/_sidenav.html.j2 | 2 +- app/templates/base.html.j2 | 5 ++- .../main/_manual_modal_contents.html.j2 | 42 +++++++++++++++++++ .../main/manual/_01_introduction.html.j2 | 2 +- .../_02_registration_and_log_in.html.j2 | 2 +- .../main/manual/_03_dashboard.html.j2 | 2 +- .../main/manual/_06_services.html.j2 | 12 +++--- ...closer_look_at_the_corpus_analysis.html.j2 | 6 +-- .../manual/_08_cqp_query_language.html.j2 | 10 ++--- 12 files changed, 75 insertions(+), 27 deletions(-) create mode 100644 app/templates/main/_manual_modal_contents.html.j2 diff --git a/app/main/routes.py b/app/main/routes.py index 65a237e9..5a23858b 100644 --- a/app/main/routes.py +++ b/app/main/routes.py @@ -34,10 +34,10 @@ def dashboard(): return render_template('main/dashboard.html.j2', title='Dashboard') -@bp.route('/user_manual') -@register_breadcrumb(bp, '.user_manual', 'helpUser manual') -def user_manual(): - return render_template('main/user_manual.html.j2', title='User manual') +# @bp.route('/user_manual') +# @register_breadcrumb(bp, '.user_manual', 'helpUser manual') +# def user_manual(): +# return render_template('main/user_manual.html.j2', title='User manual') @bp.route('/news') diff --git a/app/static/css/style.css b/app/static/css/style.css index 7c56d3d8..e85d697e 100644 --- a/app/static/css/style.css +++ b/app/static/css/style.css @@ -19,6 +19,10 @@ height: 30px !important; } +#manual-modal .manual-chapter-title { + display: none; +} + .show-if-only-child:not(:only-child) { display: none !important; } diff --git a/app/templates/_navbar.html.j2 b/app/templates/_navbar.html.j2 index 9365b1e7..467db7dd 100644 --- a/app/templates/_navbar.html.j2 +++ b/app/templates/_navbar.html.j2 @@ -21,15 +21,16 @@ {% endif %} {%- endfor -%} - {% if current_user.is_authenticated %} + {# {% if current_user.is_authenticated %} explore - {% endif %} + {% endif %} #} + help