load_ref_no_available_info.blade.php 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  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(isset($teacher->department_name))
  20. <span class="text-muted" style="font-weight: 500;">{{cn($teacher,'department_name.name','')}}</span>
  21. @else
  22. <span class="text-muted" style="font-weight: 500;">{{$teacher->others_department}}</span>
  23. @endif
  24. <span>.</span>
  25. <span class="text-muted" style="font-weight: 500;">{{cn($teacher,'university.name','')}}</span>
  26. </div>
  27. </div>
  28. </div>
  29. <div class="col-md-2 mt-3">
  30. <span class="btn btn3 open_modal_page" data-url="{{route('modal-get',['name'=>'apply_student_proposal','id'=>$teacher->id])}}" data-title="Submit your Proposal" style="margin-left: 1.1rem;">Apply</span>
  31. </div>
  32. </div>
  33. </div>
  34. </div>
  35. @else
  36. <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;">
  37. <div class="col-md-12">
  38. <div class="row">
  39. <div class="col-md-12 text-center">
  40. <i class="fa fa-exclamation-triangle" style="color: #fdad2a !important; border-color: #fdad2a;
  41. "></i><span class="text-danger">This reference number is not valid or available!. Please try another reference no.</span>
  42. </div>
  43. </div>
  44. </div>
  45. </div>
  46. @endif
  47. @endsection