mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
change button order a bit
This commit is contained in:
parent
7dbc3d2498
commit
6f1288a9f8
@ -28,10 +28,10 @@
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-sm-12 form-group btn-group text-xs-center p-t-2" id="openrom">
|
||||
<button class="btn btn-secondary" id="btnLoad" onclick="document.getElementById('rom').click()">Upload Content</button>
|
||||
<input class="btn btn-secondary" style="display: none" type="file" id="rom" name="upload" onclick="document.getElementById('btnLoad').click();" onchange="selectFiles(event.target.files)" multiple />
|
||||
<button class="btn btn-primary" id="btnStart" onclick="startRetroArch()">Start RetroArch</button>
|
||||
<button class="btn btn-secondary" id="btnAuth" onclick="dropboxInit()">Use DropBox</button>
|
||||
<button class="btn btn-secondary" id="btnAuth" onclick="dropboxInit()">Sync DropBox</button>
|
||||
<button class="btn btn-secondary" id="btnLoad" disabled=true onclick="document.getElementById('rom').click()">Add Content</button>
|
||||
<input class="btn btn-secondary" style="display: none" type="file" id="rom" name="upload" onclick="document.getElementById('btnLoad').click();" onchange="selectFiles(event.target.files)" multiple />
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
|
@ -47,7 +47,8 @@ var showError = function(error) {
|
||||
function dropboxInit()
|
||||
{
|
||||
document.getElementById('btnStart').disabled = true;
|
||||
document.getElementById('btnAuth').disabled = true;
|
||||
document.getElementById('btnAuth').disabled = true;
|
||||
document.getElementById('btnLoad').disabled = false;
|
||||
client.authDriver(new Dropbox.AuthDriver.Redirect());
|
||||
client.authenticate({ rememberUser: true }, function(error, client)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user