aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiernov <piernov@piernov.org>2016-05-02 15:51:43 +0200
committerpiernov <piernov@piernov.org>2016-05-02 15:51:43 +0200
commitc6e05fbec675d1f60e6adb2b29d6fed4f888fb1d (patch)
tree8893186885db2f13611e3ac44b0068293a921477
parent8c0851a7d4db8be1bac99e034c745a45c64cc3ba (diff)
downloadcandybox-c6e05fbec675d1f60e6adb2b29d6fed4f888fb1d.tar.gz
candybox-c6e05fbec675d1f60e6adb2b29d6fed4f888fb1d.tar.bz2
candybox-c6e05fbec675d1f60e6adb2b29d6fed4f888fb1d.tar.xz
candybox-c6e05fbec675d1f60e6adb2b29d6fed4f888fb1d.zip
Add Save tab
-rw-r--r--index.xhtml14
1 files changed, 11 insertions, 3 deletions
diff --git a/index.xhtml b/index.xhtml
index e879cf1..6627ec5 100644
--- a/index.xhtml
+++ b/index.xhtml
@@ -65,6 +65,7 @@
<li role="presentation"><a href="#tab2" data-toggle="tab">Shop</a></li>
<li role="presentation"><a href="#tab3" data-toggle="tab">Inventory</a></li>
<li role="presentation"><a href="#tab4" data-toggle="tab">Dungeon</a></li>
+ <li role="presentation" class="pull-right"><a href="#tab5" data-toggle="tab" onclick="listSaves()">Save</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane" id="tab1">
@@ -83,11 +84,18 @@
<div class="tab-pane" id="tab4">
<h4>Look at how poor you are! You can't access the dungeon, it is only for the elite.</h4>
</div>
+ <div class="tab-pane" id="tab5">
+ <h4>Saved games:</h4>
+ <div class="form" id="listsaves">
+ </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="downloadSave()">Download</button></li>
+ <li><button class="btn btn-default" type="button" onclick="deleteSave()">Delete</button></li>
+ </ul>
+ </div>
</div>
</div>
-
-
-
</div>
</div>
</div>