mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-06-25 16:04:37 -05:00
Added Layout to Admin Pages
Plugged in the new layout to the admin pages
This commit is contained in:
@ -1,14 +1,12 @@
|
||||
@extends('frame')
|
||||
|
||||
@section('title', 'Den|Locations')
|
||||
@section('title', 'Den | Location Admin')
|
||||
|
||||
@section('main-content')
|
||||
@parent
|
||||
<section role="loc-index">
|
||||
<div>
|
||||
<h1>Locations</h1>
|
||||
Hey {{$handle}}<br />
|
||||
|
||||
<section>
|
||||
<article>
|
||||
<h2>Location Listings</h2>
|
||||
@if($action === "add")
|
||||
@include('forms.add-location')
|
||||
@elseif($action === "edit")
|
||||
@ -18,6 +16,6 @@
|
||||
@else
|
||||
START
|
||||
@endif
|
||||
</div>
|
||||
</article>
|
||||
</section>
|
||||
@endsection
|
@ -1,4 +1,11 @@
|
||||
<div>
|
||||
<h1>Mmeber Stuff</h1>
|
||||
Hey {{$handle}}
|
||||
</div>
|
||||
@extends('frame')
|
||||
|
||||
@section('title', 'Den | Member Admin')
|
||||
|
||||
@section('main-content')
|
||||
<section>
|
||||
<article>
|
||||
<h2>Member Listing </h2>
|
||||
</article>
|
||||
</section>
|
||||
@endsection
|
@ -4,8 +4,9 @@
|
||||
|
||||
@section('main-content')
|
||||
|
||||
<div>
|
||||
<h1>The Den</h1>
|
||||
Hey {{$handle}}
|
||||
</div>
|
||||
<section>
|
||||
<article>
|
||||
<h2>Hey {{$handle}} </h2>
|
||||
</article>
|
||||
</section>
|
||||
@endsection
|
@ -30,9 +30,21 @@
|
||||
<a href="/listings/1" title="instance listing" class="nav-links">
|
||||
Listings
|
||||
</a><br />
|
||||
<a href="/den" title="login" class="nav-links">
|
||||
The Den
|
||||
</a>
|
||||
@if(Auth::check())
|
||||
<a href="/den/member" title="den-member" class="nav-links">
|
||||
Member
|
||||
</a><br />
|
||||
<a href="/den/locations" title="den-locations" class="nav-links">
|
||||
Locations
|
||||
</a><br />
|
||||
<a href="/logout" title="logout" class="nav-links">
|
||||
Logout
|
||||
</a><br />
|
||||
@else
|
||||
<a href="/den" title="login" class="nav-links">
|
||||
The Den
|
||||
</a><br />
|
||||
@endif
|
||||
</nav>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -3,14 +3,13 @@
|
||||
@section('main-content')
|
||||
@parent
|
||||
<section>
|
||||
<article>
|
||||
<article role="list">
|
||||
<h2>Page {{$pageNum}}</h2>
|
||||
|
||||
<a href="/listings/{{$prev}}">PREV</a>
|
||||
{{$pageNum}} of {{$totalPages}}
|
||||
<a href="/listings/{{$next}}">NEXT</a><br />
|
||||
@foreach($locations as $location)
|
||||
<a href="/location/{{$location->uuid}}">{{$location->name}}</a></a><br />
|
||||
<a role="listitem" href="/location/{{$location->uuid}}">{{$location->name}}</a></a><br />
|
||||
@endforeach
|
||||
<a href="/listings/{{$prev}}">PREV</a>
|
||||
{{$pageNum}} of {{$totalPages}}
|
||||
|
Reference in New Issue
Block a user