Delete User, Start of money ranking
This commit is contained in:
parent
054a8d6f63
commit
0b97ae656f
13 changed files with 3330 additions and 36 deletions
|
|
@ -13,6 +13,7 @@
|
|||
<a class="lead" href="/roundmails">Rundmail</a>
|
||||
@endif
|
||||
<a class="lead" href="/users/show_payouts">Quoten</a>
|
||||
<a class="lead" href="/users/payout">Geldrangliste</a>
|
||||
<a class="lead" href="/tipps#{{\App\Round::getFirstTippableRound()->id}}">Tipps</a>
|
||||
<a class="lead" href="/users/ranking/roundid_-1#playerid_{{Auth::user()->id}}" >Rangliste</a>
|
||||
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@
|
|||
<div><p class="blink_text">{{ $message_text_joker }}</p></div>
|
||||
@endif
|
||||
@if (strlen($nextRoundLockTime)>0)
|
||||
<div><p class="blink_text">{{ $nextRoundName }} sperrt sich: {{ $nextRoundLockTime }} ( noch {{ $hourDiffToLock }} Stunden )</p></div>
|
||||
<div><p class="blink_text">{{ $nextRoundName }} sperrt sich: {{ $nextRoundLockTime }} ( noch {{ $hourDiffToLock }} )</p></div>
|
||||
@endif
|
||||
@endif
|
||||
@endif
|
||||
|
|
|
|||
|
|
@ -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
|
||||
33
pfosten/resources/views/users/payout_ranking_index.blade.php
Normal file
33
pfosten/resources/views/users/payout_ranking_index.blade.php
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
@extends('layouts.layout')
|
||||
|
||||
@section('content')
|
||||
<section class="jumbotron text-center container">
|
||||
|
||||
<div class="lead col-md-8" >Geldrangliste </div>
|
||||
|
||||
<p> </p>
|
||||
|
||||
<div class="col-md-12">
|
||||
<table class="table-bordered" >
|
||||
<tr class="table-bordered">
|
||||
<td class="table-bordered col-std-2">Name</td>
|
||||
<td class="table-bordered col-std-2"> Ausschüttung </td>
|
||||
</tr>
|
||||
|
||||
@foreach($sortedPayout as $payout)
|
||||
<tr>
|
||||
<td class="table-bordered col-md-4" > <a class="text list-unstyled" name="playerid_{{$payout['user_id']}}" href="#">{{ $payout['name'] }} </a></td>
|
||||
|
||||
<td> {{ $payout['amount'] }} € </td>
|
||||
|
||||
</tr>
|
||||
@endforeach
|
||||
|
||||
</table>
|
||||
|
||||
<p> </p>
|
||||
|
||||
</div>
|
||||
|
||||
</section>
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue