added more stacks

This commit is contained in:
denisdulici
2018-08-04 18:05:37 +03:00
parent d0dbf23d5a
commit 40c04128ff
24 changed files with 138 additions and 7 deletions

View File

@@ -1,23 +1,39 @@
@stack('content_start')
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
@stack('content_wrapper_start')
<!-- Content Header (Page header) -->
<section class="content-header content-center">
@stack('content_header_start')
<h1>
@yield('title')
@yield('new_button')
</h1>
@stack('content_header_end')
</section>
<!-- Main content -->
<section class="content content-center">
@include('flash::message')
@stack('content_content_start')
@yield('content')
@stack('content_content_start')
</section>
<!-- /.content -->
@stack('content_wrapper_end')
</div>
<!-- /.content-wrapper -->
<script type="text/javascript">
$('div.alert').not('.alert-important').delay(3000).fadeOut(350);
</script>
@stack('content_end')

View File

@@ -1,3 +1,7 @@
@stack('footer_start')
<footer class="main-footer">
<strong>{{ trans('footer.powered') }}</strong>: <a href="https://akaunting.com">{{ trans('footer.software') }}</a>
</footer>
@stack('footer_end')

View File

@@ -1,4 +1,6 @@
<head>
@stack('head_start')
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Tell the browser to be responsive to screen width -->
@@ -68,4 +70,6 @@
@stack('js')
@stack('scripts')
@stack('head_end')
</head>

View File

@@ -1,3 +1,5 @@
@stack('header_start')
<header class="main-header">
<!-- Logo -->
<a href="{{ url('customers') }}" class="logo">
@@ -11,13 +13,14 @@
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
@stack('header_navbar_left')
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
@stack('header_navbar_right')
<!-- Notifications: style can be found in dropdown.less -->
<li class="dropdown notifications-menu">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
@@ -100,3 +103,5 @@
</div>
</nav>
</header>
@stack('header_end')

View File

@@ -1,3 +1,5 @@
@stack('menu_start')
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
@@ -6,3 +8,5 @@
</section>
<!-- /.sidebar -->
</aside>
@stack('menu_end')

View File

@@ -1,3 +1,5 @@
@stack('pagination_start')
@if ($items->firstItem())
<div class="pull-left" style="margin-top: 7px;">
<small>{{ trans('pagination.showing', ['first' => $items->firstItem(), 'last' => $items->lastItem(), 'total' => $items->total(), 'type' => strtolower(trans_choice('general.' . $type, 2))]) }}</small>
@@ -10,3 +12,5 @@
<small>{{ trans('general.no_records') }}</small>
</div>
@endif
@stack('pagination_end')