Tiny tweaks

This commit is contained in:
Codrin Pavel
2019-11-30 22:35:05 +02:00
parent f9cb0e73ed
commit d2e6d846dd
5 changed files with 11 additions and 5 deletions

View File

@@ -9,11 +9,12 @@
<h3>Add War</h3>
<textarea id="data">{{ site.testdata }}</textarea>
<input type="submit" value="Submit" class="button" />
or
<label class="button">
Upload File
<input id="fileUpload" type="file" accept=".har" />
</label>
<br />
|
<a href="#" class="button button--danger"
onClick="(function(){var newStorage=JSON.parse(localStorage.getItem('HeroWarsHistory'));newStorage.shift();localStorage.setItem('HeroWarsHistory',JSON.stringify(newStorage));})();">
Remove Newest Entry</a>