Israat Zarin 2 years ago
parent
commit
84785c8112

+ 2 - 0
app/Http/Controllers/ModalController.php

@@ -31,6 +31,8 @@ class ModalController extends Controller{
         }elseif($name=="view_apply_proposal"){
             $data['std_proposal'] =StudentProposal::find($req->id); 
 
+        }elseif($name=="add_destination"){
+
         } else $name='default';
 
         return view("modal_pages.{$name}", $data);

+ 12 - 0
public/web/images/au.svg

@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<svg xmlns="http://www.w3.org/2000/svg" height="480" width="640" version="1">
+  <g stroke-width="1pt">
+    <path fill="#006" d="M0 0h640v480H0z"/>
+    <path d="M0 0v27.95L307.037 250h38.647v-27.95L38.647 0H0zm345.684 0v27.95L38.647 250H0v-27.95L307.037 0h38.647z" fill="#fff"/>
+    <path d="M144.035 0v250h57.614V0h-57.615zM0 83.333v83.333h345.684V83.333H0z" fill="#fff"/>
+    <path d="M0 100v50h345.684v-50H0zM155.558 0v250h34.568V0h-34.568zM0 250l115.228-83.334h25.765L25.765 250H0zM0 0l115.228 83.333H89.463L0 18.633V0zm204.69 83.333L319.92 0h25.764L230.456 83.333H204.69zM345.685 250l-115.228-83.334h25.765l89.464 64.7V250z" fill="#c00"/>
+    <g fill-rule="evenodd" fill="#fff">
+      <path d="M299.762 392.523l-43.653 3.795 6.013 43.406-30.187-31.764-30.186 31.764 6.014-43.406-43.653-3.795 37.68-22.364-24.244-36.495 40.97 15.514 13.42-41.713 13.42 41.712 40.97-15.515-24.242 36.494M486.528 432.528l-10.537-15.854 17.81 6.742 5.824-18.125 5.825 18.126 17.807-6.742-10.537 15.854 16.37 9.718-18.965 1.65 2.616 18.85-13.116-13.793-13.117 13.794 2.616-18.85-18.964-1.65M486.528 150.433l-10.537-15.856 17.81 6.742 5.824-18.122 5.825 18.12 17.807-6.74-10.537 15.855 16.37 9.717-18.965 1.65 2.616 18.85-13.116-13.793-13.117 13.794 2.616-18.85-18.964-1.65M380.742 265.033l-10.537-15.853 17.808 6.742 5.825-18.125 5.825 18.125 17.808-6.742-10.536 15.853 16.37 9.72-18.965 1.65 2.615 18.85-13.117-13.795-13.117 13.795 2.617-18.85-18.964-1.65M580.586 236.824l-10.558-15.854 17.822 6.742 5.782-18.125 5.854 18.125 17.772-6.742-10.508 15.854 16.362 9.718-18.97 1.65 2.608 18.85-13.118-13.793-13.117 13.793 2.61-18.85-18.936-1.65M541.938 319.936l-10.367 6.425 2.914-11.84-9.316-7.863 12.165-.896 4.605-11.29 4.606 11.29 12.165.897-9.317 7.863 2.912 11.84"/>
+    </g>
+  </g>
+</svg>

+ 78 - 1
resources/views/admin/admin_profile.blade.php

@@ -313,6 +313,39 @@ tbody, td, tfoot, th, thead, tr {
     width: fit-content;
     display: flex;
 }
+.destination_boxes {
+    display: flex;
+    flex-flow: wrap;
+    padding: 12px 12px 0;
+    margin-bottom: 20px;
+}
+.destination_boxes .box {
+    width: 100px;
+    height: 100px;
+    border-radius: 0.25rem;
+    text-align: center;
+    margin: 0 15px 15px 0;
+    border: solid 1px #d8e2e7;
+    cursor: pointer;
+    display: flex;
+    align-items: center;
+    justify-content: center;
+}
+.destination_boxes .box .flag_country {
+    line-height: 15px;
+}
+.destination_boxes .box .flag_country img {
+    width: 25px;
+    height: 25px;
+    border-radius: 100%;
+    display: block;
+    margin: 0 auto;
+    margin-bottom: 4px;
+}
+.destination_boxes .box:hover {
+    background: #dfe2e6;
+    transition: 1s;
+}
 </style>
 <body>
 <header id="" class="site-header">
@@ -660,7 +693,51 @@ tbody, td, tfoot, th, thead, tr {
                         </div>
                     </div><!--end teb pane-->
                     <div class="tab-pane fade p-2 rounded" id="config" role="tabpanel" aria-labelledby="configuration" style="height: 100vh;">
-                        <h6>Configuration</h6>
+                        <div class="col-md-12">
+                            <div class="row">
+                                <div class="col-md-4 bg-white rounded p-2 ms-2" style="width:25%;">
+                                    <div class="row">
+                                        <div class="col-md-12">
+                                                <h6 style="padding: 13px 10px 0px; margin-bottom: 0px;">Department</h6>
+                                                <div class="mb-2">
+                                                    <div class="form-icon position-relative p-2" style="display: flex;">
+                                                        <input type="text" class="form-control" placeholder="" name="" required="">
+                                                        <button class="btn btn2" style="margin-left: -3.4rem; border-radius: 0px 6px 6px 0px">Add</button>
+                                                    </div>
+                                                </div>
+                                                <div class="left mb-2">
+                                                <div>
+                                                    <div class="single_glance_row mt-5" style="border-bottom: 1px solid #e8eef1;">
+                                                        <span class="title" style="font-size:11px; font-weight: 600;">Math</span>
+                                                    </div>
+                                                    <div class="single_glance_row mt-1" style="border-bottom: 1px solid #e8eef1;">
+                                                        <span class="title" style="font-size:11px; font-weight: 600;">English</span>
+                                                    </div>                                    
+                                                </div>
+                                            </div>
+                                        </div>
+                                    </div>
+                                </div><!--end col-->
+                                <div class="col-md-8 bg-white rounded p-2 ms-2">
+                                    <div class="row">
+                                        <div class="destination_boxes">
+                                            <div class="box country">
+                                                <div class="flag_country">
+                                                    <img src="{{ asset('web/images/au.svg') }}" alt="">
+                                                    <strong style="font-size: 12px;">Australia</strong>
+                                                </div>
+                                            </div>
+                                            <div class="box add_destination open_modal_page" data-url="{{route('modal-get',['name'=>'add_destination'])}}">
+                                                <div class="flag_country">
+                                                    <i class="fa fa-plus" style="display: block; margin-bottom: 12px; color: #818084;"></i>
+                                                    <strong style="font-size: 12px;">Add / Remove</strong>
+                                                </div>
+                                            </div>
+                                        </div>
+                                    </div>
+                                </div>
+                            </div>
+                        </div>
                     </div><!--end teb pane-->
                 </div><!--end tab content-->
             </div><!--end col-->

+ 42 - 0
resources/views/modal_pages/add_destination.blade.php

@@ -0,0 +1,42 @@
+@extends('modal_pages.base')
+
+@section('main')
+ 
+    <div class="container mt-2">
+        <div class="col-md-12">
+            
+        </div>
+
+        <div class="middle" style="background-color:white; border-radius:6px;">
+            <!-- <p class="mb-3" style="font-size:14px;">Please select which proposal you want to send</p> -->
+            <div class="alert mb-3 propose" style="padding: 0px; margin-bottom: 0px !important;">
+                <div style="width:100%;">
+                    <div class="mt-2 p-2 ms-2">
+                        <div class="custom-control custom-radio custom-control-inline">
+                            <div class="form-check mb-0" style="padding-left: 0 !important;"> 
+                          
+                                <div class="pro_title mb-2 mt-3" style="width: 69%;">
+                                    <div style="margin-top: -11px; display: block;">
+                                        <span style="font-weight:400;">methology</span>
+                                        <span>.</span>
+                                        <span style="font-weight:400;">department</span> 
+                                        <span>.</span>  
+                                        <span style="font-weight:400;">funding status</span> 
+                                    </div>                                             
+                                </div>
+                            </div>
+                        </div>
+                    </div>
+                </div>
+            </div> 
+        </div>
+    </div>
+ 
+
+<script>
+    $(function(){
+        // $('.select2').select2();
+        $('#modal_page_footer').hide(); 
+    });
+    </script>
+@endsection

+ 4 - 4
resources/views/modal_pages/apply_student_proposal.blade.php

@@ -26,7 +26,7 @@
                         <div class="custom-control custom-radio custom-control-inline">
                             <div class="form-check mb-0">
                                 <input class="form-check-input" type="radio" name="proposal_id" value="{{$row->id}}" id="flexRadioDefault1">
-                                <label class="form-check-label" for="flexRadioDefault1" style="font-weight: 400 !important;">({{ $row->proposal_ref}})-{{$row->title}}</label>
+                                <label class="form-check-label" for="flexRadioDefault1" style="font-weight: 400 !important; font-size: 13px;">({{ $row->proposal_ref}})-{{$row->title}}</label>
                             </div>
                         </div>
                     </div>
@@ -43,8 +43,8 @@
                 <div class="col-md-6">
                     <div class="mb-1">
                             <label class="form-label"></label>
-                        <div class="form-icon position-relative">
-                            <select name="startdate" id="start date" class="form-control frm" required="">
+                        <div class="form-icon position-relative" style="margin-top: -10px;">
+                            <select name="startdate" id="start date" class="form-control frm" required=""  style="font-size: 13px;">
                                 <option disabled="" selected="" value="">Year</option>
                                 @php
                                     $firstYear = (int)date('Y') - 20;
@@ -63,7 +63,7 @@
                 <div class="col-md-6">
                     <div class="mb-1">
                             <label class="form-label"></label>
-                        <div class="form-icon position-relative">
+                        <div class="form-icon position-relative" style="margin-top: -10px;">
                             <select name="startmonth" id="month" class="form-control frm" required="">
                                 <option disabled="" selected="" value="">Month</option>
                                 <option value="01">January</option>

+ 18 - 33
resources/views/modal_pages/view_apply_proposal.blade.php

@@ -17,10 +17,19 @@
             <!-- <p class="mb-3" style="font-size:14px;">Please select which proposal you want to send</p> -->
             <div class="alert mb-3 propose" style="padding: 0px; margin-bottom: 0px !important;">
                 <div style="width:100%;">
-                    <div class="mt-2 p-2">
+                    <div class="mt-2 p-2 ms-2">
                         <div class="custom-control custom-radio custom-control-inline">
                             <div class="form-check mb-0" style="padding-left: 0 !important;"> 
                                 <label class="form-check-label" for="flexRadioDefault1" style="font-size: 13px; font-weight: 400;">({{cn($std_proposal,'proposal.proposal_ref','')}}) - {{cn($std_proposal,'proposal.title','')}}</label>
+                                <div class="pro_title mb-2 mt-3" style="width: 69%;">
+                                    <div style="margin-top: -11px; display: block;">
+                                        <span style="font-weight:400;">methology</span>
+                                        <span>.</span>
+                                        <span style="font-weight:400;">department</span> 
+                                        <span>.</span>  
+                                        <span style="font-weight:400;">funding status</span> 
+                                    </div>                                             
+                                </div>
                             </div>
                         </div>
                     </div>
@@ -28,45 +37,21 @@
             </div> 
         </div>
     </div>
-    <div class="container">
+    <div class="container mb-2">
         <div class="col-md-12 mt-3" style="background-color:white; border-radius:6px;"> 
             <div class="row">
-                <div class="col-md-6">
-                    <div class="p-2"> 
-                        <div class="form-icon position-relative ms-1" style="font-size: 14px;">
-                            <div class="left mb-2">
-                                <div>
-                                    <div class="single_glance_row mt-1">
-                                        <span class="title" style="font-size:11px; font-weight: 600;">Methology :</span>
-                                        <span class="tbl2 ms-2">
-                                            Quantitative
-                                        </span>
-                                    </div>
-                                    <div class="single_glance_row">
-                                        <span class="title" style="font-size:11px; font-weight: 600;">Department :</span>
-                                        <span class="ms-2" style="font-size: 11px; color: #868e96;">math</span>
-                                    </div>
-                                    <div class="single_glance_row mt-1" style="display: flex;">
-                                        <span class="title" style="font-size:11px; font-weight: 600;">Application Status :</span>
-                                        <span class="ms-2" style="font-size: 11px; color: #868e96;">
-                                           21 Mar 2023
-                                        </span>
-                                    </div>                                       
-                                </div>
-                            </div> 
+                <div class="col-md-5">
+                    <div class="p-2 ms-2"> 
+                        <div class="form-icon position-relative ms-1" style="font-size: 13px;">
+                            Start Year : {{date("M", mktime(0, 0, 0, $std_proposal->start_month, 10))}} {{ $std_proposal->start_year}}
                         </div>
                     </div>
                 </div>
-            </div>
-        </div> 
-    </div>
-    <div class="container mb-2">
-        <div class="col-md-12 mt-3" style="background-color:white; border-radius:6px;"> 
-            <div class="row">
-                <div class="col-md-6">
+                <div class="col-md-6" style="text-align: end; margin-left: 3.5rem;">
                     <div class="p-2"> 
                         <div class="form-icon position-relative ms-1" style="font-size: 13px;">
-                            Start Year : {{date("M", mktime(0, 0, 0, $std_proposal->start_month, 10))}} {{ $std_proposal->start_year}}
+                           Application Status :
+                           <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">Applied</span>
                         </div>
                     </div>
                 </div>

+ 3 - 3
resources/views/teacher_profile.blade.php

@@ -428,7 +428,7 @@ tbody, td, tfoot, th, thead, tr {
                                             <div class="nav-link" style="background-color: #141639c4; border-radius: 0px !important;">
                                                 <div class="text-start py-1 px-2">
                                                     <h6 class="mb-0" style="font-size: 12px !important; font-weight:400;">Your Account Reference Number</h6>
-                                                    <h6 class="mb-0" style="font-size: 13px !important;">{{ auth_user()->ref_no }}</h6>
+                                                    <h6 class="mb-0" style="font-size: 13px !important; color: #ffbd59;">{{ auth_user()->ref_no }}</h6>
                                                 </div>
                                             </div><!--end nav link-->
                                         </li><!--end nav item-->
@@ -559,11 +559,11 @@ tbody, td, tfoot, th, thead, tr {
                                                             $years = $to->diffInYears($from);
                                                         }
                                                     @endphp
-                                                    <span class="label_badge_work">@if($years) {{$years}} years @endif</span>
+                                                    {{--<span class="label_badge_work">@if($years) {{$years}} years @endif</span>--}}
                                                 </div>
                                                 <div style="font-size: 11px; font-weight: 600; display:block;">
                                                      @if(empty($row->work_experience->end_date))
-                                                    <span>{{date('M Y', strtotime($row->work_experience->start_date))}} - continue</span>
+                                                    {{--<span>{{date('M Y', strtotime($row->work_experience->start_date))}} - continue</span>--}}
                                                     @endif 
                                                 </div>
                                             </td>