mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-25 01:05:36 +00:00
Update passport client component
This commit is contained in:
parent
49978556ba
commit
f4290417c6
1 changed files with 47 additions and 3 deletions
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<!-- Current Clients -->
|
<!-- Current Clients -->
|
||||||
<p class="mb-0" v-if="clients.length === 0">
|
<p class="mb-0 font-weight-bold text-center lead p-5" v-if="clients.length === 0">
|
||||||
You have not created any OAuth clients.
|
You have not created any OAuth clients.
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
@ -55,14 +55,14 @@
|
||||||
|
|
||||||
<!-- Edit Button -->
|
<!-- Edit Button -->
|
||||||
<td style="vertical-align: middle;">
|
<td style="vertical-align: middle;">
|
||||||
<a class="action-link" tabindex="-1" @click="edit(client)">
|
<a class="btn btn-outline-secondary btn-sm py-1" tabindex="-1" @click="edit(client)">
|
||||||
Edit
|
Edit
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<!-- Delete Button -->
|
<!-- Delete Button -->
|
||||||
<td style="vertical-align: middle;">
|
<td style="vertical-align: middle;">
|
||||||
<a class="action-link text-danger" @click="destroy(client)">
|
<a class="btn btn-outline-danger btn-sm py-1" @click="destroy(client)" href="">
|
||||||
Delete
|
Delete
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
|
@ -112,6 +112,30 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-3 col-form-label">Description</label>
|
||||||
|
|
||||||
|
<div class="col-md-9">
|
||||||
|
<textarea class="form-control" rows="3"></textarea>
|
||||||
|
|
||||||
|
<span class="form-text text-muted">
|
||||||
|
A brief description of your app
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-3 col-form-label">Website</label>
|
||||||
|
|
||||||
|
<div class="col-md-9">
|
||||||
|
<input type="text" class="form-control" autocomplete="off">
|
||||||
|
|
||||||
|
<span class="form-text text-muted">
|
||||||
|
Your website url
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<!-- Redirect URL -->
|
<!-- Redirect URL -->
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
<label class="col-md-3 col-form-label">Redirect URL</label>
|
<label class="col-md-3 col-form-label">Redirect URL</label>
|
||||||
|
@ -125,6 +149,26 @@
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div class="form-group row">
|
||||||
|
<label class="col-md-3 col-form-label">Scopes</label>
|
||||||
|
|
||||||
|
<div class="col-md-9">
|
||||||
|
<div class="custom-control custom-switch">
|
||||||
|
<input type="checkbox" class="custom-control-input" id="customSwitch1">
|
||||||
|
<label class="custom-control-label" for="customSwitch1">Read</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="custom-control custom-switch">
|
||||||
|
<input type="checkbox" class="custom-control-input" id="customSwitch2">
|
||||||
|
<label class="custom-control-label" for="customSwitch2">Write</label>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span class="form-text text-muted">
|
||||||
|
Your application's scopes.
|
||||||
|
</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue