mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-21 06:19:38 +08:00
100 lines
3.7 KiB
PHP
100 lines
3.7 KiB
PHP
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>@yield('title') - {{ option('site_name') }}</title>
|
|
{!! bs_favicon() !!}
|
|
<!-- Tell the browser to be responsive to screen width -->
|
|
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
|
<!-- App Styles -->
|
|
@include('common.dependencies.style', ['module' => 'user'])
|
|
|
|
@yield('style')
|
|
</head>
|
|
|
|
<body class="hold-transition {{ option('color_scheme') }} sidebar-mini">
|
|
<div class="wrapper">
|
|
|
|
<!-- Main Header -->
|
|
<header class="main-header">
|
|
|
|
<!-- Logo -->
|
|
<a href="{{ option('site_url') }}" class="logo">
|
|
<!-- mini logo for sidebar mini 50x50 pixels -->
|
|
<span class="logo-mini"> <i class="fa fa-bookmark"></i> </span>
|
|
<!-- logo for regular state and mobile devices -->
|
|
<span class="logo-lg">{{ option('site_name') }}</span>
|
|
</a>
|
|
|
|
<!-- Header Navbar -->
|
|
<nav class="navbar navbar-static-top" role="navigation">
|
|
<!-- Sidebar toggle button-->
|
|
<a href="#" class="sidebar-toggle" data-toggle="push-menu" role="button">
|
|
<span class="sr-only">Toggle navigation</span>
|
|
</a>
|
|
<!-- Navbar Right Menu -->
|
|
<div class="navbar-custom-menu">
|
|
<ul class="nav navbar-nav">
|
|
@include('common.language')
|
|
|
|
@include('common.user-menu')
|
|
</ul>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
<!-- Left side column. contains the logo and sidebar -->
|
|
<aside class="main-sidebar">
|
|
|
|
<!-- sidebar: style can be found in sidebar.less -->
|
|
<section class="sidebar">
|
|
|
|
<!-- Sidebar user panel (optional) -->
|
|
<div class="user-panel">
|
|
<div class="pull-left image">
|
|
<img src="{{ avatar($user, 45) }}" alt="User Image">
|
|
</div>
|
|
<div class="pull-left info">
|
|
<p class="nickname">{{ bs_nickname($user) }}</p>
|
|
<i class="fa fa-circle text-success"></i> {{ bs_role($user) }}
|
|
</div>
|
|
</div>
|
|
|
|
<!-- Sidebar Menu -->
|
|
<ul class="sidebar-menu tree" data-widget="tree">
|
|
<li class="header">{{ trans('general.user-center') }}</li>
|
|
{!! bs_menu('user') !!}
|
|
|
|
<li class="header">{{ trans('general.explore') }}</li>
|
|
<li><a href="{{ url('skinlib') }}"><i class="fa fa-archive"></i> <span>{{ trans('general.skinlib') }}</span></a></li>
|
|
|
|
@if ($user->isAdmin())
|
|
<li class="header">{{ trans('general.manage') }}</li>
|
|
<li><a href="{{ url('admin') }}"><i class="fa fa-cog"></i> <span>{{ trans('general.admin-panel') }}</span></a></li>
|
|
@endif
|
|
</ul><!-- /.sidebar-menu -->
|
|
</section>
|
|
<!-- /.sidebar -->
|
|
</aside>
|
|
|
|
@yield('content')
|
|
|
|
<!-- Main Footer -->
|
|
<footer class="main-footer">
|
|
<!-- YOU CAN NOT MODIFIY THE COPYRIGHT TEXT W/O PERMISSION -->
|
|
<div id="copyright-text" class="pull-right hidden-xs">
|
|
{!! bs_copyright() !!}
|
|
</div>
|
|
<!-- Default to the left -->
|
|
{!! bs_custom_copyright() !!}
|
|
</footer>
|
|
|
|
</div><!-- ./wrapper -->
|
|
|
|
<!-- App Scripts -->
|
|
@include('common.dependencies.script', ['module' => 'user'])
|
|
|
|
@yield('script')
|
|
</body>
|
|
</html>
|