Mercurial Hosting > nabble
view src/global/web/PoweredBy.java @ 25:ea1d2e6e2a49
semiprivate
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 18 Jun 2020 19:26:15 -0600 |
parents | 7ecd1a4ef557 |
children |
line wrap: on
line source
package global.web; import global.HtmlGlobalUtils; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import java.io.IOException; import java.io.PrintWriter; public final class PoweredBy extends HttpServlet { protected void service(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException { PrintWriter out = response.getWriter(); out.print( "\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n <head>\r\n " ); HtmlGlobalUtils.head(request, response, "Powered By"); out.print( "\r\n <style>\r\n table{width:30em}\r\n @media (max-width: 950px) {\r\n td{display:block}\r\n table{width:auto}\r\n }\r\n </style>\r\n </head>\r\n <body lato>\r\n " ); HtmlGlobalUtils.header(request,response); out.print( "\r\n <div content center paddingTop>\r\n <h1 oswald>Nabble is powered by the following:</h1>\r\n <table align=\"center\">\r\n <tr valign=\"top\">\r\n <td align=\"center\">\r\n <p><a href=\"http://java.com/en/download/\"><img src=\"/assets/images/java.gif\" border=\"0\" /></a></p>\r\n <p><a href=\"http://jetty.mortbay.org/\"><img src=\"/assets/images/jetty.gif\" border=\"0\" /></a></p>\r\n <p><a href=\"http://www.postgresql.org/\"><img src=\"/assets/images/postgres.gif\" border=\"0\" /></a></p>\r\n <p><a href=\"http://www.exim.org/\"><img src=\"/assets/images/exim.png\" border=\"0\" /></a></p>\r\n <p><a href=\"http://www.debian.org/\"><img src=\"/assets/images/debian.png\" border=\"0\" /></a></p>\r\n </td>\r\n <td align=\"center\">\r\n <p><a href=\"http://lucene.apache.org/java/\">Lucene</a></p>\r\n <p><a href=\"http://jquery.com/\">jQuery</a></p>\r\n <p><a href=\"http://subversion.tigris.org/\">Subversion</a></p>\r\n <p><a href=\"https://code.google.com/p/luan-java/\">Luan</a></p>\r\n <p><a href=\"http://logging.apache.org/log4j/\">Log4j</a></p>\r\n <p><a href=\"http://www.slf4j.org/\">SLF4J</a></p>\r\n <p><a href=\"http://mstor.sourceforge.net/\">mstor</a></p>\r\n <p><a href=\"http://gif-plugin.dev.java.net/\">gif-plugin</a></p>\r\n <p><a href=\"http://jakarta.apache.org/commons/fileupload/\">FileUpload</a></p>\r\n <p><a href=\"http://code.google.com/p/caching-filter/\">caching-filter</a></p>\r\n <p><a href=\"https://github.com/tig100/JdbcPgBackup\">JdbcPgBackup</a></p>\r\n </td>\r\n </tr>\r\n </table>\r\n </div>\r\n " ); HtmlGlobalUtils.footer(request,response); out.print( "\r\n </body>\r\n</html>\r\n" ); } }