admin_profile.blade.php 99 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520
  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-register" data-bs-toggle="pill" href="#registers" role="tab" aria-controls="registers" aria-selected="false" style="width:114px;">
  613. Registered
  614. </a>
  615. </li>
  616. <li class="nav-item m-1 ms-2 tech">
  617. <a class="nav-link rounded" id="referral" data-bs-toggle="pill" href="#refer" role="tab" aria-controls="refer" aria-selected="false" style="width:114px;">
  618. Referral
  619. </a>
  620. </li>
  621. </ul>
  622. </div>
  623. <div class="col-md-12">
  624. <div class="row align-items-center">
  625. <div class="card rounded border-0 p-2" style="background-color:white;">
  626. <div class="row">
  627. <div class="tab-content" id="pills-tabContent">
  628. <div class="card border-0 tab-pane fade show active" id="registers" role="tabpanel" aria-labelledby="student-register">
  629. <div class="row align-items-center">
  630. <div class="col-md-12">
  631. <div class="table-responsive">
  632. <table class="table table-bordered list_table" style="margin: 0px;">
  633. <thead>
  634. <tr>
  635. <th>Sl</th>
  636. <th>Name</th>
  637. <th>Email</th>
  638. <th>Signed Up</th>
  639. <th class="text-center">Application</th>
  640. <th class="text-center" style="width: 12%;">Action</th>
  641. </tr>
  642. </thead>
  643. <tbody>
  644. @if(count($register_student_list) > 0)
  645. @foreach($register_student_list as $key=>$row)
  646. <tr>
  647. <td style="font-size: 11px;">{{++$key}}</td>
  648. <td style="font-size: 11px;">
  649. <div class="scrolled_content_part">
  650. <div class="single_ad_pref_item">
  651. <div class="left" style="width:50%;">
  652. <div class="uni_details" style="display:flex;">
  653. @if($row->nationality)
  654. <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">
  655. @endif
  656. <div class="inner_right ms-2 mt-1">
  657. <strong style="font-size:13px;">{{$row->first_name}} {{$row->last_name }}</strong></br>
  658. <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>
  659. <span> . </span>
  660. <span style="font-size:10px; font-weight:100 !important;">
  661. @if($row->gender=='male')
  662. Male
  663. @else
  664. Female
  665. @endif
  666. </span>
  667. </div>
  668. </div>
  669. </div>
  670. </div>
  671. </div>
  672. </td>
  673. <td style="font-size: 11px;">{{$row->email}}
  674. <div class="mt-1">
  675. @if($row->email_verification ==1)
  676. <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">verified</span>
  677. @else
  678. <span class="label_badge_radius" style="background-color: #f9edc7; color: rgb(228, 139, 38);">pending</span>
  679. @endif
  680. </div>
  681. </td>
  682. <td style="font-size: 11px;">@if(!empty($row->registered_date)){{date('d M Y h:i A', strtotime($row->registered_date))}} @else @endif</td>
  683. <td style="font-size: 11px; text-align:center;">
  684. @php
  685. $total_draft =\DB::table(
  686. 'student_proposals'
  687. )->where(
  688. 'student_id',$row->id
  689. )->where(
  690. 'proposal_submit_status',0
  691. )->where(
  692. 'draft_status',1
  693. )->count();
  694. $total_submitted =\DB::table(
  695. 'student_proposals'
  696. )->where(
  697. 'student_id',$row->id
  698. )->where(
  699. 'proposal_submit_status',1
  700. )->where(
  701. 'draft_status',0
  702. )->count();
  703. @endphp
  704. <div>
  705. <span class="label_badge_radius" style="background-color: #ffbd5978; color: #ff9a00;">
  706. @if($total_draft > 0)
  707. {{$total_draft}}
  708. @else
  709. {{'0'}}
  710. @endif
  711. </span>
  712. </div>
  713. <div class="mt-1">
  714. <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">
  715. @if($total_submitted > 0)
  716. {{$total_submitted}}
  717. @else
  718. {{'0'}}
  719. @endif
  720. </span>
  721. </div>
  722. </td>
  723. <td style="font-size: 11px; text-align:center;">
  724. <i class="fa fa-search change_pass_btn" style="font-size: 11px !important;padding: 6px 6px; background: #dedbf1;"></i>
  725. </td>
  726. </tr>
  727. @endforeach
  728. @else
  729. <tr>
  730. <td colspan="6" class="text-center">
  731. <span class="text-danger">No data found!</span>
  732. </td>
  733. </tr>
  734. @endif
  735. </tbody>
  736. </table>
  737. <div class="text-center mt-1" id="pagination">
  738. {{-- {{ $register_student_list->appends(request()->all())->links('pagination::bootstrap-4') }} --}}
  739. </div>
  740. </div>
  741. </div>
  742. </div>
  743. </div>
  744. <div class="card border-0 tab-pane fade show" id="refer" role="tabpanel" aria-labelledby="referral">
  745. <div class="row align-items-center">
  746. <div class="col-md-12">
  747. <div class="table-responsive">
  748. <table class="table table-bordered list_table" style="margin: 0px;">
  749. <thead>
  750. <tr>
  751. <th>Sl</th>
  752. <th>Name</th>
  753. <th>Email</th>
  754. <th>Reffered</th>
  755. <th>Reffered by</th>
  756. <th class="text-center">Signed up</th>
  757. </tr>
  758. </thead>
  759. <tbody>
  760. @if(count($refer_users) > 0)
  761. @foreach($refer_users as $key=>$row)
  762. <tr>
  763. <td style="font-size: 11px;">{{$key+1}}</td>
  764. <td style="font-size: 11px;">{{$row->first_name}} {{$row->last_name}}</td>
  765. <td style="font-size: 11px;">{{$row->email}}</td>
  766. <td style="font-size: 11px;">@if(!empty($row->invitation_date)){{date('y M', strtotime($row->invitation_date))}} @else @endif</td>
  767. <td style="font-size: 11px;">
  768. @php
  769. $reffered_by =\DB::table('users')->find($row->created_by);
  770. @endphp
  771. @if($reffered_by)
  772. {{ $reffered_by->first_name }} {{ $reffered_by->last_name }}
  773. @endif
  774. </td>
  775. <td style="font-size: 11px; text-align:center;">
  776. @if($row->sign_up ==1)
  777. <span class="label_badge_radius" style="background-color: #d8fdd8; color: green;">Yes</span><br>
  778. <span>{{date('y M', strtotime($row->registered_date))}}</span>
  779. @else
  780. <span class="label_badge_radius" style="background-color: #d8fdd8; color: rgb(230, 13, 13);">--</span><br>
  781. @endif
  782. </td>
  783. </tr>
  784. @endforeach
  785. @else
  786. <tr>
  787. <td colspan="6" class="text-center text-danger">No data found!</td>
  788. </tr>
  789. @endif
  790. </tbody>
  791. </table>
  792. </div>
  793. </div>
  794. </div>
  795. </div>
  796. </div>
  797. </div>
  798. </div>
  799. </div>
  800. </div>
  801. </div>
  802. </div><!--end col-->
  803. </div><!--end teb pane-->
  804. <div class="tab-pane fade p-2 rounded" id="teach" role="tabpanel" aria-labelledby="teacher">
  805. <div class="col-md-12">
  806. <div class="row">
  807. <div class="col-md-12 mb-4" style="padding: 0px; margin-top: -2.4rem; ">
  808. <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">
  809. <li class="nav-item m-1 tech">
  810. <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;">
  811. Pending
  812. </a>
  813. </li>
  814. <li class="nav-item m-1 ms-2 tech">
  815. <a class="nav-link rounded" id="registered" data-bs-toggle="pill" href="#register" role="tab" aria-controls="register" aria-selected="false" style="width:114px;">
  816. Registered
  817. </a>
  818. </li>
  819. <li class="nav-item m-1 ms-2 tech">
  820. <a class="nav-link rounded" id="wishlist" data-bs-toggle="pill" href="#list" role="tab" aria-controls="list" aria-selected="false" style="width:114px;">
  821. Wishlist
  822. </a>
  823. </li>
  824. <li class="nav-item m-1 ms-2 tech">
  825. <a class="nav-link rounded" id="invited" data-bs-toggle="pill" href="#invite" role="tab" aria-controls="sold" aria-selected="false" style="width:114px;">
  826. Invite
  827. </a>
  828. </li>
  829. </ul>
  830. </div>
  831. <div class="col-md-12">
  832. <div class="row align-items-center">
  833. <div class="col-md-12 mb-3" style="padding:0px;">
  834. <div class="card rounded border-0 p-2" style="background-color:white;">
  835. <div class="row">
  836. <div class="col-12">
  837. <div class="tab-content" id="pills-tabContent">
  838. <div class="card border-0 tab-pane fade show active" id="pend" role="tabpanel" aria-labelledby="pending">
  839. <div class="row align-items-center">
  840. <div class="col-md-12">
  841. <div id="pending_teacher_load"></div>
  842. </div><!--end col-->
  843. </div><!--end row-->
  844. </div><!--end teb pane-->
  845. <div class="card border-0 tab-pane fade" id="register" role="tabpanel" aria-labelledby="registered">
  846. <div class="row align-items-center">
  847. <div class="col-md-12">
  848. <div class="table-responsive">
  849. <table class="table table-bordered list_table" style="margin: 0px;">
  850. <thead>
  851. <tr>
  852. <th>Sl</th>
  853. <th>Name</th>
  854. <th>University Name</th>
  855. <th>Department</th>
  856. <th class="text-center">Status</th>
  857. </tr>
  858. </thead>
  859. <tbody>
  860. @if(count($register_active_teachers_list) > 0)
  861. @foreach($register_active_teachers_list as $key=>$row)
  862. <tr>
  863. <td style="font-size: 11px;">{{++$key}}</td>
  864. <td style="font-size: 11px;"><span style="font-weight: bold !important;">{{$row->first_name }} {{$row->last_name }}</span><br>
  865. <span>{{$row->designation}}</span><br>
  866. <span>{{$row->email}}</span>
  867. </td>
  868. <td style="font-size: 11px;">
  869. @if($row->university_name)
  870. {{$row->university_name}}
  871. @else
  872. {{ cn($row, 'university.name','') }}
  873. @endif
  874. <br>
  875. <span>{{$row->uni_website}}</span>
  876. </td>
  877. <td style="font-size: 11px;">
  878. @if($row->others_department)
  879. {{ $row->others_department }}
  880. @else
  881. {{ cn($row, 'department_name.name','') }}
  882. @endif
  883. </td>
  884. <td style="font-size: 11px; width: 9%;">
  885. <div class="single_glance_row mt-1" style="display: flex;">
  886. <div class="top_part_status" style="position: relative; width: fit-content; margin-left: 10px;">
  887. <span class="top_part_status_name" style="background-color: #d8fdd8; color: green;">
  888. @if($row->apply_status==1)
  889. Approved
  890. @endif
  891. @if($row->apply_status==2)
  892. Declined
  893. @endif
  894. @if($row->apply_status==3)
  895. Suspend
  896. @endif
  897. </span>
  898. <div class="dropdown" style="top: 0.4px; position: absolute; right: 9px;">
  899. <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>
  900. <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;">
  901. <a class="dropdown-item status_change" data-value="1" data-id={{$row->id}}>Approved</a>
  902. <a class="dropdown-item status_change" data-value="2" data-id={{$row->id}}>Declined</a>
  903. <a class="dropdown-item status_change" data-value="3" data-id={{$row->id}}>Suspend</a>
  904. </div>
  905. </div>
  906. </div>
  907. </div>
  908. </td>
  909. </tr>
  910. @endforeach
  911. @else
  912. <tr>
  913. <td colspan="5" class="text-center">
  914. <span class="text-danger">No data found!</span>
  915. </td>
  916. </tr>
  917. @endif
  918. </tbody>
  919. </table>
  920. </div>
  921. </div><!--end col-->
  922. </div><!--end row-->
  923. </div>
  924. <div class="card border-0 tab-pane fade" id="list" role="tabpanel" aria-labelledby="wishlist">
  925. <div class="row align-items-center">
  926. <div class="col-md-12">
  927. <div class="table-responsive">
  928. <table class="table table-bordered list_table" style="margin: 0px;">
  929. <thead>
  930. <tr>
  931. <th>Sl</th>
  932. <th>Name</th>
  933. <th>University Name</th>
  934. <th class="text-center">Invited</th>
  935. <th class="text-center">Registered</th>
  936. <th class="text-center">Invite</th>
  937. </tr>
  938. </thead>
  939. <tbody>
  940. @if(count($landing_wishlist) >0)
  941. @foreach($landing_wishlist 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;">
  945. {{ $row->first_name }} {{ $row->last_name }}
  946. </span><br>
  947. {{$row->email}}
  948. </td>
  949. <td style="font-size: 11px;">
  950. <div class="scrolled_content_part">
  951. <div class="single_ad_pref_item">
  952. <div class="left" style="width:50%;">
  953. <div class="uni_details" style="display:flex;">
  954. {{-- <div class="inner_left mt-1" style="border: 1px solid black; border-radius: 20px; padding: 9px 4px 5px 8px; height: 37px; width: 37px;">
  955. <i class="fa fa fa-university ms-1"></i>
  956. </div> --}}
  957. @if($row->nationality)
  958. <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">
  959. @endif
  960. <div class="inner_right ms-2">
  961. @if($row->university_name)
  962. <strong style="font-size:13px;">{{$row->university_name}}</strong>
  963. @else
  964. <strong style="font-size:13px;">{{ cn($row, 'university.name','') }}</strong>
  965. @endif
  966. <br>
  967. <strong style="font-size:10px !important; font-weight:100 !important;">{{$row->uni_website}}</strong>
  968. </div>
  969. </div>
  970. </div>
  971. </div>
  972. </div>
  973. </td>
  974. <td class="text-center" style="font-size: 11px;">@if(!empty($row->invitation_date)) {{ date('d M Y H:i:A', strtotime($row->invitation_date)) }} @else -- @endif</td>
  975. <td class="text-center" style="font-size: 11px;">@if(!empty($row->registered_date)) {{ date('d M Y H:i:A', strtotime($row->registered_date)) }} @else -- @endif</td>
  976. <td class="text-center" style="font-size: 11px;">
  977. <span class="invitation hand tooltips" data-id="{{ $row->id }}" data-email="{{$row->email}}" title="Sent Invitation"><i class="fa fa-paper-plane"></i></span>
  978. </td>
  979. </tr>
  980. @endforeach
  981. @else
  982. <tr>
  983. <td colspan="6" class="text-center">
  984. <span class="text-danger">No data found!</span>
  985. </td>
  986. </tr>
  987. @endif
  988. </tbody>
  989. </table>
  990. </div>
  991. </div><!--end col-->
  992. </div><!--end row-->
  993. </div>
  994. <div class="card border-0 tab-pane fade" id="invite" role="tabpanel" aria-labelledby="invited">
  995. <div class="row align-items-center">
  996. <div class="col-md-12">
  997. <div class="table-responsive">
  998. <table class="table table-bordered list_table" style="margin: 0px;">
  999. <thead>
  1000. <tr>
  1001. <th>Sl</th>
  1002. <th>Name</th>
  1003. <th>Email</th>
  1004. <th>Invited on</th>
  1005. <th>Registered</th>
  1006. {{-- <th class="text-center">Invitation</th> --}}
  1007. </tr>
  1008. </thead>
  1009. <tbody>
  1010. @if(count($invited_registered_list) >0)
  1011. @foreach($invited_registered_list as $key=>$row)
  1012. <tr>
  1013. <td style="font-size: 11px;">{{ ++$key }}</td>
  1014. <td style="font-size: 11px; width: 22%;">{{ $row->first_name }} {{ $row->last_name }}</td>
  1015. <td style="font-size: 11px; width: 30%;">
  1016. {{ $row->email }}
  1017. </td>
  1018. <td style="font-size: 11px;">@if(!empty($row->invitation_date)) {{ date('d M Y H:i:A', strtotime($row->invitation_date)) }} @else -- @endif</td>
  1019. <td style="font-size: 11px;">@if(!empty($row->registered_date)) {{ date('d M Y H:i:A', strtotime($row->registered_date)) }} @else -- @endif</td>
  1020. {{-- <td class="text-center">
  1021. @php
  1022. $user_invited_count = \DB::table('refer_users')->where('email',$row->email)->count();
  1023. @endphp
  1024. @if($user_invited_count > 1)
  1025. <span class="badge bg-secondary">
  1026. {{ $user_invited_count }}
  1027. </span>
  1028. @else
  1029. --
  1030. @endif
  1031. </td> --}}
  1032. </tr>
  1033. @endforeach
  1034. @else
  1035. <tr>
  1036. <td colspan="6" class="text-center text-danger">No data found!</td>
  1037. </tr>
  1038. @endif
  1039. </tbody>
  1040. </table>
  1041. </div>
  1042. </div><!--end col-->
  1043. </div><!--end row-->
  1044. </div>
  1045. </div><!--end tab content-->
  1046. </div><!--end col-->
  1047. </div><!--end row-->
  1048. </div>
  1049. </div><!--end col-->
  1050. </div><!--end row-->
  1051. </div><!--end col-->
  1052. </div>
  1053. </div>
  1054. </div><!--end teb pane-->
  1055. <div class="tab-pane fade p-2 rounded" id="config" role="tabpanel" aria-labelledby="configuration" style="height: 100vh;">
  1056. <div class="col-md-12">
  1057. <div class="row">
  1058. <div class="col-md-4 bg-white rounded p-2 ms-2" style="width:25%;">
  1059. <div class="row">
  1060. <div class="col-md-12">
  1061. <h6 style="padding: 13px 10px 0px; margin-bottom: 0px;">Department</h6>
  1062. <div>
  1063. <div class="form-icon position-relative p-2" style="display: flex;">
  1064. <input type="text" class="form-control" placeholder="" name="dapartment" id="dapartment" required="">
  1065. <button class="btn btn2 add_department" style="margin-left: -3.4rem; border-radius: 0px 6px 6px 0px">Add</button>
  1066. </div>
  1067. </div>
  1068. <div class="single_glance_row mt-5">
  1069. <div id="load_department"></div>
  1070. <!-- Tab -->
  1071. <div class="col-md-12 d-none">
  1072. <div id="" class="mt-2">
  1073. <div class="panel-body" style="padding:10px; background-color: #4b4c6824; border: 1px solid #e9e5e5; border-radius: 5px;">
  1074. <form method="POST" action="">
  1075. <div class="row">
  1076. <div class="col-md-12">
  1077. <div class="mb-2">
  1078. <label class="form-label config">Department</label>
  1079. <div class="form-icon position-relative">
  1080. <input type="text" class="form-control" placeholder="Department" name="department" required="" style="font-size: 13px;">
  1081. </div>
  1082. </div>
  1083. </div>
  1084. <div class="col-md-12">
  1085. <div class="text-end">
  1086. <button class="btn btn2">Update</button>
  1087. </div>
  1088. </div>
  1089. </form>
  1090. </div>
  1091. </div>
  1092. </div>
  1093. </div>
  1094. </div>
  1095. </div>
  1096. </div>
  1097. </div><!--end col-->
  1098. <div class="col-md-8 rounded ms-4">
  1099. <div class="card p-2 rounded border-0 mb-4">
  1100. <div class="destination_boxes">
  1101. <div id="load_market_countries"></div>
  1102. @foreach($market_countries as $i => $row)
  1103. <div class="box country" data-id="{{$row->country->id}}" id="country_{{$row->country->id}}">
  1104. <div class="flag_country">
  1105. <img src="{{ asset('/assets/img/flags/4x3').'/'.strtolower($row->country->iso_3166_2).'.svg' }}" alt="">
  1106. <strong style="font-size: 12px;">{{$row->country->name}}</strong>
  1107. </div>
  1108. </div>
  1109. @endforeach
  1110. <div class="box add_destination">
  1111. <div class="flag_country open_modal_page" data-title="Add Destination" data-url="{{route('modal-get',['name'=>'add_destination'])}}">
  1112. <i class="fa fa-plus" style="display: block; margin-bottom: 12px; color: #818084;"></i>
  1113. <strong style="font-size: 12px;">Add / Remove</strong>
  1114. </div>
  1115. </div>
  1116. </div>
  1117. </div>
  1118. <div class="card p-2 rounded border-0 mb-4 mt-3">
  1119. <div class="col-md-12">
  1120. <div class="text-end mt-2">
  1121. <a role="button" data-bs-toggle="collapse" data-bs-parent="#collapse" href="#collapse1" aria-expanded="true" aria-controls="collapse1">
  1122. <button type="button" class="btn btn2" data-toggle="collapse" data-target="#demo15">Add New</button>
  1123. </a>
  1124. </div>
  1125. <div class="col-md-12 mb-3">
  1126. <div id="demo15" class="collapse mt-2">
  1127. <div class="panel-body" style="padding:10px; background-color: #4b4c6824; border: 1px solid #e9e5e5; border-radius: 5px;">
  1128. <div class="row">
  1129. <div class="col-md-4">
  1130. <div class="mb-2">
  1131. <label class="form-label config">Destination</label>
  1132. <div class="form-icon position-relative">
  1133. <select name="country_id" id="country_id" class="form-control" required="" style="font-size: 13px;">
  1134. <option value="" selected disabled>Select</option>
  1135. @foreach($market_countries as $row)
  1136. <option value="{{$row->country_id}}">{{ cn($row, 'country.name','')}}</option>
  1137. @endforeach
  1138. </select>
  1139. </div>
  1140. </div>
  1141. </div>
  1142. <div class="col-md-4">
  1143. <div class="mb-2">
  1144. <label class="form-label config">University Name</label>
  1145. <div class="form-icon position-relative">
  1146. <input type="text" class="form-control" placeholder="University Name" id="university_name" name="university_name" required="" style="font-size: 13px;">
  1147. </div>
  1148. </div>
  1149. </div>
  1150. <div class="col-md-4">
  1151. <div class="mb-2">
  1152. <label class="form-label config">University Website</label>
  1153. <div class="form-icon position-relative">
  1154. <input type="text" class="form-control" placeholder="University Website" id="university_website" name="university_website" required="" style="font-size: 13px;">
  1155. </div>
  1156. </div>
  1157. </div>
  1158. </div>
  1159. <div class="row">
  1160. <div class="col-md-12">
  1161. <div class="text-end">
  1162. <button class="btn btn2" id="submit_uni">Save</button>
  1163. <a href="{{url()->current()}}" class="btn btncl"><i class="fa fa-refresh"></i></a>
  1164. </div>
  1165. </div>
  1166. </div>
  1167. </div>
  1168. </div>
  1169. </div>
  1170. </div>
  1171. {{-- Load country wise university --}}
  1172. <div id="country_wise_university"></div>
  1173. </div>
  1174. </div>
  1175. </div>
  1176. </div>
  1177. </div><!--end teb pane-->
  1178. </div><!--end tab content-->
  1179. </div><!--end col-->
  1180. </div><!--end row-->
  1181. </div><!--end container-->
  1182. </section><!--end section-->
  1183. <script src="{{asset('web/js/bootstrap.bundle.min.js')}}"></script>
  1184. <!-- tobii js -->
  1185. <script src="{{asset('web/js/tobii.min.js')}}"></script>
  1186. <!-- SLIDER -->
  1187. <script src="{{asset('web/js/tiny-slider.js')}}"></script>
  1188. <!-- Icons -->
  1189. <script src="{{asset('web/js/feather.min.js')}}"></script>
  1190. <!-- Main Js -->
  1191. <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.slim.min.js"></script>
  1192. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js"></script>
  1193. <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/11.6.15/sweetalert2.min.js"></script>
  1194. <script src="{{asset('web/js/plugins.init.js')}}"></script>
  1195. <script src="{{asset('web/js/app.js')}}"></script>
  1196. <script src="{{asset('web/js/datepicker.min.js')}}"></script>
  1197. <script src="{{asset('web/js/bootstrap.bundle.min.js')}}"></script>
  1198. <script src="{{asset('web/js/plugins.init.js')}}"></script>
  1199. <script src="{{asset('web/js/app.js')}}"></script>
  1200. <script src="{{asset('web/css/sweetalert/sweetalert.min.js')}}"></script>
  1201. {{-- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> --}}
  1202. <script src="{{ asset('css/jquery.min.js') }}"></script>
  1203. <script src="{{ asset('css/jquery-form/dist/jquery.form.min.js') }}"></script>
  1204. <script src="{{ asset('css/noty/lib/noty.min.js') }}"></script>
  1205. <script src="{{ asset('css/flatpickr/dist/flatpickr.min.js') }}"></script>
  1206. <script src="{{ asset('css/wait-me/waitMe.min.js')}}"></script>
  1207. <script src="{{ asset('/css/switch/rcswitcher.js') }}"></script>
  1208. @include('web.layouts.modal')
  1209. <script>
  1210. function fetch_sub_content(selector, url, args=null){
  1211. var config={
  1212. spinner: true
  1213. }
  1214. if(typeof args=='object'){
  1215. config=Object.assign(config, args);
  1216. }
  1217. if(config.spinner){
  1218. $(selector).waitMe({
  1219. effect: 'facebook',
  1220. text: 'Please! Wait ...'
  1221. });
  1222. }
  1223. $(selector).load(url, null, function(){
  1224. $(selector).waitMe('hide');
  1225. if(typeof args=='function') args();
  1226. });
  1227. }
  1228. function wait_me(selector, config=null){
  1229. if(config){
  1230. selector.waitMe(config);
  1231. }else{
  1232. selector.waitMe({
  1233. effect: 'facebook',
  1234. //color: '#000',
  1235. text: 'Please! Wait ...'
  1236. });
  1237. }
  1238. }
  1239. function pop_up_msg(msg='No message specified', type='success', callback=null){
  1240. new Noty({
  1241. theme:'sunset',
  1242. text: msg,
  1243. type: type,
  1244. timeout:1500,
  1245. callbacks:{
  1246. afterClose: callback
  1247. }
  1248. }).show();
  1249. }
  1250. function err_msg(err){
  1251. var msg="Request failed to process, try again later.";
  1252. if(err.responseJSON && err.responseJSON.msg){
  1253. msg=err.responseJSON.msg;
  1254. }
  1255. return msg;
  1256. }
  1257. function ajax_form(form, cllback=null, config={spinner: true}){
  1258. $('.btn-submit').prop('disabled', true);
  1259. var redirect=$(form).data('redirect');
  1260. if(typeof config=='object'){
  1261. if(config.spinner) wait_me($(form));
  1262. }
  1263. $(form).ajaxSubmit({
  1264. success:function(res){
  1265. wait_me($(form), 'hide');
  1266. if(res.msg){
  1267. pop_up_msg(res.msg, 'success', function(){
  1268. $('.btn-submit').prop('disabled', false);
  1269. if(redirect) window.location.replace(redirect);
  1270. else if(typeof cllback=='function'){
  1271. cllback(form, res);
  1272. }
  1273. });
  1274. }
  1275. //$.notify(res.msg, 'success');
  1276. },
  1277. error:function(res){
  1278. wait_me($(form), 'hide');
  1279. var msg="Request failed to process, try again later.";
  1280. if(res.responseJSON && res.responseJSON.msg){
  1281. msg=res.responseJSON.msg;
  1282. }
  1283. pop_up_msg(msg, 'error');
  1284. $('.btn-submit').prop('disabled', false);
  1285. }
  1286. });
  1287. } //End of ajax form definition
  1288. $(function(){
  1289. fetch_sub_content(
  1290. '#pending_teacher_load',
  1291. "{{ route('sub-content', ['name'=>'register_pending_teacher_load']) }}"
  1292. );
  1293. $('.status_change').on('click', function(e){
  1294. var self =$(this);
  1295. var id =$(this).data('id');
  1296. var value =$(this).data('value');
  1297. var form_data={
  1298. _token:"{{ csrf_token() }}",
  1299. 'id':id,
  1300. 'status':value
  1301. }
  1302. swal({
  1303. title: "Are you sure?",
  1304. text: "Do you want to change this status?",
  1305. type: "warning",
  1306. showCancelButton: true,
  1307. confirmButtonClass: "btn btn-md btn-success",
  1308. cancelButtonClass: 'btn btn-md btn-danger',
  1309. confirmButtonText: "Yes"
  1310. }, function(isConfirm){
  1311. if(isConfirm) {
  1312. $.post("{{ route('ajax-post', ['name'=>'teacher_user_status_change'])}}" ,form_data).done(function(res){
  1313. pop_up_msg(res.msg);
  1314. window.location.reload();
  1315. }).fail(function(error){
  1316. let msg='Sorry!, form submission failed try again later.';
  1317. if(error.responseJSON.msg){
  1318. msg=error.responseJSON.msg;
  1319. }
  1320. pop_up_msg(msg, 'error');
  1321. });
  1322. }
  1323. });
  1324. });
  1325. $('.invitation').on('click', function(e){
  1326. var self =$(this);
  1327. var id =$(this).data('id');
  1328. var send_email =$(this).data('email');
  1329. var form_data={
  1330. _token:"{{ csrf_token() }}",
  1331. 'id':id,
  1332. }
  1333. swal({
  1334. title: "Are you sure?",
  1335. text: "Do you want to send invaitation this " + send_email + "?",
  1336. type: "warning",
  1337. showCancelButton: true,
  1338. confirmButtonClass: "btn btn-md btn-success",
  1339. cancelButtonClass: 'btn btn-md btn-danger',
  1340. confirmButtonText: "Yes"
  1341. }, function(isConfirm){
  1342. if(isConfirm) {
  1343. $.post("{{ route('ajax-post', ['name'=>'landing_invitation_email_send'])}}" ,form_data).done(function(res){
  1344. pop_up_msg(res.msg);
  1345. }).fail(function(error){
  1346. let msg='Sorry!, form submission failed try again later.';
  1347. if(error.responseJSON.msg){
  1348. msg=error.responseJSON.msg;
  1349. }
  1350. pop_up_msg(msg, 'error');
  1351. });
  1352. }
  1353. });
  1354. });
  1355. fetch_sub_content(
  1356. '#country_wise_university',
  1357. "{{ route('sub-content', ['name'=>'country_wise_university']) }}"
  1358. );
  1359. $('#submit_uni').on('click', function(){
  1360. var country_id =$('#country_id option:selected').val();
  1361. var university_name =$('#university_name').val();
  1362. var university_website =$('#university_website').val();
  1363. var form_data={
  1364. _token: "{{ csrf_token() }}",
  1365. country_id: country_id,
  1366. university_name: university_name,
  1367. university_website: university_website,
  1368. }
  1369. $.post("{{ route('ajax-post', ['name'=>'add_country_wise_uni']) }}", form_data, function(res){
  1370. pop_up_msg(res.msg);
  1371. fetch_sub_content(
  1372. '#country_wise_university',
  1373. "{{ route('sub-content', ['name'=>'country_wise_university']) }}"
  1374. );
  1375. }).fail(function(err){
  1376. pop_up_msg(err_msg(err), 'error');
  1377. });
  1378. });
  1379. fetch_sub_content(
  1380. '#load_department',
  1381. "{{ route('sub-content', ['name'=>'load_department']) }}"
  1382. );
  1383. $('.add_department').on('click', function(){
  1384. var dapartment =$('#dapartment').val();
  1385. var form_data={
  1386. _token: "{{ csrf_token() }}",
  1387. dapartment: dapartment,
  1388. }
  1389. $.post("{{ route('ajax-post', ['name'=>'add_department']) }}", form_data, function(res){
  1390. pop_up_msg(res.msg);
  1391. fetch_sub_content(
  1392. '#load_department',
  1393. "{{ route('sub-content', ['name'=>'load_department']) }}"
  1394. );
  1395. }).fail(function(err){
  1396. pop_up_msg(err_msg(err), 'error');
  1397. });
  1398. });
  1399. });
  1400. </script>
  1401. </body>
  1402. </html>