|
|
@ -27,6 +27,7 @@
|
|
|
|
['dark', 'light'],
|
|
|
|
['dark', 'light'],
|
|
|
|
] %}
|
|
|
|
] %}
|
|
|
|
{% set types_buttons=types|merge(['link']) %}
|
|
|
|
{% set types_buttons=types|merge(['link']) %}
|
|
|
|
|
|
|
|
{% set shortsum='Lorem ipsum dolor…' %}
|
|
|
|
{% set lipsum='Lorem ipsum dolor sit amet, consectetur adipisici elit…' %}
|
|
|
|
{% set lipsum='Lorem ipsum dolor sit amet, consectetur adipisici elit…' %}
|
|
|
|
{% set linksum='Lorem ipsum! Dolor <a href="#">link</a> amet, consectetur adipisici elit!' %}
|
|
|
|
{% set linksum='Lorem ipsum! Dolor <a href="#">link</a> amet, consectetur adipisici elit!' %}
|
|
|
|
|
|
|
|
|
|
|
@ -144,7 +145,7 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col">
|
|
|
|
<h3>Badges</h3>
|
|
|
|
<h3>Badges</h3>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
{% for type in types_color %}
|
|
|
|
{% for type in types_color %}
|
|
|
@ -152,7 +153,7 @@
|
|
|
|
{% endfor %}
|
|
|
|
{% endfor %}
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-6">
|
|
|
|
<div class="col">
|
|
|
|
<h3>Buttons</h3>
|
|
|
|
<h3>Buttons</h3>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
{% for type in types_buttons %}
|
|
|
|
{% for type in types_buttons %}
|
|
|
@ -163,12 +164,12 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col">
|
|
|
|
<h3>Alerts</h3>
|
|
|
|
<h3>Alerts</h3>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
{% for color in colors %}
|
|
|
|
{% for color in colors %}
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col">
|
|
|
|
<h4>{{ color|capitalize }}</h4>
|
|
|
|
<h4>{{ color|capitalize }}</h4>
|
|
|
|
{{ m.alert(lipsum, color) }}
|
|
|
|
{{ m.alert(lipsum, color) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
@ -177,53 +178,76 @@
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
<div class="col-md-12 mb-3">
|
|
|
|
|
|
|
|
<h3>Cards</h3>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
|
|
|
|
{% for type in types %}
|
|
|
|
|
|
|
|
<div class="col">
|
|
|
|
|
|
|
|
<div class="card border-{{ type }} {{ m.type_bg_class() }}">
|
|
|
|
|
|
|
|
<h4 class="card-header bg-{{ type }}">{{ type|capitalize }}</h4>
|
|
|
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
|
|
|
<p class="card-text">{{ shortsum }}</p>
|
|
|
|
|
|
|
|
<p class="card-text"><a href="#" class="card-link">Some link</a></p>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="card-footer text-muted">
|
|
|
|
|
|
|
|
Footer
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endfor %}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<div class="col-md-12">
|
|
|
|
<h3>Forms</h3>
|
|
|
|
<h3>Forms</h3>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
{{ f.input('form-input-text', 'Text', 'text', {'value': 'Value'}) }}
|
|
|
|
{{ f.input('form-input-text', 'Text', 'text', {'value': 'Value'}) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
{{ f.input('form-input-text-hidden-label', 'Hidden label', 'text', {'value': 'Hidden label', 'hide_label': true}) }}
|
|
|
|
{{ f.input('form-input-text-hidden-label', 'Hidden label', 'text', {'value': 'Hidden label', 'hide_label': true}) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
{{ f.input('form-input-text-disabled', 'Disabled', 'text', {'disabled': true, 'value': 'Value'}) }}
|
|
|
|
{{ f.input('form-input-text-disabled', 'Disabled', 'text', {'disabled': true, 'value': 'Value'}) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
{{ f.input('form-input-text-readonly', 'Readonly', 'text', {'readonly': true, 'value': 'Value'}) }}
|
|
|
|
{{ f.input('form-input-text-readonly', 'Readonly', 'text', {'readonly': true, 'value': 'Value'}) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
{{ f.input('form-input-password', 'Password', 'password', {'value': 'Value'}) }}
|
|
|
|
{{ f.input('form-input-password', 'Password', 'password', {'value': 'Value'}) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
{{ f.input('form-input-number', 'Number', 'number', {'value': 42}) }}
|
|
|
|
{{ f.input('form-input-number', 'Number', 'number', {'value': 42}) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
{{ f.textarea('form-input-textarea', 'Textarea', {'rows': 2, 'value': lipsum}) }}
|
|
|
|
{{ f.textarea('form-input-textarea', 'Textarea', {'rows': 2, 'value': lipsum}) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
{{ f.select('form-input-select', {'lorem': 'Ipsum', 'dolor': 'Sit'}, 'Select', 'dolor') }}
|
|
|
|
{{ f.select('form-input-select', {'lorem': 'Ipsum', 'dolor': 'Sit'}, 'Select', 'dolor') }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
<label class="form-label">Button</label>
|
|
|
|
<label class="form-label">Button</label>
|
|
|
|
<div>
|
|
|
|
<div>
|
|
|
|
{{ f.button('Button', {'btn_type': 'primary'}) }}
|
|
|
|
{{ f.button('Button', {'btn_type': 'primary'}) }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
Submit button<br>
|
|
|
|
Submit button<br>
|
|
|
|
{{ f.submit() }}
|
|
|
|
{{ f.submit() }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2">
|
|
|
|
<div class="col">
|
|
|
|
Checkbox<br>
|
|
|
|
Checkbox<br>
|
|
|
|
{{ f.checkbox('form-input-checkbox', 'Checkbox', true) }}
|
|
|
|
{{ f.checkbox('form-input-checkbox', 'Checkbox', true) }}
|
|
|
|
{{ f.checkbox('form-input-checkbox-2', 'Checkbox 2') }}
|
|
|
|
{{ f.checkbox('form-input-checkbox-2', 'Checkbox 2') }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="col-md-2 checkbox-inline">
|
|
|
|
<div class="col checkbox-inline">
|
|
|
|
Radio<br>
|
|
|
|
Radio<br>
|
|
|
|
<label>
|
|
|
|
<label>
|
|
|
|
<input type="radio" checked="checked" name="form-input-radio" value="1"> Yey
|
|
|
|
<input type="radio" checked="checked" name="form-input-radio" value="1"> Yey
|
|
|
@ -238,10 +262,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
<h3>Other</h3>
|
|
|
|
<h3>Other</h3>
|
|
|
|
<div class="row">
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-3">
|
|
|
|
<div class="col">
|
|
|
|
<h4>Code</h4>
|
|
|
|
<h4>Code</h4>
|
|
|
|
<p>
|
|
|
|
<p>
|
|
|
|
<code>3.1415926535897932384626433832795028841971693993751058209749445923</code>
|
|
|
|
<code>3.1415926535897932384626433832795</code>
|
|
|
|
</p>
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|