🚧 switch to bootstrap-flask / bootstrap 4
This commit is contained in:
		
							parent
							
								
									e5f00752fe
								
							
						
					
					
						commit
						0a14e4645d
					
				
					 5 changed files with 10 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -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