Intervention tables and model adjustments

* adds user access relation to certain models
* adds pagination to tables
* adds checked_on/_by attributes to intervention model
* adds custom column rendering for checked and registered columns
* adds first simple index filtering of default interventions for user
* adds translations
This commit is contained in:
mipel
2021-07-21 15:40:34 +02:00
parent 8f0db2ae3e
commit 67f415c2e3
10 changed files with 170 additions and 43 deletions

View File

@@ -72,7 +72,7 @@ a {
text-decoration: none;
}
nav{
.navbar{
background-color: var(--rlp-red);
}
@@ -144,9 +144,35 @@ nav{
cursor: pointer;
}
.dropdown-item.selected{
background-color: var(--rlp-gray-light);
}
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;
}
.check-star{
color: goldenrod;
}
.registered-bookmark{
color: green;
}
/* PAGINATION */
.page-item > .page-link{
color: var(--rlp-red);
}
.page-link: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;
}
.page-item.active > .page-link{
background-color: var(--rlp-red);
border-color: var(--rlp-red);
}