mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-11-15 01:05:42 +00:00
fixes
This commit is contained in:
parent
a03b5918d9
commit
882987ba68
@ -1,4 +1,4 @@
|
|||||||
<h3 class="manual-chapter-title">Services</h5>
|
<h3 class="manual-chapter-title">Services</h3>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12 m4">
|
<div class="col s12 m4">
|
||||||
<img alt="Services" class="materialboxed responsive-img" src="{{ url_for('static', filename='images/manual/services.png') }}">
|
<img alt="Services" class="materialboxed responsive-img" src="{{ url_for('static', filename='images/manual/services.png') }}">
|
||||||
|
2
app/templates/_base/metas.html.j2
Normal file
2
app/templates/_base/metas.html.j2
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
@ -1,20 +1,20 @@
|
|||||||
|
<script src="{{ url_for('static', filename='external/materialize/js/materialize.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='external/JSON-Patch/js/fast-json-patch.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='external/JSON-Patch/js/fast-json-patch.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='external/list.js/js/list.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='external/list.js/js/list.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='external/pako/js/pako_inflate.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='external/pako/js/pako_inflate.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='external/plotly.js/js/plotly.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='external/plotly.js/js/plotly.min.js') }}"></script>
|
||||||
<script src="{{ url_for('static', filename='external/socket.io/js/socket.io.min.js') }}"></script>
|
<script src="{{ url_for('static', filename='external/socket.io/js/socket.io.min.js') }}"></script>
|
||||||
|
{% assets
|
||||||
{%- assets
|
|
||||||
filters='rjsmin',
|
filters='rjsmin',
|
||||||
output='gen/app.%(version)s.js',
|
output='gen/app.%(version)s.js',
|
||||||
'js/index.js',
|
'js/index.js',
|
||||||
'js/app.js',
|
'js/app.js',
|
||||||
'js/utils.js'
|
'js/utils.js'
|
||||||
%}
|
-%}
|
||||||
<script src="{{ ASSET_URL }}"></script>
|
<script src="{{ ASSET_URL }}"></script>
|
||||||
{%- endassets %}
|
{% endassets -%}
|
||||||
|
|
||||||
{%- assets
|
{% assets
|
||||||
filters='rjsmin',
|
filters='rjsmin',
|
||||||
output='gen/Forms.%(version)s.js',
|
output='gen/Forms.%(version)s.js',
|
||||||
'js/forms/index.js',
|
'js/forms/index.js',
|
||||||
@ -22,22 +22,22 @@
|
|||||||
'js/forms/create-contribution-form.js',
|
'js/forms/create-contribution-form.js',
|
||||||
'js/forms/create-corpus-file-form.js',
|
'js/forms/create-corpus-file-form.js',
|
||||||
'js/forms/create-job-form.js'
|
'js/forms/create-job-form.js'
|
||||||
%}
|
-%}
|
||||||
<script src="{{ ASSET_URL }}"></script>
|
<script src="{{ ASSET_URL }}"></script>
|
||||||
{%- endassets %}
|
{% endassets -%}
|
||||||
|
|
||||||
{%- assets
|
{% assets
|
||||||
filters='rjsmin',
|
filters='rjsmin',
|
||||||
output='gen/resource-displays.%(version)s.js',
|
output='gen/resource-displays.%(version)s.js',
|
||||||
'js/resource-displays/index.js',
|
'js/resource-displays/index.js',
|
||||||
'js/resource-displays/resource-display.js',
|
'js/resource-displays/resource-display.js',
|
||||||
'js/resource-displays/corpus-display.js',
|
'js/resource-displays/corpus-display.js',
|
||||||
'js/resource-displays/job-display.js'
|
'js/resource-displays/job-display.js'
|
||||||
%}
|
-%}
|
||||||
<script src="{{ ASSET_URL }}"></script>
|
<script src="{{ ASSET_URL }}"></script>
|
||||||
{%- endassets %}
|
{% endassets -%}
|
||||||
|
|
||||||
{%- assets
|
{% assets
|
||||||
filters='rjsmin',
|
filters='rjsmin',
|
||||||
output='gen/resource-lists.%(version)s.js',
|
output='gen/resource-lists.%(version)s.js',
|
||||||
'js/resource-lists/index.js',
|
'js/resource-lists/index.js',
|
||||||
@ -56,11 +56,11 @@
|
|||||||
'js/resource-lists/public-user-list.js',
|
'js/resource-lists/public-user-list.js',
|
||||||
'js/resource-lists/spacy-nlp-pipeline-model-list.js',
|
'js/resource-lists/spacy-nlp-pipeline-model-list.js',
|
||||||
'js/resource-lists/tesseract-ocr-pipeline-model-list.js'
|
'js/resource-lists/tesseract-ocr-pipeline-model-list.js'
|
||||||
%}
|
-%}
|
||||||
<script src="{{ ASSET_URL }}"></script>
|
<script src="{{ ASSET_URL }}"></script>
|
||||||
{%- endassets %}
|
{% endassets -%}
|
||||||
|
|
||||||
{%- assets
|
{% assets
|
||||||
filters='rjsmin',
|
filters='rjsmin',
|
||||||
output='gen/requests.%(version)s.js',
|
output='gen/requests.%(version)s.js',
|
||||||
'js/requests/index.js',
|
'js/requests/index.js',
|
||||||
@ -69,11 +69,11 @@
|
|||||||
'js/requests/corpora.js',
|
'js/requests/corpora.js',
|
||||||
'js/requests/jobs.js',
|
'js/requests/jobs.js',
|
||||||
'js/requests/users.js'
|
'js/requests/users.js'
|
||||||
%}
|
-%}
|
||||||
<script src="{{ ASSET_URL }}"></script>
|
<script src="{{ ASSET_URL }}"></script>
|
||||||
{%- endassets %}
|
{% endassets -%}
|
||||||
|
|
||||||
{%- assets
|
{% assets
|
||||||
filters='rjsmin',
|
filters='rjsmin',
|
||||||
output='gen/corpus-analysis.%(version)s.js',
|
output='gen/corpus-analysis.%(version)s.js',
|
||||||
'js/corpus-analysis/index.js',
|
'js/corpus-analysis/index.js',
|
||||||
@ -98,17 +98,16 @@
|
|||||||
'js/corpus-analysis/concordance-extension.js',
|
'js/corpus-analysis/concordance-extension.js',
|
||||||
'js/corpus-analysis/reader-extension.js',
|
'js/corpus-analysis/reader-extension.js',
|
||||||
'js/corpus-analysis/static-visualization-extension.js'
|
'js/corpus-analysis/static-visualization-extension.js'
|
||||||
%}
|
-%}
|
||||||
<script src="{{ ASSET_URL }}"></script>
|
<script src="{{ ASSET_URL }}"></script>
|
||||||
{%- endassets %}
|
{% endassets -%}
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
// TODO: Implement an app.run method and use this for all of the following
|
// TODO: Implement an app.run method and use this for all of the following
|
||||||
const app = new nopaque.App();
|
const app = new nopaque.App();
|
||||||
app.init();
|
app.init();
|
||||||
|
|
||||||
// Check if the current user is authenticated
|
{% if current_user.is_authenticated -%}
|
||||||
{%- if current_user.is_authenticated %}
|
|
||||||
// TODO: Set this as a property of the app object
|
// TODO: Set this as a property of the app object
|
||||||
const currentUserId = {{ current_user.hashid|tojson }};
|
const currentUserId = {{ current_user.hashid|tojson }};
|
||||||
|
|
||||||
@ -120,11 +119,10 @@
|
|||||||
app.getUser(currentUserId, true, true)
|
app.getUser(currentUserId, true, true)
|
||||||
.catch((error) => {throw JSON.stringify(error);});
|
.catch((error) => {throw JSON.stringify(error);});
|
||||||
|
|
||||||
// Check if the current user hasn't accepted the terms of use yet
|
{% if not current_user.terms_of_use_accepted -%}
|
||||||
{%- if not current_user.terms_of_use_accepted %}
|
|
||||||
M.Modal.getInstance(document.querySelector('#terms-of-use-modal')).open();
|
M.Modal.getInstance(document.querySelector('#terms-of-use-modal')).open();
|
||||||
{%- endif %}
|
{% endif -%}
|
||||||
{%- endif %}
|
{% endif -%}
|
||||||
|
|
||||||
// Display flashed messages
|
// Display flashed messages
|
||||||
for (let [category, message] of {{ get_flashed_messages(with_categories=True)|tojson }}) {
|
for (let [category, message] of {{ get_flashed_messages(with_categories=True)|tojson }}) {
|
||||||
|
@ -1,16 +1,18 @@
|
|||||||
{% if current_user.is_authenticated %}
|
<link href="{{ url_for('static', filename='external/material-design-icons/css/material-icons.css') }}" rel="stylesheet">
|
||||||
|
<link href="{{ url_for('static', filename='external/materialize/css/materialize.min.css') }}" rel="stylesheet">
|
||||||
|
{% if current_user.is_authenticated -%}
|
||||||
<link href="{{ url_for('static', filename='materialize/css/sidenav-fixed.css') }}" rel="stylesheet">
|
<link href="{{ url_for('static', filename='materialize/css/sidenav-fixed.css') }}" rel="stylesheet">
|
||||||
{% endif %}
|
{% endif -%}
|
||||||
<link href="{{ url_for('static', filename='materialize/css/sticky-footer.css') }}" rel="stylesheet">
|
<link href="{{ url_for('static', filename='materialize/css/sticky-footer.css') }}" rel="stylesheet">
|
||||||
<link href="{{ url_for('static', filename='materialize/css/fixes.css') }}" rel="stylesheet">
|
<link href="{{ url_for('static', filename='materialize/css/fixes.css') }}" rel="stylesheet">
|
||||||
<link href="{{ url_for('static', filename='nopaque-icons/css/nopaque-icons.css') }}" rel="stylesheet">
|
<link href="{{ url_for('static', filename='nopaque-icons/css/nopaque-icons.css') }}" rel="stylesheet">
|
||||||
<link href="{{ url_for('static', filename='css/queryBuilder.css') }}" rel="stylesheet">
|
<link href="{{ url_for('static', filename='css/queryBuilder.css') }}" rel="stylesheet">
|
||||||
{%- assets
|
{% assets
|
||||||
filters='pyscss',
|
filters='pyscss',
|
||||||
output='gen/app.%(version)s.css',
|
output='gen/app.%(version)s.css',
|
||||||
'css/colors.scss',
|
'css/colors.scss',
|
||||||
'css/helpers.scss',
|
'css/helpers.scss',
|
||||||
'css/style.css'
|
'css/style.css'
|
||||||
%}
|
-%}
|
||||||
<link href="{{ ASSET_URL }}" rel="stylesheet">
|
<link href="{{ ASSET_URL }}" rel="stylesheet">
|
||||||
{%- endassets %}
|
{% endassets -%}
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -1,60 +1,72 @@
|
|||||||
{% extends "materialize/base.html.j2" %}
|
|
||||||
|
|
||||||
{% if title is not defined %}
|
{% if title is not defined %}
|
||||||
{% set title = 'nopaque' %}
|
{% set title = 'nopaque' %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% block html_attribs %}lang="en"{% endblock html_attribs %}
|
{% block doc %}
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html {% block html_attribs %}lang="en"{% endblock html_attribs %}>
|
||||||
|
{% block html %}
|
||||||
|
<head>
|
||||||
|
{% block head %}
|
||||||
|
{% block metas %}
|
||||||
|
{% include "_base/metas.html.j2" %}
|
||||||
|
{% endblock metas %}
|
||||||
|
|
||||||
{% block head %}
|
<title {% block title_attribs %}{% endblock title_attribs %}>
|
||||||
{{ super() }}
|
{%- block title %}{{ title }}{% endblock title -%}
|
||||||
<link href="{{ url_for('static', filename='images/nopaque_-_favicon.png') }}" rel="icon">
|
</title>
|
||||||
{% endblock head %}
|
|
||||||
|
|
||||||
{% block metas %}
|
<link href="{{ url_for('static', filename='images/nopaque_-_favicon.png') }}" rel="icon">
|
||||||
<meta charset="UTF-8">
|
|
||||||
{{ super() }}
|
|
||||||
{% endblock metas %}
|
|
||||||
|
|
||||||
{% block title %}{{ title }}{% endblock title %}
|
{% block stylesheets %}
|
||||||
|
{% include "_base/stylesheets.html.j2" %}
|
||||||
|
{% endblock stylesheets %}
|
||||||
|
{% endblock head %}
|
||||||
|
</head>
|
||||||
|
<body {% block body_attribs %}{% endblock body_attribs %}>
|
||||||
|
{% block body %}
|
||||||
|
<header {% block header_attribs %}{% endblock header_attribs %}>
|
||||||
|
{% block header %}
|
||||||
|
{% block navbar %}
|
||||||
|
{% include "_base/navbar.html.j2" %}
|
||||||
|
{% endblock navbar %}
|
||||||
|
{% block sidenav %}
|
||||||
|
{% if current_user.is_authenticated %}
|
||||||
|
{% include "_base/sidenav.html.j2" %}
|
||||||
|
{% endif %}
|
||||||
|
{% endblock sidenav %}
|
||||||
|
{% endblock header %}
|
||||||
|
</header>
|
||||||
|
|
||||||
{% block styles %}
|
<main {% block main_attribs %}class="background-color"{% endblock main_attribs %}>
|
||||||
{{ super() }}
|
{% block main %}
|
||||||
{% include "_base/styles.html.j2" %}
|
{% block page_content %}{% endblock page_content %}
|
||||||
{% endblock styles %}
|
|
||||||
|
|
||||||
{% block navbar %}
|
<div id="dropdowns">
|
||||||
{% include "_base/navbar.html.j2" %}
|
{% block dropdowns %}
|
||||||
{% endblock navbar %}
|
{% include "_base/dropdowns.html.j2" %}
|
||||||
|
{% endblock dropdowns %}
|
||||||
|
</div>
|
||||||
|
|
||||||
{% block sidenav %}
|
<div id="modals">
|
||||||
{% if current_user.is_authenticated %}
|
{% block modals %}
|
||||||
{% include "_base/sidenav.html.j2" %}
|
{% include "_base/modals.html.j2" %}
|
||||||
{% endif %}
|
{% endblock modals %}
|
||||||
{% endblock sidenav %}
|
</div>
|
||||||
|
{% endblock main %}
|
||||||
|
</main>
|
||||||
|
|
||||||
{% block main_attribs %} class="background-color"{% endblock main_attribs %}
|
<footer {% block footer_attribs %}class="page-footer primary-variant-color"{% endblock footer_attribs %}>
|
||||||
{% block main %}
|
{% block footer %}
|
||||||
{% block page_content %}{% endblock page_content %}
|
{% include "_base/footer.html.j2" %}
|
||||||
<div id="dropdowns">
|
{% endblock footer %}
|
||||||
{% block dropdowns %}
|
</footer>
|
||||||
{% include "_base/dropdowns.html.j2" %}
|
|
||||||
{% endblock dropdowns %}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div id="modals">
|
{% block scripts %}
|
||||||
{% block modals %}
|
{% include "_base/scripts.html.j2" %}
|
||||||
{% include "_base/modals.html.j2" %}
|
{% endblock scripts %}
|
||||||
{% endblock modals %}
|
{% endblock body %}
|
||||||
</div>
|
</body>
|
||||||
{% endblock main %}
|
{% endblock html %}
|
||||||
|
</html>
|
||||||
{% block footer_attribs %} class="page-footer primary-variant-color"{% endblock footer_attribs %}
|
{% endblock doc %}
|
||||||
{% block footer %}
|
|
||||||
{% include "_base/footer.html.j2" %}
|
|
||||||
{% endblock footer %}
|
|
||||||
|
|
||||||
{% block scripts %}
|
|
||||||
{{ super() }}
|
|
||||||
{% include "_base/scripts.html.j2" %}
|
|
||||||
{% endblock scripts %}
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="spacy-nlp-pipeline"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="spacy-nlp-pipeline"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="spacy-nlp-pipeline"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="spacy-nlp-pipeline"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="tesseract-ocr-pipeline"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="tesseract-ocr-pipeline"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="tesseract-ocr-pipeline"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="tesseract-ocr-pipeline"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
{% import 'corpora/_analysis/concordance.html.j2' as concordance_extension %}
|
{% import 'corpora/_analysis/concordance.html.j2' as concordance_extension %}
|
||||||
{% import 'corpora/_analysis/reader.html.j2' as reader_extension %}
|
{% import 'corpora/_analysis/reader.html.j2' as reader_extension %}
|
||||||
{% import 'corpora/_analysis/static_visualization.html.j2' as static_visualization_extension %}
|
{% import 'corpora/_analysis/static_visualization.html.j2' as static_visualization_extension %}
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="corpus-analysis"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="parallax-container" id="title">
|
<div class="parallax-container" id="title">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="social-area-color-lighten" {% endblock main_attribs %}
|
{% block main_attribs %} class="social-area-color-lighten" {% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,49 +0,0 @@
|
|||||||
{% if title is not defined %}
|
|
||||||
{% set title = 'Title' %}
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% block doc %}
|
|
||||||
<!DOCTYPE html>
|
|
||||||
<html {% block html_attribs %}{% endblock html_attribs %}>
|
|
||||||
{% block html %}
|
|
||||||
<head>
|
|
||||||
{% block head %}
|
|
||||||
<title>{% block title %}{{ title }}{% endblock title %}</title>
|
|
||||||
|
|
||||||
{% block metas %}
|
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
||||||
{% endblock metas %}
|
|
||||||
|
|
||||||
{% block styles %}
|
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='external/material-design-icons/css/material-icons.css') }}">
|
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='external/materialize/css/materialize.min.css') }}">
|
|
||||||
{% endblock styles %}
|
|
||||||
{% endblock head %}
|
|
||||||
</head>
|
|
||||||
<body {% block body_attribs %}{% endblock body_attribs %}>
|
|
||||||
{% block body %}
|
|
||||||
<header {% block header_attribs %}{% endblock header_attribs %}>
|
|
||||||
{% block header %}
|
|
||||||
{% block navbar %}
|
|
||||||
{% endblock navbar %}
|
|
||||||
{% block sidenav %}
|
|
||||||
{% endblock sidenav %}
|
|
||||||
{% endblock header %}
|
|
||||||
</header>
|
|
||||||
|
|
||||||
<main {% block main_attribs %}{% endblock main_attribs %}>
|
|
||||||
{% block main %}{% endblock main %}
|
|
||||||
</main>
|
|
||||||
|
|
||||||
<footer {% block footer_attribs %}{% endblock footer_attribs %}>
|
|
||||||
{% block footer %}{% endblock footer %}
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
{% block scripts %}
|
|
||||||
<script src="{{ url_for('static', filename='external/materialize/js/materialize.min.js') }}"></script>
|
|
||||||
{% endblock scripts %}
|
|
||||||
{% endblock body %}
|
|
||||||
</body>
|
|
||||||
{% endblock html %}
|
|
||||||
</html>
|
|
||||||
{% endblock doc %}
|
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="file-setup-pipeline"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="file-setup-pipeline"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="spacy-nlp-pipeline"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="spacy-nlp-pipeline"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="tesseract-ocr-pipeline"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="tesseract-ocr-pipeline"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block main_attribs %} class="service-scheme" data-service="transkribus-htr-pipeline"{% endblock main_attribs %}
|
{% block main_attribs %} class="service-scheme" data-service="transkribus-htr-pipeline"{% endblock main_attribs %}
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="section container">
|
<div class="section container">
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
{% extends "base.html.j2" %}
|
{% extends "base.html.j2" %}
|
||||||
{% import "materialize/wtf.html.j2" as wtf %}
|
{% import "wtf.html.j2" as wtf %}
|
||||||
|
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
|
Loading…
Reference in New Issue
Block a user