Initial commit
This commit is contained in:
65
resources/views/dealer_layouts/dealer_master.blade.php
Normal file
65
resources/views/dealer_layouts/dealer_master.blade.php
Normal file
@@ -0,0 +1,65 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta content="Description" name="Hassle free Airtime Top Up platform for individuals and organisations" />
|
||||
<meta content="author" name="Click Mobile Tech Team" />
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<!-- Page title -->
|
||||
<title>@yield('page-title')</title>
|
||||
|
||||
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
||||
<!--<link rel="shortcut icon" type="image/ico" href="favicon.ico" />-->
|
||||
<link rel="shortcut icon" href="{{ url('public/assets/images/favicon.ico')}}">
|
||||
@yield('page-css')
|
||||
<!-- Vendor styles -->
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/vendor/fontawesome/css/font-awesome.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/vendor/metisMenu/dist/metisMenu.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/vendor/animate.css/animate.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/vendor/bootstrap/dist/css/bootstrap.css') }}" />
|
||||
|
||||
<!-- App styles -->
|
||||
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/fonts/pe-icon-7-stroke/css/helper.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/styles/style.css') }}">
|
||||
<script type="text/javascript">
|
||||
var base_url = "{!! url('/') !!}";
|
||||
</script>
|
||||
</head>
|
||||
<body class="fixed-navbar sidebar-scroll">
|
||||
|
||||
<!-- Simple splash screen-->
|
||||
<div class="splash"> <div class="color-line"></div><div class="splash-title"><h1>Click Airtime </h1><p>Instant Airtime Top-up, anywhere with Click Airtime </p><div class="spinner"> <div class="rect1"></div> <div class="rect2"></div> <div class="rect3"></div> <div class="rect4"></div> <div class="rect5"></div> </div> </div> </div>
|
||||
<!--[if lt IE 7]>
|
||||
<p class="alert alert-danger">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
||||
<![endif]-->
|
||||
<!-- header -->
|
||||
@include('dealer_layouts.topnav')
|
||||
@include('dealer_layouts.sidebar')
|
||||
<!-- Main Wrapper -->
|
||||
<div id="wrapper">
|
||||
@include('dealer_layouts.normalheader')
|
||||
<div class="content">
|
||||
@yield('page-content')
|
||||
<footer class="footer">
|
||||
<span class="pull-right">{{ date('Y') }} Click Mobile Ltd</span>
|
||||
</footer>
|
||||
</div>
|
||||
<!-- END wrapper -->
|
||||
</div>
|
||||
<!-- Vendor scripts -->
|
||||
<script src="{{ url('public/theme_assets/vendor/jquery/dist/jquery.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/jquery-ui/jquery-ui.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/slimScroll/jquery.slimscroll.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/bootstrap/dist/js/bootstrap.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/metisMenu/dist/metisMenu.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/iCheck/icheck.min.js') }}"></script>
|
||||
<!-- App scripts -->
|
||||
<script src="{{ url('public/theme_assets/scripts/homer.js') }}"></script>
|
||||
@yield('page-js')
|
||||
</body>
|
||||
</html>
|
||||
60
resources/views/dealer_layouts/login.blade.php
Executable file
60
resources/views/dealer_layouts/login.blade.php
Executable file
@@ -0,0 +1,60 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
|
||||
<!-- Page title -->
|
||||
<title>@yield('page_title')</title>
|
||||
|
||||
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
||||
<!--<link rel="shortcut icon" type="image/ico" href="favicon.ico" />-->
|
||||
|
||||
<!-- Vendor styles -->
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/vendor/fontawesome/css/font-awesome.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/vendor/metisMenu/dist/metisMenu.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/vendor/animate.css/animate.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/vendor/bootstrap/dist/css/bootstrap.css') }}" />
|
||||
|
||||
<!-- App styles -->
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/fonts/pe-icon-7-stroke/css/pe-icon-7-stroke.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/fonts/pe-icon-7-stroke/css/helper.css') }}" />
|
||||
<link rel="stylesheet" href="{{ url('public/theme_assets/styles/style.css') }}">
|
||||
|
||||
</head>
|
||||
<body class="blank">
|
||||
|
||||
<!-- Simple splash screen-->
|
||||
<div class="splash"> <div class="color-line"></div><div class="splash-title"><h1>Click Airtime </h1><p>Instant Airtime Top-up, anywhere with ClickAirtime </p><div class="spinner"> <div class="rect1"></div> <div class="rect2"></div> <div class="rect3"></div> <div class="rect4"></div> <div class="rect5"></div> </div> </div> </div>
|
||||
<!--[if lt IE 7]>
|
||||
<p class="alert alert-danger">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
|
||||
<![endif]-->
|
||||
|
||||
<div class="color-line"></div>
|
||||
|
||||
<div class="login-container">
|
||||
@yield('page_content')
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12 text-center">
|
||||
<strong></strong> {{ date('Y') }} Click Mobile Ltd. <br/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- Vendor scripts -->
|
||||
<script src="{{ url('public/theme_assets/vendor/jquery/dist/jquery.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/jquery-ui/jquery-ui.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/slimScroll/jquery.slimscroll.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/bootstrap/dist/js/bootstrap.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/metisMenu/dist/metisMenu.min.js') }}"></script>
|
||||
<script src="{{ url('public/theme_assets/vendor/iCheck/icheck.min.js') }}"></script>
|
||||
|
||||
<!-- App scripts -->
|
||||
<script src="{{ url('public/theme_assets/scripts/homer.js') }}"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
91
resources/views/dealer_layouts/navigation.blade.php
Normal file
91
resources/views/dealer_layouts/navigation.blade.php
Normal file
@@ -0,0 +1,91 @@
|
||||
<nav x-data="{ open: false }" class="bg-white border-b border-gray-100">
|
||||
<!-- Primary Navigation Menu -->
|
||||
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
|
||||
<div class="flex justify-between h-16">
|
||||
<div class="flex">
|
||||
<!-- Logo -->
|
||||
<div class="shrink-0 flex items-center">
|
||||
<a href="{{ route('organisation.dashboard') }}">
|
||||
<x-application-logo class="block h-10 w-auto fill-current text-gray-600" />
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<!-- Navigation Links -->
|
||||
<div class="hidden space-x-8 sm:-my-px sm:ml-10 sm:flex">
|
||||
<x-nav-link :href="route('dashboard')" :active="request()->routeIs('organisation.dashboard')">
|
||||
{{ __('Dashboard') }}
|
||||
</x-nav-link>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Settings Dropdown -->
|
||||
<div class="hidden sm:flex sm:items-center sm:ml-6">
|
||||
<x-dropdown align="right" width="48">
|
||||
<x-slot name="trigger">
|
||||
<button class="flex items-center text-sm font-medium text-gray-500 hover:text-gray-700 hover:border-gray-300 focus:outline-none focus:text-gray-700 focus:border-gray-300 transition duration-150 ease-in-out">
|
||||
<div>user name here</div>
|
||||
|
||||
<div class="ml-1">
|
||||
<svg class="fill-current h-4 w-4" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20">
|
||||
<path fill-rule="evenodd" d="M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
</div>
|
||||
</button>
|
||||
</x-slot>
|
||||
|
||||
<x-slot name="content">
|
||||
<!-- Authentication -->
|
||||
<form method="POST" action="{{ route('organisation.logout') }}">
|
||||
@csrf
|
||||
|
||||
<x-dropdown-link :href="route('organisation.logout')"
|
||||
onclick="event.preventDefault();
|
||||
this.closest('form').submit();">
|
||||
{{ __('Log Out') }}
|
||||
</x-dropdown-link>
|
||||
</form>
|
||||
</x-slot>
|
||||
</x-dropdown>
|
||||
</div>
|
||||
|
||||
<!-- Hamburger -->
|
||||
<div class="-mr-2 flex items-center sm:hidden">
|
||||
<button @click="open = ! open" class="inline-flex items-center justify-center p-2 rounded-md text-gray-400 hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:bg-gray-100 focus:text-gray-500 transition duration-150 ease-in-out">
|
||||
<svg class="h-6 w-6" stroke="currentColor" fill="none" viewBox="0 0 24 24">
|
||||
<path :class="{'hidden': open, 'inline-flex': ! open }" class="inline-flex" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
||||
<path :class="{'hidden': ! open, 'inline-flex': open }" class="hidden" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12" />
|
||||
</svg>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Responsive Navigation Menu -->
|
||||
<div :class="{'block': open, 'hidden': ! open}" class="hidden sm:hidden">
|
||||
<div class="pt-2 pb-3 space-y-1">
|
||||
<x-responsive-nav-link :href="route('organisation.dashboard')" :active="request()->routeIs('organisation.dashboard')">
|
||||
{{ __('Dashboard') }}
|
||||
</x-responsive-nav-link>
|
||||
</div>
|
||||
|
||||
<!-- Responsive Settings Options -->
|
||||
<div class="pt-4 pb-1 border-t border-gray-200">
|
||||
<div class="px-4">
|
||||
<div class="font-medium text-base text-gray-800">Name here</div>
|
||||
<div class="font-medium text-sm text-gray-500">Phone here</div>
|
||||
</div>
|
||||
|
||||
<div class="mt-3 space-y-1">
|
||||
<!-- Authentication -->
|
||||
<form method="POST" action="{{ url('organisation/logout') }}">
|
||||
@csrf
|
||||
|
||||
<x-responsive-nav-link :href="route('organisation.logout')" onclick="event.preventDefault();
|
||||
this.closest('form').submit();">
|
||||
{{ __('Log Out') }}
|
||||
</x-responsive-nav-link>
|
||||
</form>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
27
resources/views/dealer_layouts/normalheader.blade.php
Normal file
27
resources/views/dealer_layouts/normalheader.blade.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<div class="normalheader small-header">
|
||||
<div class="hpanel">
|
||||
<div class="panel-body">
|
||||
<a class="small-header-action" href="">
|
||||
<div class="clip-header">
|
||||
<i class="fa fa-arrow-up"></i>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
<div id="hbreadcrumb" class="pull-right m-t-lg">
|
||||
<ol class="hbreadcrumb breadcrumb">
|
||||
<li><a href="{{ url('organisation') }}">Dashboard</a></li>
|
||||
<!-- <li>
|
||||
<span>Tables</span>
|
||||
</li> -->
|
||||
<li class="active">
|
||||
<span>{{ $page_title }}</span>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<h2 class="font-light m-b-xs">
|
||||
{{ $page_title }}
|
||||
</h2>
|
||||
<!-- <small>Examples of various designs of tables.</small> -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
7
resources/views/dealer_layouts/notifications.blade.php
Executable file
7
resources/views/dealer_layouts/notifications.blade.php
Executable file
@@ -0,0 +1,7 @@
|
||||
@if ($errors->any())
|
||||
<ul class="alert alert-danger" style="padding-left:30px;">
|
||||
@foreach ($errors->all() as $error)
|
||||
<li>{!! $error !!}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
@endif
|
||||
27
resources/views/dealer_layouts/sidebar.blade.php
Normal file
27
resources/views/dealer_layouts/sidebar.blade.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<!-- Navigation -->
|
||||
<aside id="menu">
|
||||
<div id="navigation">
|
||||
<div class="profile-picture">
|
||||
<a href="{{ url('/') }}">
|
||||
<!-- <img src="{{ url('public/theme_assets/images/click-airtime-logo.jpg') }}" class="img-circle m-b" alt="logo"> -->
|
||||
</a>
|
||||
<div class="stats-label text-color">
|
||||
<span class="font-extra-bold font-uppercase text-info">{{ session('current_org_user.name') }}</span>
|
||||
<div id="sparkline1" class="small-chart m-t-sm text-success">{{ session('current_org_user.org_name') }}</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<ul class="nav" id="side-menu">
|
||||
<li class="<?php echo ($page_title == 'Dashboard') ? "active" : ""; ?>">
|
||||
<a href="{{ url('organisation/landing') }}"> <span class="nav-label">Dashboard</span></a>
|
||||
</li>
|
||||
<li class="<?php echo ($page_title == 'My Top Ups') ? "active" : ""; ?>">
|
||||
<a href="{{ url('organisation/mytopups') }}"> <span class="nav-label">My Top Ups</span></a></li>
|
||||
<li class="<?php echo ($page_title == 'Dealer Transactions') ? "active" : ""; ?>">
|
||||
<a href="{{ url('organisation/transactions') }}"> <span class="nav-label">Transactions</span></a></li>
|
||||
<li class="<?php echo ($page_title == 'DealerActivity Log') ? "active" : ""; ?>">
|
||||
<a href="{{ url('organisation/activity') }}"> <span class="nav-label">Activity Logs</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</aside>
|
||||
45
resources/views/dealer_layouts/topnav.blade.php
Normal file
45
resources/views/dealer_layouts/topnav.blade.php
Normal file
@@ -0,0 +1,45 @@
|
||||
<div id="header">
|
||||
<div class="color-line">
|
||||
</div>
|
||||
<div id="logo" class="light-version">
|
||||
<!-- <span>Airtime Sales</span> -->
|
||||
<img src="{{ url('public/theme_assets/images/click-airtime-logo-removebg-preview.png') }}" class="" width="80px" alt="logo">
|
||||
</div>
|
||||
<nav role="navigation">
|
||||
<div class="header-link hide-menu"><i class="fa fa-bars"></i></div>
|
||||
<div class="small-logo">
|
||||
<span class="text-primary">Airtime Sales</span>
|
||||
</div>
|
||||
|
||||
<div class="mobile-menu">
|
||||
<button type="button" class="navbar-toggle mobile-menu-toggle" data-toggle="collapse" data-target="#mobile-collapse">
|
||||
<i class="fa fa-chevron-down"></i>
|
||||
</button>
|
||||
<div class="collapse mobile-navbar" id="mobile-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- <li>
|
||||
<a class="" href="">Login</a>
|
||||
</li> -->
|
||||
<li>
|
||||
<a class="" href="{{ url('organisation/logout') }}">Logout</a>
|
||||
</li>
|
||||
<li>
|
||||
<!-- <a class="" href="">Profile</a> -->
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<div class="navbar-right">
|
||||
<ul class="nav navbar-nav no-borders">
|
||||
|
||||
|
||||
|
||||
<li class="dropdown">
|
||||
<a href="{{ url('organisation/logout') }}" class="" title="Logout">
|
||||
<i class="pe-7s-upload pe-rotate-90 text-danger"></i>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</div>
|
||||
Reference in New Issue
Block a user