|
@@ -733,6 +733,36 @@ element.style {
|
|
|
color:
|
|
|
font-size: 1rem;
|
|
|
}
|
|
|
+
|
|
|
+.pro_top_rating {
|
|
|
+ border: none;
|
|
|
+ float: left;
|
|
|
+ }
|
|
|
+ .pro_top_rating > label {
|
|
|
+ color:
|
|
|
+ float: right;
|
|
|
+ }
|
|
|
+ .pro_top_rating > label:before {
|
|
|
+ margin-right: 5px;
|
|
|
+ font-size: .7rem;
|
|
|
+ font-family: FontAwesome;
|
|
|
+ content: "\f005";
|
|
|
+ display: inline-block;
|
|
|
+ }
|
|
|
+ .pro_top_rating > input {
|
|
|
+ display: none;
|
|
|
+ }
|
|
|
+ .pro_top_rating > input:checked ~ label,
|
|
|
+ .pro_top_rating:not(:checked) > label:hover,
|
|
|
+ .pro_top_rating:not(:checked) > label:hover ~ label {
|
|
|
+ color:
|
|
|
+ }
|
|
|
+ .pro_top_rating > input:checked + label:hover,
|
|
|
+ .pro_top_rating > input:checked ~ label:hover,
|
|
|
+ .pro_top_rating > label:hover ~ input:checked ~ label,
|
|
|
+ .pro_top_rating > input:checked ~ label:hover ~ label {
|
|
|
+ color:
|
|
|
+ }
|
|
|
</style>
|
|
|
<body>
|
|
|
<header id="" class="defaultscroll sticky">
|
|
@@ -935,7 +965,7 @@ element.style {
|
|
|
<div class="right">
|
|
|
<div class="top_part_status" style="position: relative; width: fit-content; margin-left: 10px;">
|
|
|
<span style="font-size: 10px;">
|
|
|
- 4 April 2023
|
|
|
+ {{ date("d M Y", strtotime($proposal_details->accepted_date))}}
|
|
|
</span>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -983,12 +1013,17 @@ element.style {
|
|
|
<div>
|
|
|
<div class="single_glance_row mt-1">
|
|
|
<span class="title" style="font-size:11px; font-weight: 600;">Proposal Quality :</span>
|
|
|
- <span class="tbl2 mb-2" style="float: right;">
|
|
|
- <i class="fa-solid fa-star"></i>
|
|
|
- <i class="fa-solid fa-star"></i>
|
|
|
- <i class="fa-solid fa-star"></i>
|
|
|
- <i class="fa-regular fa-star-half-stroke"></i>
|
|
|
- <i class="fa-regular fa-star"></i>
|
|
|
+ <span class="tbl2 mb-2 pro_top_rating" style="float:right;">
|
|
|
+ <input type="radio" class="rate_star_update" data-id="{{$proposal_details->id}}" id="star5" name="rate" value="5" @if($proposal_details->proposal_quality ==5) checked @endif/>
|
|
|
+ <label class="rate_star hand tooltips" for="star5" title="5 stars"></label>
|
|
|
+ <input type="radio" class="rate_star_update" data-id="{{$proposal_details->id}}" id="star4" name="rate" value="4" @if($proposal_details->proposal_quality ==4) checked @endif/>
|
|
|
+ <label class="rate_star hand tooltips" for="star4" title="4 stars"></label>
|
|
|
+ <input type="radio" class="rate_star_update" data-id="{{$proposal_details->id}}" id="star3" name="rate" value="3" @if($proposal_details->proposal_quality ==3) checked @endif/>
|
|
|
+ <label class="rate_star hand tooltips" for="star3" title="3 stars"></label>
|
|
|
+ <input type="radio" class="rate_star_update" data-id="{{$proposal_details->id}}" id="star2" name="rate" value="2" @if($proposal_details->proposal_quality ==2) checked @endif/>
|
|
|
+ <label class="rate_star hand tooltips" for="star2" title="2 stars"></label>
|
|
|
+ <input type="radio" class="rate_star_update" data-id="{{$proposal_details->id}}" id="star1" name="rate" value="1" @if($proposal_details->proposal_quality ==1) checked @endif/>
|
|
|
+ <label class="rate_star hand tooltips" for="star1" title="1 star"></label>
|
|
|
</span>
|
|
|
</div>
|
|
|
<div class="single_glance_row mt-1">
|
|
@@ -1058,7 +1093,7 @@ element.style {
|
|
|
<div class="mb-2">
|
|
|
<div class="form-icon position-relative">
|
|
|
<input type="hidden" name="p_status" id="p_status" value="">
|
|
|
- <textarea class="form-control" name="message" id="message" required=""></textarea>
|
|
|
+ <textarea class="form-control" name="message" id="message" required="">{{$proposal_details->feedback_msg ?? ''}}</textarea>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="text-end">
|
|
@@ -1271,6 +1306,22 @@ element.style {
|
|
|
<script src="{{ asset('css/wait-me/waitMe.min.js')}}"></script>
|
|
|
|
|
|
<script>
|
|
|
+
|
|
|
+ function wait_me(selector, config=null){
|
|
|
+
|
|
|
+ if(config){
|
|
|
+
|
|
|
+ selector.waitMe(config);
|
|
|
+
|
|
|
+ }else{
|
|
|
+
|
|
|
+ selector.waitMe({
|
|
|
+ effect: 'facebook',
|
|
|
+
|
|
|
+ text: 'Please! Wait ...'
|
|
|
+ });
|
|
|
+ }
|
|
|
+ }
|
|
|
function pop_up_msg(msg='No message specified', type='success', callback=null){
|
|
|
new Noty({
|
|
|
theme:'sunset',
|
|
@@ -1294,7 +1345,32 @@ element.style {
|
|
|
return msg;
|
|
|
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
$(function(){
|
|
|
+
|
|
|
+ $('.rate_star_update').on('click', function(){
|
|
|
+ var self =$(this);
|
|
|
+ var id =self.data('id');
|
|
|
+ var value =self.attr('value');
|
|
|
+
|
|
|
+ var form_data={
|
|
|
+ _token: "{{ csrf_token() }}",
|
|
|
+ id: id,
|
|
|
+ value:value
|
|
|
+ }
|
|
|
+
|
|
|
+ $.post("{{ route('ajax-post', ['name'=>'proposal_quality_rate_star_update']) }}", form_data, function(res){
|
|
|
+ pop_up_msg(res.msg);
|
|
|
+ window.location.reload();
|
|
|
+
|
|
|
+ }).fail(function(err){
|
|
|
+
|
|
|
+ pop_up_msg(err_msg(err), 'error');
|
|
|
+
|
|
|
+ });
|
|
|
+
|
|
|
+ });
|
|
|
$('.concept_change').on('click', function(){
|
|
|
var self =$(this);
|
|
|
var id =self.data('id');
|