diff options
author | LaG1924 <lag1924@gmail.com> | 2021-06-19 22:04:53 +0200 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-06-19 22:13:09 +0200 |
commit | d8710c9c252f49bf442590d47e8b79a9c1231ead (patch) | |
tree | c8225953444ead9e4be5a7c586bc21e3c870ab6b /cwd/assets/altcraft/ui/main-menu.rml | |
parent | Implemented RmlFileInterface (diff) | |
download | AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.gz AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.bz2 AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.lz AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.xz AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.tar.zst AltCraft-d8710c9c252f49bf442590d47e8b79a9c1231ead.zip |
Diffstat (limited to '')
-rw-r--r-- | cwd/assets/altcraft/ui/main-menu.rml | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cwd/assets/altcraft/ui/main-menu.rml b/cwd/assets/altcraft/ui/main-menu.rml index 9fd2898..e796b67 100644 --- a/cwd/assets/altcraft/ui/main-menu.rml +++ b/cwd/assets/altcraft/ui/main-menu.rml @@ -1,8 +1,10 @@ <rml> <head> + <link type="text/rcss" href="mc-styles" /> <link type="text/rcss" href="main-menu-styles" /> + <title>MainMenu</title> </head> - <body> + <body id="body-main-menu"> <strong class="mc-title" id="title">AltCraft</strong> <p class="mc-p" id="disclaimer">AltCraft is currently not finished, but there is some buggy early testing going on.</p> <p class="mc-p" id="hostname-text">Enter the hostname of a server and your username to connect to it:</p> @@ -11,9 +13,8 @@ <button class="mc-button" id="connect" onclick=" AC.ConnectToServer( document:GetElementById('hostname'):GetAttribute('value'), - document:GetElementById('username'):GetAttribute('value')); - document:Close()">Connect</button> - <button class="mc-button" id="options">Options...</button> + document:GetElementById('username'):GetAttribute('value'))">Connect</button> + <input type="button" disabled class="mc-button" id="options">Options...</input> <button class="mc-button" id="exit" onclick="AC.Exit()">Quit game</button> </body> </rmL> |