more media management, custom logger

This commit is contained in:
meeb
2020-12-06 13:48:10 +11:00
parent 149d1357e6
commit a0ea2965b8
13 changed files with 168 additions and 42 deletions

10
app/common/logger.py Normal file
View File

@@ -0,0 +1,10 @@
import logging
log = logging.getLogger('tubesync')
log.setLevel(logging.DEBUG)
ch = logging.StreamHandler()
ch.setLevel(logging.DEBUG)
formatter = logging.Formatter('%(asctime)s [%(name)s/%(levelname)s] %(message)s')
ch.setFormatter(formatter)
log.addHandler(ch)

View File

@@ -37,6 +37,7 @@ $form-help-text-colour: $colour-light-blue;
$form-delete-button-background-colour: $colour-red;
$collection-no-items-text-colour: $colour-near-black;
$collection-text-colour: $colour-near-black;
$collection-background-hover-colour: $colour-orange;
$collection-text-hover-colour: $colour-near-white;

View File

@@ -88,11 +88,12 @@ main {
}
.collection {
margin: 0.5rem 0 0 0 !important;
.collection-item {
display: block;
}
a.collection-item {
color: $main-link-colour;
color: $collection-text-colour;
text-decoration: none;
&:hover {
background-color: $collection-background-hover-colour !important;