summaryrefslogtreecommitdiff
path: root/WebInterface/NodeJSServer/dist
diff options
context:
space:
mode:
authorTrueDoctor <d-kobert@web.de>2018-09-27 17:44:03 +0200
committerTrueDoctor <d-kobert@web.de>2018-09-27 17:44:03 +0200
commite8dc39bf293aa0c6f2eb27104d5023c5a56e1ba4 (patch)
treeb938213388339b3fd3c2a367b2a55dd99861c426 /WebInterface/NodeJSServer/dist
parentf8018831b42fa9f534494babcd496f77e4709166 (diff)
parent48a4b8eaf531ed2eb14a053035e66b05ad36521e (diff)
Merge branch 'WebApi' of https://github.com/TrueDoctor/DiscoBot into WebApi
Diffstat (limited to 'WebInterface/NodeJSServer/dist')
-rw-r--r--WebInterface/NodeJSServer/dist/404.html33
-rw-r--r--WebInterface/NodeJSServer/dist/index.css1
-rw-r--r--WebInterface/NodeJSServer/dist/index.html73
-rw-r--r--WebInterface/NodeJSServer/dist/index.js1
-rw-r--r--WebInterface/NodeJSServer/dist/ressources/Logo768.pngbin0 -> 46128 bytes
-rw-r--r--WebInterface/NodeJSServer/dist/ressources/menu.pngbin0 -> 100 bytes
-rw-r--r--WebInterface/NodeJSServer/dist/ressources/menu_close.pngbin0 -> 219 bytes
-rw-r--r--WebInterface/NodeJSServer/dist/server.js1
8 files changed, 109 insertions, 0 deletions
diff --git a/WebInterface/NodeJSServer/dist/404.html b/WebInterface/NodeJSServer/dist/404.html
new file mode 100644
index 0000000..829eda8
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/404.html
@@ -0,0 +1,33 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1">
+ <title>Page Not Found</title>
+
+ <style media="screen">
+ body { background: #ECEFF1; color: rgba(0,0,0,0.87); font-family: Roboto, Helvetica, Arial, sans-serif; margin: 0; padding: 0; }
+ #message { background: white; max-width: 360px; margin: 100px auto 16px; padding: 32px 24px 16px; border-radius: 3px; }
+ #message h3 { color: #888; font-weight: normal; font-size: 16px; margin: 16px 0 12px; }
+ #message h2 { color: #ffa100; font-weight: bold; font-size: 16px; margin: 0 0 8px; }
+ #message h1 { font-size: 22px; font-weight: 300; color: rgba(0,0,0,0.6); margin: 0 0 16px;}
+ #message p { line-height: 140%; margin: 16px 0 24px; font-size: 14px; }
+ #message a { display: block; text-align: center; background: #039be5; text-transform: uppercase; text-decoration: none; color: white; padding: 16px; border-radius: 4px; }
+ #message, #message a { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); }
+ #load { color: rgba(0,0,0,0.4); text-align: center; font-size: 13px; }
+ @media (max-width: 600px) {
+ body, #message { margin-top: 0; background: white; box-shadow: none; }
+ body { border-top: 16px solid #ffa100; }
+ }
+ </style>
+ </head>
+ <body>
+ <div id="message">
+ <h2>404</h2>
+ <h1>Page Not Found</h1>
+ <p>The specified file was not found on this website. Please check the URL for mistakes and try again.</p>
+ <h3>Why am I seeing this?</h3>
+ <p>This page was generated by the Firebase Command-Line Interface. To modify it, edit the <code>404.html</code> file in your project's configured <code>public</code> directory.</p>
+ </div>
+ </body>
+</html>
diff --git a/WebInterface/NodeJSServer/dist/index.css b/WebInterface/NodeJSServer/dist/index.css
new file mode 100644
index 0000000..3b417f3
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/index.css
@@ -0,0 +1 @@
+html,body{height:100vh;margin:0;padding:0;font-family:'Roboto', sans-serif;overflow:hidden;background-color:#212121;color:#fff;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}body{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;background-color:#546e7a;position:relative}.backdrop{background-color:#546e7a;color:#fff;font-size:1rem}.backdrop .header-bar{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.backdrop .header-bar .menu-icon{background-image:url("/ressources/menu.png");background-position:center;background-repeat:no-repeat;width:36px;height:36px;padding:4px;margin:1rem;display:inline-block;border:none;border-radius:32px;-webkit-transition:background-color 100ms ease;transition:background-color 100ms ease}.backdrop .header-bar .menu-icon:hover{background-color:#29434e}.backdrop .header-bar .menu-icon.open{background-image:url("/ressources/menu_close.png")}.backdrop .header-bar .header{margin:0;padding:16px;text-align:center;z-index:2;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}@media (min-width: 450px){.backdrop .header-bar .header{margin-right:56px}}.backdrop .menu-actions{-webkit-box-sizing:border-box;box-sizing:border-box;-webkit-transition:max-height 200ms ease, color 200ms ease, background-color 100ms ease;transition:max-height 200ms ease, color 200ms ease, background-color 100ms ease;position:relative;max-height:16rem;margin:0 1rem}.backdrop .menu-actions .menu-option{color:#fff;text-decoration:none;-webkit-box-sizing:border-box;box-sizing:border-box;display:inline-block;font-size:1.5rem;width:100%;text-align:center;padding:1rem;border:none;border-radius:8px;cursor:pointer}.backdrop .menu-actions .menu-option:hover{background-color:#3e5864}.backdrop .menu-actions .menu-option.active{background-color:#29434e}.backdrop .menu-actions.hidden{max-height:0;color:rgba(0,0,0,0)}.backdrop .menu-actions.hidden .menu-option{color:rgba(0,0,0,0);background-color:rgba(0,0,0,0) !important}.container{position:relative;border:none;border-radius:16px 16px 0 0;min-height:0;-webkit-box-sizing:border-box;box-sizing:border-box;background-color:white;margin-top:8px;-webkit-animation-name:start;animation-name:start;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:ease;animation-timing-function:ease;color:black;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}@-webkit-keyframes start{from{top:100vh}to{top:0}}@keyframes start{from{top:100vh}to{top:0}}.container .banner{z-index:1;background-color:white;border:none;border-radius:16px 16px 0 0;display:-webkit-box;display:-ms-flexbox;display:flex;margin:0;margin-bottom:1rem;padding-top:1rem;max-height:10rem;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-transform-origin:top;transform-origin:top;-webkit-transition:max-height 200ms ease, visibility 200ms step-start, -webkit-transform 200ms ease;transition:max-height 200ms ease, visibility 200ms step-start, -webkit-transform 200ms ease;transition:max-height 200ms ease, transform 200ms ease, visibility 200ms step-start;transition:max-height 200ms ease, transform 200ms ease, visibility 200ms step-start, -webkit-transform 200ms ease}.container .banner.hidden{-webkit-transform:scaleY(0);transform:scaleY(0);visibility:hidden;max-height:0;-webkit-transition:max-height 200ms ease, visibility 200ms step-end, -webkit-transform 200ms ease;transition:max-height 200ms ease, visibility 200ms step-end, -webkit-transform 200ms ease;transition:max-height 200ms ease, transform 200ms ease, visibility 200ms step-end;transition:max-height 200ms ease, transform 200ms ease, visibility 200ms step-end, -webkit-transform 200ms ease}.container .banner .banner-text{-ms-flex-item-align:left;-ms-grid-row-align:left;align-self:left;margin:1rem;-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1}.container .banner .btn-container{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;text-align:right}.container .banner .btn-container .banner-button{display:inline-block;background:none;color:#29434e;border:none;-webkit-box-shadow:none;box-shadow:none;font-size:1rem;-ms-flex-item-align:right;-ms-grid-row-align:right;align-self:right;text-transform:uppercase;padding:16px;margin:0;margin-right:1rem;font-family:'Roboto Condensed', sans-serif;cursor:pointer;font-weight:bold;letter-spacing:0.125rem}.container .banner hr{width:100%}.container .server-listing{-webkit-box-sizing:border-box;box-sizing:border-box;background-color:#212121;color:#fff;min-height:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border-style:none;border-radius:8px;margin:1rem;margin-bottom:2rem;padding:0.5rem;padding-top:0.25rem;-webkit-box-shadow:0 8px 10px 1px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2);box-shadow:0 8px 10px 1px rgba(0,0,0,0.14),0 3px 14px 2px rgba(0,0,0,0.12),0 5px 5px -3px rgba(0,0,0,0.2)}.container .server-listing h1{text-align:center}.container .server-listing hr{width:100%}.container .server-listing .server-entries{overflow-y:auto;min-height:0}.container .copyright-container{-webkit-box-sizing:border-box;box-sizing:border-box;position:absolute;width:100%;margin:4px;bottom:0;text-align:center}
diff --git a/WebInterface/NodeJSServer/dist/index.html b/WebInterface/NodeJSServer/dist/index.html
new file mode 100644
index 0000000..7a6792e
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/index.html
@@ -0,0 +1,73 @@
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
+ <meta name="description" content="DSA-Bot Web Client">
+ <meta name="author" content="Timon Scholz">
+ <meta name="theme-color" content="#546e7a">
+ <title>Helden Online</title>
+ <link rel="icon" href="ressources/Logo768.png">
+ <link rel="stylesheet" href="index.css">
+ <!-- <link rel="manifest" href="manifest.webmanifest"> -->
+ <link href="https://fonts.googleapis.com/css?family=Roboto|Roboto+Condensed" rel="stylesheet">
+ </head>
+ <body>
+ <div class="backdrop">
+ <div class="header-bar">
+ <div class="menu-icon" id="show-menu"></div>
+ <h1 class="header">Helden Online</h1>
+ </div>
+ <div class="menu-actions hidden" id="menu">
+ <a class="menu-option active" id="listing-tab" href="./">Server Liste</a>
+ <a class="menu-option" id="github-tab" href="https://github.com/TrueDoctor/DiscoBot" target="_blank">Projekt auf GitHub</a>
+ <a class="menu-option" id="about-tab" href="about.html" target="_blank">About</a>
+ </div>
+ </div>
+ <div class="container" id="front-layer">
+ <div class="banner" id="notifications">
+ <p class="banner-text" id="banner-info">Loading javascript.</p>
+ <div class="btn-container">
+ <button class="banner-button" id="dismiss-banner">Okay</button>
+ </div>
+ <hr>
+ </div>
+ <div class="server-listing">
+ <h1>Server Listing</h1>
+ <hr>
+ <div class="server-entries">
+ <p>Server 1</p>
+ <p>Server 2</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ <p>Server 3</p>
+ </div>
+ </div>
+
+ <div class="copyright-container">
+ <span>© 2018 Timon Scholz</span>
+ </div>
+ </div>
+ <script src="index.js"></script>
+ </body>
+</html>
diff --git a/WebInterface/NodeJSServer/dist/index.js b/WebInterface/NodeJSServer/dist/index.js
new file mode 100644
index 0000000..0f68e81
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/index.js
@@ -0,0 +1 @@
+!function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=4)}({4:function(e,t,n){"use strict";n.r(t);new class{constructor(e,t,n){this.backdrop=document.getElementById(e),this.frontLayer=document.getElementById(t),this.menuButton=document.getElementById(n)}register(){this.registerButtonEvent(),this.registerFrontLayerEvent()}registerButtonEvent(){this.menuButton.addEventListener("click",()=>{this.backdrop.classList.contains("hidden")?this.backdrop.classList.remove("hidden"):this.backdrop.classList.add("hidden"),this.menuButton.classList.contains("open")?this.menuButton.classList.remove("open"):this.menuButton.classList.add("open")})}registerFrontLayerEvent(){this.frontLayer.addEventListener("click",()=>{this.backdrop.classList.add("hidden"),this.menuButton.classList.remove("open")})}}("menu","front-layer","show-menu").register(),console.log("HI")}}); \ No newline at end of file
diff --git a/WebInterface/NodeJSServer/dist/ressources/Logo768.png b/WebInterface/NodeJSServer/dist/ressources/Logo768.png
new file mode 100644
index 0000000..0b9991a
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/ressources/Logo768.png
Binary files differ
diff --git a/WebInterface/NodeJSServer/dist/ressources/menu.png b/WebInterface/NodeJSServer/dist/ressources/menu.png
new file mode 100644
index 0000000..8b5e0b9
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/ressources/menu.png
Binary files differ
diff --git a/WebInterface/NodeJSServer/dist/ressources/menu_close.png b/WebInterface/NodeJSServer/dist/ressources/menu_close.png
new file mode 100644
index 0000000..858996e
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/ressources/menu_close.png
Binary files differ
diff --git a/WebInterface/NodeJSServer/dist/server.js b/WebInterface/NodeJSServer/dist/server.js
new file mode 100644
index 0000000..ccf8664
--- /dev/null
+++ b/WebInterface/NodeJSServer/dist/server.js
@@ -0,0 +1 @@
+!function(e){var n={};function t(r){if(n[r])return n[r].exports;var o=n[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,t),o.l=!0,o.exports}t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var o in e)t.d(r,o,function(n){return e[n]}.bind(null,o));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=0)}([function(e,n,t){var r=t(1),o=r(),i=t(2).Server(o),u=t(3)(i);o.use("/ressources",r.static(__dirname+"/ressources/")),o.get("/",function(e,n){n.sendFile(__dirname+"/index.html")}),o.get("/index.css",function(e,n){n.sendFile(__dirname+"/index.css")}),o.get("/index.js",function(e,n){n.sendFile(__dirname+"/index.js")}),u.on("connection",function(e){console.log("Connection: "+e)}),i.listen(3e3,function(){console.log("Listening on *:3000")})},function(e,n){e.exports=require("express")},function(e,n){e.exports=require("http")},function(e,n){e.exports=require("socket.io")}]); \ No newline at end of file