Delete User, Start of money ranking
This commit is contained in:
parent
054a8d6f63
commit
0b97ae656f
13 changed files with 3330 additions and 36 deletions
|
|
@ -3,7 +3,8 @@
|
|||
@section('content')
|
||||
<div class="col-md-8">
|
||||
<h1>Spieler bearbeiten</h1>
|
||||
<a style="float:right;" href="#" class="btn btn-primary">Spielerkonto löschen</a>
|
||||
|
||||
<button onclick="confirmDecision();return false;" type="submit" class="btn btn-primary" style="float:none; width:200px">Spielerkonto löschen</button>
|
||||
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
|
|
@ -68,4 +69,15 @@
|
|||
<p> </p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
function confirmDecision(){
|
||||
if (confirm('Spieler löschen ?')){
|
||||
window.location.href = '/users/delete/' + '{{ $user->id }}';
|
||||
} else {
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue