Add loan tables

Add two views for loans :
- inventory:ongoing_loans
- inventory:all_loans (permission inventory.can_see_loan_details required)
This commit is contained in:
Sylvain Gay 2024-05-06 16:24:16 +02:00
parent d8551052fd
commit 00148cd5ca
15 changed files with 156 additions and 6 deletions

View file

@ -31,7 +31,6 @@ body {
}
main {
max-width: $page_width;
width: 100%;
padding: 20px 40px;
margin: 0 auto 50px;
@ -48,6 +47,10 @@ main {
}
}
main:not(.wide-main){
max-width: $page_width;
}
footer {
background-color: $footer_bg_color;
font-size: 0.7em;
@ -153,6 +156,24 @@ table {
th {
border-bottom-width: 2px;
}
th.asc::before {
display: inline;
font-family: FontAwesome;
content: '\f0de'; // Sort up symbol
}
th.desc::before {
display: inline;
font-family: FontAwesome;
content: '\f0dd'; // Sort down symbol
}
th.orderable:not(.asc, .desc)::before {
display: inline;
font-family: FontAwesome;
content: '\f0dc'; // Sort up/down symbol
}
}
iframe {