mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(ems) template cleanups
This commit is contained in:
parent
ec01d2400e
commit
29e354a3c6
@ -89,7 +89,7 @@
|
||||
<button class="btn btn-warning disabled" id="btnAdd" onclick="document.getElementById('btnRom').click()" disabled>
|
||||
<span class="fa fa-plus" id="icnAdd"></span> Add Content
|
||||
</button>
|
||||
<button class="btn btn-warning enabled" id="btnClean" onclick="cleanupStorage();" title="Cleanup" disabled>
|
||||
<button class="btn btn-warning" id="btnClean" onclick="cleanupStorage();" title="Cleanup">
|
||||
<span class="fa fa-trash-o" id="icnClean"></span> <span class="sr-only">Cleanup</span>
|
||||
</button>
|
||||
<input class="btn btn-warning disabled" style="display: none" type="file" id="btnRom" name="upload" onclick="document.getElementById('btnAdd').click();" onchange="selectFiles(event.target.files)" multiple />
|
||||
|
@ -88,7 +88,7 @@
|
||||
<button class="btn btn-danger disabled" id="btnAdd" onclick="document.getElementById('btnRom').click()" title="Add Games" disabled>
|
||||
<span class="fa fa-plus" id="icnAdd"></span> </span> <span class="sr-only"></span>
|
||||
</button>
|
||||
<button class="btn btn-danger enabled" id="btnClean" onclick="cleanupStorage();" title="Cleanup" disabled>
|
||||
<button class="btn btn-danger" id="btnClean" onclick="cleanupStorage();" title="Cleanup">
|
||||
<span class="fa fa-trash-o" id="icnClean"></span> <span class="sr-only">Cleanup</span>
|
||||
</button>
|
||||
<input class="btn btn-danger disabled" style="display: none" type="file" id="btnRom" name="upload" onclick="document.getElementById('btnAdd').click();" onchange="selectFiles(event.target.files)" multiple />
|
||||
|
@ -45,12 +45,6 @@ var showError = function(error) {
|
||||
}
|
||||
};
|
||||
|
||||
function reload()
|
||||
{
|
||||
window.top.location.reload();
|
||||
document.getElementById('btnClean').disabled = true;
|
||||
}
|
||||
|
||||
function cleanupStorage()
|
||||
{
|
||||
localStorage.clear();
|
||||
|
@ -87,7 +87,7 @@
|
||||
<button class="btn btn-primary disabled" id="btnAdd" onclick="document.getElementById('btnRom').click()" disabled>
|
||||
<span class="fa fa-plus" id="icnAdd"></span> Add Content
|
||||
</button>
|
||||
<button class="btn btn-primary enabled" id="btnClean" onclick="cleanupStorage();" title="Cleanup" disabled>
|
||||
<button class="btn btn-primary" id="btnClean" onclick="cleanupStorage();" title="Cleanup">
|
||||
<span class="fa fa-trash-o" id="icnClean"></span> <span class="sr-only">Cleanup</span>
|
||||
</button>
|
||||
<input class="btn btn-primary disabled" style="display: none" type="file" id="btnRom" name="upload" onclick="document.getElementById('btnAdd').click();" onchange="selectFiles(event.target.files)" multiple />
|
||||
|
@ -48,6 +48,7 @@ var showError = function(error) {
|
||||
function cleanupStorage()
|
||||
{
|
||||
localStorage.clear();
|
||||
document.getElementById("btnClean").disabled = true;
|
||||
}
|
||||
|
||||
function dropboxInit()
|
||||
@ -334,7 +335,6 @@ $(function() {
|
||||
$('#lblLocal').addClass('active');
|
||||
preLoadingComplete();
|
||||
setupFileSystem("browser");
|
||||
document.getElementById("btnClean").disabled = false;
|
||||
}
|
||||
});
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user