Tippstart auf Tippable round, Link Roundmail: Tipps@Tippspiel
This commit is contained in:
parent
0abaeb2eba
commit
6aad1a7ab2
13 changed files with 149 additions and 34 deletions
|
|
@ -13,10 +13,10 @@
|
|||
<a class="lead" href="/roundmails">Rundmail</a>
|
||||
@endif
|
||||
<a class="lead" href="/users/show_payouts">Quoten</a>
|
||||
<a class="lead" href="/tipps">Tipps</a>
|
||||
<a class="lead" href="/tipps#{{\App\Round::getFirstTippableRound()->id}}">Tipps</a>
|
||||
<a class="lead" href="/users/ranking/-1" >Rangliste</a>
|
||||
|
||||
<label class="lead text ml-auto" >Spieler: {{ Auth::user()->name }}</label><a class="lead" href="/logout">(abmelden)</a>
|
||||
<label class="lead text ml-auto" >Spieler: <a href="/users/useredit/{{ Auth::user()->id }}">{{ Auth::user()->name }}</a></label><a class="lead" href="/logout">(abmelden)</a>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -43,13 +43,14 @@
|
|||
|
||||
|
||||
|
||||
|
||||
<button onClick="setAdminRecipient(); return false;">Alle Administatoren</button>
|
||||
<button onClick="setActiveRecipient(); return false;">Alle aktiven Spieler</button>
|
||||
<button onClick="setInactiveRecipient(); return false;">Alle inaktiven Spieler (keine Zahlung)</button>
|
||||
<button onClick="setMissingTippRecipient(); return false;">Alle Spieler mit fehlenden Tipps</button>
|
||||
<button onClick="setMissingJokerRecipient(); return false;">Alle Spieler mit fehlenden Jokern</button>
|
||||
|
||||
<div>
|
||||
<button onClick="setAdminRecipient(); return false;">Alle Administatoren</button>
|
||||
<button onClick="setActiveRecipient(); return false;">Alle aktiven Spieler</button>
|
||||
<button onClick="setInactiveRecipient(); return false;">Alle inaktiven Spieler (keine Zahlung)</button>
|
||||
<button onClick="setMissingTippRecipient(); return false;">Alle Spieler mit fehlenden Tipps</button>
|
||||
<button onClick="setMissingJokerRecipient(); return false;">Alle Spieler mit fehlenden Jokern</button>
|
||||
<div>
|
||||
<button onClick="setTippLink(); return false;">Tipplink hinzufügen</button>
|
||||
<p> </p>
|
||||
<label>Nachricht</label>
|
||||
<textarea id="message" name="message" class="form-control" style="min-height:250px;height:auto;">{{$mail_message}}</textarea>
|
||||
|
|
@ -96,6 +97,11 @@
|
|||
var elem = document.getElementById("recipients");
|
||||
elem.innerHTML = "{{ $missingJokerMailList }}";
|
||||
}
|
||||
function setTippLink()
|
||||
{
|
||||
var elem = document.getElementById("message");
|
||||
elem.innerHTML += "Link zur Tippseite: {{ $tippSpielLink }}";
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -21,6 +21,9 @@
|
|||
<div class="form-group">
|
||||
<button type="submit" class="btn btn-primary">Anmelden</button>
|
||||
</div>
|
||||
<div>
|
||||
<a href="/password/reset">Passwort vergessen ?</a>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -17,8 +17,8 @@
|
|||
<div>
|
||||
|
||||
@foreach($rounds as $round)
|
||||
<div><a class="text lead col-md-12" name="{{$round->id}}" style="font-size: 38px">{{ $round->name }} </a></div>
|
||||
|
||||
<div><label class="text lead">{{ $round->name }} </label></div>
|
||||
|
||||
<span class="col-md-12">
|
||||
|
||||
|
|
|
|||
80
pfosten/resources/views/users/useredit.blade.php
Normal file
80
pfosten/resources/views/users/useredit.blade.php
Normal file
|
|
@ -0,0 +1,80 @@
|
|||
@extends('layouts.layout')
|
||||
|
||||
@section('content')
|
||||
<div class="col-md-8">
|
||||
<h1>Spielerdaten</h1>
|
||||
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<div>
|
||||
<form method="POST" action="#" id="playerform">
|
||||
{{ csrf_field() }}
|
||||
<a href="/">Neues Passwort anfordern</a>
|
||||
|
||||
<div class="form-group">
|
||||
|
||||
<div>
|
||||
<label style="float:left; width:150px" for="name">Login:</label>
|
||||
<input type="text" class="form-control" id="name" name="name" value="{{ $user->name }}" readonly>
|
||||
</div>
|
||||
<div>
|
||||
<label style="float:left; width:150px" for="firstname">Vorname:</label>
|
||||
<input type="text" class="form-control" id="firstname" name="firstname" value="{{ $user->firstname }}" readonly>
|
||||
</div>
|
||||
<div>
|
||||
<label style="float:left; width:150px" for="lastname">Nachname:</label>
|
||||
<input type="text" class="form-control" id="lastname" name="lastname" value="{{ $user->lastname }}" readonly>
|
||||
</div>
|
||||
|
||||
<p> </p>
|
||||
<div>
|
||||
<label style="float:left; width:150px" for="name">Zahlung für Saison:</label>
|
||||
|
||||
<div class='input-group has_datepicker' id='datetimepicker1'>
|
||||
<input style="float:left;width:150px" type="text" class="form-control" id="paid" name="paid" value="{{ $paid_date_str }}" readonly >
|
||||
<span class="input-group-addon" style="float:left;width:50px;">
|
||||
<span class="glyphicon glyphicon-calendar"></span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<p> </p>
|
||||
<div>
|
||||
<label style="float:left; width:150px" for="name">Email:</label>
|
||||
<input type="text" class="form-control" id="email" style="width:600px" name="email" value="{{ $user->email }}" required>
|
||||
</div>
|
||||
<p> </p>
|
||||
<div>
|
||||
<label style="float:left; width:150px;" for="admin">Admin:</label>
|
||||
|
||||
{{ Form::checkbox('admin', 'admin', $user->admin, array('disabled') ) }} <!-- name, value, checked -->
|
||||
|
||||
<!-- <input style="width:150px" type="checkbox" class="form-control" id="admin" name="admin" value="{{ $user->admin }}" > -->
|
||||
</div>
|
||||
|
||||
|
||||
<input type="hidden" name="id" value="{{ $user->id }}">
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="form-group">
|
||||
<p> </p>
|
||||
<p> </p>
|
||||
<span>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<a href="/" class="btn btn-primary" style="float:none; width:100px">Zurück</a>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endsection
|
||||
Loading…
Add table
Add a link
Reference in a new issue