2016-07-21 22:01:57 +08:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2016-09-15 23:03:58 +08:00
|
|
|
<title>{{ option('site_name') }}</title>
|
2016-09-05 22:18:34 +08:00
|
|
|
<link rel="shortcut icon" href="{{ assets('images/favicon.ico') }}">
|
2016-07-21 22:01:57 +08:00
|
|
|
<!-- 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 -->
|
2016-09-15 11:04:08 +08:00
|
|
|
{!! bs_header('index') !!}
|
2016-07-21 22:01:57 +08:00
|
|
|
</head>
|
|
|
|
|
2016-09-15 23:03:58 +08:00
|
|
|
<body class="hold-transition {{ option('color_scheme') }} layout-top-nav">
|
|
|
|
<div class="wrapper" style="background-image: url('{{ option('home_pic_url') }}');">
|
2016-07-21 22:01:57 +08:00
|
|
|
|
|
|
|
<header class="main-header">
|
|
|
|
<nav class="navbar navbar-static-top">
|
|
|
|
<div class="container">
|
|
|
|
<div class="navbar-header">
|
2016-09-15 23:03:58 +08:00
|
|
|
<a href="{{ option('site_url') }}" class="navbar-brand">{{ option('site_name') }}</a>
|
2016-09-25 10:40:39 +08:00
|
|
|
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse">
|
|
|
|
<i class="fa fa-bars"></i>
|
|
|
|
</button>
|
2016-07-21 22:01:57 +08:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- Collect the nav links, forms, and other content for toggling -->
|
|
|
|
<div class="collapse navbar-collapse pull-left" id="navbar-collapse">
|
|
|
|
<ul class="nav navbar-nav">
|
2016-09-15 23:03:58 +08:00
|
|
|
<li class="active"><a href="{{ url('/') }}">{{ trans('general.index') }}</a></li>
|
|
|
|
<li><a href="{{ url('skinlib') }}">{{ trans('general.skinlib') }}</a></li>
|
2016-09-26 22:13:39 +08:00
|
|
|
|
|
|
|
@include('vendor.language')
|
2016-09-25 10:40:39 +08:00
|
|
|
</ul>
|
|
|
|
</div><!-- /.navbar-collapse -->
|
|
|
|
<!-- Navbar Right Menu -->
|
|
|
|
<div class="navbar-custom-menu">
|
|
|
|
<ul class="nav navbar-nav">
|
2016-09-15 23:03:58 +08:00
|
|
|
@if (!is_null($user))
|
|
|
|
<!-- User Account Menu -->
|
|
|
|
<li class="dropdown user user-menu">
|
|
|
|
<!-- Menu Toggle Button -->
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
|
|
|
<!-- The user image in the navbar-->
|
|
|
|
<img src="{{ avatar($user, 25) }}" class="user-image" alt="User Image">
|
|
|
|
<!-- hidden-xs hides the username on small devices so only the image appears. -->
|
|
|
|
<span class="hidden-xs nickname">{{ bs_nickname($user) }}</span>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu">
|
|
|
|
<!-- The user image in the menu -->
|
|
|
|
<li class="user-header">
|
|
|
|
<img src="{{ avatar($user, 128) }}" alt="User Image">
|
|
|
|
<p>{{ $user->email }}</p>
|
|
|
|
</li>
|
|
|
|
<!-- Menu Footer-->
|
|
|
|
<li class="user-footer">
|
|
|
|
<div class="pull-left">
|
|
|
|
<a href="{{ url('user') }}" class="btn btn-default btn-flat">{{ trans('general.user-center') }}</a>
|
|
|
|
</div>
|
|
|
|
<div class="pull-right">
|
|
|
|
<a href="javascript:logout();" class="btn btn-default btn-flat">{{ trans('general.logout') }}</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
@else {{-- Anonymous User --}}
|
|
|
|
<!-- User Account Menu -->
|
|
|
|
<li class="dropdown user user-menu">
|
|
|
|
<a href="{{ url('auth/login') }}" class="btn btn-login">{{ trans('general.login') }}</a>
|
|
|
|
</li>
|
|
|
|
@endif
|
2016-07-21 22:01:57 +08:00
|
|
|
</ul>
|
2016-09-15 23:03:58 +08:00
|
|
|
</div><!-- /.navbar-custom-menu -->
|
2016-07-21 22:01:57 +08:00
|
|
|
</div><!-- /.container-fluid -->
|
|
|
|
</nav>
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<!-- Full Width Column -->
|
|
|
|
<div class="content-wrapper">
|
|
|
|
<div class="container">
|
|
|
|
<div class="splash">
|
2016-09-15 23:03:58 +08:00
|
|
|
<h1 class="splash-head">{{ option('site_name') }}</h1>
|
2016-07-21 22:01:57 +08:00
|
|
|
<p class="splash-subhead">
|
2016-09-15 23:03:58 +08:00
|
|
|
{{ option('site_description') }}
|
2016-07-21 22:01:57 +08:00
|
|
|
</p>
|
|
|
|
<p>
|
2016-09-10 17:02:47 +08:00
|
|
|
@if (is_null($user))
|
2016-11-06 11:48:31 +08:00
|
|
|
@if (option('user_can_register'))
|
|
|
|
<a href="{{ url('auth/register') }}" id="btn-register" class="button">{{ trans('general.register') }}</a>
|
|
|
|
@else
|
|
|
|
<a href="{{ url('auth/login') }}" id="btn-close-register" class="button">{{ trans('general.login') }}</a>
|
|
|
|
@endif
|
2016-09-10 17:02:47 +08:00
|
|
|
@else
|
2016-09-15 23:03:58 +08:00
|
|
|
<a href="{{ url('user') }}" class="button">{{ trans('general.user-center') }}</a>
|
2016-09-10 17:02:47 +08:00
|
|
|
@endif
|
2016-07-21 22:01:57 +08:00
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div><!-- /.content-wrapper -->
|
|
|
|
|
|
|
|
<!-- Main Footer -->
|
|
|
|
<footer class="main-footer">
|
|
|
|
<div class="container text-center">
|
2016-09-15 23:03:58 +08:00
|
|
|
{!! bs_copyright() !!}
|
2016-07-21 22:01:57 +08:00
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
</div><!-- ./wrapper -->
|
|
|
|
|
|
|
|
<!-- App Scripts -->
|
2016-09-15 11:04:08 +08:00
|
|
|
{!! bs_footer() !!}
|
2016-07-21 22:01:57 +08:00
|
|
|
</body>
|
|
|
|
</html>
|