summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-23 15:20:00 +0100
committerNathanael Sensfelder <SpamShield0@MultiAgentSystems.org>2018-12-23 15:20:00 +0100
commitdfdeef7e04763d6805ed8c7951738037dc17deed (patch)
treef0058fad05d97b1ed15a42b893e5507f793aefe0 /src/roster-editor/www/index.html
parentc85c883a4c3ec2c4ac67160c2f58e6d2f5706483 (diff)
Converts the roster-editor.
Diffstat (limited to 'src/roster-editor/www/index.html')
-rw-r--r--src/roster-editor/www/index.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/roster-editor/www/index.html b/src/roster-editor/www/index.html
index a2a6034..3ffd5af 100644
--- a/src/roster-editor/www/index.html
+++ b/src/roster-editor/www/index.html
@@ -8,6 +8,7 @@
<link rel="icon" type="image/x-icon" href="/favicon.ico">
</head>
<body>
+ <div id="elm-element"></div>
<script src="script/main.js"></script>
<script src="../global/script/session.js"></script>
<script src="../global/script/urlparams.js"></script>
@@ -16,12 +17,16 @@
tacticians_online.session.load();
tacticians_online.app =
- Elm.Main.fullscreen
+ Elm.Main.init
(
{
- user_id: tacticians_online.session.get_user_id(),
- token: tacticians_online.session.get_token(),
- url_params: tacticians_online.urlparams.get_parameters()
+ flags:
+ {
+ user_id: tacticians_online.session.get_user_id(),
+ token: tacticians_online.session.get_token(),
+ url_params: tacticians_online.urlparams.get_parameters()
+ },
+ node: document.getElementById("elm-element")
}
);