fnp
/
librarian.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add skips between lines in drama
[librarian.git]
/
librarian
/
cover.py
diff --git
a/librarian/cover.py
b/librarian/cover.py
index
9e21cf4
..
6390f8a
100644
(file)
--- a/
librarian/cover.py
+++ b/
librarian/cover.py
@@
-413,6
+413,11
@@
class WLCover(Cover):
return img
return img
+class WLNoBoxCover(WLCover):
+ def add_box(self, img):
+ return img
+
+
class LogoWLCover(WLCover):
gradient_height = 90
gradient_logo_height = 60
class LogoWLCover(WLCover):
gradient_height = 90
gradient_logo_height = 60
@@
-549,9
+554,20
@@
class KMLUCover(LogoWLCover):
]
]
+class MPWCover(LogoWLCover):
+ gradient_logo_height = 58
+ gradient_logo_spacing = 25
+ gradient_logos = [
+ 'res/mpw-logo-white.png',
+ 'res/wl-logo-white.png',
+ 'res/fnp-logo-white.png',
+ ]
+
+
COVER_CLASSES = {
'default': LogoWLCover,
'kmlu': KMLUCover,
COVER_CLASSES = {
'default': LogoWLCover,
'kmlu': KMLUCover,
+ 'mpw': MPWCover,
}
}