From 330c49947c82d3d66f65f03abcad75d57d3dc121 Mon Sep 17 00:00:00 2001 From: TrueKuehli Date: Sat, 29 Sep 2018 21:52:43 +0200 Subject: Started work on Modals Started work on the modals, that will be used as dialog boxes to create a new server, or to log into an existing one with the required password. Currently just calls the creation method at start, and with not much content, which will be added later. --- WebInterface/NodeJSServer/src/index.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'WebInterface/NodeJSServer/src/index.js') diff --git a/WebInterface/NodeJSServer/src/index.js b/WebInterface/NodeJSServer/src/index.js index d1f925d..01a9ba1 100644 --- a/WebInterface/NodeJSServer/src/index.js +++ b/WebInterface/NodeJSServer/src/index.js @@ -1,6 +1,7 @@ import Backdrop from './modules/ui/backdrop.js'; import BannerController from './modules/ui/notification-banner.js'; import ServerClient from './modules/server-client.js' +import Modal from './modules/ui/modal.js'; // TODO: DEBUGGING let backdrop = new Backdrop('menu', 'front-layer', 'show-menu'); backdrop.register(); @@ -13,3 +14,4 @@ let client = new ServerClient('http://89.183.117.197:5000/chatHub', 'server-list document.getElementById('refresh-button') .addEventListener('click', client.loadServers.bind(client)); +new Modal('Test Titel'); -- cgit v1.2.3-54-g00ecf