Hypolite Petovan
3226b00995
- Add settings_content() permission checks to Module\BaseSettings - Transform application token deletion GET links to POST forms to keep a single OAuth module class
30 lines
819 B
Smarty
30 lines
819 B
Smarty
<div class="generic-page-wrapper">
|
|
<h1>{{$title}}</h1>
|
|
<form action="settings/oauth" method="post" autocomplete="off">
|
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
|
<table id='application-block' class='table table-condensed table-striped'>
|
|
<thead>
|
|
<tr>
|
|
<th>{{$name}}</th>
|
|
<th>{{$website}}</th>
|
|
<th>{{$created_at}}</th>
|
|
<th></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{{foreach $apps as $app}}
|
|
<tr>
|
|
<td>{{$app.name}}</td>
|
|
<td>{{$app.website}}</td>
|
|
<td>{{$app.created_at}}</td>
|
|
<td>
|
|
<button type="submit" class="btn" title="{{$delete}}" name="delete" value="{{$app.id}}">
|
|
<i class="icon s22 delete" aria-hidden="true"></i>
|
|
</button>
|
|
</td>
|
|
</tr>
|
|
{{/foreach}}
|
|
</tbody>
|
|
</table>
|
|
</form>
|
|
</div>
|