modified veranstaltungen.index
This commit is contained in:
parent
4bac3f00cb
commit
00073ccafb
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,4 +11,3 @@ npm-debug.log
|
|||||||
yarn-error.log
|
yarn-error.log
|
||||||
.env
|
.env
|
||||||
.vscode/
|
.vscode/
|
||||||
|
|
||||||
|
|||||||
1
public/js/app.js
vendored
1
public/js/app.js
vendored
@ -20288,6 +20288,7 @@ $(document).ready(function(){
|
|||||||
$me.html(data);
|
$me.html(data);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
$('.tooltipped').tooltip({delay:50});
|
||||||
});
|
});
|
||||||
|
|
||||||
$(".confirm-logout").click(function() {
|
$(".confirm-logout").click(function() {
|
||||||
|
|||||||
5
resources/lang/en/veranstaltungen.php
Normal file
5
resources/lang/en/veranstaltungen.php
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
return [
|
||||||
|
|
||||||
|
];
|
||||||
@ -2,32 +2,31 @@
|
|||||||
@section('title', 'Veranstaltungen')
|
@section('title', 'Veranstaltungen')
|
||||||
|
|
||||||
@section('content')
|
@section('content')
|
||||||
<a class="btn btn-link" href="{{ route('veranstaltung.create') }}">Veranstaltung hinzufügen</a>
|
|
||||||
|
|
||||||
<table class="highlight">
|
<table class="highlight">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="text-center">Name</th>
|
<th class="centered">Name</th>
|
||||||
<th class="text-center">Datum</th>
|
<th class="centered">Datum</th>
|
||||||
<th class="text-center">Zeit</th>
|
<th class="centered">Zeit</th>
|
||||||
<th class="text-center">Eingetragen</th>
|
<th class="centered">Eingetragen</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
@foreach ($veranstaltungen as $v)
|
@foreach ($veranstaltungen as $v)
|
||||||
<tr >
|
<tr >
|
||||||
<td class="clickable-row" data-href="{{ route('veranstaltung.show', [$v]) }}">{{ $v->name }}</td>
|
<td>{{ $v->name }}</td>
|
||||||
<td>{{ $v->beginn->format('d.m.Y') }}</td>
|
<td>{{ $v->beginn->format('d.m.Y') }}</td>
|
||||||
<td>{{ $v->beginn->format('H:i') }}</td>
|
<td>{{ $v->beginn->format('H:i') }}</td>
|
||||||
<td class="text-center">
|
<td class="centered">
|
||||||
@if(!$v->ist_eingetragen)
|
@if(!$v->ist_eingetragen)
|
||||||
<a class="btn btn-link my-0 py-0" href="{{ route('veranstaltung.enter', [$v]) }}">Eintragen</a>
|
<a class="btn-flat waves-effect waves-green" href="{{ route('veranstaltung.enter', [$v]) }}">Eintragen</a>
|
||||||
@else
|
@else
|
||||||
<span class="text-success">✔</span>
|
<span class="green-text tooltipped" title="Du bist schon eingetragen"><i class="material-icons">check</i></span>
|
||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
<td class="row">
|
<td class="row">
|
||||||
<a class="btn btn-link my-0 py-0" href="{{ route('veranstaltung.edit', [$v]) }}">Bearbeiten</a>
|
<a class="btn-flat waves-effect" href="{{ route('veranstaltung.show', [$v]) }}">Details</a>
|
||||||
|
<a class="btn-flat waves-effect" href="{{ route('veranstaltung.edit', [$v]) }}">Bearbeiten</a>
|
||||||
<a class="btn-flat waves-effect wave-red red-text modal-trigger" href="#confirmDeletionModal" data-url="{{route('veranstaltung.destroy', $v)}}" data-identifier="{{$v->name}}"><i class="material-icons">delete</i></button>
|
<a class="btn-flat waves-effect wave-red red-text modal-trigger" href="#confirmDeletionModal" data-url="{{route('veranstaltung.destroy', $v)}}" data-identifier="{{$v->name}}"><i class="material-icons">delete</i></button>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user