redesign image editor

- remove zoom
- separate setting public/private from edit form
- prevent assigning image without it has been published
- prevent publishing image without licence
- show buttons depending on license state
- reload view on state change
- gray out not-selected images
This commit is contained in:
Milan
2019-10-05 14:21:33 +02:00
parent f0be286f47
commit edb2aa29d7
8 changed files with 204 additions and 133 deletions

View File

@@ -53,6 +53,10 @@ input.field{
box-shadow: 0 5px 11px 0 rgba(0,0,0,.18),0 4px 15px 0 rgba(0,0,0,.15);
}
#content div.image.inactive{
opacity:0.5;
}
#imageEditor{
min-height:800px;
height:100%;
@@ -67,7 +71,7 @@ input.field{
}
#content label{
margin-top:1rem;
margin-top: 1rem;
text-transform: uppercase;
color:#333;
color:#999;
}