Update Admin.cshtml design
This commit is contained in:
parent
55e299f8d8
commit
4432a2f823
|
@ -79,7 +79,9 @@
|
|||
</tbody>
|
||||
</table>
|
||||
|
||||
<h2>Invites</h2>
|
||||
<hr/>
|
||||
|
||||
<h2>Invites <button onclick="ajax_and_reload('invite_generate')" class="btn btn-dark">Generate New Invite</button></h2>
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -99,7 +101,7 @@
|
|||
}
|
||||
</tbody>
|
||||
</table>
|
||||
<button onclick="ajax_and_reload('invite_generate')" class="btn btn-dark">Generate New Invite</button>
|
||||
|
||||
<script>
|
||||
function ajax_and_reload(action, target, value) {
|
||||
$.ajax({method: 'POST', data: {action: action, target: target, value: value, '__RequestVerificationToken' : '@tokenSet.RequestToken'}, success: function () { location.reload() }})
|
||||
|
|
Loading…
Reference in New Issue