diff options
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> |