changed new button, fixed mobile scaling
This commit is contained in:
parent
aca9501307
commit
271431a724
@ -5,6 +5,9 @@
|
|||||||
<head>
|
<head>
|
||||||
<title>{% block title %}
|
<title>{% block title %}
|
||||||
{% endblock %}</title>
|
{% endblock %}</title>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
|
|
||||||
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
|
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
|
||||||
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
|
||||||
<script
|
<script
|
||||||
|
@ -10,9 +10,7 @@
|
|||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
<h3>{{ title }} {% trans 'List' %}
|
<h3>{{ title }} {% trans 'List' %}
|
||||||
{% if create_url %}
|
{% if create_url %}
|
||||||
<a href="{% url create_url %}">
|
<a href="{% url create_url %}"> <i class="fal fa-plus-circle"></i>
|
||||||
<button class="btn btn-primary float-right">{% trans 'New' %} <i class="fal fa-plus-circle"></i>
|
|
||||||
</button>
|
|
||||||
</a>
|
</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</h3>
|
</h3>
|
||||||
|
@ -6,14 +6,6 @@
|
|||||||
|
|
||||||
|
|
||||||
<div class="table-container">
|
<div class="table-container">
|
||||||
{% if create_url %}
|
|
||||||
<a href="{% url create_url %}">
|
|
||||||
<button class="btn btn-primary float-right">{% trans 'New' %} <i class="fal fa-plus-circle"></i>
|
|
||||||
</button>
|
|
||||||
</a>
|
|
||||||
{% endif %}
|
|
||||||
</h3>
|
|
||||||
|
|
||||||
{% block table %}
|
{% block table %}
|
||||||
<table {% render_attrs table.attrs class="table" %}>
|
<table {% render_attrs table.attrs class="table" %}>
|
||||||
{% block table.thead %}
|
{% block table.thead %}
|
||||||
|
Loading…
Reference in New Issue
Block a user