🚧 switch to bootstrap-flask / bootstrap 4
This commit is contained in:
parent
0a14e4645d
commit
5ff31d320e
3 changed files with 7 additions and 4 deletions
1
TODO.md
1
TODO.md
|
@ -5,7 +5,6 @@
|
|||
|
||||
bootstrap 4
|
||||
-----------
|
||||
* fix calendar icon
|
||||
* fix calender locale ("December")
|
||||
* waren die Fehler früher rot?
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<html lang="de">
|
||||
<head>
|
||||
{% block head %}
|
||||
<!-- Required meta tags -->
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
href="https://cdnjs.cloudflare.com/ajax/libs/tempusdominus-bootstrap-4/5.39.0/css/tempusdominus-bootstrap-4.min.css"
|
||||
integrity="sha512-3JRrEUwaCkFUBLK1N8HehwQgu8e23jTH4np5NHOmQOobuC4ROQxFwFgBLTnhcnQRMs84muMh0PnnwXlPq5MGjg=="
|
||||
crossorigin="anonymous" />
|
||||
<link rel="stylesheet"
|
||||
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.14.0/css/all.min.css"
|
||||
integrity="sha512-1PKOgIY59xJ8Co8+NE6FZ+LOAZKjy+KY8iq0G4B3CyeY6wYHN3yt9PW0XpSriVlkMXe40PTKnXrLnZ9+fkDaog=="
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer" />
|
||||
{% endblock %}
|
||||
|
||||
{% block page_header %}
|
||||
|
@ -30,7 +34,7 @@
|
|||
|
||||
<div class="form-group required {% if form.start_time.errors %}has-error{% endif -%}">
|
||||
{{ form.start_time.label(class_="form-control-label") }}
|
||||
<div class='input-group' id='start_time_group' data-target-input="nearest">
|
||||
<div class='input-group date' id='start_time_group' data-target-input="nearest">
|
||||
<input name='start_time' id='start_time_' class="form-control datetimepicker-input"
|
||||
type="text" data-target="#start_time_group"
|
||||
placeholder="{{ form.start_time.format }}"
|
||||
|
@ -76,7 +80,7 @@
|
|||
crossorigin="anonymous"></script>
|
||||
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$(function() {
|
||||
$('#start_time_group').datetimepicker({
|
||||
locale: 'de',
|
||||
format: 'DD.MM.YYYY HH:mm',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue