mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2024-12-25 02:44:18 +00:00
Add workshops package
This commit is contained in:
parent
ccf7f449dd
commit
f80b635ca3
@ -102,4 +102,7 @@ def create_app(config: Config = Config) -> Flask:
|
||||
default_breadcrumb_root(users_blueprint, '.users')
|
||||
app.register_blueprint(users_blueprint, url_prefix='/users')
|
||||
|
||||
from .workshops import bp as workshops_blueprint
|
||||
app.register_blueprint(workshops_blueprint, url_prefix='/workshops')
|
||||
|
||||
return app
|
||||
|
@ -0,0 +1,131 @@
|
||||
<h2>Workshop Aufgaben</h2>
|
||||
<p>Hallo liebe Inga</p>
|
||||
|
||||
<h3>Aufgabe 1</h3>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<ul class="collapsible">
|
||||
<li>
|
||||
<div class="collapsible-header">Tipp 1</div>
|
||||
<div class="collapsible-body">
|
||||
<p>
|
||||
<pre><code>[word="lorem"];</code></pre>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua.
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="collapsible-header">Tipp 2</div>
|
||||
<div class="collapsible-body">
|
||||
<p>
|
||||
<pre><code>[word="lorem"];</code></pre>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua.
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="collapsible-header">Lösung</div>
|
||||
<div class="collapsible-body">
|
||||
<p>
|
||||
<pre><code>[word="lorem"];</code></pre>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua.
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Aufgabe 2</h3>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<ul class="collapsible">
|
||||
<li>
|
||||
<div class="collapsible-header">Tipp 1</div>
|
||||
<div class="collapsible-body">
|
||||
<p>
|
||||
<pre><code>[word="lorem"];</code></pre>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua.
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="collapsible-header">Tipp 2</div>
|
||||
<div class="collapsible-body">
|
||||
<p>
|
||||
<pre><code>[word="lorem"];</code></pre>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua.
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="collapsible-header">Lösung</div>
|
||||
<div class="collapsible-body">
|
||||
<p>
|
||||
<pre><code>[word="lorem"];</code></pre>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua.
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<h3>Aufgabe 3</h3>
|
||||
<p>
|
||||
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.
|
||||
</p>
|
||||
<ul class="collapsible">
|
||||
<li>
|
||||
<div class="collapsible-header">Tipp 1</div>
|
||||
<div class="collapsible-body">
|
||||
<p>
|
||||
<pre><code>[word="lorem"];</code></pre>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua.
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="collapsible-header">Tipp 2</div>
|
||||
<div class="collapsible-body">
|
||||
<p>
|
||||
<pre><code>[word="lorem"];</code></pre>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua.
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
<li>
|
||||
<div class="collapsible-header">Lösung</div>
|
||||
<div class="collapsible-body">
|
||||
<p>
|
||||
<pre><code>[word="lorem"];</code></pre>
|
||||
Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy
|
||||
eirmod tempor invidunt ut labore et dolore magna aliquyam erat, sed diam
|
||||
voluptua.
|
||||
</p>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
@ -0,0 +1 @@
|
||||
<h2>Vorbereitungen</h2>
|
19
app/templates/workshops/fgho_sommerschule_2023.html.j2
Normal file
19
app/templates/workshops/fgho_sommerschule_2023.html.j2
Normal file
@ -0,0 +1,19 @@
|
||||
{% extends "base.html.j2" %}
|
||||
|
||||
{% block page_content %}
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col s12">
|
||||
<h1 id="title">{{ title }}</h1>
|
||||
</div>
|
||||
|
||||
<div class="col s12" id="fgho-sommerschule-2023-vorbereitungen">
|
||||
{% include "workshops/_fgho_sommerschule_2023/_vorbereitungen.html.j2" %}
|
||||
</div>
|
||||
|
||||
<div class="col s12" id="fgho-sommerschule-2023-workshop-aufgaben">
|
||||
{% include "workshops/_fgho_sommerschule_2023/_aufgaben.html.j2" %}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock page_content %}
|
5
app/workshops/__init__.py
Normal file
5
app/workshops/__init__.py
Normal file
@ -0,0 +1,5 @@
|
||||
from flask import Blueprint
|
||||
|
||||
|
||||
bp = Blueprint('workshops', __name__)
|
||||
from . import routes
|
10
app/workshops/routes.py
Normal file
10
app/workshops/routes.py
Normal file
@ -0,0 +1,10 @@
|
||||
from flask import render_template
|
||||
from . import bp
|
||||
|
||||
|
||||
@bp.route('/fgho_sommerschule_2023')
|
||||
def index():
|
||||
return render_template(
|
||||
'workshops/fgho_sommerschule_2023.html.j2',
|
||||
title='FGHO Sommerschule 2023',
|
||||
)
|
Loading…
Reference in New Issue
Block a user