admin_profile.blade.php 109 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Research Admission</title>
  6. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  7. <meta name="description" content="Information & Guidance on the PhD Process, Connect with Supervisor and Many" />
  8. <meta name="keywords" content="" />
  9. <!-- facebook tags -->
  10. <meta property="og:url" content="http://www.facebook.com/researchadmission"/>
  11. <meta property="og:type" content="website"/>
  12. <meta property="og:title" content="Research Admission"/>
  13. <meta property="og:description" content="Information & Guidance on the PhD Process, Connect with Supervisor and Many"/>
  14. <!-- Linkedin tags -->
  15. <meta property="og:url" content="https://www.linkedin.com/company/researchadmission"/>
  16. <meta property="og:type" content="website"/>
  17. <meta property="og:title" content="Research Admission"/>
  18. <meta property="og:description" content="Information & Guidance on the PhD Process, Connect with Supervisor and Many"/>
  19. <!-- favicon -->
  20. <link rel="shortcut icon" href="{{asset('web/images/logo.png') }}">
  21. <!-- Bootstrap -->
  22. <link href="{{ asset('web/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
  23. <!-- tobii css -->
  24. <link href="{{asset('web/css/tobii.min.css')}}" rel="stylesheet" type="text/css" />
  25. <!-- Icons -->
  26. <link href="{{asset('web/css/materialdesignicons.min.css')}}" rel="stylesheet" type="text/css" />
  27. <link rel="stylesheet" type="text/css" href="{{ asset('web/stylesheets/font-awesome.min.css') }}" />
  28. <link rel="stylesheet" href="https://unicons.iconscout.com/release/v3.0.6/css/line.css">
  29. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
  30. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/11.6.15/sweetalert2.min.css">
  31. <!-- Slider -->
  32. <link rel="stylesheet" href="{{asset('web/css/tiny-slider.css')}}"/>
  33. <!-- Main Css -->
  34. <link href="{{asset('web/css/style.css')}}" rel="stylesheet" type="text/css" id="theme-opt" />
  35. <link href="{{asset('web/css/colors/default.css')}}" rel="stylesheet" id="color-opt">
  36. <link rel="preconnect" href="https://fonts.googleapis.com">
  37. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  38. <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&display=swap" rel="stylesheet">
  39. <link rel="preconnect" href="https://fonts.googleapis.com">
  40. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  41. <link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap" rel="stylesheet">
  42. <link rel="preconnect" href="https://fonts.googleapis.com">
  43. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  44. <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300&display=swap" rel="stylesheet">
  45. <link rel="stylesheet" href="{{asset('web/css/datepicker.min.css')}}">
  46. <link rel="stylesheet" href="{{asset('web/css/sweetalert/sweetalert.css')}}">
  47. {{-- Ajax Form Submit --}}
  48. <link href="{{ asset('css/noty/lib/noty.css') }}" rel="stylesheet" type="text/css">
  49. <link href="{{ asset('css/noty/lib/themes/sunset.css') }}" rel="stylesheet" type="text/css">
  50. <link href="{{ asset('css/flatpickr/dist/flatpickr.min.css') }}" rel="stylesheet" type="text/css">
  51. <link href="{{ asset('css/wait-me/waitMe.min.css')}}" rel="stylesheet" type="text/css">
  52. <link rel="stylesheet" href="{{ asset('/css/switch/rcswitcher.css') }}">
  53. <link rel="stylesheet" href="{{ asset('/css/pretty-checkbox/pretty-checkbox.min.css') }}">
  54. </head>
  55. <style>
  56. body {
  57. font-family: 'Oswald', sans-serif;
  58. font-family: 'Quicksand', sans-serif;
  59. }
  60. h1, h2, h3, h4, h5, h6 {
  61. font-family: 'Oswald', sans-serif;
  62. font-family: 'Quicksand', sans-serif;
  63. }
  64. .bg-half-170 {
  65. padding:0px;
  66. }
  67. .bg-primary, .btn-primary, .btn-soft-primary:hover, .btn-soft-primary:focus, .btn-soft-primary:active, .btn-soft-primary.active, .btn-soft-primary.focus, .btn-outline-primary:hover, .btn-outline-primary:focus, .btn-outline-primary:active, .btn-outline-primary.active, .btn-outline-primary.focus, .btn-outline-primary:not(:disabled):not(.disabled):active, .pagination .page-item.active .page-link, .nav-pills .nav-link.active, #preloader #status .spinner .double-bounce1, #preloader #status .spinner .double-bounce2, .social-icon li a:hover, #topnav .navbar-toggle.open span:hover, .bg-animation-left.crypto-home:after, .bg-animation-left.task-management-home:after, .classic-app-image .bg-app-shape:after, .classic-saas-image .bg-saas-shape:after, .swiper-slider-hero .swiper-container .swiper-button-prev:hover, .features.fea-primary:hover, .tns-nav button.tns-nav-active, .ribbon.ribbon-primary span, .sidebar .widget .tagcloud > a:hover, .work-container.work-modern .icons .work-icon:hover, .timeline-page .timeline-item .date-label-left:after, .timeline-page .timeline-item .duration-right:after, #navmenu-nav li.account-menu.active .navbar-link, #navmenu-nav li.account-menu:hover .navbar-link, .form-check-input.form-check-input:checked, .qs-datepicker-container .qs-squares .qs-square:not(.qs-empty):not(.qs-disabled):not(.qs-day):not(.qs-active):hover, .qs-datepicker-container .qs-squares .qs-square.qs-current, .carousel-indicators [data-bs-target], .carousel-indicators .active, .tns-controls button[data-controls="prev"]:hover, .tns-controls button[data-controls="next"]:hover, .back-to-top {
  68. background-color: #4b4c68 !important;
  69. color: white!important;
  70. border-color: #4b4c68 !important;
  71. }
  72. .form-check-input.form-check-input:focus {
  73. border-color: #4b4c68 !important;
  74. color: white!important;
  75. }
  76. .nav-pills .nav-link{
  77. color: white !important;
  78. border-radius: 0px !important;
  79. }
  80. .nav-pills {
  81. margin-bottom: 0px;
  82. background:none;
  83. }
  84. .logo {
  85. font-weight: 700;
  86. font-size: 24px;
  87. margin-right: 0px;
  88. padding: 0 0 6px;
  89. letter-spacing: 1px;
  90. line-height: 68px;
  91. }
  92. a {
  93. text-decoration: none !important;
  94. }
  95. .table {
  96. width: 100%;
  97. color: #6e6b7b;
  98. }
  99. .list_table thead tr th {
  100. font-size: 12px;
  101. font-weight: 700;
  102. background-color: #16183f69;
  103. text-transform: capitalize;
  104. color: #ffff;
  105. }
  106. .list_table thead tr th {
  107. padding: 11px 6px 10px!important;
  108. }
  109. .list_table .institute_info {
  110. display: flex !important;
  111. }
  112. .list_table .institute_info .left {
  113. width: 37px;
  114. align-self: center;
  115. }
  116. .list_table .institute_info .left .fa {
  117. background: #f1f0fb;
  118. padding: 10px;
  119. border-radius: 100%;
  120. font-size: 14px;
  121. color: #2e1153;
  122. }
  123. tbody, td, tfoot, th, thead, tr {
  124. border-color: inherit;
  125. border-style: dashed;
  126. border-width: 0;
  127. }
  128. .change_pass_btn {
  129. margin-top: 0;
  130. color: #ffff;
  131. border: 1px solid #9f9fa169;
  132. border-radius: 50%;
  133. padding: 8px 8px;
  134. margin-right: 0;
  135. background: #16183f69;
  136. font-size: 15px!important;
  137. }
  138. .change_pass_btn:hover {
  139. color: #ff7f00;
  140. transition: all 1s cubic-bezier(0.19, 1, 0.22, 1) 0s;
  141. border: 1px solid #ff7f00 !important;
  142. }
  143. .icon_bar {
  144. width: fit-content;
  145. overflow: auto;
  146. border-radius: 0.25rem;
  147. padding: 2px 4px;
  148. margin: 0 auto;
  149. border: 0.5px solid #d8e2e7;
  150. }
  151. .icon_bar a {
  152. text-align: center;
  153. padding: 0;
  154. color: #818084;
  155. font-size: 16px;
  156. margin: 0 3px;
  157. border-bottom: none;
  158. top: 0;
  159. }
  160. .label_badge_radius {
  161. color: #2e1153;
  162. border-radius: 20px;
  163. padding: 1px 10px;
  164. font-size: 10px;
  165. line-height: 1.3;
  166. letter-spacing: .2px;
  167. font-weight: 600;
  168. /* background-image: linear-gradient(to right, rgb(46 17 83 / 19%), rgb(245, 244, 253)); */
  169. }
  170. .label_badge_no {
  171. color: red;
  172. border-radius: 20px;
  173. padding: 1px 10px;
  174. font-size: 11px;
  175. line-height: 1.3;
  176. letter-spacing: .2px;
  177. font-weight: 600;
  178. background-color:#ffecee;
  179. }
  180. .label_badge_gpa {
  181. color: #00b4d8;
  182. border-radius: 20px;
  183. padding: 1px 10px;
  184. font-size: 11px;
  185. line-height: 1.3;
  186. letter-spacing: .2px;
  187. font-weight: 600;
  188. background-color:#e2edff;
  189. }
  190. .label_badge_work {
  191. color: #10bd77;
  192. border-radius: 20px;
  193. padding: 1px 10px;
  194. font-size: 11px;
  195. line-height: 1.3;
  196. letter-spacing: .2px;
  197. font-weight: 600;
  198. background-color:#dffff2;;
  199. }
  200. .ms-5 {
  201. margin-left: 2.4rem!important;
  202. }
  203. .btncl{
  204. padding: 2px 6px;
  205. color: #ffffff !important;
  206. background-color: #ffc107 !important;
  207. border-radius: 30px;
  208. }
  209. .btncl:hover {
  210. background-color: #ffffff !important;
  211. border-color: #ffc107 !important;
  212. color: #ffc107 !important;
  213. }
  214. .btn2{
  215. background-color: #141639c4 !important;
  216. color:white !important;
  217. border-radius: 20px;
  218. box-shadow:none !important;
  219. padding:3px 13px !important;
  220. font-size:13px;
  221. }
  222. .btn2:hover{
  223. background: #fff !important;
  224. color: #141639c4 !important;
  225. border-radius: 20px;
  226. border-color: #2e1153!important;
  227. }
  228. .top_part_status_name {
  229. border-radius: 20px;
  230. padding: 1px 22px 1px 10px;
  231. font-size: 10px;
  232. font-weight: 400;
  233. line-height: 1.3;
  234. letter-spacing: .2px;
  235. top: 0;
  236. position: relative;
  237. width: fit-content;
  238. display: flex;
  239. }
  240. .top_part_status .dropdown .dropdown-menu.show .dropdown-item:first-child {
  241. border-top-left-radius: 0.25rem;
  242. border-top-right-radius: 0.25rem;
  243. }
  244. .top_part_status .dropdown .dropdown-menu.show .dropdown-item:hover {
  245. background: #2e1153;
  246. color: #fff !important;
  247. }
  248. .dropdown-menu {
  249. display: none;
  250. float: left;
  251. min-width:5rem;
  252. padding: 0.5rem 0;
  253. margin: 0.125rem 0 0;
  254. color: #212529;
  255. text-align: left;
  256. list-style: none;
  257. background-color: #fff;
  258. background-clip: padding-box;
  259. border: 1px solid rgba(0,0,0,.15);
  260. border-radius: 0.25rem;
  261. font-size: 11px;
  262. background-color: #dedbf1;
  263. }
  264. .dropdown-item {
  265. display: block;
  266. width: 100%;
  267. clear: both;
  268. font-weight: 400;
  269. text-align: inherit;
  270. white-space: nowrap;
  271. background: 0 0;
  272. border: 0;
  273. padding: 4px 12px;
  274. }
  275. .site-header {
  276. position: fixed;
  277. top: 0;
  278. left: 0;
  279. width: 100%;
  280. height: auto;
  281. max-height: 80px;
  282. background: #fff;
  283. padding: 0px 15px 0 0;
  284. z-index: 80;
  285. }
  286. .sidebar-wrapper .sidebar-menu ul li a {
  287. display: inline-block;
  288. width: 100%;
  289. text-decoration: none;
  290. position: relative;
  291. padding:7px 15px 7px 20px;
  292. }
  293. .sidebar-wrapper .sidebar-menu ul li:hover>a{
  294. background-color: #4b4c68 !important;
  295. color:white;
  296. border-radius: 0px !important
  297. }
  298. .tech{
  299. border-bottom: 2px solid #4b4c68;
  300. }
  301. .single_glance_row {
  302. background-color: rgb(255 255 255);
  303. font-size: 12px !important;
  304. margin: 0 !important;
  305. border: none;
  306. border-radius: 0;
  307. padding: 8px 10px;
  308. color: #343434;
  309. font-size: 1rem;
  310. }
  311. .top_part_status_name {
  312. border-radius: 20px;
  313. padding: 1px 22px 1px 10px;
  314. font-size: 10px;
  315. font-weight: 400;
  316. line-height: 1.3;
  317. letter-spacing: .2px;
  318. top: 0;
  319. position: relative;
  320. width: fit-content;
  321. display: flex;
  322. }
  323. .destination_boxes {
  324. display: flex;
  325. flex-flow: wrap;
  326. padding: 12px 12px 0;
  327. margin-bottom: 20px;
  328. }
  329. .destination_boxes .box {
  330. width: 100px;
  331. height: 100px;
  332. border-radius: 0.25rem;
  333. text-align: center;
  334. margin: 0 15px 15px 0;
  335. border: solid 1px #d8e2e7;
  336. cursor: pointer;
  337. display: flex;
  338. align-items: center;
  339. justify-content: center;
  340. }
  341. .destination_boxes .box .flag_country {
  342. line-height: 15px;
  343. }
  344. .destination_boxes .box .flag_country img {
  345. width: 25px;
  346. height: 25px;
  347. border-radius: 100%;
  348. display: block;
  349. margin: 0 auto;
  350. margin-bottom: 4px;
  351. }
  352. .destination_boxes .box:hover {
  353. background: #dfe2e6;
  354. transition: 1s;
  355. }
  356. .btn1{
  357. background-color: #141639c4 !important;
  358. color:white !important;
  359. border-radius: 20px;
  360. box-shadow:none !important;
  361. }
  362. .btn1:hover{
  363. background: #ffff !important;
  364. color: #141639c4 !important;
  365. border-radius: 20px;
  366. border: 1px solid #141639c4;
  367. }
  368. .config{
  369. font-size: 13px;
  370. font-weight: 600;
  371. color: black;
  372. }
  373. .icon-view{
  374. padding: 5px 5px;
  375. background: #dedbf1;
  376. color: #826aa0;
  377. border-radius: 16px;
  378. font-size: 13px;
  379. }
  380. .span{
  381. color: black !important;
  382. }
  383. .table{
  384. color: black !important;
  385. }
  386. </style>
  387. <body>
  388. <header id="" class="site-header">
  389. <div class="container-fluid">
  390. <div class="row">
  391. <div class="col-lg-12">
  392. <nav class="mt-2 header-navbar navbar-expand-lg navbar-fixed align-items-center navbar-brand-center">
  393. <div class="navbar-container d-flex content">
  394. <div class="col-md-10">
  395. <div class="d-flex align-items-center">
  396. <ul class="nav navbar-nav mr-auto header_left">
  397. <li class="nav-item d-flex">
  398. <div class="col md-6 mt-1 mb-1" style="margin-left: 10px;">
  399. <a class="logo" href="index.html">
  400. <h3 style="font-family:Ubuntu !important; color: #3c4858 !important; font-size: 30px !important;">Research Admission</h3>
  401. </a>
  402. </div>
  403. </li>
  404. </ul>
  405. </div>
  406. </div>
  407. <div class="col-md-2" style="display:flex; justify-content: end;">
  408. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
  409. <li class="nav-item dropdown dropdown-notification">
  410. <a href="javascript:void(0)" class="open_modal_page" data-url="{{route('modal-get',['name'=>'teacher_invited','id'=>auth_user('admin')->id])}}" data-title="Invite">
  411. <button class="btn btn2" style="padding: 6px 10px !important;">New lead</button>
  412. </a>
  413. </li>
  414. </ul>
  415. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-3">
  416. <li class="nav-item dropdown dropdown-notification">
  417. <a href="">
  418. <i class="fa fa-bell change_pass_btn"></i>
  419. </a>
  420. </li>
  421. </ul>
  422. <!-- <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
  423. <li class="nav-item dropdown dropdown-notification">
  424. <a href="">
  425. <i class="fa fa-cog change_pass_btn"></i>
  426. </a>
  427. </li>
  428. </ul> -->
  429. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-1">
  430. <li class="nav-item dropdown dropdown-notification">
  431. <a href="">
  432. <h5 class="change_pass_btn" style="height: 33px; margin-top: 7px; padding: 5px 8px;">IZ</h5>
  433. </a>
  434. </li>
  435. </ul>
  436. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
  437. <li class="nav-item dropdown dropdown-notification">
  438. <a href="{{url('admin-logout')}}"
  439. onclick="event.preventDefault();
  440. document.getElementById('logout-form').submit();">
  441. <i class="fa fa-sign-out change_pass_btn"></i>
  442. </a>
  443. <form id="logout-form" action="{{url('admin-logout')}}" method="POST" class="d-none">
  444. @csrf
  445. </form>
  446. </li>
  447. </ul>
  448. </div>
  449. </div>
  450. </nav>
  451. </div>
  452. </div>
  453. </div>
  454. </header>
  455. <section class="bg-half-170 d-table w-100 it-home" style="background-color: #efefef; height:100vh;">
  456. <div class="container-fluid">
  457. <div class="row">
  458. <div class="col-md-2" style="padding:0px;">
  459. <nav class="sidebar-wrapper" id="sidebar" style="background-color: #141639 !important; width: 16.6%; height: 100%; position: fixed; overflow-y: hidden; top: 65px;">
  460. <div class="sidebar-content" style="height: calc(100vh - 75px);">
  461. <div class="sidebar-menu" style="padding-bottom: 110px; height: 100vh;">
  462. <ul class="nav nav-pills nav-justified flex-column mb-0" id="pills-tab" role="tablist">
  463. <li class="nav-item" style="margin-top: 35px;">
  464. <a class="nav-link active" id="dashboard" data-bs-toggle="pill" href="#dash" role="tab" aria-controls="dash" aria-selected="false">
  465. <div class="text-start py-1 px-2" style="display:flex;">
  466. <i class="fa fa-graduation-cap ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  467. <h6 class="mb-0" style="margin-left: 6px; font-size: 13px !important;">Dashboard</h6>
  468. </div>
  469. </a><!--end nav link-->
  470. </li><!--end nav item-->
  471. <li class="nav-item">
  472. <a class="nav-link rounded" id="application" data-bs-toggle="pill" href="#applic" role="tab" aria-controls="applic" aria-selected="false">
  473. <div class="text-start py-1 px-2" style="display:flex;">
  474. <i class="fa fa-user ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  475. <h6 class="mb-0" style="margin-left: 10px; font-size: 13px !important;">Applications</h6>
  476. </div>
  477. </a><!--end nav link-->
  478. </li><!--end nav item-->
  479. <li class="nav-item">
  480. <a class="nav-link rounded" id="student" data-bs-toggle="pill" href="#stnd" role="tab" aria-controls="stnd" aria-selected="false">
  481. <div class="text-start py-1 px-2" style="display:flex;">
  482. <i class="fa fa-home ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  483. <h6 class="mb-0" style="margin-left: 6px; font-size: 13px !important;">Students</h6>
  484. </div>
  485. </a><!--end nav link-->
  486. </li><!--end nav item-->
  487. <li class="nav-item">
  488. <a class="nav-link rounded" id="teacher" data-bs-toggle="pill" href="#teach" role="tab" aria-controls="teach" aria-selected="false">
  489. <div class="text-start py-1 px-2" style="display:flex;">
  490. <i class="fa fa-home ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  491. <h6 class="mb-0" style="margin-left: 6px; font-size: 13px !important;">Teachers</h6>
  492. </div>
  493. </a><!--end nav link-->
  494. </li><!--end nav item-->
  495. <li class="nav-item">
  496. <a class="nav-link rounded" id="configuration" data-bs-toggle="pill" href="#config" role="tab" aria-controls="configuration" aria-selected="false">
  497. <div class="text-start py-1 px-2" style="display:flex;">
  498. <i class="fa fa-home ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  499. <h6 class="mb-0" style="margin-left: 6px; font-size: 13px !important;">Configuration</h6>
  500. </div>
  501. </a><!--end nav link-->
  502. </li><!--end nav item-->
  503. </ul><!--end nav pills-->
  504. </div>
  505. </div>
  506. </nav>
  507. </div><!--end col-->
  508. <div class="col-md-10 col-12 mt-5 pt-5" style="padding:1rem;">
  509. <div class="tab-content" id="pills-tabContent">
  510. <div class="tab-pane fade show active p-2 rounded" id="dash" role="tabpanel" aria-labelledby="dashboard" style="height: 100vh;">
  511. <h6>Dashboard</h6>
  512. </div><!--end teb pane-->
  513. <div class="tab-pane fade p-2 rounded" id="applic" role="tabpanel" aria-labelledby="application" style="height: 100vh;">
  514. <div class="col-md-12 bg-white p-2">
  515. <div class="table-responsive">
  516. <table class="table table-bordered list_table" style="margin: 0px;">
  517. <thead>
  518. <tr>
  519. <th>Sl</th>
  520. <th>Student Information</th>
  521. <th>Teacher Information</th>
  522. <th>Proposal Summary</th>
  523. <th>Applied on</th>
  524. <th>Status</th>
  525. </tr>
  526. </thead>
  527. <tbody>
  528. @if(count($application) > 0)
  529. @foreach($application as $key=>$row)
  530. <tr>
  531. <td style="font-size: 11px;">{{++$key}}</td>
  532. <td style="font-size: 11px;">
  533. <div style="font-size: 11px; font-weight: 600; color: black;">
  534. <span>{{cn($row,'student_details.first_name','')}} . {{cn($row,'student_details.last_name','')}}</span>
  535. </div>
  536. <div style="font-size: 11px;">
  537. <span>{{cn($row,'student_details.country_name.name','')}}</span>
  538. </div>
  539. <div style="font-size: 11px;">
  540. <span style="color: black;">@if(!empty($row->student_details->dob)){{date('d M Y', strtotime(cn($row,'student_details.dob','')))}} @else @endif</span>
  541. </div>
  542. </td>
  543. <td style="font-size: 11px;">
  544. <div style="font-size: 11px; font-weight: 600; color: black;">
  545. <span>{{cn($row,'teacher_details.first_name','')}} . {{cn($row,'teacher_details.last_name','')}}</span>
  546. </div>
  547. <div style="font-size: 11px;">
  548. <span>{{cn($row,'teacher_details.designation','')}}</span>
  549. <span>.</span>
  550. @if(isset($row->teacher_details->others_department))
  551. <span style="color: black;">{{cn($row,'teacher_details.others_department','')}}</span>
  552. @else
  553. <span style="color: black;">{{cn($row,'teacher_details.department_name.name','')}}</span>
  554. @endif
  555. </div>
  556. <div style="font-size: 11px;">
  557. @if($row->teacher_details->university_name)
  558. <span style="color: black;">{{cn($row,'teacher_details.university_name','')}}</span>
  559. @else
  560. <span style="color: black;">{{cn($row,'teacher_details.university.name','')}}</span>
  561. @endif
  562. </div>
  563. </td>
  564. <td style="font-size: 11px;">
  565. <div style="font-size: 11px; font-weight: 600; color: black;">
  566. <span>({{cn($row,'proposal.proposal_ref','')}}) - {{cn($row,'proposal.title','')}}</span>
  567. </div>
  568. <div style="font-size: 11px;">
  569. <span>{{cn($row,'proposal.methology','')}}</span>
  570. <span>.</span>
  571. <span style="color: black;"> {{cn($row,'proposal.department.name','')}}</span>
  572. <span>.</span>
  573. <span style="color: black;">{{cn($row,'proposal.status','')}}</span>
  574. </div>
  575. </td>
  576. <td style="font-size: 11px;">@if(!empty($row->created_at)){{date('d M Y', strtotime($row->created_at))}} @endif</td>
  577. <td style="font-size: 11px;">
  578. @if($row->proposal_status==2)
  579. Reviewing
  580. @endif
  581. @if($row->proposal_status==3)
  582. Push
  583. @endif
  584. @if($row->proposal_status==4)
  585. Hold
  586. @endif
  587. @if($row->proposal_status==5)
  588. Interested
  589. @endif
  590. @if($row->proposal_status==6)
  591. Rejected
  592. @endif
  593. </td>
  594. </tr>
  595. @endforeach
  596. @else
  597. <tr>
  598. <td colspan="6" class="text-center text-danger">No data found!</td>
  599. </tr>
  600. @endif
  601. </tbody>
  602. </table>
  603. </div>
  604. </div><!--end col-->
  605. </div><!--end teb pane-->
  606. <div class="tab-pane fade p-2 rounded" id="stnd" role="tabpanel" aria-labelledby="students">
  607. <div class="col-md-12">
  608. <div class="row">
  609. <div class="col-md-12 mb-4" style="padding: 0px; margin-top: -2.4rem; ">
  610. <ul class="nav nav-pills flex-column flex-sm-row d-md-inline-flex nav-justified mb-0 rounded-top position-relative overflow-hidden" id="pills-tab" role="tablist">
  611. <li class="nav-item m-1 ms-2 tech">
  612. <a class="nav-link active rounded" id="student-pending" data-bs-toggle="pill" href="#student_pending" role="tab" aria-controls="student_pending" aria-selected="false" style="width:114px;">
  613. Pending
  614. </a>
  615. </li>
  616. <li class="nav-item m-1 ms-2 tech">
  617. <a class="nav-link rounded" id="student-register" data-bs-toggle="pill" href="#registers" role="tab" aria-controls="registers" aria-selected="false" style="width:114px;">
  618. Registered
  619. </a>
  620. </li>
  621. <li class="nav-item m-1 ms-2 tech">
  622. <a class="nav-link rounded" id="referral" data-bs-toggle="pill" href="#refer" role="tab" aria-controls="refer" aria-selected="false" style="width:114px;">
  623. Referral
  624. </a>
  625. </li>
  626. </ul>
  627. </div>
  628. <div class="col-md-12">
  629. <div class="row align-items-center">
  630. <div class="card rounded border-0 p-2" style="background-color:white;">
  631. <div class="row">
  632. <div class="tab-content" id="pills-tabContent">
  633. <div class="card border-0 tab-pane fade show active" id="student_pending" role="tabpanel" aria-labelledby="student-pending">
  634. <div class="row align-items-center">
  635. <div class="col-md-12">
  636. <div class="table-responsive">
  637. <table class="table table-bordered list_table" style="margin: 0px;">
  638. <thead>
  639. <tr>
  640. <th>Sl</th>
  641. <th>Name</th>
  642. <th>Supervisor Name</th>
  643. <th>Invited</th>
  644. </tr>
  645. </thead>
  646. <tbody>
  647. @if(count($pending_student_list) > 0)
  648. @foreach($pending_student_list as $key=>$row)
  649. <tr>
  650. <td style="font-size: 11px;">{{++$key}}</td>
  651. <td style="font-size: 11px;">
  652. <div class="scrolled_content_part">
  653. <div class="single_ad_pref_item">
  654. <div class="left" style="width:50%;">
  655. <div class="uni_details" style="display:flex;">
  656. {{-- @if($row->nationality)
  657. <img class="img-responsive listFlag" style="border-radius: 20px; padding: 0px;height: 35px;width: 35px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($row,'country_name.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
  658. @endif --}}
  659. <div class="inner_right ms-2 mt-1">
  660. <strong style="font-size:13px;">{{$row->first_name}} {{$row->last_name }}</strong></br>
  661. <span style="font-size: 11px;">{{$row->email}}</span>
  662. </div>
  663. </div>
  664. </div>
  665. </div>
  666. </div>
  667. </td>
  668. <td style="font-size: 11px;">
  669. <div class="mt-1">
  670. <strong style="font-size:13px;">{{ cn($row,'wishlist_teacher.first_name','')}} {{ cn($row,'wishlist_teacher.last_name','')}}</strong><br>
  671. <span style="font-size:12px; font-weight:400;"> {{cn($row,'wishlist_teacher.designation','')}} </span> <br>
  672. @if(isset($row->wishlist_teacher->others_department))
  673. <span style="font-size:12px; font-weight:400;">{{cn($row,'wishlist_teacher.others_department','')}}</span>
  674. @else
  675. <span style="font-size:12px; font-weight:400;"> {{cn($row,'wishlist_teacher.department_name.name','')}}</span>
  676. @endif
  677. <span> • </span>
  678. @if(isset($row->wishlist_teacher->university_name))
  679. <span style="font-size:12px; font-weight:400;">{{ cn($row,'wishlist_teacher.university_name','')}}</span>
  680. @else
  681. <span style="font-size:12px; font-weight:400;"> {{ $row->wishlist_teacher->university->name ?? ''}}</span>
  682. @endif
  683. </div>
  684. </td>
  685. <td style="font-size: 11px;">
  686. <div class="mt-1">
  687. @if(!empty($row->invitation_date)){{utc_to_ltz($row->invitation_date, 'd M Y g:i A', local_tz($admin))}} @else @endif
  688. </div>
  689. </td>
  690. </tr>
  691. @endforeach
  692. @else
  693. <tr>
  694. <td colspan="3" class="text-center">
  695. <span class="text-danger">No data found!</span>
  696. </td>
  697. </tr>
  698. @endif
  699. </tbody>
  700. </table>
  701. <div class="text-center mt-1" id="pagination">
  702. {{-- {{ $register_student_list->appends(request()->all())->links('pagination::bootstrap-4') }} --}}
  703. </div>
  704. </div>
  705. </div>
  706. </div>
  707. </div>
  708. <div class="card border-0 tab-pane fade show" id="registers" role="tabpanel" aria-labelledby="student-register">
  709. <div class="row align-items-center">
  710. <div class="col-md-12">
  711. <div class="table-responsive">
  712. <table class="table table-bordered list_table" style="margin: 0px;">
  713. <thead>
  714. <tr>
  715. <th>Sl</th>
  716. <th>Name</th>
  717. <th>Email</th>
  718. <th>Signed Up</th>
  719. <th class="text-center">Application</th>
  720. <th class="text-center" style="width: 12%;">Action</th>
  721. </tr>
  722. </thead>
  723. <tbody>
  724. @if(count($register_student_list) > 0)
  725. @foreach($register_student_list as $key=>$row)
  726. <tr>
  727. <td style="font-size: 11px;">{{++$key}}</td>
  728. <td style="font-size: 11px;">
  729. <div class="scrolled_content_part">
  730. <div class="single_ad_pref_item">
  731. <div class="left" style="width:50%;">
  732. <div class="uni_details" style="display:flex;">
  733. @if($row->nationality)
  734. <img class="img-responsive listFlag" style="border-radius: 20px; padding: 0px;height: 35px;width: 35px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($row,'country_name.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
  735. @endif
  736. <div class="inner_right ms-2 mt-1">
  737. <strong style="font-size:13px;">{{$row->first_name}} {{$row->last_name }}</strong></br>
  738. <strong style="font-size:10px !important; font-weight:100 !important;"><i class="fa fa-birthday-cake" style="color: #908f8f;"></i><span class="ms-1">@if($row->dob){{date('d M Y',strtotime($row->dob))}} @endif</span></strong>
  739. <span> . </span>
  740. <span style="font-size:10px; font-weight:100 !important;">
  741. @if($row->gender=='male')
  742. Male
  743. @else
  744. Female
  745. @endif
  746. </span>
  747. </div>
  748. </div>
  749. </div>
  750. </div>
  751. </div>
  752. </td>
  753. <td style="font-size: 11px;">{{$row->email}}
  754. <div class="mt-1">
  755. @if($row->email_verification ==1)
  756. <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">verified</span>
  757. @else
  758. <span class="label_badge_radius" style="background-color: #f9edc7; color: rgb(228, 139, 38);">pending</span>
  759. @endif
  760. </div>
  761. </td>
  762. <td style="font-size: 11px;">@if(!empty($row->registered_date)){{utc_to_ltz($row->registered_date, 'd M Y g:i A', local_tz($admin))}} @else @endif</td>
  763. <td style="font-size: 11px; text-align:center;">
  764. @php
  765. $total_draft =\DB::table(
  766. 'student_proposals'
  767. )->where(
  768. 'student_id',$row->id
  769. )->where(
  770. 'proposal_submit_status',0
  771. )->where(
  772. 'draft_status',1
  773. )->count();
  774. $total_submitted =\DB::table(
  775. 'student_proposals'
  776. )->where(
  777. 'student_id',$row->id
  778. )->where(
  779. 'proposal_submit_status',1
  780. )->where(
  781. 'draft_status',0
  782. )->count();
  783. @endphp
  784. <div>
  785. <span class="label_badge_radius" style="background-color: #ffbd5978; color: #ff9a00;">
  786. @if($total_draft > 0)
  787. {{$total_draft}}
  788. @else
  789. {{'0'}}
  790. @endif
  791. </span>
  792. </div>
  793. <div class="mt-1">
  794. <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">
  795. @if($total_submitted > 0)
  796. {{$total_submitted}}
  797. @else
  798. {{'0'}}
  799. @endif
  800. </span>
  801. </div>
  802. </td>
  803. <td style="font-size: 11px; text-align:center;">
  804. <i class="fa fa-search change_pass_btn" style="font-size: 11px !important;padding: 6px 6px; background: #dedbf1;"></i>
  805. </td>
  806. </tr>
  807. @endforeach
  808. @else
  809. <tr>
  810. <td colspan="6" class="text-center">
  811. <span class="text-danger">No data found!</span>
  812. </td>
  813. </tr>
  814. @endif
  815. </tbody>
  816. </table>
  817. <div class="text-center mt-1" id="pagination">
  818. {{-- {{ $register_student_list->appends(request()->all())->links('pagination::bootstrap-4') }} --}}
  819. </div>
  820. </div>
  821. </div>
  822. </div>
  823. </div>
  824. <div class="card border-0 tab-pane fade show" id="refer" role="tabpanel" aria-labelledby="referral">
  825. <div class="row align-items-center">
  826. <div class="col-md-12">
  827. <div class="table-responsive">
  828. <table class="table table-bordered list_table" style="margin: 0px;">
  829. <thead>
  830. <tr>
  831. <th>Sl</th>
  832. <th>Name</th>
  833. <th>Email</th>
  834. <th>Reffered</th>
  835. <th>Reffered by</th>
  836. <th class="text-center">Signed up</th>
  837. </tr>
  838. </thead>
  839. <tbody>
  840. @if(count($refer_users) > 0)
  841. @foreach($refer_users as $key=>$row)
  842. <tr>
  843. <td style="font-size: 11px;">{{$key+1}}</td>
  844. <td style="font-size: 11px;">{{$row->first_name}} {{$row->last_name}}</td>
  845. <td style="font-size: 11px;">{{$row->email}}</td>
  846. <td style="font-size: 11px;">@if(!empty($row->invitation_date)){{date('y M', strtotime($row->invitation_date))}} @else @endif</td>
  847. <td style="font-size: 11px;">
  848. @php
  849. $reffered_by =\DB::table('users')->find($row->created_by);
  850. @endphp
  851. @if($reffered_by)
  852. {{ $reffered_by->first_name }} {{ $reffered_by->last_name }}
  853. @endif
  854. </td>
  855. <td style="font-size: 11px; text-align:center;">
  856. @if($row->sign_up ==1)
  857. <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">Yes</span><br>
  858. <span>{{date('y M', strtotime($row->registered_date))}}</span>
  859. @else
  860. <span class="label_badge_radius" style="background-color: #d8fdd8; color: rgb(230, 13, 13);">--</span><br>
  861. @endif
  862. </td>
  863. </tr>
  864. @endforeach
  865. @else
  866. <tr>
  867. <td colspan="6" class="text-center text-danger">No data found!</td>
  868. </tr>
  869. @endif
  870. </tbody>
  871. </table>
  872. </div>
  873. </div>
  874. </div>
  875. </div>
  876. </div>
  877. </div>
  878. </div>
  879. </div>
  880. </div>
  881. </div>
  882. </div><!--end col-->
  883. </div><!--end teb pane-->
  884. <div class="tab-pane fade p-2 rounded" id="teach" role="tabpanel" aria-labelledby="teacher">
  885. <div class="col-md-12">
  886. <div class="row">
  887. <div class="col-md-12 mb-4" style="padding: 0px; margin-top: -2.4rem; ">
  888. <ul class="nav nav-pills flex-column flex-sm-row d-md-inline-flex nav-justified mb-0 rounded-top position-relative overflow-hidden" id="pills-tab" role="tablist">
  889. <li class="nav-item m-1 tech">
  890. <a class="nav-link active rounded" id="pending" data-bs-toggle="pill" href="#pend" role="tab" aria-controls="pend" aria-selected="false" style="width:100px;">
  891. Pending
  892. </a>
  893. </li>
  894. <li class="nav-item m-1 ms-2 tech">
  895. <a class="nav-link rounded" id="registered" data-bs-toggle="pill" href="#register" role="tab" aria-controls="register" aria-selected="false" style="width:114px;">
  896. Registered
  897. </a>
  898. </li>
  899. <li class="nav-item m-1 ms-2 tech">
  900. <a class="nav-link rounded" id="wishlist" data-bs-toggle="pill" href="#list" role="tab" aria-controls="list" aria-selected="false" style="width:114px;">
  901. Wishlist
  902. </a>
  903. </li>
  904. <li class="nav-item m-1 ms-2 tech">
  905. <a class="nav-link rounded" id="invited" data-bs-toggle="pill" href="#invite" role="tab" aria-controls="sold" aria-selected="false" style="width:114px;">
  906. Invite
  907. </a>
  908. </li>
  909. </ul>
  910. </div>
  911. <div class="col-md-12">
  912. <div class="row align-items-center">
  913. <div class="col-md-12 mb-3" style="padding:0px;">
  914. <div class="card rounded border-0 p-2" style="background-color:white;">
  915. <div class="row">
  916. <div class="col-12">
  917. <div class="tab-content" id="pills-tabContent">
  918. <div class="card border-0 tab-pane fade show active" id="pend" role="tabpanel" aria-labelledby="pending">
  919. <div class="row align-items-center">
  920. <div class="col-md-12">
  921. <div id="pending_teacher_load"></div>
  922. </div><!--end col-->
  923. </div><!--end row-->
  924. </div><!--end teb pane-->
  925. <div class="card border-0 tab-pane fade" id="register" role="tabpanel" aria-labelledby="registered">
  926. <div class="row align-items-center">
  927. <div class="col-md-12">
  928. <div class="table-responsive">
  929. <table class="table table-bordered list_table" style="margin: 0px;">
  930. <thead>
  931. <tr>
  932. <th>Sl</th>
  933. <th>Name</th>
  934. <th>University Name</th>
  935. <th>Department</th>
  936. <th class="text-center">Status</th>
  937. </tr>
  938. </thead>
  939. <tbody>
  940. @if(count($register_active_teachers_list) > 0)
  941. @foreach($register_active_teachers_list as $key=>$row)
  942. <tr>
  943. <td style="font-size: 11px;">{{++$key}}</td>
  944. <td style="font-size: 11px;"><span style="font-weight: bold !important;">{{$row->first_name }} {{$row->last_name }}</span><br>
  945. <span>{{$row->designation}}</span><br>
  946. <span>{{$row->email}}</span>
  947. </td>
  948. <td style="font-size: 11px;">
  949. @if($row->university_name)
  950. {{$row->university_name}}
  951. @else
  952. {{ cn($row, 'university.name','') }}
  953. @endif
  954. <br>
  955. <span>{{$row->uni_website}}</span>
  956. </td>
  957. <td style="font-size: 11px;">
  958. @if($row->others_department)
  959. {{ $row->others_department }}
  960. @else
  961. {{ cn($row, 'department_name.name','') }}
  962. @endif
  963. <br>
  964. @if($row->last_logged_at)
  965. <span style="color: #808080;">
  966. Last Login :
  967. </span>
  968. <span style="color: #808080;">
  969. {{utc_to_ltz($row->last_logged_at, 'd M Y g:i A', local_tz($admin))}}
  970. </span>
  971. @endif
  972. </td>
  973. <td style="font-size: 11px; width: 9%;">
  974. <div class="single_glance_row mt-1" style="display: flex;">
  975. <div class="top_part_status" style="position: relative; width: fit-content; margin-left: 10px;">
  976. <span class="top_part_status_name" style="background-color: #d8fdd8; color: green;">
  977. @if($row->apply_status==1)
  978. Approved
  979. @endif
  980. @if($row->apply_status==2)
  981. Declined
  982. @endif
  983. @if($row->apply_status==3)
  984. Suspend
  985. @endif
  986. </span>
  987. <div class="dropdown" style="top: 0.4px; position: absolute; right: 9px;">
  988. <i class="fa fa-caret-down dropdown-toggle add_hover tooltips" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true" data-original-title="Change Status" style="color: #8c9094;"></i>
  989. <div class="dropdown-menu" aria-labelledby="dropdownMenuButton" x-placement="bottom-start" style="position: absolute; transform: translate3d(10px, 13px, 0px); top: 0px; left: 0px; will-change: transform; margin-left: -75px; z-index: 2; margin-top: 10px;">
  990. <a class="dropdown-item status_change" data-value="1" data-id={{$row->id}}>Approved</a>
  991. <a class="dropdown-item status_change" data-value="2" data-id={{$row->id}}>Declined</a>
  992. <a class="dropdown-item status_change" data-value="3" data-id={{$row->id}}>Suspend</a>
  993. </div>
  994. </div>
  995. </div>
  996. </div>
  997. </td>
  998. </tr>
  999. @endforeach
  1000. @else
  1001. <tr>
  1002. <td colspan="5" class="text-center">
  1003. <span class="text-danger">No data found!</span>
  1004. </td>
  1005. </tr>
  1006. @endif
  1007. </tbody>
  1008. </table>
  1009. </div>
  1010. </div><!--end col-->
  1011. </div><!--end row-->
  1012. </div>
  1013. <div class="card border-0 tab-pane fade" id="list" role="tabpanel" aria-labelledby="wishlist">
  1014. <div class="row align-items-center">
  1015. <div class="col-md-12">
  1016. <div class="table-responsive">
  1017. <table class="table table-bordered list_table" style="margin: 0px;">
  1018. <thead>
  1019. <tr>
  1020. <th>Sl</th>
  1021. <th>Name</th>
  1022. <th>University Name</th>
  1023. <th class="text-center">Invited</th>
  1024. <th class="text-center">Registered</th>
  1025. <th class="text-center">Invite</th>
  1026. </tr>
  1027. </thead>
  1028. <tbody>
  1029. @if(count($landing_wishlist) >0)
  1030. @foreach($landing_wishlist as $key=>$row)
  1031. <tr>
  1032. <td style="font-size: 11px;">{{++$key}}</td>
  1033. <td style="font-size: 11px;"><span style="font-weight: bold !important;">
  1034. {{ $row->first_name }} {{ $row->last_name }}
  1035. </span><br>
  1036. {{$row->email}}
  1037. </td>
  1038. <td style="font-size: 11px;">
  1039. <div class="scrolled_content_part">
  1040. <div class="single_ad_pref_item">
  1041. <div class="left" style="width:50%;">
  1042. <div class="uni_details" style="display:flex;">
  1043. {{-- <div class="inner_left mt-1" style="border: 1px solid black; border-radius: 20px; padding: 9px 4px 5px 8px; height: 37px; width: 37px;">
  1044. <i class="fa fa fa-university ms-1"></i>
  1045. </div> --}}
  1046. @if($row->nationality)
  1047. <img class="img-responsive listFlag" style="border-radius: 20px; padding: 0px;height: 35px;width: 35px;" src="{{ asset('/assets/img/flags/4x3').'/'.strtolower(cn($row,'country_name.iso_3166_2','')).'.svg' }}" alt="Flag" data-toggle="tooltip" title="" data-placement="top">
  1048. @endif
  1049. <div class="inner_right ms-2">
  1050. @if($row->university_name)
  1051. <strong style="font-size:13px;">{{$row->university_name}}</strong>
  1052. @else
  1053. <strong style="font-size:13px;">{{ cn($row, 'university.name','') }}</strong>
  1054. @endif
  1055. <br>
  1056. <strong style="font-size:10px !important; font-weight:100 !important;">{{$row->uni_website}}</strong>
  1057. </div>
  1058. </div>
  1059. </div>
  1060. </div>
  1061. </div>
  1062. </td>
  1063. <td class="text-center" style="font-size: 11px;">@if(!empty($row->invitation_date)) {{utc_to_ltz($row->invitation_date, 'd M Y g:i A', local_tz($admin))}} @else -- @endif</td>
  1064. <td class="text-center" style="font-size: 11px;">@if(!empty($row->registered_date)) {{utc_to_ltz($row->registered_date, 'd M Y g:i A', local_tz($admin))}} @else -- @endif</td>
  1065. <td class="text-center" style="font-size: 11px;">
  1066. <span class="invitation hand tooltips" data-id="{{ $row->id }}" data-email="{{$row->email}}" title="Sent Invitation"><i class="fa fa-paper-plane"></i></span>
  1067. </td>
  1068. </tr>
  1069. @endforeach
  1070. @else
  1071. <tr>
  1072. <td colspan="6" class="text-center">
  1073. <span class="text-danger">No data found!</span>
  1074. </td>
  1075. </tr>
  1076. @endif
  1077. </tbody>
  1078. </table>
  1079. </div>
  1080. </div><!--end col-->
  1081. </div><!--end row-->
  1082. </div>
  1083. <div class="card border-0 tab-pane fade" id="invite" role="tabpanel" aria-labelledby="invited">
  1084. <div class="row align-items-center">
  1085. <div class="col-md-12">
  1086. <div class="table-responsive">
  1087. <table class="table table-bordered list_table" style="margin: 0px;">
  1088. <thead>
  1089. <tr>
  1090. <th>Sl</th>
  1091. <th>Name</th>
  1092. <th>Email</th>
  1093. <th>Invited on</th>
  1094. <th>Registered</th>
  1095. {{-- <th class="text-center">Invitation</th> --}}
  1096. </tr>
  1097. </thead>
  1098. <tbody>
  1099. @if(count($invited_registered_list) >0)
  1100. @foreach($invited_registered_list as $key=>$row)
  1101. <tr>
  1102. <td style="font-size: 11px;">{{ ++$key }}</td>
  1103. <td style="font-size: 11px; width: 22%;">{{ $row->first_name }} {{ $row->last_name }}</td>
  1104. <td style="font-size: 11px; width: 30%;">
  1105. {{ $row->email }}
  1106. </td>
  1107. <td style="font-size: 11px;">@if(!empty($row->invitation_date)) {{utc_to_ltz($row->invitation_date, 'd M Y g:i A', local_tz($admin))}} @else -- @endif</td>
  1108. <td style="font-size: 11px;">@if(!empty($row->registered_date)) {{utc_to_ltz($row->registered_date, 'd M Y g:i A', local_tz($admin))}} @else -- @endif</td>
  1109. {{-- <td class="text-center">
  1110. @php
  1111. $user_invited_count = \DB::table('refer_users')->where('email',$row->email)->count();
  1112. @endphp
  1113. @if($user_invited_count > 1)
  1114. <span class="badge bg-secondary">
  1115. {{ $user_invited_count }}
  1116. </span>
  1117. @else
  1118. --
  1119. @endif
  1120. </td> --}}
  1121. </tr>
  1122. @endforeach
  1123. @else
  1124. <tr>
  1125. <td colspan="6" class="text-center text-danger">No data found!</td>
  1126. </tr>
  1127. @endif
  1128. </tbody>
  1129. </table>
  1130. </div>
  1131. </div><!--end col-->
  1132. </div><!--end row-->
  1133. </div>
  1134. </div><!--end tab content-->
  1135. </div><!--end col-->
  1136. </div><!--end row-->
  1137. </div>
  1138. </div><!--end col-->
  1139. </div><!--end row-->
  1140. </div><!--end col-->
  1141. </div>
  1142. </div>
  1143. </div><!--end teb pane-->
  1144. <div class="tab-pane fade p-2 rounded" id="config" role="tabpanel" aria-labelledby="configuration" style="height: 100vh;">
  1145. <div class="col-md-12">
  1146. <div class="row">
  1147. <div class="col-md-4 bg-white rounded p-2 ms-2" style="width:25%;">
  1148. <div class="row">
  1149. <div class="col-md-12">
  1150. <h6 style="padding: 13px 10px 0px; margin-bottom: 0px;">Department</h6>
  1151. <div>
  1152. <div class="form-icon position-relative p-2" style="display: flex;">
  1153. <input type="text" class="form-control" placeholder="" name="dapartment" id="dapartment" required="">
  1154. <button class="btn btn2 add_department" style="margin-left: -3.4rem; border-radius: 0px 6px 6px 0px">Add</button>
  1155. </div>
  1156. </div>
  1157. <div class="single_glance_row mt-5">
  1158. <div id="load_department"></div>
  1159. <!-- Tab -->
  1160. <div class="col-md-12 d-none">
  1161. <div id="" class="mt-2">
  1162. <div class="panel-body" style="padding:10px; background-color: #4b4c6824; border: 1px solid #e9e5e5; border-radius: 5px;">
  1163. <form method="POST" action="">
  1164. <div class="row">
  1165. <div class="col-md-12">
  1166. <div class="mb-2">
  1167. <label class="form-label config">Department</label>
  1168. <div class="form-icon position-relative">
  1169. <input type="text" class="form-control" placeholder="Department" name="department" required="" style="font-size: 13px;">
  1170. </div>
  1171. </div>
  1172. </div>
  1173. <div class="col-md-12">
  1174. <div class="text-end">
  1175. <button class="btn btn2">Update</button>
  1176. </div>
  1177. </div>
  1178. </form>
  1179. </div>
  1180. </div>
  1181. </div>
  1182. </div>
  1183. </div>
  1184. </div>
  1185. </div>
  1186. </div><!--end col-->
  1187. <div class="col-md-8 rounded ms-4">
  1188. <div class="card p-2 rounded border-0 mb-4">
  1189. <div class="destination_boxes">
  1190. <div id="load_market_countries"></div>
  1191. @foreach($market_countries as $i => $row)
  1192. <div class="box country" data-id="{{$row->country->id}}" id="country_{{$row->country->id}}">
  1193. <div class="flag_country">
  1194. <img src="{{ asset('/assets/img/flags/4x3').'/'.strtolower($row->country->iso_3166_2).'.svg' }}" alt="">
  1195. <strong style="font-size: 12px;">{{$row->country->name}}</strong>
  1196. </div>
  1197. </div>
  1198. @endforeach
  1199. <div class="box add_destination">
  1200. <div class="flag_country open_modal_page" data-title="Add Destination" data-url="{{route('modal-get',['name'=>'add_destination'])}}">
  1201. <i class="fa fa-plus" style="display: block; margin-bottom: 12px; color: #818084;"></i>
  1202. <strong style="font-size: 12px;">Add / Remove</strong>
  1203. </div>
  1204. </div>
  1205. </div>
  1206. </div>
  1207. <div class="card p-2 rounded border-0 mb-4 mt-3">
  1208. <div class="col-md-12">
  1209. <div class="text-end mt-2">
  1210. <a role="button" data-bs-toggle="collapse" data-bs-parent="#collapse" href="#collapse1" aria-expanded="true" aria-controls="collapse1">
  1211. <button type="button" class="btn btn2" data-toggle="collapse" data-target="#demo15">Add New</button>
  1212. </a>
  1213. </div>
  1214. <div class="col-md-12 mb-3">
  1215. <div id="demo15" class="collapse mt-2">
  1216. <div class="panel-body" style="padding:10px; background-color: #4b4c6824; border: 1px solid #e9e5e5; border-radius: 5px;">
  1217. <div class="row">
  1218. <div class="col-md-4">
  1219. <div class="mb-2">
  1220. <label class="form-label config">Destination</label>
  1221. <div class="form-icon position-relative">
  1222. <select name="country_id" id="country_id" class="form-control" required="" style="font-size: 13px;">
  1223. <option value="" selected disabled>Select</option>
  1224. @foreach($market_countries as $row)
  1225. <option value="{{$row->country_id}}">{{ cn($row, 'country.name','')}}</option>
  1226. @endforeach
  1227. </select>
  1228. </div>
  1229. </div>
  1230. </div>
  1231. <div class="col-md-4">
  1232. <div class="mb-2">
  1233. <label class="form-label config">University Name</label>
  1234. <div class="form-icon position-relative">
  1235. <input type="text" class="form-control" placeholder="University Name" id="university_name" name="university_name" required="" style="font-size: 13px;">
  1236. </div>
  1237. </div>
  1238. </div>
  1239. <div class="col-md-4">
  1240. <div class="mb-2">
  1241. <label class="form-label config">University Website</label>
  1242. <div class="form-icon position-relative">
  1243. <input type="text" class="form-control" placeholder="University Website" id="university_website" name="university_website" required="" style="font-size: 13px;">
  1244. </div>
  1245. </div>
  1246. </div>
  1247. </div>
  1248. <div class="row">
  1249. <div class="col-md-12">
  1250. <div class="text-end">
  1251. <button class="btn btn2" id="submit_uni">Save</button>
  1252. <a href="{{url()->current()}}" class="btn btncl"><i class="fa fa-refresh"></i></a>
  1253. </div>
  1254. </div>
  1255. </div>
  1256. </div>
  1257. </div>
  1258. </div>
  1259. </div>
  1260. {{-- Load country wise university --}}
  1261. <div id="country_wise_university"></div>
  1262. </div>
  1263. </div>
  1264. </div>
  1265. </div>
  1266. </div><!--end teb pane-->
  1267. </div><!--end tab content-->
  1268. </div><!--end col-->
  1269. </div><!--end row-->
  1270. </div><!--end container-->
  1271. </section><!--end section-->
  1272. <script src="{{asset('web/js/bootstrap.bundle.min.js')}}"></script>
  1273. <!-- tobii js -->
  1274. <script src="{{asset('web/js/tobii.min.js')}}"></script>
  1275. <!-- SLIDER -->
  1276. <script src="{{asset('web/js/tiny-slider.js')}}"></script>
  1277. <!-- Icons -->
  1278. <script src="{{asset('web/js/feather.min.js')}}"></script>
  1279. <!-- Main Js -->
  1280. <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.slim.min.js"></script>
  1281. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js"></script>
  1282. <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/11.6.15/sweetalert2.min.js"></script>
  1283. <script src="{{asset('web/js/plugins.init.js')}}"></script>
  1284. <script src="{{asset('web/js/app.js')}}"></script>
  1285. <script src="{{asset('web/js/datepicker.min.js')}}"></script>
  1286. <script src="{{asset('web/js/bootstrap.bundle.min.js')}}"></script>
  1287. <script src="{{asset('web/js/plugins.init.js')}}"></script>
  1288. <script src="{{asset('web/js/app.js')}}"></script>
  1289. <script src="{{asset('web/css/sweetalert/sweetalert.min.js')}}"></script>
  1290. {{-- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> --}}
  1291. <script src="{{ asset('css/jquery.min.js') }}"></script>
  1292. <script src="{{ asset('css/jquery-form/dist/jquery.form.min.js') }}"></script>
  1293. <script src="{{ asset('css/noty/lib/noty.min.js') }}"></script>
  1294. <script src="{{ asset('css/flatpickr/dist/flatpickr.min.js') }}"></script>
  1295. <script src="{{ asset('css/wait-me/waitMe.min.js')}}"></script>
  1296. <script src="{{ asset('/css/switch/rcswitcher.js') }}"></script>
  1297. @include('web.layouts.modal')
  1298. <script>
  1299. function fetch_sub_content(selector, url, args=null){
  1300. var config={
  1301. spinner: true
  1302. }
  1303. if(typeof args=='object'){
  1304. config=Object.assign(config, args);
  1305. }
  1306. if(config.spinner){
  1307. $(selector).waitMe({
  1308. effect: 'facebook',
  1309. text: 'Please! Wait ...'
  1310. });
  1311. }
  1312. $(selector).load(url, null, function(){
  1313. $(selector).waitMe('hide');
  1314. if(typeof args=='function') args();
  1315. });
  1316. }
  1317. function wait_me(selector, config=null){
  1318. if(config){
  1319. selector.waitMe(config);
  1320. }else{
  1321. selector.waitMe({
  1322. effect: 'facebook',
  1323. //color: '#000',
  1324. text: 'Please! Wait ...'
  1325. });
  1326. }
  1327. }
  1328. function pop_up_msg(msg='No message specified', type='success', callback=null){
  1329. new Noty({
  1330. theme:'sunset',
  1331. text: msg,
  1332. type: type,
  1333. timeout:1500,
  1334. callbacks:{
  1335. afterClose: callback
  1336. }
  1337. }).show();
  1338. }
  1339. function err_msg(err){
  1340. var msg="Request failed to process, try again later.";
  1341. if(err.responseJSON && err.responseJSON.msg){
  1342. msg=err.responseJSON.msg;
  1343. }
  1344. return msg;
  1345. }
  1346. function ajax_form(form, cllback=null, config={spinner: true}){
  1347. $('.btn-submit').prop('disabled', true);
  1348. var redirect=$(form).data('redirect');
  1349. if(typeof config=='object'){
  1350. if(config.spinner) wait_me($(form));
  1351. }
  1352. $(form).ajaxSubmit({
  1353. success:function(res){
  1354. wait_me($(form), 'hide');
  1355. if(res.msg){
  1356. pop_up_msg(res.msg, 'success', function(){
  1357. $('.btn-submit').prop('disabled', false);
  1358. if(redirect) window.location.replace(redirect);
  1359. else if(typeof cllback=='function'){
  1360. cllback(form, res);
  1361. }
  1362. });
  1363. }
  1364. //$.notify(res.msg, 'success');
  1365. },
  1366. error:function(res){
  1367. wait_me($(form), 'hide');
  1368. var msg="Request failed to process, try again later.";
  1369. if(res.responseJSON && res.responseJSON.msg){
  1370. msg=res.responseJSON.msg;
  1371. }
  1372. pop_up_msg(msg, 'error');
  1373. $('.btn-submit').prop('disabled', false);
  1374. }
  1375. });
  1376. } //End of ajax form definition
  1377. $(function(){
  1378. fetch_sub_content(
  1379. '#pending_teacher_load',
  1380. "{{ route('sub-content', ['name'=>'register_pending_teacher_load']) }}"
  1381. );
  1382. $('.status_change').on('click', function(e){
  1383. var self =$(this);
  1384. var id =$(this).data('id');
  1385. var value =$(this).data('value');
  1386. var form_data={
  1387. _token:"{{ csrf_token() }}",
  1388. 'id':id,
  1389. 'status':value
  1390. }
  1391. swal({
  1392. title: "Are you sure?",
  1393. text: "Do you want to change this status?",
  1394. type: "warning",
  1395. showCancelButton: true,
  1396. confirmButtonClass: "btn btn-md btn-success",
  1397. cancelButtonClass: 'btn btn-md btn-danger',
  1398. confirmButtonText: "Yes"
  1399. }, function(isConfirm){
  1400. if(isConfirm) {
  1401. $.post("{{ route('ajax-post', ['name'=>'teacher_user_status_change'])}}" ,form_data).done(function(res){
  1402. pop_up_msg(res.msg);
  1403. window.location.reload();
  1404. }).fail(function(error){
  1405. let msg='Sorry!, form submission failed try again later.';
  1406. if(error.responseJSON.msg){
  1407. msg=error.responseJSON.msg;
  1408. }
  1409. pop_up_msg(msg, 'error');
  1410. });
  1411. }
  1412. });
  1413. });
  1414. $('.invitation').on('click', function(e){
  1415. var self =$(this);
  1416. var id =$(this).data('id');
  1417. var send_email =$(this).data('email');
  1418. var form_data={
  1419. _token:"{{ csrf_token() }}",
  1420. 'id':id,
  1421. }
  1422. swal({
  1423. title: "Are you sure?",
  1424. text: "Do you want to send invaitation this " + send_email + "?",
  1425. type: "warning",
  1426. showCancelButton: true,
  1427. confirmButtonClass: "btn btn-md btn-success",
  1428. cancelButtonClass: 'btn btn-md btn-danger',
  1429. confirmButtonText: "Yes"
  1430. }, function(isConfirm){
  1431. if(isConfirm) {
  1432. $.post("{{ route('ajax-post', ['name'=>'landing_invitation_email_send'])}}" ,form_data).done(function(res){
  1433. pop_up_msg(res.msg);
  1434. }).fail(function(error){
  1435. let msg='Sorry!, form submission failed try again later.';
  1436. if(error.responseJSON.msg){
  1437. msg=error.responseJSON.msg;
  1438. }
  1439. pop_up_msg(msg, 'error');
  1440. });
  1441. }
  1442. });
  1443. });
  1444. fetch_sub_content(
  1445. '#country_wise_university',
  1446. "{{ route('sub-content', ['name'=>'country_wise_university']) }}"
  1447. );
  1448. $('#submit_uni').on('click', function(){
  1449. var country_id =$('#country_id option:selected').val();
  1450. var university_name =$('#university_name').val();
  1451. var university_website =$('#university_website').val();
  1452. var form_data={
  1453. _token: "{{ csrf_token() }}",
  1454. country_id: country_id,
  1455. university_name: university_name,
  1456. university_website: university_website,
  1457. }
  1458. $.post("{{ route('ajax-post', ['name'=>'add_country_wise_uni']) }}", form_data, function(res){
  1459. pop_up_msg(res.msg);
  1460. fetch_sub_content(
  1461. '#country_wise_university',
  1462. "{{ route('sub-content', ['name'=>'country_wise_university']) }}"
  1463. );
  1464. }).fail(function(err){
  1465. pop_up_msg(err_msg(err), 'error');
  1466. });
  1467. });
  1468. fetch_sub_content(
  1469. '#load_department',
  1470. "{{ route('sub-content', ['name'=>'load_department']) }}"
  1471. );
  1472. $('.add_department').on('click', function(){
  1473. var dapartment =$('#dapartment').val();
  1474. var form_data={
  1475. _token: "{{ csrf_token() }}",
  1476. dapartment: dapartment,
  1477. }
  1478. $.post("{{ route('ajax-post', ['name'=>'add_department']) }}", form_data, function(res){
  1479. pop_up_msg(res.msg);
  1480. fetch_sub_content(
  1481. '#load_department',
  1482. "{{ route('sub-content', ['name'=>'load_department']) }}"
  1483. );
  1484. }).fail(function(err){
  1485. pop_up_msg(err_msg(err), 'error');
  1486. });
  1487. });
  1488. });
  1489. </script>
  1490. </body>
  1491. </html>