diff options
author | piernov <piernov@piernov.org> | 2016-05-04 14:39:10 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-05-04 14:39:10 +0200 |
commit | 30e4f5f70aef5de687bc021f8f7a1b34f209063f (patch) | |
tree | ffa3187c93dabafdb5a4ce9c1159381b297e3c1a /index.xhtml | |
parent | 676ea92ed1c88b7490feb17f90978f613783293d (diff) | |
parent | ec7771705d62d09fcd142c87f4941604f31c1d76 (diff) | |
download | candybox-30e4f5f70aef5de687bc021f8f7a1b34f209063f.tar.gz candybox-30e4f5f70aef5de687bc021f8f7a1b34f209063f.tar.bz2 candybox-30e4f5f70aef5de687bc021f8f7a1b34f209063f.tar.xz candybox-30e4f5f70aef5de687bc021f8f7a1b34f209063f.zip |
Merge branch 'feat/savegame' into piernov
Diffstat (limited to 'index.xhtml')
-rw-r--r-- | index.xhtml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/index.xhtml b/index.xhtml index ed3e7a6..9260134 100644 --- a/index.xhtml +++ b/index.xhtml @@ -34,8 +34,6 @@ <form class="form-horizontal" method="post" action="craftmine.php"> <button class="btn btn-default" type="button" name="withdraw" onclick="withdrawMine()">Withdraw</button> <button class="btn btn-default" type="button" name="HireMiner" onclick="hireMiner()">Hire one miner</button> - <button class="btn btn-default" type="button" onclick="saveGame()">Save game</button> - <button class="btn btn-default" type="button" onclick="downGame()">Download game</button> </form> </div> </div> @@ -92,7 +90,11 @@ </div> <ul class="list-inline"> <li><button class="btn btn-default" type="button" onclick="loadSave()">Load</button></li> + <li><button class="btn btn-default" type="button" onclick="saveGame()">Save game</button></li> + <li><button class="btn btn-default" type="button" onclick="downGame()">Download current game</button></li> <li><button class="btn btn-default" type="button" onclick="downloadSave()">Download</button></li> + <li><input type="file" id="selectedFile" style="display: none;" accept=".save.xml" onchange="uploadSave()" /> + <button class="btn btn-default" type="button" onclick="document.getElementById('selectedFile').click()">Upload</button></li> <li><button class="btn btn-default" type="button" onclick="deleteSave()">Delete</button></li> </ul> </div> |