X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/f4fdb08e0b0ff0da9faed1ac5d89a1523cad7271..dfae584c9fb32a7ff204108f1d8bcf28a00f035f:/librarian/cover.py diff --git a/librarian/cover.py b/librarian/cover.py index 717d5f0..6390f8a 100644 --- a/librarian/cover.py +++ b/librarian/cover.py @@ -554,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, + 'mpw': MPWCover, }