X-Git-Url: https://git.mdrn.pl/librarian.git/blobdiff_plain/f4fdb08e0b0ff0da9faed1ac5d89a1523cad7271..034fc8488c66a6364ef617e70a5b661591226102:/librarian/cover.py?ds=sidebyside 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, }