X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/f4fdb08e0b0ff0da9faed1ac5d89a1523cad7271..d2cdfb1fd7968f92b9e98cf8f19c7ccf7835d10f:/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, }