Gestalte den Mitgliederbereich fuer den Kursraum
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
abcdc6908e
commit
1d8315c9a4
21 files changed
+1064
-169
No files matched your search
@@ -1,30 +1,55 @@
|
||||
@extends('layouts.site')
|
||||
@extends('layouts.member')
|
||||
|
||||
@section('title', $title)
|
||||
|
||||
@section('content')
|
||||
@include('member.partials.nav')
|
||||
<p><a href="{{ route('member.library') }}">Bibliothek</a></p>
|
||||
<h1>{{ $title }}</h1>
|
||||
@if ($kind)
|
||||
<p>{{ $kind }}</p>
|
||||
@endif
|
||||
@if (filled($summary ?? null))
|
||||
<p class="lede">{{ $summary }}</p>
|
||||
@endif
|
||||
<p>Nutzbarkeit: {{ $coverage }}</p>
|
||||
<p>{{ filled($composition->thumbnail_path) ? ($composition->thumbnail_alt ?: 'Vorschaubild') : 'Platzhalter' }}</p>
|
||||
<p class="crumb"><a href="{{ route('member.library') }}">Bibliothek</a></p>
|
||||
<header class="member-intro">
|
||||
@if ($kind)
|
||||
<p class="flag">{{ $kind }}</p>
|
||||
@endif
|
||||
<h1>{{ $title }}</h1>
|
||||
@if (filled($summary ?? null))
|
||||
<p class="lede">{{ $summary }}</p>
|
||||
@endif
|
||||
</header>
|
||||
<dl class="facts">
|
||||
<div>
|
||||
<dt>Nutzbarkeit</dt>
|
||||
<dd class="state state-{{ $coverage }}">{{ match ($coverage) {
|
||||
'nutzbar' => 'Nutzbar',
|
||||
'teilweise' => 'Teilweise nutzbar',
|
||||
default => 'Nicht enthalten',
|
||||
} }}</dd>
|
||||
</div>
|
||||
@if ($duration_minutes)
|
||||
<div>
|
||||
<dt>Zeit</dt>
|
||||
<dd>{{ $duration_minutes }} Minuten</dd>
|
||||
</div>
|
||||
@endif
|
||||
<div>
|
||||
<dt>Vorschaubild</dt>
|
||||
<dd>{{ filled($composition->thumbnail_path) ? ($composition->thumbnail_alt ?: 'Vorschaubild') : 'Platzhalter' }}</dd>
|
||||
</div>
|
||||
</dl>
|
||||
@if (filled($composition->thumbnail_error))
|
||||
<p>{{ $composition->thumbnail_error }}</p>
|
||||
<p class="state state-hinweis">{{ $composition->thumbnail_error }}</p>
|
||||
@endif
|
||||
@if (filled($learning_goal))
|
||||
<p>Lernziel: {{ $learning_goal }}</p>
|
||||
@if (filled($learning_goal) || $duration_minutes || filled($material_note))
|
||||
<section class="didactic">
|
||||
@if (filled($learning_goal))
|
||||
<h2>Lernziel</h2>
|
||||
<p>{{ $learning_goal }}</p>
|
||||
@endif
|
||||
@if (filled($material_note))
|
||||
<h2>Material</h2>
|
||||
<p>{{ $material_note }}</p>
|
||||
@endif
|
||||
</section>
|
||||
@endif
|
||||
@if ($duration_minutes)
|
||||
<p>Zeit: {{ $duration_minutes }} Minuten</p>
|
||||
@endif
|
||||
@if (filled($material_note))
|
||||
<p>Material: {{ $material_note }}</p>
|
||||
@endif
|
||||
@include('member.partials.structure', ['nodes' => $nodes])
|
||||
<section id="aufbau">
|
||||
<h2>Aufbau</h2>
|
||||
@include('member.partials.structure', ['nodes' => $nodes])
|
||||
</section>
|
||||
@endsection
|
||||
Reference in new issue
Block a user