blessing-skin-server/resources/views/user/profile.tpl

32 lines
658 B
PHP
Raw Normal View History

2016-07-21 22:01:57 +08:00
@extends('user.master')
2016-09-15 23:03:58 +08:00
@section('title', trans('general.profile'))
2016-07-21 22:01:57 +08:00
@section('content')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>
2018-07-17 11:06:55 +08:00
@lang('general.profile')
2016-07-21 22:01:57 +08:00
</h1>
</section>
<!-- Main content -->
2018-08-02 17:29:43 +08:00
<section class="content"></section><!-- /.content -->
2016-07-21 22:01:57 +08:00
</div><!-- /.content-wrapper -->
2018-08-02 17:29:43 +08:00
@endsection
2016-07-21 22:01:57 +08:00
2018-08-02 17:29:43 +08:00
@section('pre-script')
<script>
Object.defineProperty(window, '__bs_data__', {
value: Object.freeze({
admin: !!{{ $user->isAdmin() }}
}),
writable: false
})
</script>
2016-07-21 22:01:57 +08:00
@endsection