token support, api fixes and security, dark mode
This commit is contained in:
29
app/views/admin/tokens/edit.html
Normal file
29
app/views/admin/tokens/edit.html
Normal file
@ -0,0 +1,29 @@
|
||||
<form action="" method="post" class="form-horizontal">
|
||||
<legend>Edit Token</legend>
|
||||
<fieldset>
|
||||
<div class="form-group">
|
||||
<label for="name" class="col-lg-6 control-label">Name:</label>
|
||||
<div class="col-lg-2">
|
||||
<input class="form-control" type="text" name="name" id="name" value="{name}">
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="notes" class="col-lg-3 control-label">Notes</label>
|
||||
<div class="col-lg-6">
|
||||
<textarea class="form-control" name="notes" maxlength="2000" rows="10" cols="50" id="notes">{notes}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="token_type" class="col-lg-6 control-label">Token Type:</label>
|
||||
<div class="col-lg-2">
|
||||
<select name="token_type" id="token_type" class="">
|
||||
{OPTION=token_type}
|
||||
<option value='app'>Application</option>
|
||||
<option value='user'>User</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<input type="hidden" name="token" value="{TOKEN}">
|
||||
<button name="submit" value="submit" type="submit" class="btn btn-lg btn-primary center-block">Save</button><br>
|
||||
</form>
|
Reference in New Issue
Block a user