mirror of
https://gitlab.com/TheGamecraft/c-cms.git
synced 2026-04-21 10:49:10 -04:00
ALPHA 3.0.2
This commit is contained in:
@@ -25,10 +25,9 @@
|
||||
<td>{{$item->fullname()}}</td>
|
||||
<td>{{\App\Rank::find($item->rank)->name}}</td>
|
||||
<td>{{\App\Job::find($item->job)->name}}</td>
|
||||
<td style="width: 12%;"><a href="/admin/user/edit/{{$item->id}}" type="button" class="btn btn-secondary"><i class="fa fa-cog"></i> Modifier</a><a type="button" class="btn btn-danger" onclick="deleteEvent(6);"><i class="fa fa-times-circle" style="color:white;"></i></a></td>
|
||||
<td style="width: 12%;"><a href="/admin/user/edit/{{$item->id}}" type="button" class="btn btn-secondary"><i class="fa fa-cog"></i> Modifier</a><a type="button" class="btn btn-danger" onclick="deleteEvent({{$item->id}});"><i class="fa fa-times-circle" style="color:white;"></i></a></td>
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
<hr>
|
||||
@@ -96,7 +95,7 @@
|
||||
if (result.value) {
|
||||
|
||||
(function($) {
|
||||
$.post('/api/user/delete', { id: pid } , function(data) {
|
||||
$.post('/api/user/delete?api_token='+api_token, { id: pid } , function(data) {
|
||||
console.log('Delete');
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user