X-Git-Url: http://git.nikiroo.be/?p=fanfix.git;a=blobdiff_plain;f=src%2Fbe%2Fnikiroo%2Ffanfix%2Flibrary%2Fweb%2Ftemplates%2FWebLibraryServerTemplates.java;h=59e7020c62fa6254ff3c20da3e0a4aa939031b22;hp=ba4deb83f290739407822fc4933802633fb5bf0e;hb=1f1318b8c0ba0bc472c263e54079cbaa6e303fe0;hpb=8639c60de668b16a3aab1f673da58514c8430de9 diff --git a/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java b/src/be/nikiroo/fanfix/library/web/templates/WebLibraryServerTemplates.java index ba4deb8..59e7020 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,45 @@ public class WebLibraryServerTemplates { ; } + public Template index(boolean banner, List