🚧 switch to bootstrap-flask / bootstrap 4
This commit is contained in:
parent
e5f00752fe
commit
0a14e4645d
5 changed files with 10 additions and 8 deletions
6
TODO.md
6
TODO.md
|
@ -1,11 +1,13 @@
|
||||||
* check if ffmpeg is faster with less input files
|
* check if ffmpeg is faster with less input files
|
||||||
* close filehandle after sending?
|
* close filehandle after sending?
|
||||||
* or clean up when handling subsequent requests
|
* or clean up when handling subsequent requests
|
||||||
|
* `DeprecationWarning: The 'attachment_filename' parameter has been renamed to 'download_name'. The old name will be removed in Flask 2.1.`
|
||||||
|
|
||||||
bootstrap 4
|
bootstrap 4
|
||||||
-----------
|
-----------
|
||||||
* fix design...
|
|
||||||
* fix calendar icon
|
* fix calendar icon
|
||||||
|
* fix calender locale ("December")
|
||||||
|
* waren die Fehler früher rot?
|
||||||
|
|
||||||
* add "Minuten" to Länge
|
* add "Minuten" to Länge
|
||||||
* update screenshot
|
* update screenshot
|
||||||
* fix calender locale ("December")
|
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
werkzeug==0.16.1
|
|
||||||
flask
|
flask
|
||||||
bootstrap-flask
|
bootstrap-flask
|
||||||
python-dotenv
|
python-dotenv
|
||||||
|
|
|
@ -9,14 +9,15 @@
|
||||||
{% block title %}Prolefeeder{% endblock %}
|
{% block title %}Prolefeeder{% endblock %}
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="page-header col">
|
<div class="page-header col">
|
||||||
{% block page_header %}{% endblock %}
|
{% block page_header %}{% endblock %}
|
||||||
|
<hr/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
{{ utils.render_messages() }}
|
{{ utils.render_messages() }}
|
||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
{{ bootstrap.load_css() }}
|
{{ bootstrap.load_css() }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
<title>Your page title</title>
|
<title>{% block title %}Your page title{% endblock %}</title>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
@ -20,7 +20,7 @@
|
||||||
{% block app_content %}
|
{% block app_content %}
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col col-xs-12 col-sm-6 col-md-4">
|
<div class="col col-xs-12 col-sm-6 col-md-4">
|
||||||
<div class='well'>
|
<div class='card card-body bg-light'>
|
||||||
|
|
||||||
<form class="form" method="post" role="form" novalidate>
|
<form class="form" method="post" role="form" novalidate>
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
{{ wtf.form_errors(form, hiddens="only") }}
|
{{ wtf.form_errors(form, hiddens="only") }}
|
||||||
|
|
||||||
<div class="form-group required {% if form.start_time.errors %}has-error{% endif -%}">
|
<div class="form-group required {% if form.start_time.errors %}has-error{% endif -%}">
|
||||||
{{ form.start_time.label(class_="control-label") }}
|
{{ form.start_time.label(class_="form-control-label") }}
|
||||||
<div class='input-group' id='start_time_group' data-target-input="nearest">
|
<div class='input-group' id='start_time_group' data-target-input="nearest">
|
||||||
<input name='start_time' id='start_time_' class="form-control datetimepicker-input"
|
<input name='start_time' id='start_time_' class="form-control datetimepicker-input"
|
||||||
type="text" data-target="#start_time_group"
|
type="text" data-target="#start_time_group"
|
||||||
|
@ -48,7 +48,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="form-group required {% if form.length.errors %}has-error{% endif -%}">
|
<div class="form-group required {% if form.length.errors %}has-error{% endif -%}">
|
||||||
{{ form.length.label(class_="control-label") }}
|
{{ form.length.label(class_="form-control-label") }}
|
||||||
{{ form.length(class_="form-control") }}
|
{{ form.length(class_="form-control") }}
|
||||||
{% for error in form.length.errors %}
|
{% for error in form.length.errors %}
|
||||||
<p class="help-block">{{ error }}</p>
|
<p class="help-block">{{ error }}</p>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue