mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-11-25 00:51:25 -05:00
21 lines
810 B
PHP
21 lines
810 B
PHP
@extends('templates.base', [ 'title' => 'Dashboard' ])
|
|
|
|
@php
|
|
$current_page = preg_match('/\/settings$/', Request::url()) ? 'settings' : preg_replace([ '/https?:\/\/[^\/]*\/dashboard\/[^\/]*\//', '/\/.*/' ], [ '', '' ], Request::url());
|
|
@endphp
|
|
|
|
@section('page-includes')
|
|
<script src="/js/lib-dashboard.js?version={{ Version::get() }}"></script>
|
|
<script src="/js/dashboard.js?version={{ Version::get() }}"></script>
|
|
<link rel="stylesheet" href="/css/lib-dashboard.css?version={{ Version::get() }}" />
|
|
<link rel="stylesheet" href="/css/dashboard.css?version={{ Version::get() }}" />
|
|
@endsection
|
|
|
|
@section('page-top')
|
|
<div class="dashboard-background"></div>
|
|
@include('dashboard.sections.nav')
|
|
@endsection
|
|
|
|
@section('page-bottom')
|
|
@include('dashboard.sections.footer')
|
|
@endsection
|