Skip to content

Commit

Permalink
adds Reset all/select all button group.
Browse files Browse the repository at this point in the history
  • Loading branch information
swiftyspiffy committed May 20, 2017
1 parent 2c26daa commit 24cdcec
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,11 +172,14 @@
</tbody>
</table>
<div class="row">
<div class="col-md-2"></div>
<button type = "button" class = "col-md-3 btn btn-danger" onclick="clearScopeSelections();">Reset Scope Selections</button>
<div class="col-md-2"></div>
<button type = "button" class = "col-md-3 btn btn-success" onclick="authenticate();">Generate Token!</button>
<div class="col-md-2"></div>
<div class="col-md-1"></div>
<div class="btn-group mr-2 col-md-2">
<button type = "button" class = "btn btn-danger" onclick="clearScopeSelections();">Reset All</button>
<button type = "button" class = "btn btn-success" onclick="selectAllScopes();">Select All</button>
</div>
<div class="col-md-1"></div>
<button type = "button" class = "col-md-7 btn btn-success" onclick="authenticate();">Generate Token!</button>
<div class="col-md-1"></div>
</div>
</div>
</div>
Expand All @@ -200,5 +203,4 @@
var authSuccessful = <? echo (strlen($access_token) > 1 ? "true" : "false"); ?>;
/* --- Runtime PHP Generated JS Vars START -- */
</script>

</html>
</html>

0 comments on commit 24cdcec

Please sign in to comment.