瀏覽代碼

Edit University

Mostafijur Rahman 1 年之前
父節點
當前提交
c4c1fd25a7
共有 2 個文件被更改,包括 33 次插入36 次删除
  1. 27 16
      resources/views/teacher/load_application.blade.php
  2. 6 20
      resources/views/teacher_profile.blade.php

+ 27 - 16
resources/views/teacher/load_application.blade.php

@@ -19,25 +19,36 @@
                     <tr>
                         <td style="font-size: 11px;">{{$key+1}}</td>
                         <td>
-                            <div style="font-size: 12px; font-weight: 600; color: black; text-transform: capitalize;">
-                                <span>{{cn($row,'student_details.first_name','')}} {{cn($row,'student_details.last_name','')}}</span>
-                            </div>
-                            <div style="font-size: 11.5px;">
-                                <a href="" class="" style="color: #868e96;"><span>Ref : {{$row->student_apply_ref ?? "N/A"}} </span></a>
-                            </div>
-                            <div style="font-size: 11.5px;">
-                                <span style="color: #868e96;">Applied : {{utc_to_ltz($row->submitted_date, 'd M Y g:i A', local_tz($user))}}</span>
+                            <div style="display:flex;">
+                                @if($row->student_details->nationality)
+                                    <img class="img-responsive listFlag" style="border-radius: 2px; padding: 0px;height: 35px; width: 35px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($row,'student_details.country_name.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
+                                @endif
+                                <div class="alert" style="background-color:white; padding: 3px 7px; margin-bottom: 0px;">
+                                    <div style="font-size: 12px; font-weight: 600; color: black; text-transform: capitalize;">
+                                        <span>{{cn($row,'student_details.first_name','')}} {{cn($row,'student_details.last_name','')}}</span>
+                                    </div>
+                                    <div style="font-size: 11.5px;">
+                                        <a href="" class="" style="color: #868e96;"><span>Ref : {{$row->student_apply_ref ?? "N/A"}} </span></a>
+                                    </div>
+                                    <div style="font-size: 11.5px;">
+                                        <span style="color: #868e96;">Applied : {{utc_to_ltz($row->submitted_date, 'd M Y g:i A', local_tz($user))}}</span>
+                                    </div>
+                                </div>
                             </div>
                         </td>
                         <td style="font-size: 11.5px;">
-                            <div style="font-size: 11.5px; font-weight: 600; display:block;">
-                                <span style="color: black;">{{cn($row,'institutes.institution','')}}</span>
-                            </div>
-                            <div style="font-size: 11.5px;">
-                                <span style="color: black;">Passing Year :  {{cn($row,'institutes.passing_year','N/A')}} </span>
-                            </div>
-                            <div class="mt-1" style="font-size: 11.5px;">
-                                <span class="label_badge_gpa">{{cn($row,'institutes.result','')}} (GPA)</span>
+                            <div style="display:flex;"> 
+                                <div class="alert" style="background-color:white; padding: 3px 7px; margin-bottom: 0px;">
+                                    <div style="font-size: 11.5px; font-weight: 600; display:block;">
+                                        <span style="color: black;">{{cn($row,'institutes.institution','')}}</span>
+                                    </div>
+                                    <div style="font-size: 11.5px;">
+                                        <span style="color: black;">Passing Year :  {{cn($row,'institutes.passing_year','N/A')}} </span>
+                                    </div>
+                                    <div class="mt-1" style="font-size: 11.5px;">
+                                        <span class="label_badge_gpa">{{cn($row,'institutes.result','')}} (GPA)</span>
+                                    </div>
+                                </div>
                             </div>
                         </td>
                         <td style="font-size: 11.5px; text-align:center; color: black;">{{cn($row,'scores.test_name','N/A')}} - {{cn($row,'scores.overall_score','')}}

+ 6 - 20
resources/views/teacher_profile.blade.php

@@ -189,17 +189,17 @@ tbody, td, tfoot, th, thead, tr {
     line-height: 1.3;
     letter-spacing: .2px;
     font-weight: 600;
-    background-color: #e5f3ff;
+    background-color:#e2edff;
 }
 .label_badge_work {
+    color: #10bd77;
     border-radius: 20px;
     padding: 1px 10px;
     font-size: 11px;
     line-height: 1.3;
     letter-spacing: .2px;
     font-weight: 600;
-    background: #e5ebf7;
-    color: #2466dc;
+    background-color:#dffff2;;
 }
 .ms-5 {
     margin-left: 2.4rem!important;
@@ -340,20 +340,6 @@ tbody, td, tfoot, th, thead, tr {
     font-weight: 600;
     background-color: #eed4ce;
 }
-.Q{
-    border-radius: 20px;
-    box-shadow:none !important;
-    font-size:13px;
-    padding: 5px 10px !important;
-    background-color: #ffad00 !important; 
-    color: #191e38 !important;
-}
-.Q:hover{
-    background: #191e38 !important;
-    color: #ffad00  !important;
-    border-radius: 20px;
-    border-color: #191e38 !important;
-}
 </style>
 <body>
 <header id="" class="site-header">
@@ -392,7 +378,7 @@ tbody, td, tfoot, th, thead, tr {
                                 <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
                                     <li class="nav-item dropdown dropdown-notification">
                                         <a href="javascript:void(0)" class="open_modal_page" data-url="{{route('modal-get',['name'=>'add_wishlist'])}}" data-title="Wishlist">
-                                        <button class="btn btn2" style="padding: 5px 10px !important;">New Invite</button>
+                                        <button class="btn btn2" style="padding: 6px 10px !important;">New Invite</button>
                                         </a>
                                     </li>
                                 </ul>
@@ -403,7 +389,7 @@ tbody, td, tfoot, th, thead, tr {
                                     <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
                                         <li class="nav-item dropdown dropdown-notification">
                                             <a href="javascript:void(0)">
-                                                <button class="btn Q" style="">Q-Apply</button>
+                                                <button class="btn btn2" style="padding: 6px 10px !important; background-color: #ffad00 !important; color: #191e38 !important;">Q-Apply</button>
                                             </a>
                                         </li>
                                     </ul>
@@ -521,7 +507,7 @@ tbody, td, tfoot, th, thead, tr {
                                     <h6 style="font-weight:bold !important;">3 Ways you can receive proposals from Doctoral candidates : </h6>
                                     <div class="col-md-4 mt-3 ms-3 method-box">
                                         <h6 class="method"> Option 1:</h6>
-                                        <p style="font-size: 13px;"> You can give your ARN <span class="mb-0" style="font-size: 13px !important; color: #191e38; font-weight: bolder !important;">({{ auth_user('teacher')->ref_no }})</span> to the student and request them to submit their proposal using your reference.</p>
+                                        <p style="font-size: 13px;"> You can give your ARN to the student and request them to submit their proposal using your reference.</p>
                                     </div>
                                     <div class="col-md-4 mt-3 ms-3 method-box">
                                         <h6 class="method"> Option 2:</h6>