Merge remote-tracking branch 'origin/Sada_Faveo'
This commit is contained in:
@@ -16,6 +16,7 @@ active
|
||||
?>
|
||||
|
||||
@section('sidebar')
|
||||
|
||||
<li class="header">{!! Lang::get('lang.Ticket_Information') !!} </li>
|
||||
<li>
|
||||
<a href="">
|
||||
@@ -41,6 +42,19 @@ active
|
||||
</a>
|
||||
@endif
|
||||
</li>
|
||||
|
||||
<li class="header">
|
||||
{!! Lang::get('lang.ticket_ratings') !!}
|
||||
</li><li> <a href="#">
|
||||
<input type="hidden" name="amount" value="{!! $tickets->rating !!}" />
|
||||
<label style="color: #b8c7ce;">Overall Rating:</label>
|
||||
<h5>
|
||||
<span class="stars">{!! $tickets->rating !!}</span></h5>
|
||||
<input type="hidden" name="amt" value="{!! $tickets->ratingreply !!}" />
|
||||
<label style="color: #b8c7ce;">Reply Rating:</label>
|
||||
<h4>
|
||||
<span class="stars2">{!! $tickets->ratingreply !!}</span></h4>
|
||||
</a></li>
|
||||
@stop
|
||||
|
||||
@section('content')
|
||||
@@ -1053,7 +1067,22 @@ $count_teams = count($teams);
|
||||
|
||||
<!-- scripts used on page -->
|
||||
<script type="text/javascript">
|
||||
|
||||
$(function() {
|
||||
|
||||
$('h5').html('<span class="stars">'+parseFloat($('input[name=amount]').val())+'</span>');
|
||||
$('span.stars').stars();
|
||||
|
||||
$('h4').html('<span class="stars2">'+parseFloat($('input[name=amt]').val())+'</span>');
|
||||
$('span.stars2').stars();
|
||||
|
||||
|
||||
});
|
||||
|
||||
$.fn.stars = function() {
|
||||
return $(this).each(function() {
|
||||
$(this).html($('<span />').width(Math.max(0, (Math.min(5, parseFloat($(this).html())))) * 16));
|
||||
});
|
||||
}
|
||||
$(function () {
|
||||
$("#InternalContent").wysihtml5();
|
||||
});
|
||||
|
@@ -8,6 +8,30 @@
|
||||
<!-- Bootstrap 3.3.2 -->
|
||||
<link href="{{asset("lb-faveo/css/bootstrap.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Font Awesome Icons -->
|
||||
<style>
|
||||
span.stars, span.stars span {
|
||||
display: block;
|
||||
background: url({!! URL::asset('lb-faveo/dist/images/stars.png'); !!}) 0 -16px repeat-x;
|
||||
width: 80px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
span.stars span {
|
||||
background-position: 0 0;
|
||||
}
|
||||
</style>
|
||||
<style>
|
||||
span.stars2, span.stars2 span {
|
||||
display: block;
|
||||
background: url({!! URL::asset('lb-faveo/dist/images/stars.png'); !!}) 0 -16px repeat-x;
|
||||
width: 80px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
span.stars2 span {
|
||||
background-position: 0 0;
|
||||
}
|
||||
</style>
|
||||
<link href="{{asset("lb-faveo/css/font-awesome.min.css")}}" rel="stylesheet" type="text/css" />
|
||||
<!-- Ionicons -->
|
||||
<link href="{{asset("lb-faveo/css/ionicons.min.css")}}" rel="stylesheet">
|
||||
@@ -33,10 +57,10 @@
|
||||
<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="https://code.jquery.com/jquery-2.1.4.js" type="text/javascript"></script> --}}
|
||||
{{-- // <script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> --}}
|
||||
<script src="{{asset("lb-faveo/js/jquery-2.1.4.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/jquery2.1.1.min.js")}}" type="text/javascript"></script>
|
||||
<script src="https://code.jquery.com/jquery-2.1.4.js" type="text/javascript"></script>
|
||||
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
|
||||
<!-- <script src="{{asset("lb-faveo/js/jquery-2.1.4.js")}}" type="text/javascript"></script>
|
||||
<script src="{{asset("lb-faveo/js/jquery2.1.1.min.js")}}" type="text/javascript"></script>-->
|
||||
|
||||
@yield('HeadInclude')
|
||||
</head>
|
||||
@@ -294,9 +318,7 @@ $group = App\Model\helpdesk\Agent\Groups::where('id', '=', $agent_group)->where(
|
||||
<strong>{!! Lang::get('lang.copyright') !!} © {!! date('Y') !!} <a href="{!! $company->website !!}">{!! $company->company_name !!}</a>.</strong> {!! Lang::get('lang.all_rights_reserved') !!}. {!! Lang::get('lang.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> --}}
|
||||
|
||||
<script src="{{asset("lb-faveo/js/ajax-jquery.min.js")}}"></script>
|
||||
|
||||
|
||||
{{-- // <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-datetimepicker/4.7.14/js/bootstrap-datetimepicker.min.js"></script> --}}
|
||||
|
||||
|
Reference in New Issue
Block a user