diff options
author | piernov <piernov@piernov.org> | 2016-05-07 13:40:16 +0200 |
---|---|---|
committer | piernov <piernov@piernov.org> | 2016-05-07 13:40:16 +0200 |
commit | 80f5826d1ac8f6d42866d5133c6f463943b96bab (patch) | |
tree | 1bfccff31d9be66bb9b791ed6dd942f638c32df9 /index.xhtml | |
parent | 79cfbb29042fd60dfbc76a6810f75cce21d3ffe0 (diff) | |
parent | ec7771705d62d09fcd142c87f4941604f31c1d76 (diff) | |
download | candybox-80f5826d1ac8f6d42866d5133c6f463943b96bab.tar.gz candybox-80f5826d1ac8f6d42866d5133c6f463943b96bab.tar.bz2 candybox-80f5826d1ac8f6d42866d5133c6f463943b96bab.tar.xz candybox-80f5826d1ac8f6d42866d5133c6f463943b96bab.zip |
Merge branch 'feat/savegame' into alexichi
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 7921cab..5e2f18d 100644 --- a/index.xhtml +++ b/index.xhtml @@ -38,8 +38,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> @@ -96,7 +94,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> |