Added archive view, label editing
Archives can now be viewed, a cover can optionally be inserted into the covers directory. Labels can now be edited.
This commit is contained in:
parent
c3bd73a068
commit
f0b8b1eb3d
8 changed files with 196 additions and 15 deletions
BIN
flask/static/covers/default.webp
Normal file
BIN
flask/static/covers/default.webp
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.7 KiB |
8
flask/static/labels.css
Normal file
8
flask/static/labels.css
Normal file
|
@ -0,0 +1,8 @@
|
|||
div.flex-container {
|
||||
display: flex;
|
||||
flex: auto;
|
||||
}
|
||||
|
||||
div.flex-item {
|
||||
display: inline-block;
|
||||
}
|
27
flask/static/view.css
Normal file
27
flask/static/view.css
Normal file
|
@ -0,0 +1,27 @@
|
|||
div.grid-container {
|
||||
display: grid;
|
||||
grid-template-columns: auto 20%;
|
||||
}
|
||||
|
||||
.archive-info {
|
||||
display: grid;
|
||||
grid-template-columns: max-content auto;
|
||||
grid-template-rows: max-content max-content max-content max-content max-content max-content;
|
||||
}
|
||||
|
||||
.archive-info > * {
|
||||
padding: 0.3em 0;
|
||||
}
|
||||
|
||||
.label {
|
||||
display: inline-block;
|
||||
padding: 0.1em;
|
||||
border-radius: 0.4em;
|
||||
background: linear-gradient(160deg, white, pink 65%);
|
||||
}
|
||||
|
||||
img#cover {
|
||||
margin: auto auto;
|
||||
border-radius: 1em;
|
||||
width: 90%;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue