mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-04-05 08:44:22 +00:00
Changes for page title
This commit is contained in:
parent
b8abc8856c
commit
f58a6f5778
@ -5,11 +5,12 @@
|
|||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
{% if title %}
|
<title>
|
||||||
<title>nopaque – {{ title }}</title>
|
nopaque
|
||||||
{% else %}
|
{% if title and not url_for(request.endpoint) == url_for('main.index') %}
|
||||||
<title>nopaque</title>
|
– {{ title }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</title>
|
||||||
<link rel="icon" href="{{ url_for('static', filename='images/nopaque_logo.png') }}">
|
<link rel="icon" href="{{ url_for('static', filename='images/nopaque_logo.png') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='fonts/Material_design_icons/material-icons.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='fonts/Material_design_icons/material-icons.css') }}">
|
||||||
<link rel="stylesheet" href="{{ url_for('static', filename='css/Materialize/materialize.min.css') }}">
|
<link rel="stylesheet" href="{{ url_for('static', filename='css/Materialize/materialize.min.css') }}">
|
||||||
@ -105,7 +106,15 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col s12">
|
<div class="col s12">
|
||||||
<h2>{% if title %}{{ title }}{% else %}Unnamed page{% endif %}</h2>
|
<h2>
|
||||||
|
{% if headline %}
|
||||||
|
{{ headline }}
|
||||||
|
{% elif title %}
|
||||||
|
{{ title }}
|
||||||
|
{% else %}
|
||||||
|
Unnamed page
|
||||||
|
{% endif %}
|
||||||
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
{{ insert_page_content() }}
|
{{ insert_page_content() }}
|
||||||
</div>
|
</div>
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{% extends "nopaque.html.j2" %}
|
{% extends "nopaque.html.j2" %}
|
||||||
|
|
||||||
{% set title = '<i class="material-icons left service" data-service="corpus_analysis" style="font-size: inherit;"></i>Corpus analysis' %}
|
{% set headline = '<i class="material-icons left service" data-service="corpus_analysis" style="font-size: inherit;"></i>Corpus analysis' %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="col s12 m9 l10">
|
<div class="col s12 m9 l10">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{% extends "nopaque.html.j2" %}
|
{% extends "nopaque.html.j2" %}
|
||||||
|
|
||||||
{% set title = '<i class="material-icons left service" data-service="nlp" style="font-size: inherit;"></i>Natural Language Processing' %}
|
{% set headline = '<i class="material-icons left service" data-service="nlp" style="font-size: inherit;"></i>Natural Language Processing' %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="col s12 m9 l10">
|
<div class="col s12 m9 l10">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{% extends "nopaque.html.j2" %}
|
{% extends "nopaque.html.j2" %}
|
||||||
|
|
||||||
{% set title = '<i class="material-icons left service" data-service="ocr" style="font-size: inherit;"></i>Optical Character Recognition' %}
|
{% set headline = '<i class="material-icons left service" data-service="ocr" style="font-size: inherit;"></i>Optical Character Recognition' %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="col s12 m9 l10">
|
<div class="col s12 m9 l10">
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{% extends "nopaque.html.j2" %}
|
{% extends "nopaque.html.j2" %}
|
||||||
|
|
||||||
{% set title = '<i class="material-icons left service" data-service="setup_files" style="font-size: inherit;"></i>File setup' %}
|
{% set headline = '<i class="material-icons left service" data-service="setup_files" style="font-size: inherit;"></i>File setup' %}
|
||||||
|
|
||||||
{% block page_content %}
|
{% block page_content %}
|
||||||
<div class="col s12 m9 l10">
|
<div class="col s12 m9 l10">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user