nodehttpserver
Advanced tools
@@ -48,3 +48,3 @@ (function() { | ||
| prelink = prevpath != null ? "<a class='prevpath' href='" + prevpath + "' title='" + prevpath + "'>[up folder]</a>" : ""; | ||
| return "<!DOCTYPE HTML>\n<html lang=\"en-US\">\n<head>\n <meta charset=\"UTF-8\">\n <title>WebServer</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\" user-scalable=\"no\">\n <link rel=\"stylesheet\" type=\"text/css\" href=\"/nodehttpserver/css/folder.css\">\n\n <link rel=\"stylesheet\" type=\"text/css\" href=\"//netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css\">\n\n " + (weinre(options.weinre)) + "\n</head>\n<body class='container '>\n <div class=\"g-doc\">\n <h2>current dir:<strong id=\"dir\">" + pathname + "</strong></h2>\n " + prelink + "\n " + (list('folder', folders, pathname)) + "\n " + (list('file', files, pathname)) + "\n " + (weinre(options.inspect)) + "\n <div class=\"m-qrcode\">\n <div id=\"qrcode\">\n </div>\n <h3 class=\"title\">scan qrcode to open</h3>\n <div class=\"m-ips\">\n <h3>switch ips:</h3>\n <ul>\n " + (listips(options.ips, options.port)) + "\n </ul>\n </div>\n </div>\n </div>\n <script src=\"/nodehttpserver/js/folder.js\"></script>\n <br><br><br> <div class='panel panel-default'><div class='panel-body'>Developed by Jalal Hejazi 2015</div><div class='panel-footer'>Using Nodejs (The next generation serverside javaScript platform)</div></div> </body>\n</html> "; | ||
| return "<!DOCTYPE HTML>\n<html lang=\"en-US\">\n<head>\n <meta charset=\"UTF-8\">\n <title>WebServer</title>\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, maximum-scale=1\" user-scalable=\"no\">\n <link rel=\"stylesheet\" type=\"text/css\" href=\"/nodehttpserver/css/folder.css\">\n\n <link rel=\"stylesheet\" type=\"text/css\" href=\"//netdna.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css\">\n\n " + (weinre(options.weinre)) + "\n</head>\n<body class='container '>\n <div class=\"g-doc\">\n <h2> current directory: <strong id=\"dir\">" + pathname + "</strong></h2>\n " + prelink + "\n " + (list('folder', folders, pathname)) + "\n " + (list('file', files, pathname)) + "\n " + (weinre(options.inspect)) + "\n <div class=\"m-qrcode\">\n <div id=\"qrcode\">\n </div>\n <h3 class=\"title\">scan qrcode to open</h3>\n <div class=\"m-ips\">\n <h3>switch ips:</h3>\n <ul>\n " + (listips(options.ips, options.port)) + "\n </ul>\n </div>\n </div>\n </div>\n <script src=\"/nodehttpserver/js/folder.js\"></script>\n <br><br><br> <div class='panel panel-default'><div class='panel-body'>Developed by Jalal Hejazi 2015</div><div class='panel-footer'>Using Nodejs (The next generation serverside javaScript platform)</div></div> </body>\n</html> "; | ||
| }; | ||
@@ -51,0 +51,0 @@ |
+1
-1
@@ -5,3 +5,3 @@ { | ||
| "author": "jalalhejazi", | ||
| "version": "1.0.8", | ||
| "version": "1.0.9", | ||
| "repository": { | ||
@@ -8,0 +8,0 @@ "type": "git", |
158858
0.01%