Mercurial Hosting > nabble
comparison src/global/web/PoweredBy.java @ 0:7ecd1a4ef557
add content
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 21 Mar 2019 19:15:52 -0600 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:7ecd1a4ef557 |
---|---|
1 | |
2 package global.web; | |
3 | |
4 import global.HtmlGlobalUtils; | |
5 | |
6 import javax.servlet.ServletException; | |
7 import javax.servlet.http.HttpServlet; | |
8 import javax.servlet.http.HttpServletRequest; | |
9 import javax.servlet.http.HttpServletResponse; | |
10 import java.io.IOException; | |
11 import java.io.PrintWriter; | |
12 | |
13 | |
14 public final class PoweredBy extends HttpServlet { | |
15 | |
16 protected void service(HttpServletRequest request,HttpServletResponse response) | |
17 throws ServletException, IOException | |
18 { | |
19 PrintWriter out = response.getWriter(); | |
20 | |
21 out.print( "\r\n<!DOCTYPE html>\r\n<html lang=\"en\">\r\n <head>\r\n " ); | |
22 HtmlGlobalUtils.head(request, response, "Powered By"); | |
23 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 " ); | |
24 HtmlGlobalUtils.header(request,response); | |
25 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 " ); | |
26 HtmlGlobalUtils.footer(request,response); | |
27 out.print( "\r\n </body>\r\n</html>\r\n" ); | |
28 | |
29 } | |
30 } | |
31 |