Hoschis Vollpfosten First Commit

This commit is contained in:
Torsten 2017-06-20 08:43:36 +02:00
parent b52a6fade5
commit 0736ecf29f
112 changed files with 9777 additions and 0 deletions

View file

@ -0,0 +1,16 @@
@if (count($errors))
<div class="col-sm-8">
<div class="container">
<div class="form-group">
<div class="alert alert-danger">
<ul>
@foreach ($errors->all() as $error)
<li>{{ $error }}</li>
@endforeach
</ul>
</div>
</div>
</div>
</div>
@endif

View file

@ -0,0 +1,8 @@
<footer class="text-muted">
<div class="container text-center">
<p>Anfragen aller Art bitte an Volker Geissler.</p>
<p>Tel. 0172xxxxxxx, vg@aol.com</p>
</div>
</footer>

View file

@ -0,0 +1,29 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="">
<meta name="author" content="">
<link rel="icon" href="../../favicon.ico">
<title>Hoschis Vollpfosten</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Custom styles for this template -->
<link href="/css/album.css" rel="stylesheet">
</head>
<body>
@include('layouts.nav')
<div class="container">
@yield('content')
</div>
@include('layouts.footer')
</body>
</html>

View file

@ -0,0 +1,17 @@
<div class="container">
<!-- <div class="navbar navbar-inverse bg-inverse blog-nav">-->
<div class="navbar blog-nav">
<div class="container d-flex justify-content-between">
@if (Auth::check())
<a class="lead" href="/seasons">Saison</a> &nbsp; &nbsp; &nbsp;
<a class="lead" href="/rounds">Runden</a> &nbsp; &nbsp; &nbsp;
<a class="lead" href="#">Spieler</a> &nbsp; &nbsp; &nbsp;
<a class="lead" href="#">Tipps</a> &nbsp; &nbsp; &nbsp;
<a class="lead" href="/register" >Rangliste</a> &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;
<label class="lead text ml-auto" >Spieler: {{ Auth::user()->name }}</label><a class="lead" href="/logout">(abmelden)</a>
@endif
</div>
</div>
</div>

View file

@ -0,0 +1,5 @@
<!doctype html>
<html>
<head><title></title></head>
<body><h1>Hello World</h1></body>
</html>

View file

@ -0,0 +1,47 @@
@extends('layouts.layout')
@section('content')
<div class="col-sm-8">
<h1>Registrierung</h1>
<form method="POST" action="/register">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" name="name" required>
</div>
<div class="form-group">
<label for="email">Email:</label>
<input type="email" class="form-control" id="email" name="email" required>
</div>
<div class="form-group">
<label for="password">Passwort:</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<div class="form-group">
<label for="password_confirmation">Passwort wiederholen:</label>
<input type="password" class="form-control" id="password_confirmation" name="password_confirmation" required>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Neuen Spieler registrieren</button>
</div>
</form>
</div>
@include('layouts.errors')
<!--
<section class="jumbotron text-center">
<div class="container">
<h1 class="jumbotron-heading">Hoschis Vollpfosten</h1>
<p class="lead text-muted">Eine Tippgemeinschaft unter Freunden.</p>
<a href="#" class="btn btn-primary">Erste Eingabe</a>
<a href="#" class="btn btn-secondary">Zweite Eingabe</a>
</div>
</section>
-->
@endsection

View file

@ -0,0 +1,22 @@
@extends('layouts.layout')
@section('content')
<div class="col-md-8">
<h1>Runde erstellen</h1>
<form method="POST" action="/rounds/store">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" name="name" required>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Erstellen</button>
</div>
</form>
</div>
@endsection

View file

@ -0,0 +1,33 @@
@extends('layouts.layout')
@section('content')
<section class="jumbotron text-center">
<div class="container">
@if ($activeSeason)
<label>Aktive Saison:{{ $activeSeason->name }}</label>
@endif
<div class="lead">Runden Liste</div>
@if ($activeSeason)
<div>
<ul>
@foreach($rounds as $round)
<li class="text list-unstyled">{{ $round->name }}</li>
@endforeach
</ul>
</div>
@endif
<div><a href="/rounds/create" class="btn btn-primary">Neue anlegen</a></div>
</div>
</section>
@endsection

View file

@ -0,0 +1,22 @@
@extends('layouts.layout')
@section('content')
<div class="col-md-8">
<h1>Saison erstellen</h1>
<form method="POST" action="/seasons/store">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" name="name" required>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Erstellen</button>
</div>
</form>
</div>
@endsection

View file

@ -0,0 +1,34 @@
@extends('layouts.layout')
@section('content')
<section class="jumbotron text-center">
<div class="container">
<div class="lead">Saison Liste</div>
@if ($activeSeason)
<div>
<ul>
@foreach($seasons as $season)
<li class="text list-unstyled">{{ $season->name }}</li>
@endforeach
</ul>
</div>
@endif
<div> <a href="/seasons/create" class="btn btn-primary">Neue anlegen</a></div>
@if ($activeSeason)
<div class="container">
<label>Aktive Saison:{{ $activeSeason->name }}</label>
</div>
@endif
</div>
</section>
@endsection

View file

@ -0,0 +1,26 @@
@extends('layouts.layout')
@section('content')
<div class="col-md-8">
<h1>Anmeldung</h1>
<form method="POST" action="/login">
{{ csrf_field() }}
<div class="form-group">
<label for="name">Name:</label>
<input type="text" class="form-control" id="name" name="name" required>
</div>
<div class="form-group">
<label for="password">Passwort:</label>
<input type="password" class="form-control" id="password" name="password" required>
</div>
<div class="form-group">
<button type="submit" class="btn btn-primary">Anmelden</button>
</div>
</form>
</div>
@endsection

View file

@ -0,0 +1,39 @@
@extends('layouts.layout')
@section('content')
<section class="jumbotron text-center">
<div class="container">
<h1 class="jumbotron-heading">Hoschis Vollpfosten</h1>
<p class="lead text-muted">Eine Tippgemeinschaft unter Freunden.</p>
<div><p></p><p></p><p></p></div>
@if (!Auth::check())
<div>
<a href="/login" class="btn btn-primary">Anmelden</a>
</div>
<div><p></p><p></p><p></p></div>
</div>
<a href="/register" class="btn btn-primary">Registrieren</a>
</div>
@endif
@if (Auth::check())
<div class="lead"> Spielerliste:</div>
<div>
<ul>
@foreach($users as $user)
<li class="text list-unstyled">{{ $user->name }}</li>
@endforeach
</ul>
</div>
<!--
<div>
<a href="/logout" class="btn btn-primary">Abmelden</a>
</div>
-->
@endif
</section>
@endsection

View file

@ -0,0 +1,15 @@
<!doctype html>
<html>
<head><title></title></head>
<body><h1>User Liste</h1>
<ul>
@foreach($users as $user)
<li><label class="lead">{{ $user->name }}</label></li>
@endforeach
</ul>
</body>
</html>

View file

@ -0,0 +1,9 @@
<!doctype html>
<html>
<head><title></title></head>
<body><h1>User: {{$userObject->name}} </h1>
</body>
</html>

View file

@ -0,0 +1,95 @@
<!doctype html>
<html lang="{{ app()->getLocale() }}">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Laravel</title>
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css?family=Raleway:100,600" rel="stylesheet" type="text/css">
<!-- Styles -->
<style>
html, body {
background-color: #fff;
color: #636b6f;
font-family: 'Raleway', sans-serif;
font-weight: 100;
height: 100vh;
margin: 0;
}
.full-height {
height: 100vh;
}
.flex-center {
align-items: center;
display: flex;
justify-content: center;
}
.position-ref {
position: relative;
}
.top-right {
position: absolute;
right: 10px;
top: 18px;
}
.content {
text-align: center;
}
.title {
font-size: 84px;
}
.links > a {
color: #636b6f;
padding: 0 25px;
font-size: 12px;
font-weight: 600;
letter-spacing: .1rem;
text-decoration: none;
text-transform: uppercase;
}
.m-b-md {
margin-bottom: 30px;
}
</style>
</head>
<body>
<div class="flex-center position-ref full-height">
@if (Route::has('login'))
<div class="top-right links">
@if (Auth::check())
<a href="{{ url('/home') }}">Home</a>
@else
<a href="{{ url('/login') }}">Login</a>
<a href="{{ url('/register') }}">Register</a>
@endif
</div>
@endif
<div class="content">
<div class="title m-b-md">
Laracast
</div>
<div class="links">
<a href="https://laravel.com/docs">Documentation</a>
<a href="https://laracasts.com">Laracasts</a>
<a href="https://laravel-news.com">News</a>
<a href="https://forge.laravel.com">Forge</a>
<a href="https://github.com/laravel/laravel">GitHub</a>
</div>
</div>
</div>
</body>
</html>