Merge pull request #4783 from manics/token-button-after

Token UI: move button to after form fields
This commit is contained in:
Min RK
2024-04-15 10:07:18 +02:00
committed by GitHub

View File

@@ -6,11 +6,6 @@
<h1 class="sr-only">Manage JupyterHub Tokens</h1> <h1 class="sr-only">Manage JupyterHub Tokens</h1>
<div class="row"> <div class="row">
<form id="request-token-form" class="col-md-offset-3 col-md-6"> <form id="request-token-form" class="col-md-offset-3 col-md-6">
<div class="text-center">
<button type="submit" class="btn btn-lg btn-jupyter">
Request new API token
</button>
</div>
<div class="form-group"> <div class="form-group">
<label for="token-note">Note</label> <label for="token-note">Note</label>
<input <input
@@ -44,6 +39,11 @@
See the <a href="https://jupyterhub.readthedocs.io/en/stable/rbac/scopes.html#available-scopes">JupyterHub documentation for a list of available scopes</a>. See the <a href="https://jupyterhub.readthedocs.io/en/stable/rbac/scopes.html#available-scopes">JupyterHub documentation for a list of available scopes</a>.
</small> </small>
</div> </div>
<div class="text-center">
<button type="submit" class="btn btn-lg btn-jupyter">
Request new API token
</button>
</div>
</form> </form>
</div> </div>