v2 first commit

This commit is contained in:
denisdulici
2019-11-16 10:21:14 +03:00
parent 5b23e9c2c4
commit 6d50fa8442
3075 changed files with 3451681 additions and 65594 deletions

View File

@ -1,20 +1,37 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.admin.head')
<body class="hold-transition {{ setting('general.admin_theme', 'skin-green-light') }} sidebar-mini fixed">
@stack('body_start')
<body class="g-sidenav-show g-sidenav-pinned">
<!-- Site wrapper -->
<div class="wrapper">
@include('partials.admin.header')
@stack('body_start')
@include('partials.admin.menu')
@include('partials.admin.content')
<div class="main-content" id="panel">
@include('partials.admin.footer')
</div>
@include('partials.admin.navbar')
<div id="main-body">
@include('partials.admin.header')
<div class="container-fluid content-layout mt--6">
@include('partials.admin.content')
@include('partials.admin.footer')
</div>
</div>
</div>
@stack('body_end')
@include('partials.admin.scripts')
</body>
</html>

View File

@ -1,38 +1,71 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.auth.head')
<body class="hold-transition login-page">
<body class="login-page">
@stack('body_start')
<div class="login-box">
@stack('login_box_start')
<div class="main-content">
<div class="header py-5">
<div class="container">
<div class="header-body text-center mb-5">
<div class="row justify-content-center">
<div class="col-xl-5 col-lg-6 col-md-8">
<img class="login-logo pb-5" src="{{ asset('public/img/akaunting-logo-white.png') }}" alt="Akaunting" />
</div>
</div>
</div>
</div>
</div>
@stack('login_box_start')
<div class="container mt--7 pb-5">
<div class="row justify-content-center">
<div class="col-lg-5 col-md-7">
<div class="card mb-0 login-card-bg">
<div class="card-body px-lg-5 py-lg-5">
<div class="text-center text-white mb-4">
<small>@yield('message')</small>
</div>
<div id="app">
@stack('login_content_start')
@yield('content')
@stack('login_content_end')
<notifications></notifications>
</div>
</div>
</div>
</div>
</div>
</div>
@stack('login_box_end')
@yield('forgotten-password')
<footer>
<div class="container">
<div class="row align-items-center justify-content-xl-between">
<div class="col-xl-12">
<div class="copyright text-center text-lg-center text-white">
<small>
<a>{{ trans('footer.powered') }}:</a> <a class="text-success" href="{{ trans('footer.link') }}" target="_blank">{{ trans('footer.software') }}</a>
</small>
</div>
</div>
</div>
</div>
</footer>
<div class="login-logo">
<img src="{{ asset('public/img/akaunting-logo-white.png') }}" alt="Akaunting" />
</div>
<!-- /.login-logo -->
<div class="login-box-body">
<p class="login-box-msg">@yield('message')</p>
@include('flash::message')
@stack('login_content_start')
@yield('content')
@stack('login_content_end')
</div>
<!-- /.login-box-body -->
<div class="login-box-footer">
{{ trans('footer.powered') }}: <a href="{{ trans('footer.link') }}" target="_blank">{{ trans('footer.software') }}</a>
</div>
<!-- /.login-box-footer -->
@stack('login_box_end')
</div>
@stack('body_end')
@include('partials.auth.scripts')
</body>
</html>

View File

@ -1,15 +1,15 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.bill.head')
<body onload="window.print();">
@stack('body_start')
<!-- Content Wrapper. Contains page content -->
<div class="wrapper" style="margin-left: 0; page-break-after: always;">
@yield('content')
</div>
<!-- /.content-wrapper -->
@stack('body_end')
</body>
</html>

View File

@ -1,20 +0,0 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.customer.head')
<body class="hold-transition skin-green-light sidebar-mini fixed">
@stack('body_start')
<!-- Site wrapper -->
<div class="wrapper">
@include('partials.customer.header')
@include('partials.customer.menu')
@include('partials.customer.content')
@include('partials.customer.footer')
</div>
@stack('body_end')
</body>
</html>

View File

@ -1,62 +1,73 @@
<html>
@include('partials.install.head')
<body class="hold-transition">
<div class="install-image"></div>
<body class="installation-page">
<div class="install-content">
<div class="install-logo">
<img src="{{ asset('public/img/akaunting-logo-white.png') }}" alt="Akaunting" />
<div class="main-content">
<div class="header pt-3 pb-2">
<div class="container">
<div class="header-body text-center mb-5">
<div class="row justify-content-center">
<div class="col-xl-5 col-lg-6 col-md-8">
<img class="login-logo pb-6" src="{{ asset('public/img/akaunting-logo-white.png') }}" alt="Akaunting"/>
</div>
</div>
</div>
</div>
</div>
<div class="box box-success box-solid">
<div class="box-header">
<div class="col-md-12">
<h3 class="box-title">@yield('header')</h3>
</div>
</div>
<!-- /.box-header -->
<div class="container mt--7 pb-5">
<div class="row justify-content-center">
<div class="col-lg-5 col-md-7">
<div class="card">
{!! Form::open([
'url' => url()->current(),
'@submit.prevent' => 'onSubmit',
'role' => 'form',
'id' => 'form-install'
]) !!}
<div id="app">
<div class="card-body">
<div class="text-center text-muted mt-2 mb-4">
<small>@yield('header')</small>
</div>
<div id="install-form">
{!! Form::open(['url' => url()->current(), 'role' => 'form']) !!}
@include('flash::message')
<div class="box-body">
<div id="install-loading"></div>
@yield('content')
</div>
<div class="form-group">
<div class="col-md-12">
@include('flash::message')
</div>
</div>
@yield('content')
</div>
<!-- /.box-body -->
<div class="box-footer">
<div class="form-group">
<div class="col-md-4 col-md-offset-8 text-right">
@if (Request::is('install/requirements'))
<a href="{{ url('install/requirements') }}" class="btn btn-success"> {{ trans('install.refresh') }} &nbsp;<i class="fa fa-refresh"></i></a>
@else
{!! Form::button(trans('install.next') . ' &nbsp;<i class="fa fa-arrow-right"></i>', ['type' => 'submit', 'id' => 'next-button', 'class' => 'btn btn-success']) !!}
@endif
<div class="card-footer">
<div class="float-right">
@if (Request::is('install/requirements'))
<a href="{{ url('install/requirements') }}" class="btn btn-success"> {{ trans('install.refresh') }} &nbsp;<i class="fa fa-refresh"></i></a>
@else
{!! Form::button(
'<i v-if="loading" :class="(loading) ? \'show \' : \'\'" class="fas fa-spinner fa-spin d-none"></i> ' .
trans('install.next') .
' &nbsp;<i class="fa fa-arrow-right"></i>',
[
':disabled' => 'loading',
'type' => 'submit',
'id' => 'next-button',
'class' => 'btn btn-success',
'data-loading-text' => trans('general.loading')
]
) !!}
@endif
</div>
</div>
</div>
{!! Form::close() !!}
</div>
</div>
{!! Form::close() !!}
</div>
<script type="text/javascript">
$('div.alert').not('.alert-important').delay(3000).fadeOut(350);
$('#next-button').on('click', function() {
$('#install-loading').html('<span class="install-loading-bar"><span class="install-loading-spin"><i class="fa fa-spinner fa-spin"></i></span></span>');
$('.install-loading-bar').css({"height": $('#install-form').height() - 12});
});
</script>
</div>
</div>
@include('partials.install.scripts')
</body>
</html>

View File

@ -1,11 +1,15 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.invoice.head')
<body onload="window.print();">
@stack('body_start')
@yield('content')
@yield('content')
@stack('body_end')
</body>
</html>

View File

@ -1,16 +0,0 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.link.head')
<body class="hold-transition skin-green-light sidebar-mini fixed link">
@stack('body_start')
<!-- Site wrapper -->
<div class="wrapper">
@include('partials.link.content')
@include('partials.link.footer')
</div>
@stack('body_end')
</body>
</html>

View File

@ -1,20 +1,37 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.modules.head')
<body class="hold-transition {{ setting('general.admin_theme', 'skin-green-light') }} sidebar-mini fixed">
@stack('body_start')
<body class="g-sidenav-show g-sidenav-pinned">
<!-- Site wrapper -->
<div class="wrapper">
@include('partials.admin.header')
@stack('body_start')
@include('partials.admin.menu')
@include('partials.admin.content')
<div class="main-content" id="panel">
@include('partials.admin.footer')
</div>
@include('partials.admin.navbar')
<div id="main-body">
@include('partials.admin.header')
<div class="container-fluid content-layout mt--6">
@include('partials.admin.content')
@include('partials.admin.footer')
</div>
</div>
</div>
@stack('body_end')
@include('partials.admin.scripts')
</body>
</html>

View File

@ -0,0 +1,37 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.portal.head')
<body class="g-sidenav-show g-sidenav-pinned">
@stack('body_start')
@include('partials.portal.menu')
<div class="main-content" id="panel">
@include('partials.portal.navbar')
<div id="main-body">
@include('partials.portal.header')
<div class="container-fluid content-layout mt--6">
@include('partials.portal.content')
@include('partials.portal.footer')
</div>
</div>
</div>
@stack('body_end')
@include('partials.portal.scripts')
</body>
</html>

View File

@ -1,16 +1,15 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.admin.head')
@push('css')
<!-- Bootstrap 3 print fix -->
<link rel="stylesheet" href="{{ asset('public/css/bootstrap3-print-fix.css?v=1.2') }}">
@endpush
<body onload="window.print();">
<body onload="window.print();" class="print-width">
@stack('body_start')
@yield('content')
@yield('content')
@stack('body_end')
</body>
</html>

View File

@ -0,0 +1,20 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.signed.head')
<body>
@stack('body_start')
<div class="container-fluid content-layout mt-4">
@include('partials.signed.content')
@include('partials.signed.footer')
</div>
@stack('body_end')
</body>
</html>

View File

@ -0,0 +1,15 @@
<div id="@yield('widget-id', 'widget-' . Str::random())" class="@yield('widget-class', 'col-md-12')">
<div class="card @yield('widget-card-class', 'col-md-12')">
@include('partials.widget.head')
<div class="card-body">
@include('partials.widget.content')
</div>
</div>
</div>

View File

@ -1,20 +1,24 @@
<html lang="{{ app()->getLocale() }}">
@include('partials.wizard.head')
<body class="hold-transition {{ setting('general.admin_theme', 'skin-green-light') }} sidebar-mini fixed">
@stack('body_start')
<body class="wizard-page">
<div class="container mt--5">
@stack('body_start')
<div id="app">
@include('partials.wizard.content')
</div>
@stack('body_end')
<!-- Site wrapper -->
<div class="wrapper">
@include('partials.wizard.content')
</div>
@stack('body_end')
@include('partials.wizard.scripts')
<script type="text/javascript">
$('#wizard-skip, .stepwizard .btn.btn-default').on('click', function() {
$('#wizard-loading').html('<span class="wizard-loading-bar"><span class="wizard-loading-spin"><i class="fa fa-spinner fa-spin"></i></span></span>');
});
</script>
</body>
</html>