Merge Branch

This commit is contained in:
Sada Shiva
2016-02-02 18:39:22 +05:30
parent a302235274
commit 11f4b086b7
20 changed files with 542 additions and 78 deletions

View File

@@ -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();
});