change button order a bit

This commit is contained in:
radius 2016-08-28 23:36:12 -05:00
parent 7dbc3d2498
commit 6f1288a9f8
2 changed files with 5 additions and 4 deletions

View File

@ -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">

View File

@ -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)
{