2023-08-19 03:50:33 +02:00
|
|
|
@extends('frame')
|
|
|
|
|
|
|
|
@section('title', 'Den | Member Admin')
|
|
|
|
|
2024-09-27 20:39:56 +02:00
|
|
|
@php
|
|
|
|
if($mode == 'member-create')
|
|
|
|
{
|
|
|
|
$action_url = '/den/member/create';
|
|
|
|
}else{
|
|
|
|
$action_url = '/den/member/edit';
|
|
|
|
}
|
|
|
|
@endphp
|
2023-08-19 03:50:33 +02:00
|
|
|
@section('main-content')
|
|
|
|
<section>
|
|
|
|
<article>
|
2024-09-25 00:21:59 +02:00
|
|
|
@switch($mode)
|
|
|
|
@case('member-edit')
|
|
|
|
<h2>Edit Info for {{$member->handle}}</h2>
|
|
|
|
@include('forms.member-edit')
|
|
|
|
<br />
|
|
|
|
@break
|
|
|
|
|
|
|
|
@case('member-create')
|
2024-09-27 20:39:56 +02:00
|
|
|
<h2>New Member Info</h2>
|
|
|
|
@include('forms.member-edit')
|
|
|
|
<br />
|
2024-09-25 00:21:59 +02:00
|
|
|
@break
|
|
|
|
|
|
|
|
@default
|
|
|
|
<h2>Member Listing </h2>
|
|
|
|
@foreach($members as $member)
|
|
|
|
<a href="/den/member/{{$member->uuid}}">{{$member->handle}}</a><br />
|
|
|
|
@endforeach
|
2024-09-27 20:39:56 +02:00
|
|
|
<h2>Add Member </h2>
|
|
|
|
<a href="/den/member/edit/create">Make a new friend</a><br />
|
2024-09-25 00:21:59 +02:00
|
|
|
@endswitch
|
2023-08-19 03:50:33 +02:00
|
|
|
</article>
|
|
|
|
</section>
|
|
|
|
@endsection
|