Default bootstrap tables

* refactors old table index template into bootstrap-fontawesome generic table
This commit is contained in:
mipel
2021-07-20 14:05:44 +02:00
parent 13e3b23712
commit 8c32aaa845
6 changed files with 83 additions and 38 deletions

View File

@@ -24,16 +24,14 @@ STRF_DATE_TIME = "%d.%m.%Y %H:%M:%S"
# Tables
RESULTS_PER_PAGE_PARAM = "rpp"
PAGE_PARAM = "page"
PAGE_SIZE_OPTIONS = [5, 10, 15, 20, 25, 30, 50, 75, 100]
PAGE_SIZE_OPTIONS = [5, 10, 15, 20, 25, 50, 100]
PAGE_SIZE_OPTIONS_TUPLES = [
(5, 5),
(10, 10),
(15, 15),
(20, 20),
(25, 25),
(30, 30),
(50, 50),
(75, 75),
(100, 100),
]
PAGE_SIZE_DEFAULT = 5

View File

@@ -138,4 +138,15 @@ nav{
border: 1px solid var(--rlp-red);
*/
box-shadow: 1px 1px 3px var(--rlp-gray-dark);
}
.cursor-pointer{
cursor: pointer;
}
input:focus, textarea:focus, select:focus{
border: 1px solid var(--rlp-red) !important;
box-shadow: 0 0 3px var(--rlp-red) !important;
-moz-box-shadow: 0 0 3px var(--rlp-red) !important;
-webkit-box-shadow: 0 0 3px var(--rlp-red) !important;
}

View File

@@ -34,7 +34,7 @@
</a>
</div>
<div class="row my-1">
<a href="{% url 'home' %}">
<a href="{% url 'intervention:index' %}">
<button class="btn btn-default">{% fa5_icon 'eye' %} {% trans 'Show' %}</button>
</a>
</div>