load_ref_no_available_info.blade.php 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @extends('admin.sub_contents.base')
  2. @section('main')
  3. @if($teacher)
  4. <div class="alert mt-3 mb-3" style="border: 2px solid #e9f0f3 !important; width: 100%; display: -webkit-inline-box; font-size: 12px !important; font-weight:bold !important; color: black; border-radius: 6px;">
  5. <div class="col-md-12">
  6. <div class="row">
  7. <div class="col-md-10">
  8. <div class="uni_details" style="display:flex;">
  9. @if($teacher->university)
  10. <img class="img-responsive listFlag mt-2" style="border-radius: 2px; padding: 0px;height: 45px; width: 45px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($teacher,'university.country.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
  11. {{-- @else
  12. {{-- <div class="inner_left mt-1" style="background-color: #141639c4; padding: 18px 0px 0px 0px; height: 47px; width: 56px; margin-top: 9px !important;">
  13. <p style="color:white; font-weight:600 !important; letter-spacing: 2px; text-align: center; margin-top: -8px; font-size: 17px;">{{ name_initials($teacher->first_name, $teacher->last_name) }}</p>
  14. </div> --}}
  15. @endif
  16. <div class="alert" style="background-color:white; padding: 3px 7px; margin-bottom: 0px;">
  17. <span style="margin: 0px;">{{$teacher->first_name}} {{$teacher->last_name}}</span></br>
  18. <span class="text-muted" style="font-weight: 500;">{{$teacher->designation}}</span></br>
  19. @if($teacher->others_department)
  20. <span class="text-muted" style="font-weight: 500;">{{$teacher->others_department}}</span>
  21. @else
  22. <span class="text-muted" style="font-weight: 500;">{{cn($teacher,'department_name.name','')}}</span>
  23. @endif
  24. <span> • </span>
  25. @if($teacher->university_name)
  26. <span class="text-muted" style="font-weight: 500;">{{$teacher->university_name}}</span>
  27. @else
  28. <span class="text-muted" style="font-weight: 500;">{{cn($teacher,'university.name','')}}</span>
  29. @endif
  30. </div>
  31. </div>
  32. </div>
  33. <div class="col-md-2 mt-3">
  34. <span class="btn btn3 open_modal_page" data-url="{{route('modal-get',['name'=>'apply_student_proposal','t_id'=>$teacher->id])}}" data-title="Submit your Proposal" style="margin-left: 1.1rem;">Apply</span>
  35. </div>
  36. </div>
  37. </div>
  38. </div>
  39. @else
  40. <div class="alert mt-3 mb-3" style="border: 2px solid #e9f0f3 !important; width: 100%; display: -webkit-inline-box; font-size: 12px !important; font-weight:bold !important; color: black; border-radius: 6px;">
  41. <div class="col-md-12">
  42. <div class="row">
  43. <div class="col-md-12 text-center">
  44. <i class="fa fa-exclamation-triangle" style="color: #fdad2a !important; border-color: #fdad2a;
  45. "></i><span class="text-danger">This reference number is not valid or available!. Please try another reference no.</span>
  46. </div>
  47. </div>
  48. </div>
  49. </div>
  50. @endif
  51. @endsection