X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2Fweb%2Ftemplates%2FWebLibraryServerTemplates.java;h=25644446db3bdc5ada11122d07e3295bd3efc663;hb=a1ddc9821aaf046b10914a57b0a806cfb3b0648a;hp=ba4deb83f290739407822fc4933802633fb5bf0e;hpb=4a464a06db3158e31c64aa798ddce9df1ec7f5f5;p=fanfix.git diff --git a/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java b/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java index ba4deb8..2564444 100644 --- a/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java +++ b/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java @@ -7,9 +7,19 @@ import be.nikiroo.fanfix.bundles.UiConfig; import be.nikiroo.fanfix.library.Template; import be.nikiroo.utils.Version; +/** + * Utility class to retrieve and fill HTML templates for Fanfix web server. + * + * @author niki + */ public class WebLibraryServerTemplates { static private WebLibraryServerTemplates instance = new WebLibraryServerTemplates(); + /** + * Get the (unique) instance of this {@link WebLibraryServerTemplates}. + * + * @return the (unique) instance + */ static public WebLibraryServerTemplates getInstance() { return instance; } @@ -34,6 +44,47 @@ public class WebLibraryServerTemplates { ; } + public Template index(boolean banner, boolean fullscreen, + List