diff options
author | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-29 21:52:43 +0200 |
---|---|---|
committer | TrueKuehli <rctcoaster2000@hotmail.de> | 2018-09-29 21:52:43 +0200 |
commit | 330c49947c82d3d66f65f03abcad75d57d3dc121 (patch) | |
tree | fc289fc5d09561b1a05e0a9c0979968687f6eda4 /WebInterface/NodeJSServer/src/index.js | |
parent | abd51697be6ca4580c15929ccb2569a1e984ef88 (diff) |
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.
Diffstat (limited to 'WebInterface/NodeJSServer/src/index.js')
-rw-r--r-- | WebInterface/NodeJSServer/src/index.js | 2 |
1 files changed, 2 insertions, 0 deletions
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'); |