Tiny tweaks
This commit is contained in:
@@ -31,7 +31,11 @@ header {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.button {
|
.button {
|
||||||
margin-left: 10px;
|
margin: 0 5px;
|
||||||
|
|
||||||
|
&:last-child {
|
||||||
|
margin-right: 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -9,11 +9,12 @@
|
|||||||
<h3>Add War</h3>
|
<h3>Add War</h3>
|
||||||
<textarea id="data">{{ site.testdata }}</textarea>
|
<textarea id="data">{{ site.testdata }}</textarea>
|
||||||
<input type="submit" value="Submit" class="button" />
|
<input type="submit" value="Submit" class="button" />
|
||||||
|
or
|
||||||
<label class="button">
|
<label class="button">
|
||||||
Upload File
|
Upload File
|
||||||
<input id="fileUpload" type="file" accept=".har" />
|
<input id="fileUpload" type="file" accept=".har" />
|
||||||
</label>
|
</label>
|
||||||
<br />
|
|
|
||||||
<a href="#" class="button button--danger"
|
<a href="#" class="button button--danger"
|
||||||
onClick="(function(){var newStorage=JSON.parse(localStorage.getItem('HeroWarsHistory'));newStorage.shift();localStorage.setItem('HeroWarsHistory',JSON.stringify(newStorage));})();">
|
onClick="(function(){var newStorage=JSON.parse(localStorage.getItem('HeroWarsHistory'));newStorage.shift();localStorage.setItem('HeroWarsHistory',JSON.stringify(newStorage));})();">
|
||||||
Remove Newest Entry</a>
|
Remove Newest Entry</a>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -30,11 +30,12 @@
|
|||||||
<h3>Add War</h3>
|
<h3>Add War</h3>
|
||||||
<textarea id="data"></textarea>
|
<textarea id="data"></textarea>
|
||||||
<input type="submit" value="Submit" class="button" />
|
<input type="submit" value="Submit" class="button" />
|
||||||
|
or
|
||||||
<label class="button">
|
<label class="button">
|
||||||
Upload File
|
Upload File
|
||||||
<input id="fileUpload" type="file" accept=".har" />
|
<input id="fileUpload" type="file" accept=".har" />
|
||||||
</label>
|
</label>
|
||||||
<br />
|
|
|
||||||
<a href="#" class="button button--danger"
|
<a href="#" class="button button--danger"
|
||||||
onClick="(function(){var newStorage=JSON.parse(localStorage.getItem('HeroWarsHistory'));newStorage.shift();localStorage.setItem('HeroWarsHistory',JSON.stringify(newStorage));})();">
|
onClick="(function(){var newStorage=JSON.parse(localStorage.getItem('HeroWarsHistory'));newStorage.shift();localStorage.setItem('HeroWarsHistory',JSON.stringify(newStorage));})();">
|
||||||
Remove Newest Entry</a>
|
Remove Newest Entry</a>
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user