application.blade.php 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. @extends('web.layouts.master')
  2. @section('content')
  3. <section class="bg-half-170 d-table w-100" style="background-color: #efefef; height:100vh; padding:121px 0px 5px;">
  4. <div class="container mb-2">
  5. <div class="row align-items-center p-3">
  6. <div class="col-md-12">
  7. <div class="row">
  8. <div class="col-md-10" style="width:83%;">
  9. <div class="content_header ml-0">
  10. <div class="right">
  11. <h6 style="font-weight:bold !important; margin: 0px; color: #141639c4;">MY APPLICATION</h6>
  12. </div>
  13. </div>
  14. </div>
  15. <!-- <div class="col-md-2 text-right">
  16. <button class="submit_button" style="margin-left:2.6rem;">Add New</button>
  17. </div> -->
  18. </div>
  19. </div>
  20. @if(count($student_proposal) > 0 )
  21. <div class="col-md-12">
  22. <div class="scrolled_content_part">
  23. @foreach($student_proposal as $key=>$row)
  24. <div class="single_ad_pref_item mb-4">
  25. <div class="p-2" style="display:flex;">
  26. <div class="left" style="width:50%;">
  27. <div class="uni_details" style="display:flex;">
  28. @if(cn($row,'teacher_details.university'))
  29. <img class="img-responsive listFlag" style="border-radius: 20px; padding: 0px;height: 37px;width: 37px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($row,'teacher_details.university.country.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
  30. @else
  31. <div class="inner_left mt-1" style="border: 1px solid black; border-radius: 20px; padding: 6px; height: 37px; width: 37px;">
  32. <i class="fa fa fa-university ms-1"></i>
  33. </div>
  34. @endif
  35. <div class="alert" style="background-color:white; padding: 3px 7px; margin-bottom: 0px;">
  36. <strong style="font-size:13px;">{{ cn($row,'teacher_details.first_name','')}} {{ cn($row,'teacher_details.last_name','')}}</strong></br>
  37. <span style="font-size:10px; font-weight:400;"> {{cn($row,'teacher_details.designation','')}} </span>
  38. <span>.</span>
  39. @if(isset($row->teacher_details->department_name))
  40. <span style="font-size:10px; font-weight:400;"> {{cn($row,'teacher_details.department_name.name','')}}</span>
  41. @else
  42. <span style="font-size:10px; font-weight:400;">{{cn($row,'teacher_details.others_department','')}}</span>
  43. @endif
  44. <span>.</span>
  45. <span style="font-size:10px; font-weight:400;"> {{cn($row,'teacher_details.university.name','')}} </span>
  46. </div>
  47. </div>
  48. </div>
  49. <div class="text-end" style="width:50%;">
  50. <span style="font-size:11px;">Apply Reference</span><br>
  51. <span class="label_badge_radius" style="background-color: #463993; color: white; border-radius: 4px; font-size:11px !important; font-weight:800;">{{$row->student_apply_ref ?? ''}}</span>
  52. </div>
  53. </div>
  54. <div class="p-2" style="display:flex; border-top: 1px solid #eee;">
  55. <div class="left" style="width:50%;">
  56. <div class="uni_details" style="display:flex;">
  57. <div class="inner_right ms-5">
  58. <strong style="font-size:14px; font-weight: 600;">{{cn($row,'proposal.title','')}}</strong></br>
  59. <div style="margin-top: -2px;">
  60. <span style="font-size:12px;">{{cn($row,'proposal.proposal_ref','')}}</span>
  61. <span> • </span>
  62. <span style="font-size:12px;">{{cn($row,'proposal.methology','')}}</span>
  63. <span> • </span>
  64. @php
  65. $proposal =\DB::table('proposal')->where('id',$row->proposal_id)->first();
  66. if($proposal->department){
  67. $department =model('Department')::find($proposal->department);
  68. }
  69. @endphp
  70. @if($department)
  71. <span style="font-size:12px;">{{$department->name ?? ''}}</span>
  72. @endif
  73. <span> • </span>
  74. <span style="font-size:10px;">{{cn($row,'proposal.status','')}}</span>
  75. </div>
  76. </div>
  77. </div>
  78. </div>
  79. </div>
  80. <div class="p-2" style="display:flex; border-top: 1px solid #eee;">
  81. <div class="left" style="width:50%;">
  82. <div class="uni_details" style="display:flex;">
  83. <div class="inner_right ms-5">
  84. <span style="font-size:11px;">Preferred Start Date : <br><strong style="font-size:13px;">{{ date('M Y', strtotime($row->created_at))}}</strong></span><br>
  85. </div>
  86. </div>
  87. </div>
  88. <div class="text-end" style="width:50%;">
  89. <span style="font-size:11px;">Application Status </span><br>
  90. <span class="label_badge_radius" style="background-color: #d8fdd8; color: green; border-radius: 5px; font-weight: bold;">Applied</span>
  91. </div>
  92. </div>
  93. <div class="p-2" style="display:flex; border-top: 1px solid #eee;">
  94. <div class="left">
  95. <div class="uni_details" style="display:flex;">
  96. <div class="inner_right ms-5">
  97. <span style="font-size:11px; color: red;">{{ $row->feedback_msg ?? ""}}</span><br>
  98. </div>
  99. </div>
  100. </div>
  101. </div>
  102. </div>
  103. @endforeach
  104. </div>
  105. @else
  106. <div class="alert mt-2 mb-3" style="background-color: #ffff; border-color: #e9f0f3; font-size: 12px !important; color: #dc3545; border-radius: 30px; padding: 8px 15px;">
  107. <span>No Application available.</span>
  108. </div>
  109. @endif
  110. </div>
  111. </div>
  112. </div><!--end container-->
  113. </section>
  114. @endsection