🚧 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
 | 
			
		||||
* close filehandle after sending?
 | 
			
		||||
  * 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
 | 
			
		||||
-----------
 | 
			
		||||
* fix design...
 | 
			
		||||
* fix calendar icon
 | 
			
		||||
* fix calender locale ("December")
 | 
			
		||||
* waren die Fehler früher rot?
 | 
			
		||||
 | 
			
		||||
* add "Minuten" to Länge
 | 
			
		||||
* update screenshot
 | 
			
		||||
* fix calender locale ("December")
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,3 @@
 | 
			
		|||
werkzeug==0.16.1
 | 
			
		||||
flask
 | 
			
		||||
bootstrap-flask
 | 
			
		||||
python-dotenv
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -9,14 +9,15 @@
 | 
			
		|||
{% block title %}Prolefeeder{% endblock %}
 | 
			
		||||
{% block content %}
 | 
			
		||||
<div class="container">
 | 
			
		||||
 | 
			
		||||
    <div class="row">
 | 
			
		||||
        <div class="page-header col">
 | 
			
		||||
            {% block page_header %}{% endblock %}
 | 
			
		||||
            <hr/>
 | 
			
		||||
        </div>
 | 
			
		||||
    </div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
{{ utils.render_messages() }}
 | 
			
		||||
 | 
			
		||||
<div class="container">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@
 | 
			
		|||
            {{ bootstrap.load_css() }}
 | 
			
		||||
        {% endblock %}
 | 
			
		||||
 | 
			
		||||
        <title>Your page title</title>
 | 
			
		||||
        <title>{% block title %}Your page title{% endblock %}</title>
 | 
			
		||||
        {% endblock %}
 | 
			
		||||
    </head>
 | 
			
		||||
    <body>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,7 +20,7 @@
 | 
			
		|||
{% block app_content %}
 | 
			
		||||
    <div class="row">
 | 
			
		||||
        <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>
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -29,7 +29,7 @@
 | 
			
		|||
        {{ wtf.form_errors(form, hiddens="only") }}
 | 
			
		||||
 | 
			
		||||
        <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">
 | 
			
		||||
                <input name='start_time' id='start_time_' class="form-control datetimepicker-input"
 | 
			
		||||
                    type="text" data-target="#start_time_group"
 | 
			
		||||
| 
						 | 
				
			
			@ -48,7 +48,7 @@
 | 
			
		|||
        </div>
 | 
			
		||||
 | 
			
		||||
        <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") }}
 | 
			
		||||
            {% for error in form.length.errors %}
 | 
			
		||||
            <p class="help-block">{{ error }}</p>
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue