WebBox Klassenbibliothek
ulrich
2017-03-17 066b662ff187ac37d811208b6fae8b4e2df83684
Lightbox in ViewServlet eingebaut
1 files modified
11 ■■■■■ changed files
src/de/uhilger/wbx/web/ViewServlet.java 11 ●●●●● patch | view | raw | blame | history
src/de/uhilger/wbx/web/ViewServlet.java
@@ -78,13 +78,16 @@
  }
  
  private void printHeader(ServletOutputStream out) throws IOException {
    out.print("<!DOCTYPE html><html><head>");
    out.print("<link rel=\"stylesheet\" type=\"text/css\" href=\"/jslib/bootstrap/css/bootstrap.min.css\">");
    out.print("<link rel=\"stylesheet\" type=\"text/css\" href=\"stile.css\">");
    out.print("</head><body class=\"p-3\">");
    out.print("<!DOCTYPE html><html><head>\r\n");
    out.print("<link rel=\"stylesheet\" type=\"text/css\" href=\"/jslib/bootstrap/css/bootstrap.min.css\">\r\n");
    out.print("<link rel=\"stylesheet\" type=\"text/css\" href=\"/jslib/lightbox/lightbox.css\">\r\n");
    out.print("<link rel=\"stylesheet\" type=\"text/css\" href=\"stile.css\">\r\n");
    out.print("</head><body class=\"p-3\">\r\n");
  }
  
  private void printFooter(ServletOutputStream out) throws IOException {
    out.print("<script src=\"/jslib/jquery/jquery.min.js\"></script>\r\n");
    out.print("<script src=\"/jslib/lightbox/lightbox.min.js\"></script>\r\n");
    out.print("</body></html>");
  }