mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 22:40:16 +02:00
[FIX] Use of Bootstrap classes
This commit is contained in:
parent
d0684862fe
commit
adedf7534f
@ -2,30 +2,45 @@
|
|||||||
{% load django_bootstrap5 %}
|
{% load django_bootstrap5 %}
|
||||||
{% load i18n %}
|
{% load i18n %}
|
||||||
|
|
||||||
{% block page_title %}{% translate "Fleet Formatter Tool" %}{% endblock page_title %}
|
{% block page_title %}
|
||||||
{% block extra_css %}{% endblock extra_css %}
|
{% translate "Fleet Formatter Tool" %}
|
||||||
|
{% endblock page_title %}
|
||||||
|
|
||||||
|
{% block header_nav_brand %}
|
||||||
|
{% translate "Fleet Formatter Tool" %}
|
||||||
|
{% endblock header_nav_brand %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<div class="col-lg-12">
|
<div>
|
||||||
<h1 class="page-header text-center">{% translate "Fleet Broadcast Formatter Tool" %}</h1>
|
<div class="card card-primary border-0">
|
||||||
|
<div class="card-header">
|
||||||
|
<div class="card-title mb-0">
|
||||||
|
{% translate "Fleet Details" %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="container-fluid">
|
<div class="card-body">
|
||||||
<div class="col-md-6 col-md-offset-3">
|
<div class="row justify-content-center">
|
||||||
<div class="row">
|
<div class="col-md-6">
|
||||||
{% if generated != "" %}
|
{% if generated != "" %}
|
||||||
<textarea class="form-control" rows="10" cols="60">{{ generated }}
|
<div class="text-right mb-3">
|
||||||
</textarea>
|
<textarea class="form-control" rows="10" cols="60">{{ generated }}</textarea>
|
||||||
{% endif %}
|
</div>
|
||||||
<form class="form-signin" role="form" action="" method="POST">
|
{% endif %}
|
||||||
{% csrf_token %}
|
|
||||||
{% bootstrap_form form %}
|
<form class="form-signin" role="form" action="" method="POST">
|
||||||
<br>
|
{% csrf_token %}
|
||||||
<button class="btn btn-lg btn-primary btn-block" type="submit">{% translate "Format" %}</button>
|
|
||||||
<br>
|
{% bootstrap_form form %}
|
||||||
</form>
|
|
||||||
|
<div class="form-group mt-3 clearfix">
|
||||||
|
{% translate "Format" as button_text %}
|
||||||
|
{% bootstrap_button button_class="btn btn-primary" content=button_text %}
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{% endblock content %}
|
{% endblock content %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user