update for version 1.0.1
This commit is contained in:
350
code/resources/views/themes/default1/layouts/admin.blade.php
Normal file
350
code/resources/views/themes/default1/layouts/admin.blade.php
Normal file
@@ -0,0 +1,350 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Faveo | HELP DESK</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="{{asset("lb-faveo/downloads/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
<link href="{{asset("lb-faveo/downloads/ionicons.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- fullCalendar 2.2.5-->
|
||||
<link href="{{asset("lb-faveo/plugins/fullcalendar/fullcalendar.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/fullcalendar/fullcalendar.print.css")}}" rel="stylesheet" type="text/css" media='print' />
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("lb-faveo/dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- AdminLTE Skins. Choose a skin from the css/skins
|
||||
folder instead of downloading all of them to reduce the load. -->
|
||||
<link href="{{asset("lb-faveo/dist/css/skins/_all-skins.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- iCheck -->
|
||||
<link href="{{asset("lb-faveo/plugins/iCheck/flat/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/dist/css/tabby.css")}}" type="text/css">
|
||||
<link href="{{asset("lb-faveo/downloads/jquerysctipttop.css")}}" rel="stylesheet" type="text/css">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/dist/css/editor.css")}}" type="text/css">
|
||||
<link href="{{asset("lb-faveo/plugins/filebrowser/plugin.js")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
@yield('HeadInclude')
|
||||
</head>
|
||||
<body class="skin-yellow fixed">
|
||||
<div class="wrapper">
|
||||
|
||||
<header class="main-header">
|
||||
<a href="../../index2.html" class="logo"><b>Faveo </b>HELPDESK</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
<!-- 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>
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<ul class="tabs tabs-horizontal nav navbar-nav">
|
||||
<li><a data-target="#tabA" href="#">Home</a></li>
|
||||
<li @yield('Staffs')><a data-target="#tabB" href="#">Staffs</a></li>
|
||||
<li @yield('Emails')><a data-target="#tabC" href="#">Emails</a></li>
|
||||
<li @yield('Manage')><a data-target="#tabD" href="#">Manage</a></li>
|
||||
<li @yield('Settings')><a data-target="#tabE" href="#">Settings</a></li>
|
||||
<li @yield('Themes')><a data-target="#tabF" href="#">Themes</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="{{url('user')}}">Agent Panel</a></li>
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
@if(Auth::user())
|
||||
@if(Auth::user()->profile_pic)
|
||||
<img src="{{asset('lb-faveo/dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}"class="user-image" alt="User Image"/>
|
||||
@else
|
||||
<img src="{{ Gravatar::src(Auth::user()->email) }}" class="user-image" alt="User Image">
|
||||
@endif
|
||||
<span class="hidden-xs">{!! Auth::user()->first_name." ".Auth::user()->last_name !!}</span>
|
||||
@endif
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header" style="background-color:#343F44;">
|
||||
@if(Auth::user())
|
||||
@if(Auth::user()->profile_pic)
|
||||
<img src="{{asset('lb-faveo/lb-faveo/dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
@else
|
||||
<img src="{{ Gravatar::src(Auth::user()->email) }}" class="img-circle" alt="User Image">
|
||||
@endif
|
||||
<p>
|
||||
{!! Auth::user()->first_name !!}{!! " ". Auth::user()->last_name !!} - {{Auth::user()->role}}
|
||||
<small></small>
|
||||
</p>
|
||||
@endif
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
|
||||
<li class="user-footer" style="background-color:#1a2226;">
|
||||
<div class="pull-left">
|
||||
<a href="{{url('admin-profile')}}" class="btn btn-info btn-sm"><b>Profile</b></a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="{{url('auth/logout')}}" class="btn btn-danger btn-sm"><b>Sign out</b></a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<div class="user-panel">
|
||||
<div class = "row">
|
||||
<div class="col-xs-3"></div>
|
||||
|
||||
<div class="col-xs-2" style="width:50%;">
|
||||
@if(Auth::user() && Auth::user()->profile_pic)
|
||||
<img src="{{asset('lb-faveo/dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
@else
|
||||
<img src="{{ Gravatar::src(Auth::user()->email) }}" class="img-circle" alt="User Image">
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="info" style="text-align:center;">
|
||||
@if(Auth::user())
|
||||
<p>{!! Auth::user()->first_name !!}{!! " ". Auth::user()->last_name !!}</p>
|
||||
@endif
|
||||
@if(Auth::user() && Auth::user()->active==1)
|
||||
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
|
||||
@else
|
||||
<a href="#"><i class="fa fa-circle"></i> Offline</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- search form -->
|
||||
<form action="#" method="get" class="sidebar-form">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" class="form-control" placeholder="Search..."/>
|
||||
<span class="input-group-btn">
|
||||
<button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<!-- /.search form -->
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
<li class="header">TICKETS</li>
|
||||
|
||||
<?php
|
||||
$inbox = App\Model\helpdesk\Ticket\Tickets::get();
|
||||
?>
|
||||
<?php $myticket = App\Model\helpdesk\Ticket\Tickets::where('assigned_to', Auth::user()->id)->where('status','1')->get();?>
|
||||
<?php $unassigned = App\Model\helpdesk\Ticket\Tickets::where('assigned_to', '0')->where('status','1')->get();
|
||||
$tickets = App\Model\helpdesk\Ticket\Tickets::where('status','1')->get();
|
||||
$i = count($tickets);
|
||||
?>
|
||||
<li>
|
||||
<a href="{{ url('/ticket/open') }}">
|
||||
<i class="fa fa-envelope"></i> <span>Inbox</span> <small class="label pull-right bg-green"><?php echo $i;?></small>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
//}
|
||||
?>
|
||||
|
||||
<li @yield('myticket')>
|
||||
<a href="{{url('ticket/myticket')}}">
|
||||
<i class="fa fa-user"></i> <span>My Tickets</span>
|
||||
|
||||
<small class="label pull-right bg-green">{{count($myticket) }}</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{url('unassigned')}}">
|
||||
<i class="fa fa-th"></i> <span>Unassigned</span>
|
||||
|
||||
<small class="label pull-right bg-green">{{count($unassigned)}}</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{url('trash')}}">
|
||||
<i class="fa fa-trash-o"></i> <span>Trash</span>
|
||||
<?php $deleted = App\Model\helpdesk\Ticket\Tickets::where('status', '5')->get();?>
|
||||
<small class="label pull-right bg-green">{{count($deleted)}}</small>
|
||||
</a>
|
||||
</li>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<div class="tab-content" style="background-color: white;padding: 0 20px 0 20px">
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<div class="tabs-content">
|
||||
<div class="tabs-pane active" id="tabA">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane @yield('staffs-bar')" id="tabB">
|
||||
<ul class="nav navbar-nav">
|
||||
<li id="bar" @yield('staffs')><a href="{{ url('agents') }}" >Staffs</a></li></a></li>
|
||||
<li id="bar" @yield('departments')><a href="{{ url('departments') }}" >Departments</a></li></a></li>
|
||||
<li id="bar" @yield('teams')><a href="{{ url('teams') }}" >Teams</a></li></a></li>
|
||||
<li id="bar" @yield('groups')><a href="{{ url('groups') }}" >Groups</a></li></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane @yield('emails-bar')" id="tabC">
|
||||
<ul class="nav navbar-nav">
|
||||
<li id="bar" @yield('emails')><a href="{{ url('emails') }}" >Emails</a></li></a></li>
|
||||
<li id="bar" @yield('ban')><a href="{{ url('banlist') }}" >Ban List</a></li>
|
||||
<li id="bar" @yield('template')><a href="{{ url('template') }}" >Template</a></li>
|
||||
<li id="bar" @yield('diagno')><a href="{{ url('getdiagno') }}" >Diagnostic</a></li>
|
||||
<li id="bar" @yield('smtp')><a href="{{ url('getsmtp') }}" >Smtp</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane @yield('manage-bar')" id="tabD">
|
||||
<ul class="nav navbar-nav">
|
||||
<li id="bar" @yield('help')><a href="{{url('helptopic')}}">Help Topic</a></li>
|
||||
<li id="bar" @yield('sla')><a href="{{url('sla')}}">SLA Plans</a></li>
|
||||
{{-- <li id="bar" @yield('forms')><a href="#">Forms</a></li> --}}
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane @yield('settings-bar')" id="tabE">
|
||||
<ul class="nav navbar-nav">
|
||||
<li id="bar" @yield('company')><a href="{{url('getcompany')}}">Company</a></li>
|
||||
<li id="bar" @yield('system')><a href="{{url('getsystem')}}">System</a></li>
|
||||
<li id="bar" @yield('email')><a href="{{url('getemail')}}">Email</a></li>
|
||||
<li id="bar" @yield('tickets')><a href="{{url('getticket')}}">Tickets</a></li>
|
||||
<li id="bar" @yield('access')><a href="{{url('getaccess')}}">Access</a></li>
|
||||
<li id="bar" @yield('auto-response')><a href="{{url('getresponder')}}">Auto-Responce</a></li>
|
||||
<li id="bar" @yield('alert')><a href="{{url('getalert')}}">Alert & Notice</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane @yield('theme-bar')" id="tabF">
|
||||
<ul class="nav navbar-nav">
|
||||
<li id="bar" @yield('footer')><a href="{{ url('create-footer') }}" >Footer</a></li></a></li>
|
||||
<li id="bar" @yield('footer2')><a href="{{ url('create-footer2') }}" >Footer2</a></li></a></li>
|
||||
<li id="bar" @yield('footer3')><a href="{{ url('create-footer3') }}" >Footer3</a></li></a></li>
|
||||
<li id="bar" @yield('footer4')><a href="{{ url('create-footer4') }}" >Footer4</a></li></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<section class="content-header">
|
||||
@yield('PageHeader')
|
||||
@yield('breadcrumbs')
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
@yield('content')
|
||||
</section><!-- /.content -->
|
||||
<!-- /.content-wrapper -->
|
||||
</div>
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> 0.1
|
||||
</div>
|
||||
<?php
|
||||
$company = App\Model\helpdesk\Settings\Company::where('id','=','1')->first();
|
||||
?>
|
||||
<strong>Copyright © {!! date('Y') !!} <a href="{!! $company->website !!}">{!! $company->company_name !!}</a>.</strong> All rights reserved. Powered by <a href="http://www.faveohelpdesk.com/" target="blank">Faveo</a>
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<script src="{{asset("lb-faveo/downloads/ajax-jquery.min.js")}}"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="{{asset("lb-faveo/downloads/bootstrap.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="{{asset("lb-faveo/plugins/slimScroll/jquery.slimscroll.min.js")}}" type="text/javascript"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="{{asset("lb-faveo/plugins/fastclick/fastclick.min.js")}}"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="{{asset("lb-faveo/dist/js/app.min.js")}}" type="text/javascript"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
{{-- // <script src="{{asset("dist/js/demo.js")}}" type="text/javascript"></script> --}}
|
||||
<!-- iCheck -->
|
||||
<script src="{{asset("lb-faveo/plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Page Script -->
|
||||
<script src="ckeditor/ckeditor.js"></script>
|
||||
<script>
|
||||
$(function() {
|
||||
//Enable iCheck plugin for checkboxes
|
||||
//iCheck for checkbox and radio inputs
|
||||
$('input[type="checkbox"]').iCheck({
|
||||
checkboxClass: 'icheckbox_flat-blue',
|
||||
radioClass: 'iradio_flat-blue'
|
||||
});
|
||||
|
||||
//Enable check and uncheck all functionality
|
||||
$(".checkbox-toggle").click(function() {
|
||||
var clicks = $(this).data('clicks');
|
||||
if (clicks) {
|
||||
//Uncheck all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("uncheck");
|
||||
} else {
|
||||
//Check all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("check");
|
||||
}
|
||||
$(this).data("clicks", !clicks);
|
||||
});
|
||||
|
||||
//Handle starring for glyphicon and font awesome
|
||||
$(".mailbox-star").click(function(e) {
|
||||
e.preventDefault();
|
||||
//detect type
|
||||
var $this = $(this).find("a > i");
|
||||
var glyph = $this.hasClass("glyphicon");
|
||||
var fa = $this.hasClass("fa");
|
||||
|
||||
//Switch states
|
||||
if (glyph) {
|
||||
$this.toggleClass("glyphicon-star");
|
||||
$this.toggleClass("glyphicon-star-empty");
|
||||
}
|
||||
|
||||
if (fa) {
|
||||
$this.toggleClass("fa-star");
|
||||
$this.toggleClass("fa-star-o");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
// $(document).ready(function() {
|
||||
|
||||
// $("#content").Editor();
|
||||
|
||||
// });
|
||||
// </script>
|
||||
<!-- // <script src="../plugins/jQuery/jQuery-2.1.3.min.js"></script> -->
|
||||
<script src="{{asset("lb-faveo/dist/js/tabby.js")}}"></script>
|
||||
<!-- // <script src="{{asset("dist/js/editor.js")}}"></script> -->
|
||||
<!-- CK Editor -->
|
||||
<!-- // <script src="{{asset("//cdn.ckeditor.com/4.4.3/standard/ckeditor.js")}}"></script> -->
|
||||
<script src="{{asset("lb-faveo/downloads/CKEditor.js")}}"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/filebrowser/plugin.js")}}"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js")}}" type="text/javascript"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
//Add text editor
|
||||
$("textarea").wysihtml5();
|
||||
});
|
||||
</script>
|
||||
@yield('FooterInclude')
|
||||
</body>
|
||||
</html>
|
||||
405
code/resources/views/themes/default1/layouts/agent.blade.php
Normal file
405
code/resources/views/themes/default1/layouts/agent.blade.php
Normal file
@@ -0,0 +1,405 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Faveo | HELP DESK</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="{{asset("lb-faveo/downloads/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
<link href="{{asset("lb-faveo/downloads/ionicons.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- fullCalendar 2.2.5-->
|
||||
<link href="{{asset("lb-faveo/plugins/fullcalendar/fullcalendar.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/fullcalendar/fullcalendar.print.css")}}" rel="stylesheet" type="text/css" media='print' />
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("lb-faveo/dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- AdminLTE Skins. Choose a skin from the css/skins
|
||||
folder instead of downloading all of them to reduce the load. -->
|
||||
<link href="{{asset("lb-faveo/dist/css/skins/_all-skins.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- iCheck -->
|
||||
<link href="{{asset("lb-faveo/plugins/iCheck/flat/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/dist/css/tabby.css")}}" type="text/css">
|
||||
<link href="{{asset("lb-faveo/downloads/jquerysctipttop.css")}}" rel="stylesheet" type="text/css">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<link rel="stylesheet" href="{{asset("lb-faveo/dist/css/editor.css")}}" type="text/css">
|
||||
<link href="{{asset("lb-faveo/plugins/filebrowser/plugin.js")}}" rel="stylesheet" type="text/css" />
|
||||
{{-- jquery ui css --}}
|
||||
<link type="text/css" href="{{asset("lb-faveo/downloads/jquery.ui.css")}}" rel="stylesheet">
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- <link type="text/css" href="http://code.jquery.com/ui/1.9.1/themes/redmond/jquery-ui.css" rel="stylesheet"> -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
@yield('HeadInclude')
|
||||
</head>
|
||||
<body class="skin-yellow fixed">
|
||||
<div class="wrapper">
|
||||
|
||||
<header class="main-header">
|
||||
<a href="" class="logo"><b>Faveo </b>HELPDESK</a>
|
||||
|
||||
<?php
|
||||
$company = App\Model\helpdesk\Settings\Company::where('id', '=', '1')->first();
|
||||
if ($company != null) {
|
||||
?><?php }
|
||||
?>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
<!-- 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>
|
||||
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<ul class="tabs tabs-horizontal nav navbar-nav navbar-left">
|
||||
<li @yield('Dashboard')><a data-target="#tabA" href="#">Dashboard</a></li>
|
||||
<li @yield('Users')><a data-target="#tabB" href="#">Users</a></li>
|
||||
<li @yield('Tickets')><a data-target="#tabC" href="#">Tickets</a></li>
|
||||
</ul>
|
||||
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="{{url('agents')}}">Admin Panel</a></li>
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
@if(Auth::user())
|
||||
@if(Auth::user()->profile_pic)
|
||||
<img src="{{asset('lb-faveo/lb-faveo/dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}"class="user-image" alt="User Image"/>
|
||||
@else
|
||||
<img src="{{ Gravatar::src(Auth::user()->email) }}" class="user-image" alt="User Image">
|
||||
@endif
|
||||
<span class="hidden-xs">{{Auth::user()->first_name." ".Auth::user()->last_name}}</span>
|
||||
@endif
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header" style="background-color:#343F44;">
|
||||
@if(Auth::user()->profile_pic)
|
||||
<img src="{{asset('lb-faveo/dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
@else
|
||||
<img src="{{ Gravatar::src(Auth::user()->email) }}" class="img-circle" alt="User Image">
|
||||
@endif
|
||||
<p>
|
||||
{{Auth::user()->first_name." ".Auth::user()->last_name}} - {{Auth::user()->role}}
|
||||
<small></small>
|
||||
</p>
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer" style="background-color:#1a2226;">
|
||||
<div class="pull-left">
|
||||
<a href="{{URL::route('profile')}}" class="btn btn-info btn-sm"><b>Profile</b></a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="{{url('auth/logout')}}" class="btn btn-danger btn-sm"><b>Sign out</b></a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
|
||||
<div class="user-panel">
|
||||
@if (trim($__env->yieldContent('profileimg')))
|
||||
<h1>@yield('profileimg')</h1>
|
||||
@else
|
||||
<div class = "row">
|
||||
<div class="col-xs-3"></div>
|
||||
|
||||
<div class="col-xs-2" style="width:50%;">
|
||||
@if(Auth::user() && Auth::user()->profile_pic)
|
||||
<img src="{{asset('lb-faveo/dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
@else
|
||||
<img src="{{ Gravatar::src(Auth::user()->email) }}" class="img-circle" alt="User Image">
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div class="info" style="text-align:center;">
|
||||
@if(Auth::user())
|
||||
<p>{{Auth::user()->first_name." ".Auth::user()->last_name}}</p>
|
||||
@endif
|
||||
@if(Auth::user() && Auth::user()->active==1)
|
||||
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
|
||||
@else
|
||||
<a href="#"><i class="fa fa-circle"></i> Offline</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- search form -->
|
||||
<form action="#" method="get" class="sidebar-form">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" class="form-control" placeholder="Search..."/>
|
||||
<span class="input-group-btn">
|
||||
<button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<!-- /.search form -->
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
@yield('sidebar')
|
||||
<li class="header">TICKETS</li>
|
||||
|
||||
<?php
|
||||
$inbox = App\Model\helpdesk\Ticket\Tickets::all();
|
||||
|
||||
?>
|
||||
<?php $myticket = App\Model\helpdesk\Ticket\Tickets::where('assigned_to', Auth::user()->id)->where('status','1')->get();?>
|
||||
<?php $unassigned = App\Model\helpdesk\Ticket\Tickets::where('assigned_to', '0')->where('status','1')->get();
|
||||
$tickets = App\Model\helpdesk\Ticket\Tickets::where('status','1')->get();
|
||||
$i = count($tickets);
|
||||
?>
|
||||
<li>
|
||||
<a href="{{ url('/ticket/open') }}">
|
||||
<i class="fa fa-envelope"></i> <span>Inbox</span> <small class="label pull-right bg-green"><?php echo $i;?></small>
|
||||
</a>
|
||||
</li>
|
||||
<?php
|
||||
//}
|
||||
?>
|
||||
|
||||
<li @yield('myticket')>
|
||||
<a href="{{url('ticket/myticket')}}">
|
||||
<i class="fa fa-user"></i> <span>My Tickets</span>
|
||||
|
||||
<small class="label pull-right bg-green">{{count($myticket) }}</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{url('unassigned')}}">
|
||||
<i class="fa fa-th"></i> <span>Unassigned</span>
|
||||
|
||||
<small class="label pull-right bg-green">{{count($unassigned)}}</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{url('trash')}}">
|
||||
<i class="fa fa-trash-o"></i> <span>Trash</span>
|
||||
<?php $deleted = App\Model\helpdesk\Ticket\Tickets::where('status', '5')->get();?>
|
||||
<small class="label pull-right bg-green">{{count($deleted)}}</small>
|
||||
</a>
|
||||
</li>
|
||||
<li class="header">DEPARTMENTS</li>
|
||||
<?php
|
||||
|
||||
$depts = App\Model\helpdesk\Agent\Department::all();
|
||||
foreach ($depts as $dept) {
|
||||
|
||||
$open = App\Model\helpdesk\Ticket\Tickets::where('status','=','1')->where('dept_id','=',$dept->id)->get();
|
||||
$open = count($open);
|
||||
// dd($open);
|
||||
|
||||
$closed = App\Model\helpdesk\Ticket\Tickets::where('status','=','2'||'3')->where('dept_id','=',$dept->id)->get();
|
||||
$closed = count($closed);
|
||||
// dd($closed);
|
||||
|
||||
$underprocess = App\Model\helpdesk\Ticket\Tickets::where('status','=','2'||'3')->where('assigned_to','=', '0')->get();
|
||||
$underprocess = count($underprocess);
|
||||
// dd($underprocess);
|
||||
|
||||
$underprocess = 0;
|
||||
foreach ($inbox as $ticket4) {
|
||||
if ($ticket4->assigned_to == null) {
|
||||
|
||||
} else {
|
||||
$underprocess++;
|
||||
}
|
||||
}
|
||||
|
||||
if (Auth::user()->role == 'admin') {
|
||||
?>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-folder-open"></i> <span>{!! $dept->name !!}</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Open<small class="label pull-right bg-green">{!! $open !!}</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Inprogress<small class="label pull-right bg-green">{!! $underprocess !!}</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Closed<small class="label pull-right bg-green">{!! $closed !!}</small></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<?php
|
||||
}
|
||||
if (Auth::user()->role == 'agent' && Auth::user()->primary_dpt == $dept->name) {
|
||||
?>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-folder-open"></i> <span>{!! $dept->name !!}</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Open<small class="label pull-right bg-green">{!! $open !!}</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Inprogress<small class="label pull-right bg-green">{!! $underprocess !!}</small></a></li>
|
||||
<li><a href=""><i class="fa fa-circle-o"></i>Closed<small class="label pull-right bg-green">{!! $closed !!}</small></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<?php }
|
||||
}
|
||||
?>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
|
||||
<?php $agent_group = Auth::user()->assign_group;
|
||||
$group = App\Model\helpdesk\Agent\Groups::where('name', '=', $agent_group)->where('group_status', '=', '1')->first();
|
||||
// dd($group);
|
||||
?>
|
||||
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<div class="tab-content" style="background-color: white;padding: 0 20px 0 20px">
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<div class="tabs-content">
|
||||
<div class="tabs-pane @yield('dashboard-bar')" id="tabA">
|
||||
<ul class="nav navbar-nav">
|
||||
<li id="bar" @yield('dashboard') ><a href="{{url('dashboard')}}">Dashboard</a></li>
|
||||
<li id="bar" @yield('profile') ><a href="{{url('profile')}}">Profile</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane @yield('user-bar')" id="tabB">
|
||||
<ul class="nav navbar-nav">
|
||||
<li id="bar" @yield('user')><a href="{{ url('user') }}" >User Directory</a></li></a></li>
|
||||
<li id="bar" @yield('organizations')><a href="{{ url('organizations') }}" >Organizations</a></li></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="tabs-pane @yield('ticket-bar')" id="tabC">
|
||||
<ul class="nav navbar-nav">
|
||||
<li id="bar" @yield('open')><a href="{{ url('/ticket/open') }}" >Open</a></li>
|
||||
<li id="bar" @yield('answered')><a href="{{ url('/ticket/answered') }}" >Answered</a></li>
|
||||
<li id="bar" @yield('myticket')><a href="{{ url('/ticket/myticket') }}" >My Ticket</a></li>
|
||||
{{-- <li id="bar" @yield('ticket')><a href="{{ url('ticket') }}" >Ticket</a></li> --}}
|
||||
<li id="bar" @yield('overdue')><a href="{{ url('/ticket/overdue') }}" >Overdue</a></li>
|
||||
<li id="bar" @yield('closed')><a href="{{ url('/ticket/closed') }}" >Closed</a></li>
|
||||
<?php if ($group->can_create_ticket == 1) {?>
|
||||
<li id="bar" @yield('newticket')><a href="{{ url('/newticket') }}" >Create Ticket
|
||||
</a></li>
|
||||
<?php }
|
||||
?>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<section class="content-header">
|
||||
@yield('PageHeader')
|
||||
@yield('breadcrumbs')
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
|
||||
@yield('content')
|
||||
</section><!-- /.content -->
|
||||
<!-- /.content-wrapper -->
|
||||
</div>
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> 0.1
|
||||
</div>
|
||||
<strong>Copyright © {!! date('Y') !!} <a href="{!! $company->website !!}">{!! $company->company_name !!}</a>.</strong> All rights reserved. Powered by <a href="http://www.faveohelpdesk.com/">Faveo</a>
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="{{asset("lb-faveo/downloads/bootstrap.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="{{asset("lb-faveo/plugins/slimScroll/jquery.slimscroll.min.js")}}" type="text/javascript"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="{{asset("lb-faveo/plugins/fastclick/fastclick.min.js")}}"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="{{asset("lb-faveo/dist/js/app.min.js")}}" type="text/javascript"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
{{-- // <script src="{{asset("dist/js/demo.js")}}" type="text/javascript"></script> --}}
|
||||
<!-- iCheck -->
|
||||
<script src="{{asset("lb-faveo/plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
{{-- maskinput --}}
|
||||
<script src="js/jquery.maskedinput.min.js" type="text/javascript"></script>
|
||||
{{-- jquery ui --}}
|
||||
<script src="{{asset("lb-faveo/downloads/jquery.ui.js")}}" type="text/javascript"></script>
|
||||
<!-- Page Script -->
|
||||
<script>
|
||||
$(function() {
|
||||
//Enable iCheck plugin for checkboxes
|
||||
//iCheck for checkbox and radio inputs
|
||||
// $('input[type="checkbox"]').iCheck({
|
||||
// checkboxClass: 'icheckbox_flat-blue',
|
||||
// radioClass: 'iradio_flat-blue'
|
||||
// });
|
||||
|
||||
//Enable check and uncheck all functionality
|
||||
$(".checkbox-toggle").click(function() {
|
||||
var clicks = $(this).data('clicks');
|
||||
if (clicks) {
|
||||
//Uncheck all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("uncheck");
|
||||
} else {
|
||||
//Check all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("check");
|
||||
}
|
||||
$(this).data("clicks", !clicks);
|
||||
});
|
||||
|
||||
//Handle starring for glyphicon and font awesome
|
||||
$(".mailbox-star").click(function(e) {
|
||||
e.preventDefault();
|
||||
//detect type
|
||||
var $this = $(this).find("a > i");
|
||||
var glyph = $this.hasClass("glyphicon");
|
||||
var fa = $this.hasClass("fa");
|
||||
|
||||
//Switch states
|
||||
if (glyph) {
|
||||
$this.toggleClass("glyphicon-star");
|
||||
$this.toggleClass("glyphicon-star-empty");
|
||||
}
|
||||
|
||||
if (fa) {
|
||||
$this.toggleClass("fa-star");
|
||||
$this.toggleClass("fa-star-o");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
// $(document).ready(function() {
|
||||
|
||||
// $("#content").Editor();
|
||||
|
||||
// });
|
||||
// </script>
|
||||
<!-- // <script src="../plugins/jQuery/jQuery-2.1.3.min.js"></script> -->
|
||||
<script src="{{asset("lb-faveo/dist/js/tabby.js")}}"></script>
|
||||
<!-- // <script src="{{asset("dist/js/editor.js")}}"></script> -->
|
||||
<!-- CK Editor -->
|
||||
<!-- // <script src="{{asset("//cdn.ckeditor.com/4.4.3/standard/ckeditor.js")}}"></script> -->
|
||||
<script src="{{asset("lb-faveo/downloads/CKEditor.js")}}"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/filebrowser/plugin.js")}}"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js")}}" type="text/javascript"></script>
|
||||
|
||||
|
||||
<script>
|
||||
$(function () {
|
||||
//Add text editor
|
||||
$("textarea").wysihtml5();
|
||||
});
|
||||
</script>
|
||||
@yield('FooterInclude')
|
||||
</body>
|
||||
</html>
|
||||
204
code/resources/views/themes/default1/layouts/blank.blade.php
Normal file
204
code/resources/views/themes/default1/layouts/blank.blade.php
Normal file
@@ -0,0 +1,204 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
|
||||
<title> SUPPORT CENTER | CLIENT PANEL</title>
|
||||
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
<link href="http://code.ionicframework.com/ionicons/2.0.0/css/ionicons.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- fullCalendar 2.2.5-->
|
||||
<link href="{{asset("plugins/fullcalendar/fullcalendar.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("plugins/fullcalendar/fullcalendar.print.css")}}" rel="stylesheet" type="text/css" media='print' />
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- AdminLTE Skins. Choose a skin from the css/skins
|
||||
folder instead of downloading all of them to reduce the load. -->
|
||||
<link href="{{asset("dist/css/skins/_all-skins.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- iCheck -->
|
||||
<link href="{{asset("plugins/iCheck/flat/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<link rel="stylesheet" href="{{asset("dist/css/tabby.css")}}" type="text/css">
|
||||
<link href="http://www.jqueryscript.net/css/jquerysctipttop.css" rel="stylesheet" type="text/css">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<link rel="stylesheet" href="{{asset("dist/css/editor.css")}}" type="text/css">
|
||||
<link href="{{asset("plugins/filebrowser/plugin.js")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<script src="ckeditor/ckeditor.js"></script>
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
@yield('HeadInclude')
|
||||
</head>
|
||||
<body class="skin-yellow">
|
||||
<div class="wrapper">
|
||||
|
||||
<header class="main-header">
|
||||
<a href="../../index2.html" class="logo"><b>SUPPORT </b> CENTER</a>
|
||||
<?php $company = App\Model\Settings\Company::where('id', '=', '1')->first();?>
|
||||
|
||||
@if($company->logo)
|
||||
<img src="{{asset('dist')}}{{'/'}}{{$company->logo}}" class="logo" alt="User Image" />
|
||||
@endif
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
<!-- 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>
|
||||
|
||||
<!-- Collect the nav links, forms, and other content for toggling -->
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
<li>
|
||||
<a href="{{url('auth/login')}}" class="logo"><span>Sign In</span></a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="{{url('auth/register')}}" class="logo"><span>Register</span></a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<ul class="sidebar-menu">
|
||||
<li class="header">MAIN NAVIGATION</li>
|
||||
<li>
|
||||
<a href="{{url('getform')}}">
|
||||
<i class="fa fa-envelope"></i> <span>Open A New Ticket</span>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{url('checkticket')}}">
|
||||
<i class="fa fa-th"></i> <span>Check your Ticket</span>
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
<div class="content-wrapper">
|
||||
|
||||
<section class="content-header">
|
||||
@yield('PageHeader')
|
||||
@yield('breadcrumbs')
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
|
||||
@yield('content')
|
||||
</section><!-- /.content -->
|
||||
<!-- /.content-wrapper -->
|
||||
</div>
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> 0.1
|
||||
</div>
|
||||
<strong>Copyright © {!! date('Y') !!} <a href="{!! $company->website !!}">{!! $company->company_name !!}</a>.</strong> All rights reserved. Powered by <a href="http://www.faveohelpdesk.com/">Faveo</a>
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="{{asset("plugins/slimScroll/jquery.slimscroll.min.js")}}" type="text/javascript"></script>
|
||||
<!-- FastClick -->
|
||||
<script src='{{asset("plugins/fastclick/fastclick.min.js")}}'></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="{{asset("dist/js/app.min.js")}}" type="text/javascript"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
{{-- // <script src="{{asset("dist/js/demo.js")}}" type="text/javascript"></script> --}}
|
||||
<!-- iCheck -->
|
||||
<script src="{{asset("plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Page Script -->
|
||||
<script>
|
||||
$(function() {
|
||||
//Enable iCheck plugin for checkboxes
|
||||
//iCheck for checkbox and radio inputs
|
||||
$('input[type="checkbox"]').iCheck({
|
||||
checkboxClass: 'icheckbox_flat-blue',
|
||||
radioClass: 'iradio_flat-blue'
|
||||
});
|
||||
|
||||
//Enable check and uncheck all functionality
|
||||
$(".checkbox-toggle").click(function() {
|
||||
var clicks = $(this).data('clicks');
|
||||
if (clicks) {
|
||||
//Uncheck all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("uncheck");
|
||||
} else {
|
||||
//Check all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("check");
|
||||
}
|
||||
$(this).data("clicks", !clicks);
|
||||
});
|
||||
|
||||
//Handle starring for glyphicon and font awesome
|
||||
$(".mailbox-star").click(function(e) {
|
||||
e.preventDefault();
|
||||
//detect type
|
||||
var $this = $(this).find("a > i");
|
||||
var glyph = $this.hasClass("glyphicon");
|
||||
var fa = $this.hasClass("fa");
|
||||
|
||||
//Switch states
|
||||
if (glyph) {
|
||||
$this.toggleClass("glyphicon-star");
|
||||
$this.toggleClass("glyphicon-star-empty");
|
||||
}
|
||||
|
||||
if (fa) {
|
||||
$this.toggleClass("fa-star");
|
||||
$this.toggleClass("fa-star-o");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
// $(document).ready(function() {
|
||||
|
||||
// $("#content").Editor();
|
||||
|
||||
// });
|
||||
// </script>
|
||||
<!-- // <script src="../plugins/jQuery/jQuery-2.1.3.min.js"></script> -->
|
||||
<script src="{{asset("dist/js/tabby.js")}}"></script>
|
||||
<!-- // <script src="{{asset("dist/js/editor.js")}}"></script> -->
|
||||
<!-- CK Editor -->
|
||||
<script src="{{asset("//cdn.ckeditor.com/4.4.3/standard/ckeditor.js")}}"></script>
|
||||
<script src="{{asset("//cdn.ckeditor.com/4.4.3/full/ckeditor.js")}}"></script>
|
||||
<script src="{{asset("plugins/filebrowser/plugin.js")}}"></script>
|
||||
|
||||
@yield('FooterInclude')
|
||||
</body>
|
||||
</html>
|
||||
250
code/resources/views/themes/default1/layouts/client.blade.php
Normal file
250
code/resources/views/themes/default1/layouts/client.blade.php
Normal file
@@ -0,0 +1,250 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title> SUPPORT CENTER | CLIENT PANEL</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
<link href="http://code.ionicframework.com/ionicons/2.0.0/css/ionicons.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- fullCalendar 2.2.5-->
|
||||
<link href="{{asset("lb-faveo/plugins/fullcalendar/fullcalendar.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/fullcalendar/fullcalendar.print.css")}}" rel="stylesheet" type="text/css" media='print' />
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("lb-faveo/dist/css/app.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
{{-- // <script src="ckeditor/ckeditor.js"></script> --}}
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
@yield('HeadInclude')
|
||||
</head>
|
||||
<body>
|
||||
<div id="page" class="hfeed site">
|
||||
<header id="masthead" class="site-header" role="banner">
|
||||
<div class="container">
|
||||
<div id="logo" class="site-logo text-center" style="font-size: 30px;">
|
||||
<?php
|
||||
$company = App\Model\helpdesk\Settings\Company::where('id', '=', '1')->first();
|
||||
$system = App\Model\helpdesk\Settings\System::where('id', '=', '1')->first();
|
||||
?>
|
||||
@if($system->url)
|
||||
<a href="{!! $system->url !!}" rel="home">
|
||||
@else
|
||||
<a href="{{url('home')}}" rel="home">
|
||||
@endif
|
||||
@if($company->use_logo == 1)
|
||||
<img src="{{asset('lb-faveo/dist')}}{{'/'}}{{$company->logo}}" alt="User Image" width="200px" height="200px"/>
|
||||
@else
|
||||
@if($system->name)
|
||||
{!! $system->name !!}
|
||||
@else
|
||||
<b>SUPPORT</b> CENTER
|
||||
@endif
|
||||
@endif
|
||||
</a>
|
||||
|
||||
</div><!-- #logo -->
|
||||
<div id="navbar" class="navbar-wrapper text-center">
|
||||
<nav class="navbar navbar-default site-navigation" role="navigation">
|
||||
<ul class="nav navbar-nav navbar-menu">
|
||||
<li class="active"><a href="{{url('home')}}">Home</a></li>
|
||||
@if($system->first()->status == 1)
|
||||
<li><a href="{{URL::route('form')}}">Submit A Ticket</a></li>
|
||||
@endif
|
||||
@if(Auth::user())
|
||||
<li><a href="{{url('mytickets')}}">My Tickets</a></li>
|
||||
<li><a href="#" >My Profile</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<div class="banner-wrapper user-menu text-center clearfix">
|
||||
@if(Auth::user()->profile_pic)
|
||||
<img src="{{asset('lb-faveo/dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}"class="img-circle" alt="User Image" height="80" width="80"/>
|
||||
@else
|
||||
<img src="{{ Gravatar::src(Auth::user()->email) }}" class="img-circle" alt="User Image">
|
||||
@endif
|
||||
<h3 class="banner-title text-info h4">{{Auth::user()->first_name." ".Auth::user()->last_name}}</h3>
|
||||
<div class="banner-content">
|
||||
{{-- <a href="{{url('kb/client-profile')}}" class="btn btn-custom btn-xs">Edit Profile</a> --}} <a href="{{url('auth/logout')}}" class="btn btn-custom btn-xs">Log out</a>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul><!-- .navbar-user -->
|
||||
@else
|
||||
<ul class="nav navbar-nav navbar-login">
|
||||
<li><a href="#" class="collapsed" data-toggle="collapse" data-target="#login-form">Login <i class="sub-indicator fa fa-chevron-circle-down fa-fw text-muted"></i></a></li>
|
||||
</ul><!-- .navbar-login -->
|
||||
<div id="login-form" class="login-form collapse fade clearfix">
|
||||
{!! Form::open(['action'=>'Auth\AuthController@postLogin', 'method'=>'post']) !!}
|
||||
|
||||
<div class="form-group has-feedback {{ $errors->has('email') ? 'has-error' : '' }}">
|
||||
{!! Form::text('email',null,['placeholder'=>'Email','class' => 'form-control']) !!}
|
||||
{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
|
||||
</div>
|
||||
|
||||
<div class="form-group has-feedback {{ $errors->has('password') ? 'has-error' : '' }}">
|
||||
{!! Form::password('password',['placeholder'=>'Password','class' => 'form-control']) !!}
|
||||
{!! $errors->first('password', '<spam class="help-block">:message</spam>') !!}
|
||||
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
||||
</div>
|
||||
<ul class="list-unstyled pull-left">
|
||||
<li><a href="{{url('password/email')}}">Forgot password</a><br></li>
|
||||
<li><a href="#">Create Account</a></li>
|
||||
</ul>
|
||||
<button type="submit" class="btn btn-custom pull-right">Login</button>
|
||||
{!! Form::close() !!}
|
||||
</div><!-- #login-form -->
|
||||
@endif
|
||||
</nav><!-- #site-navigation -->
|
||||
</div><!-- #navbar -->
|
||||
<div id="header-search" class="site-search clearfix">
|
||||
@if(Session::has('success'))
|
||||
<div class="alert alert-success alert-dismissable">
|
||||
<i class="fa fa-check-circle"></i>
|
||||
<b>Success!</b>
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('success')}}
|
||||
</div>
|
||||
@endif
|
||||
<!-- failure message -->
|
||||
@if(Session::has('fails'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
{{Session::get('fails')}}
|
||||
</div>
|
||||
@endif
|
||||
|
||||
@if($errors->first('email') || $errors->first('password'))
|
||||
<div class="alert alert-danger alert-dismissable">
|
||||
<i class="fa fa-ban"></i>
|
||||
<b>Alert!</b> Failed.
|
||||
<button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button>
|
||||
<li>{!! $errors->first('email', '<spam class="help-block">:message</spam>') !!}</li>
|
||||
<li>{!! $errors->first('password', '<spam class="help-block ">:message</spam>') !!}</li>
|
||||
</div>
|
||||
@endif
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
@yield('breadcrumb')
|
||||
<!-- Main content -->
|
||||
<div id="main" class="site-main clearfix">
|
||||
<div class="container">
|
||||
<div class="content-area">
|
||||
<div class="row">
|
||||
@yield('content')
|
||||
<div id="sidebar" class="site-sidebar col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-banner" class="section">
|
||||
@yield('check')
|
||||
</section><!-- #section-banner -->
|
||||
<section id="section-categories" class="section">
|
||||
@yield('category')
|
||||
</section><!-- #section-categories -->
|
||||
</div>
|
||||
</div><!-- #sidebar -->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- /.content-wrapper -->
|
||||
<?php
|
||||
$footer = App\Model\helpdesk\Theme\Footer::whereId('1')->first();
|
||||
$footer2 = App\Model\helpdesk\Theme\Footer2::whereId('1')->first();
|
||||
$footer3 = App\Model\helpdesk\Theme\Footer3::whereId('1')->first();
|
||||
$footer4 = App\Model\helpdesk\Theme\Footer4::whereId('1')->first();
|
||||
?>
|
||||
<footer id="colophon" class="site-footer" role="contentinfo">
|
||||
<div class="container">
|
||||
<div class="row col-md-12">
|
||||
@if($footer->title == null)
|
||||
@else
|
||||
<div class="col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-about" class="section">
|
||||
<h2 class="section-title h4 clearfix">{!!$footer->title!!}</h2>
|
||||
<div class="textwidget">
|
||||
<p>{!!$footer->footer!!}</p>
|
||||
</div>
|
||||
</section><!-- #section-about -->
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@if($footer2->title == null)
|
||||
@else
|
||||
<div class="col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-latest-news" class="section">
|
||||
<h2 class="section-title h4 clearfix">{!!$footer2->title!!}</h2>
|
||||
<div class="textwidget">
|
||||
<p>{!!$footer2->footer!!}</p>
|
||||
</div>
|
||||
</section><!-- #section-latest-news -->
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@if($footer3->title == null)
|
||||
@else
|
||||
<div class="col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-newsletter" class="section">
|
||||
<h2 class="section-title h4 clearfix">{!!$footer3->title!!}</h2>
|
||||
<div class="textwidget">
|
||||
<p>{!!$footer3->footer!!}</p>
|
||||
</div>
|
||||
</section><!-- #section-newsletter -->
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
@if($footer4->title == null)
|
||||
@else
|
||||
<div class="col-md-3">
|
||||
<div class="widget-area">
|
||||
<section id="section-newsletter" class="section">
|
||||
<h2 class="section-title h4 clearfix">{{$footer4->title}}</h2>
|
||||
<div class="textwidget">
|
||||
<p>{!!$footer4->footer!!}</p>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
<hr/>
|
||||
<div class="row">
|
||||
<div class="site-info col-md-6">
|
||||
<p class="text-muted">Copyright © {!! date('Y') !!} <a href="{!! $company->website !!}">{!! $company->company_name !!}</a>. All rights reserved. Powered by <a href="http://www.faveohelpdesk.com/">Faveo</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</footer><!-- #colophon -->
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="{{asset("lb-faveo/dist/js/superfish.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/dist/js/mobilemenu.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/dist/js/know.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js")}}" type="text/javascript"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
//Add text editor
|
||||
$("textarea").wysihtml5();
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
394
code/resources/views/themes/default1/layouts/guest.blade.php
Normal file
394
code/resources/views/themes/default1/layouts/guest.blade.php
Normal file
@@ -0,0 +1,394 @@
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>AdminLTE 2 | Boxed Layout</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="../../bootstrap/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
<link href="https://code.ionicframework.com/ionicons/2.0.0/css/ionicons.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Theme style -->
|
||||
<link href="../../dist/css/AdminLTE.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- AdminLTE Skins. Choose a skin from the css/skins
|
||||
folder instead of downloading all of them to reduce the load. -->
|
||||
<link href="../../dist/css/skins/_all-skins.min.css" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<!-- ADD THE CLASS layout-boxed TO GET A BOXED LAYOUT -->
|
||||
<body class="skin-blue layout-boxed">
|
||||
<!-- Site wrapper -->
|
||||
<div class="wrapper">
|
||||
|
||||
<header class="main-header">
|
||||
<a href="../../index2.html" class="logo"><b>Admin</b>LTE</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
<!-- Sidebar toggle button-->
|
||||
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
|
||||
<span class="sr-only">Toggle navigation</span>
|
||||
</a>
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<!-- Messages: style can be found in dropdown.less-->
|
||||
<li class="dropdown messages-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="fa fa-envelope-o"></i>
|
||||
<span class="label label-success">4</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="header">You have 4 messages</li>
|
||||
<li>
|
||||
<!-- inner menu: contains the actual data -->
|
||||
<ul class="menu">
|
||||
<li><!-- start message -->
|
||||
<a href="#">
|
||||
<div class="pull-left">
|
||||
<img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image"/>
|
||||
</div>
|
||||
<h4>
|
||||
Support Team
|
||||
<small><i class="fa fa-clock-o"></i> 5 mins</small>
|
||||
</h4>
|
||||
<p>Why not buy a new awesome theme?</p>
|
||||
</a>
|
||||
</li><!-- end message -->
|
||||
</ul>
|
||||
</li>
|
||||
<li class="footer"><a href="#">See All Messages</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- Notifications: style can be found in dropdown.less -->
|
||||
<li class="dropdown notifications-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="fa fa-bell-o"></i>
|
||||
<span class="label label-warning">10</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="header">You have 10 notifications</li>
|
||||
<li>
|
||||
<!-- inner menu: contains the actual data -->
|
||||
<ul class="menu">
|
||||
<li>
|
||||
<a href="#">
|
||||
<i class="fa fa-users text-aqua"></i> 5 new members joined today
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="footer"><a href="#">View all</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- Tasks: style can be found in dropdown.less -->
|
||||
<li class="dropdown tasks-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="fa fa-flag-o"></i>
|
||||
<span class="label label-danger">9</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li class="header">You have 9 tasks</li>
|
||||
<li>
|
||||
<!-- inner menu: contains the actual data -->
|
||||
<ul class="menu">
|
||||
<li><!-- Task item -->
|
||||
<a href="#">
|
||||
<h3>
|
||||
Design some buttons
|
||||
<small class="pull-right">20%</small>
|
||||
</h3>
|
||||
<div class="progress xs">
|
||||
<div class="progress-bar progress-bar-aqua" style="width: 20%" role="progressbar" aria-valuenow="20" aria-valuemin="0" aria-valuemax="100">
|
||||
<span class="sr-only">20% Complete</span>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
</li><!-- end task item -->
|
||||
</ul>
|
||||
</li>
|
||||
<li class="footer">
|
||||
<a href="#">View all tasks</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
<img src="../../dist/img/user2-160x160.jpg" class="user-image" alt="User Image"/>
|
||||
<span class="hidden-xs">Alexander Pierce</span>
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header">
|
||||
<img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" />
|
||||
<p>
|
||||
Alexander Pierce - Web Developer
|
||||
<small>Member since Nov. 2012</small>
|
||||
</p>
|
||||
</li>
|
||||
<!-- Menu Body -->
|
||||
<li class="user-body">
|
||||
<div class="col-xs-4 text-center">
|
||||
<a href="#">Followers</a>
|
||||
</div>
|
||||
<div class="col-xs-4 text-center">
|
||||
<a href="#">Sales</a>
|
||||
</div>
|
||||
<div class="col-xs-4 text-center">
|
||||
<a href="#">Friends</a>
|
||||
</div>
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer">
|
||||
<div class="pull-left">
|
||||
<a href="#" class="btn btn-default btn-flat">Profile</a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="#" class="btn btn-default btn-flat">Sign out</a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<!-- =============================================== -->
|
||||
|
||||
<!-- Left side column. contains the sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<!-- Sidebar user panel -->
|
||||
<div class="user-panel">
|
||||
<div class="pull-left image">
|
||||
<img src="../../dist/img/user2-160x160.jpg" class="img-circle" alt="User Image" />
|
||||
</div>
|
||||
<div class="pull-left info">
|
||||
<p>Alexander Pierce</p>
|
||||
|
||||
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- search form -->
|
||||
<form action="#" method="get" class="sidebar-form">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" class="form-control" placeholder="Search..."/>
|
||||
<span class="input-group-btn">
|
||||
<button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<!-- /.search form -->
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
<li class="header">MAIN NAVIGATION</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-dashboard"></i> <span>Dashboard</span> <i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="../../index.html"><i class="fa fa-circle-o"></i> Dashboard v1</a></li>
|
||||
<li><a href="../../index2.html"><i class="fa fa-circle-o"></i> Dashboard v2</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview active">
|
||||
<a href="#">
|
||||
<i class="fa fa-files-o"></i>
|
||||
<span>Layout Options</span>
|
||||
<span class="label label-primary pull-right">4</span>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="top-nav.html"><i class="fa fa-circle-o"></i> Top Navigation</a></li>
|
||||
<li class="active"><a href="boxed.html"><i class="fa fa-circle-o"></i> Boxed</a></li>
|
||||
<li><a href="fixed.html"><i class="fa fa-circle-o"></i> Fixed</a></li>
|
||||
<li><a href="collapsed-sidebar.html"><i class="fa fa-circle-o"></i> Collapsed Sidebar</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../widgets.html">
|
||||
<i class="fa fa-th"></i> <span>Widgets</span> <small class="label pull-right bg-green">new</small>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-pie-chart"></i>
|
||||
<span>Charts</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="../charts/morris.html"><i class="fa fa-circle-o"></i> Morris</a></li>
|
||||
<li><a href="../charts/flot.html"><i class="fa fa-circle-o"></i> Flot</a></li>
|
||||
<li><a href="../charts/inline.html"><i class="fa fa-circle-o"></i> Inline charts</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-laptop"></i>
|
||||
<span>UI Elements</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="../UI/general.html"><i class="fa fa-circle-o"></i> General</a></li>
|
||||
<li><a href="../UI/icons.html"><i class="fa fa-circle-o"></i> Icons</a></li>
|
||||
<li><a href="../UI/buttons.html"><i class="fa fa-circle-o"></i> Buttons</a></li>
|
||||
<li><a href="../UI/sliders.html"><i class="fa fa-circle-o"></i> Sliders</a></li>
|
||||
<li><a href="../UI/timeline.html"><i class="fa fa-circle-o"></i> Timeline</a></li>
|
||||
<li><a href="../UI/modals.html"><i class="fa fa-circle-o"></i> Modals</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-edit"></i> <span>Forms</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="../forms/general.html"><i class="fa fa-circle-o"></i> General Elements</a></li>
|
||||
<li><a href="../forms/advanced.html"><i class="fa fa-circle-o"></i> Advanced Elements</a></li>
|
||||
<li><a href="../forms/editors.html"><i class="fa fa-circle-o"></i> Editors</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-table"></i> <span>Tables</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="../tables/simple.html"><i class="fa fa-circle-o"></i> Simple tables</a></li>
|
||||
<li><a href="../tables/data.html"><i class="fa fa-circle-o"></i> Data tables</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../calendar.html">
|
||||
<i class="fa fa-calendar"></i> <span>Calendar</span>
|
||||
<small class="label pull-right bg-red">3</small>
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="../mailbox/mailbox.html">
|
||||
<i class="fa fa-envelope"></i> <span>Mailbox</span>
|
||||
<small class="label pull-right bg-yellow">12</small>
|
||||
</a>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-folder"></i> <span>Examples</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="../examples/invoice.html"><i class="fa fa-circle-o"></i> Invoice</a></li>
|
||||
<li><a href="../examples/login.html"><i class="fa fa-circle-o"></i> Login</a></li>
|
||||
<li><a href="../examples/register.html"><i class="fa fa-circle-o"></i> Register</a></li>
|
||||
<li><a href="../examples/lockscreen.html"><i class="fa fa-circle-o"></i> Lockscreen</a></li>
|
||||
<li><a href="../examples/404.html"><i class="fa fa-circle-o"></i> 404 Error</a></li>
|
||||
<li><a href="../examples/500.html"><i class="fa fa-circle-o"></i> 500 Error</a></li>
|
||||
<li><a href="../examples/blank.html"><i class="fa fa-circle-o"></i> Blank Page</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="treeview">
|
||||
<a href="#">
|
||||
<i class="fa fa-share"></i> <span>Multilevel</span>
|
||||
<i class="fa fa-angle-left pull-right"></i>
|
||||
</a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-circle-o"></i> Level One <i class="fa fa-angle-left pull-right"></i></a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="#"><i class="fa fa-circle-o"></i> Level Two</a></li>
|
||||
<li>
|
||||
<a href="#"><i class="fa fa-circle-o"></i> Level Two <i class="fa fa-angle-left pull-right"></i></a>
|
||||
<ul class="treeview-menu">
|
||||
<li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
|
||||
<li><a href="#"><i class="fa fa-circle-o"></i> Level Three</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="#"><i class="fa fa-circle-o"></i> Level One</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
<li><a href="../../documentation/index.html"><i class="fa fa-book"></i> Documentation</a></li>
|
||||
<li class="header">LABELS</li>
|
||||
<li><a href="#"><i class="fa fa-circle-o text-danger"></i> Important</a></li>
|
||||
<li><a href="#"><i class="fa fa-circle-o text-warning"></i> Warning</a></li>
|
||||
<li><a href="#"><i class="fa fa-circle-o text-info"></i> Information</a></li>
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
|
||||
<!-- =============================================== -->
|
||||
|
||||
<!-- Content Wrapper. Contains page content -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
<h1>
|
||||
Boxed Layout
|
||||
<small>Blank example to the boxed layout</small>
|
||||
</h1>
|
||||
<ol class="breadcrumb">
|
||||
<li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
|
||||
<li><a href="#">Examples</a></li>
|
||||
<li class="active">Blank page</li>
|
||||
</ol>
|
||||
</section>
|
||||
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
<div class="callout callout-info">
|
||||
<h4>Tip!</h4>
|
||||
<p>Add the layout-boxed class to the body tag to get this layout. The boxed layout is helpful when working on large screens because it prevents the site from stretching very wide.</p>
|
||||
</div>
|
||||
<!-- Default box -->
|
||||
<div class="box">
|
||||
<div class="box-header with-border">
|
||||
<h3 class="box-title">Title</h3>
|
||||
<div class="box-tools pull-right">
|
||||
<button class="btn btn-box-tool" data-widget="collapse" data-toggle="tooltip" title="Collapse"><i class="fa fa-minus"></i></button>
|
||||
<button class="btn btn-box-tool" data-widget="remove" data-toggle="tooltip" title="Remove"><i class="fa fa-times"></i></button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box-body">
|
||||
Start creating your amazing application!
|
||||
</div><!-- /.box-body -->
|
||||
<div class="box-footer">
|
||||
Footer
|
||||
</div><!-- /.box-footer-->
|
||||
</div><!-- /.box -->
|
||||
|
||||
</section><!-- /.content -->
|
||||
</div><!-- /.content-wrapper -->
|
||||
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> 2.0
|
||||
</div>
|
||||
<strong>Copyright © 2014-{!! date('Y') !!} <a href="http://almsaeedstudio.com">Almsaeed Studio</a>.</strong> All rights reserved.
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
|
||||
<!-- jQuery 2.1.3 -->
|
||||
<script src="../../plugins/jQuery/jQuery-2.1.3.min.js"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="../../bootstrap/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
<!-- SlimScroll -->
|
||||
<script src="../../plugins/slimScroll/jquery.slimScroll.min.js" type="text/javascript"></script>
|
||||
<!-- FastClick -->
|
||||
<script src='../../plugins/fastclick/fastclick.min.js'></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="../../dist/js/app.min.js" type="text/javascript"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
<script src="../../dist/js/demo.js" type="text/javascript"></script>
|
||||
</body>
|
||||
</html>
|
||||
116
code/resources/views/themes/default1/layouts/installer.blade.php
Normal file
116
code/resources/views/themes/default1/layouts/installer.blade.php
Normal file
@@ -0,0 +1,116 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Faveo HELPDESK | Insatller</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- bootstrap 3.0.2 -->
|
||||
<link href="{{asset("lb-faveo/downloads/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/css/bootstrap.min.css'); }} --}}
|
||||
|
||||
<!-- font Awesome -->
|
||||
{{-- <link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" /> --}}
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/css/font-awesome.min.css'); }} --}}
|
||||
|
||||
<!-- Ionicons -->
|
||||
<link href="{{asset("lb-faveo/downloads/ionicons.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/admin/css/ionicons.min.css'); }} --}}
|
||||
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("lb-faveo/dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/admin/css/AdminLTE.css'); }} --}}
|
||||
|
||||
<!-- Bootstrap time Picker -->
|
||||
{{-- <link href="{{asset("downloads/ionicons.min.css")}}" rel="stylesheet" type="text/css" /> --}}
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/css/daterangepicker/daterangepicker-bs3.css'); }} --}}
|
||||
|
||||
<!-- daterange picker -->
|
||||
{{-- <link href="{{asset("downloads/ionicons.min.css")}}" rel="stylesheet" type="text/css" /> --}}
|
||||
{{-- {{ HTML::style('ep-content/themes/ep-admin/default1/css/timepicker/bootstrap-timepicker.min.css'); }} --}}
|
||||
|
||||
<style type="text/css">
|
||||
a:link {color:#000;} /* unvisited link */
|
||||
a:visited {color:#000;} /* visited link */
|
||||
a:hover {color:#000;} /* mouse over link */
|
||||
a:active {color:#000;}
|
||||
|
||||
</style>
|
||||
<style type="text/css">
|
||||
#access2{
|
||||
float: left;
|
||||
/*position: fixed;*/
|
||||
width: 100px;
|
||||
background: #E60000;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#access1{
|
||||
float: left;
|
||||
/*position: fixed;*/
|
||||
width: 100px;
|
||||
background: #27AE60;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#access{
|
||||
float: right;
|
||||
/*position: fixed;*/
|
||||
width: 100px;
|
||||
background: #27AE60;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
color:black;
|
||||
}
|
||||
|
||||
#access5{
|
||||
float: right;
|
||||
/*position: fixed;*/
|
||||
width: 100px;
|
||||
background: #27AE60;
|
||||
font-weight: bold;
|
||||
padding: 10px;
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
#inputfield{
|
||||
/*padding: 10px;*/
|
||||
border: 0 none;
|
||||
border-radius: 3px;
|
||||
}
|
||||
</style>
|
||||
<style type="text/css">
|
||||
|
||||
.ok span, .warning span, .error span {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
ok span {
|
||||
color: green;
|
||||
}
|
||||
|
||||
.warning span {
|
||||
color: orange;
|
||||
}
|
||||
|
||||
.error span {
|
||||
color: red;
|
||||
}
|
||||
|
||||
</style>
|
||||
|
||||
</head>
|
||||
<body style="background-color:#d2d6de;">
|
||||
<div class="login-box">
|
||||
@yield('content')
|
||||
<p id="footer">©<?php echo date('Y')?>. Powered by <a href="http://www.faveohelpdesk.com">Faveo </a></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
271
code/resources/views/themes/default1/layouts/kb.blade.php
Normal file
271
code/resources/views/themes/default1/layouts/kb.blade.php
Normal file
@@ -0,0 +1,271 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Faveo | HELP DESK</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="{{asset("downloads/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
<link href="{{asset("downloads/ionicons.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- fullCalendar 2.2.5-->
|
||||
<link href="{{asset("plugins/fullcalendar/fullcalendar.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<link href="{{asset("plugins/fullcalendar/fullcalendar.print.css")}}" rel="stylesheet" type="text/css" media='print' />
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- AdminLTE Skins. Choose a skin from the css/skins folder instead of downloading all of them to reduce the load. -->
|
||||
<link href="{{asset("dist/css/skins/_all-skins.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- iCheck -->
|
||||
<link href="{{asset("plugins/iCheck/flat/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<link rel="stylesheet" href="{{asset("dist/css/tabby.css")}}" type="text/css">
|
||||
<link href="{{asset("downloads/jquerysctipttop.css")}}" rel="stylesheet" type="text/css">
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<link rel="stylesheet" href="{{asset("dist/css/editor.css")}}" type="text/css">
|
||||
<link href="{{asset("plugins/filebrowser/plugin.js")}}" rel="stylesheet" type="text/css" />
|
||||
{{-- jquery ui css --}}
|
||||
<link type="text/css" href="{{asset("downloads/jquery.ui.css")}}" rel="stylesheet">
|
||||
<link href="{{asset("plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- <link type="text/css" href="http://code.jquery.com/ui/1.9.1/themes/redmond/jquery-ui.css" rel="stylesheet"> -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
@yield('HeadInclude')
|
||||
</head>
|
||||
<body class="skin-black fixed">
|
||||
<div class="wrapper">
|
||||
<header class="main-header">
|
||||
<a href="" class="logo"><b>Faveo </b>HELPDESK</a>
|
||||
<?php
|
||||
$company = App\Model\Settings\Company::where('id', '=', '1')->first();
|
||||
if ($company != null) {
|
||||
?><?php }
|
||||
?>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
<!-- 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>
|
||||
<div class="collapse navbar-collapse" id="navbar-collapse">
|
||||
<ul class="nav navbar-nav navbar-right">
|
||||
<li><a href="{{url('agents')}}">Admin Panel</a></li>
|
||||
<!-- User Account: style can be found in dropdown.less -->
|
||||
<li class="dropdown user user-menu">
|
||||
<a href="#" class="dropdown-toggle" data-toggle="dropdown">
|
||||
@if(Auth::user())
|
||||
@if(Auth::user()->profile_pic)
|
||||
<img src="{{asset('dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}"class="user-image" alt="User Image"/>
|
||||
@endif
|
||||
<span class="hidden-xs">{{Auth::user()->first_name}}</span>
|
||||
@endif
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<!-- User image -->
|
||||
<li class="user-header" style="background-color:#343F44;">
|
||||
@if(Auth::user()->profile_pic)
|
||||
<img src="{{asset('dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
@else
|
||||
<img src="{{ Gravatar::src(Auth::user()->email) }}" class="img-circle" alt="User Image">
|
||||
@endif
|
||||
<p>
|
||||
{{Auth::user()->first_name}} - {{Auth::user()->role}}
|
||||
<small></small>
|
||||
</p>
|
||||
</li>
|
||||
<!-- Menu Footer-->
|
||||
<li class="user-footer" style="background-color:#1a2226;">
|
||||
<div class="pull-left">
|
||||
<a href="{{URL::route('profile')}}" class="btn btn-info btn-sm"><b>Profile</b></a>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<a href="{{url('auth/logout')}}" class="btn btn-danger btn-sm"><b>Sign out</b></a>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</nav>
|
||||
</header>
|
||||
<!-- Left side column. contains the logo and sidebar -->
|
||||
<aside class="main-sidebar">
|
||||
<!-- sidebar: style can be found in sidebar.less -->
|
||||
<section class="sidebar">
|
||||
<div class="user-panel">
|
||||
@if (trim($__env->yieldContent('profileimg')))
|
||||
<h1>@yield('profileimg')</h1>
|
||||
@else
|
||||
<div class = "row">
|
||||
<div class="col-xs-3"></div>
|
||||
<div class="col-xs-2" style="width:50%;">
|
||||
@if(Auth::user() && Auth::user()->profile_pic)
|
||||
<img src="{{asset('dist/img')}}{{'/'}}{{Auth::user()->profile_pic}}" class="img-circle" alt="User Image" />
|
||||
@else
|
||||
{{-- <img src="{{asset('dist/img/avatar.png')}}" class="img-circle" alt="User Image" /> --}}
|
||||
<img src="{{ Gravatar::src(Auth::user()->email) }}" class="img-circle" alt="User Image">
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
@endif
|
||||
<div class="info" style="text-align:center;">
|
||||
@if(Auth::user())
|
||||
<p>{{Auth::user()->first_name}}</p>
|
||||
@endif
|
||||
@if(Auth::user() && Auth::user()->active==1)
|
||||
<a href="#"><i class="fa fa-circle text-success"></i> Online</a>
|
||||
@else
|
||||
<a href="#"><i class="fa fa-circle"></i> Offline</a>
|
||||
@endif
|
||||
</div>
|
||||
</div>
|
||||
<!-- search form -->
|
||||
<form action="#" method="get" class="sidebar-form">
|
||||
<div class="input-group">
|
||||
<input type="text" name="q" class="form-control" placeholder="Search..."/>
|
||||
<span class="input-group-btn">
|
||||
<button type='submit' name='seach' id='search-btn' class="btn btn-flat"><i class="fa fa-search"></i></button>
|
||||
</span>
|
||||
</div>
|
||||
</form>
|
||||
<!-- /.search form -->
|
||||
<!-- sidebar menu: : style can be found in sidebar.less -->
|
||||
<ul class="sidebar-menu">
|
||||
@yield('sidebar')
|
||||
<li class="header">TICKETS</li>
|
||||
<li>
|
||||
<a href="{{url('kb/category')}}">
|
||||
<i class="fa fa-user"></i> <span>Category</span>
|
||||
<small class="label pull-right bg-green"></small>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="{{url('kb/article')}}">
|
||||
<i class="fa fa-th"></i> <span>Article</span>
|
||||
<small class="label pull-right bg-green"></small>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="{{url('kb/page')}}">
|
||||
<i class="fa fa-th"></i> <span>Page</span>
|
||||
<small class="label pull-right bg-green"></small>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<a href="{{url('kb/page')}}">
|
||||
<i class="fa fa-th"></i> <span>Page</span>
|
||||
<small class="label pull-right bg-green"></small>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
</section>
|
||||
<!-- /.sidebar -->
|
||||
</aside>
|
||||
<!-- Right side column. Contains the navbar and content of the page -->
|
||||
<div class="content-wrapper">
|
||||
<!-- Content Header (Page header) -->
|
||||
<section class="content-header">
|
||||
@yield('PageHeader')
|
||||
@yield('breadcrumbs')
|
||||
</section>
|
||||
<!-- Main content -->
|
||||
<section class="content">
|
||||
@yield('content')
|
||||
</section><!-- /.content -->
|
||||
<!-- /.content-wrapper -->
|
||||
</div>
|
||||
<footer class="main-footer">
|
||||
<div class="pull-right hidden-xs">
|
||||
<b>Version</b> 0.1
|
||||
</div>
|
||||
<strong>Copyright © {!! date('Y') !!} <a href="{!! $company->website !!}">{!! $company->company_name !!}</a>.</strong> All rights reserved. Powered by <a href="http://www.faveohelpdesk.com/">Faveo</a>
|
||||
</footer>
|
||||
</div><!-- ./wrapper -->
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<!-- Bootstrap 3.3.2 JS -->
|
||||
<script src="{{asset("downloads/bootstrap.min.js")}}" type="text/javascript"></script>
|
||||
<!-- Slimscroll -->
|
||||
<script src="{{asset("plugins/slimScroll/jquery.slimscroll.min.js")}}" type="text/javascript"></script>
|
||||
<!-- FastClick -->
|
||||
<script src="{{asset("plugins/fastclick/fastclick.min.js")}}"></script>
|
||||
<!-- AdminLTE App -->
|
||||
<script src="{{asset("dist/js/app.min.js")}}" type="text/javascript"></script>
|
||||
<!-- AdminLTE for demo purposes -->
|
||||
<script src="{{asset("dist/js/demo.js")}}" type="text/javascript"></script>
|
||||
<!-- iCheck -->
|
||||
<script src="{{asset("plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
<!-- maskinput -->
|
||||
<script src="js/jquery.maskedinput.min.js" type="text/javascript"></script>
|
||||
<!-- jquery ui -->
|
||||
<script src="{{asset("downloads/jquery.ui.js")}}" type="text/javascript"></script>
|
||||
<!-- Page Script -->
|
||||
<script>
|
||||
$(function() {
|
||||
//Enable iCheck plugin for checkboxes
|
||||
//iCheck for checkbox and radio inputs
|
||||
// $('input[type="checkbox"]').iCheck({
|
||||
// checkboxClass: 'icheckbox_flat-blue',
|
||||
// radioClass: 'iradio_flat-blue'
|
||||
// });
|
||||
//Enable check and uncheck all functionality
|
||||
$(".checkbox-toggle").click(function() {
|
||||
var clicks = $(this).data('clicks');
|
||||
if (clicks) {
|
||||
//Uncheck all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("uncheck");
|
||||
} else {
|
||||
//Check all checkboxes
|
||||
$("input[type='checkbox']", ".mailbox-messages").iCheck("check");
|
||||
}
|
||||
$(this).data("clicks", !clicks);
|
||||
});
|
||||
//Handle starring for glyphicon and font awesome
|
||||
$(".mailbox-star").click(function(e) {
|
||||
e.preventDefault();
|
||||
//detect type
|
||||
var $this = $(this).find("a > i");
|
||||
var glyph = $this.hasClass("glyphicon");
|
||||
var fa = $this.hasClass("fa");
|
||||
//Switch states
|
||||
if (glyph) {
|
||||
$this.toggleClass("glyphicon-star");
|
||||
$this.toggleClass("glyphicon-star-empty");
|
||||
}
|
||||
if (fa) {
|
||||
$this.toggleClass("fa-star");
|
||||
$this.toggleClass("fa-star-o");
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript">
|
||||
// $(document).ready(function() {
|
||||
// $("#content").Editor();
|
||||
// });
|
||||
// </script>
|
||||
<!-- // <script src="../plugins/jQuery/jQuery-2.1.3.min.js"></script> -->
|
||||
<script src="{{asset("dist/js/tabby.js")}}"></script>
|
||||
<!-- // <script src="{{asset("dist/js/editor.js")}}"></script> -->
|
||||
<!-- CK Editor -->
|
||||
<!-- // <script src="{{asset("//cdn.ckeditor.com/4.4.3/standard/ckeditor.js")}}"></script> -->
|
||||
<script src="{{asset("downloads/CKEditor.js")}}"></script>
|
||||
<script src="{{asset("plugins/filebrowser/plugin.js")}}"></script>
|
||||
<script src="{{asset("plugins/bootstrap-wysihtml5/bootstrap3-wysihtml5.all.min.js")}}" type="text/javascript"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
//Add text editor
|
||||
$("textarea").wysihtml5();
|
||||
});
|
||||
</script>
|
||||
@yield('FooterInclude')
|
||||
</body>
|
||||
</html>
|
||||
49
code/resources/views/themes/default1/layouts/login.blade.php
Normal file
49
code/resources/views/themes/default1/layouts/login.blade.php
Normal file
@@ -0,0 +1,49 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>SUPPORT CENTER</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("lb-faveo/dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- iCheck -->
|
||||
<link href="{{asset("lb-faveo/plugins/iCheck/square/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="login-page">
|
||||
<div class="login-box">
|
||||
<div class="login-logo">
|
||||
<b>SUPPORT</b> CENTER
|
||||
</div><!-- /.login-logo -->
|
||||
<div class="login-box-body">
|
||||
@yield('body')
|
||||
</div><!-- /.login-box -->
|
||||
<div class="login-box-msg">
|
||||
</br>
|
||||
Powered by <a href="http://www.faveohelpdesk.com/">FAVEO</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
<!-- iCheck -->
|
||||
<script src="{{asset("lb-faveo/plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
$('input').iCheck({
|
||||
checkboxClass: 'icheckbox_square-blue',
|
||||
radioClass: 'iradio_square-blue',
|
||||
increaseArea: '20%' // optional
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Faveo | HELP DESK</title>
|
||||
<meta content='width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no' name='viewport'>
|
||||
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
|
||||
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet" type="text/css" />
|
||||
<!-- Theme style -->
|
||||
<link href="{{asset("dist/css/AdminLTE.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- iCheck -->
|
||||
<link href="{{asset("plugins/iCheck/square/blue.css")}}" rel="stylesheet" type="text/css" />
|
||||
|
||||
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
||||
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
|
||||
<!--[if lt IE 9]>
|
||||
<script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
|
||||
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
<body class="login-page">
|
||||
<div class="login-box">
|
||||
<div class="login-logo">
|
||||
<a href="../../index2.html"><b>Faveo</b> HELP DESK</a>
|
||||
</div><!-- /.login-logo -->
|
||||
|
||||
@yield('body')
|
||||
|
||||
</div><!-- /.login-box -->
|
||||
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js" type="text/javascript"></script>
|
||||
<!-- iCheck -->
|
||||
<script src="{{asset("plugins/iCheck/icheck.min.js")}}" type="text/javascript"></script>
|
||||
<script>
|
||||
$(function () {
|
||||
$('input').iCheck({
|
||||
checkboxClass: 'icheckbox_square-blue',
|
||||
radioClass: 'iradio_square-blue',
|
||||
increaseArea: '20%' // optional
|
||||
});
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user