From 066b662ff187ac37d811208b6fae8b4e2df83684 Mon Sep 17 00:00:00 2001 From: ulrich <undisclosed> Date: Fri, 17 Mar 2017 06:55:44 +0000 Subject: [PATCH] Lightbox in ViewServlet eingebaut --- src/de/uhilger/wbx/web/ViewServlet.java | 11 +++++++---- 1 files changed, 7 insertions(+), 4 deletions(-) diff --git a/src/de/uhilger/wbx/web/ViewServlet.java b/src/de/uhilger/wbx/web/ViewServlet.java index 19b0c8b..1249a76 100644 --- a/src/de/uhilger/wbx/web/ViewServlet.java +++ b/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>"); } -- Gitblit v1.9.3