<!DOCTYPE html>
<html lang="<?php echo e(app()->getLocale()); ?>">
<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">

    <title>Intranet dashboard</title>

    <!-- Styles -->
    <link href="<?php echo e(asset('css/app.css')); ?>" rel="stylesheet">
    <link href="<?php echo e(asset('css/datepicker.css')); ?>" rel="stylesheet">
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/js/standalone/selectize.min.js" integrity="sha256-+C0A5Ilqmu4QcSPxrlGpaZxJ04VjsRjKu+G82kl5UJk=" crossorigin="anonymous"></script>

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/selectize.js/0.12.6/css/selectize.bootstrap3.min.css" integrity="sha256-ze/OEYGcFbPRmvCnrSeKbRTtjG4vGLHXgOqsyLFTRjg=" crossorigin="anonymous" />
</head>
<body>
    <div id="app">
        <nav class="navbar navbar-default navbar-static-top">
            <div class="container">
                <div class="navbar-header">

                    <!-- Collapsed Hamburger -->
                    <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#app-navbar-collapse">
                        <span class="sr-only">Toggle Navigation</span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </button>

                    <!-- Branding Image -->
                    <a class="navbar-brand" href="<?php echo e(url('/')); ?>">
                       Domains system
                    </a>
                </div>

                <div class="collapse navbar-collapse" id="app-navbar-collapse">
                    <!-- Left Side Of Navbar -->
                    <ul class="nav navbar-nav">
                        &nbsp;
                    </ul>

                    <!-- Right Side Of Navbar -->
                    <ul class="nav navbar-nav navbar-right">
                        <!-- Authentication Links -->
                        <?php if(Auth::guest()): ?>
                            <li><a href="<?php echo e(route('login')); ?>">Login</a></li>

                        <?php else: ?>
                            <li class="dropdown">
                                <a href="#"  role="button" aria-expanded="false">
                                    <?php echo e(Auth::user()->name); ?>

                                </a>
                                <a href="<?php echo e(route('logout')); ?>"
                                    onclick="event.preventDefault();
                                             document.getElementById('logout-form').submit();">
                                    Logout
                                </a>

                                <form id="logout-form" action="<?php echo e(route('logout')); ?>" method="POST" style="display: none;">
                                    <?php echo e(csrf_field()); ?>

                                </form>

                            </li>
                        <?php endif; ?>
                    </ul>
                </div>
            </div>
        </nav>
        <?php if(Auth::guest()): ?>

        <?php else: ?>
        <div class="container">
            <div class="row">
                <div class="col-md-3 ">
                    <div class="panel panel-default">
                        <div class="panel-heading">Dashboard</div>

                        <div class="panel-body">
                            <?php if(session('status')): ?>
                                <div class="alert alert-success">
                                    <?php echo e(session('status')); ?>

                                </div>
                            <?php endif; ?>

                            <ul>
                                <li>
                                    <a href="<?php echo e(route('xero-customers.index')); ?>">Xero customers</a>
                                    <ul>
                                        <li>
                                             <a href="<?php echo e(route('parse-xero-customers')); ?>">Sync xero customers</a>
                                        </li>
                                        <li>
                                            <a target="" href="<?php echo e(route('xer_customers_without_email')); ?>">Xero customers without email</a>
                                        </li>
                                    </ul>
                                </li>
                                <li>
                                    <a href="<?php echo e(route('domains.index')); ?>">Domains</a>
                                    <ul>
                                        <li>
                                            <a href="<?php echo e(route('domains.unlinked')); ?>">Unlinked Domains</a>
                                        </li>

                                         <li>
                                            <a  href="<?php echo e(route('domains.edit_nominet_price')); ?>">Edit nominet price</a>
                                        </li>
                                    </ul>
                                </li>

                                <li>
                                    <a href="<?php echo e(route('billing-services.index')); ?>">Billing services</a>

                                    <ul>
                                        <!--<li>
                                            <a href="<?php echo e(route('billing-services.unlinked')); ?>">Unlinked services</a>
                                        </li>-->
                                    </ul>
                                </li>
                                 <li>
                                     <a href="<?php echo e(route('charges.index')); ?>">Miscellaneous Charges</a>
                                </li>



                            </ul>
                        </div>
                    </div>
                </div>


                <div class="col-md-9 ">
                     <?php echo $__env->yieldContent('content'); ?>
                </div>


            </div>
        </div>

        <?php endif; ?>
    </div>

    <!-- Scripts -->
    <!--<script src="<?php echo e(asset('js/app.js')); ?>"></script>-->
    <script src="<?php echo e(asset('js/datepicker.min.js')); ?>"></script>
    <script src="<?php echo e(asset('js/custom.js')); ?>"></script>


</body>
</html>
<?php /**PATH /Users/joraleqyan/PhpstormProjects/xero/resources/views/layouts/app.blade.php ENDPATH**/ ?>