admin_profile.blade.php 45 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768
  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. </head>
  53. <style>
  54. body {
  55. font-family: 'Oswald', sans-serif;
  56. font-family: 'Quicksand', sans-serif;
  57. }
  58. h1, h2, h3, h4, h5, h6 {
  59. font-family: 'Oswald', sans-serif;
  60. font-family: 'Quicksand', sans-serif;
  61. }
  62. .bg-half-170 {
  63. padding:0px;
  64. }
  65. .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 {
  66. background-color: #4b4c68 !important;
  67. color: white!important;
  68. border-radius:0px !important;
  69. }
  70. .nav-pills .nav-link{
  71. color: white !important;
  72. }
  73. .nav-pills {
  74. margin-bottom: 0px;
  75. background:none;
  76. }
  77. .logo {
  78. font-weight: 700;
  79. font-size: 24px;
  80. margin-right: 0px;
  81. padding: 0 0 6px;
  82. letter-spacing: 1px;
  83. line-height: 68px;
  84. }
  85. a {
  86. text-decoration: none !important;
  87. }
  88. .table {
  89. width: 100%;
  90. color: #6e6b7b;
  91. }
  92. .list_table thead tr th {
  93. font-size: 12px;
  94. font-weight: 700;
  95. background-color: #16183f69;
  96. text-transform: capitalize;
  97. color: #ffff;
  98. }
  99. .list_table thead tr th {
  100. padding: 11px 6px 10px!important;
  101. }
  102. .list_table .institute_info {
  103. display: flex !important;
  104. }
  105. .list_table .institute_info .left {
  106. width: 37px;
  107. align-self: center;
  108. }
  109. .list_table .institute_info .left .fa {
  110. background: #f1f0fb;
  111. padding: 10px;
  112. border-radius: 100%;
  113. font-size: 14px;
  114. color: #2e1153;
  115. }
  116. tbody, td, tfoot, th, thead, tr {
  117. border-color: inherit;
  118. border-style: dashed;
  119. border-width: 0;
  120. }
  121. .change_pass_btn {
  122. margin-top: 0;
  123. color: #ffff;
  124. border: 1px solid #9f9fa169;
  125. border-radius: 50%;
  126. padding: 8px 8px;
  127. margin-right: 0;
  128. background: #16183f69;
  129. font-size: 15px!important;
  130. }
  131. .icon_bar {
  132. width: fit-content;
  133. overflow: auto;
  134. border-radius: 0.25rem;
  135. padding: 2px 4px;
  136. margin: 0 auto;
  137. border: 0.5px solid #d8e2e7;
  138. }
  139. .icon_bar a {
  140. text-align: center;
  141. padding: 0;
  142. color: #818084;
  143. font-size: 16px;
  144. margin: 0 3px;
  145. border-bottom: none;
  146. top: 0;
  147. }
  148. .label_badge_radius {
  149. color: #2e1153;
  150. border-radius: 20px;
  151. padding: 1px 10px;
  152. font-size: 10px;
  153. line-height: 1.3;
  154. letter-spacing: .2px;
  155. font-weight: 600;
  156. background-image: linear-gradient(to right, rgb(46 17 83 / 19%), rgb(245, 244, 253));
  157. }
  158. .label_badge_no {
  159. color: red;
  160. border-radius: 20px;
  161. padding: 1px 10px;
  162. font-size: 11px;
  163. line-height: 1.3;
  164. letter-spacing: .2px;
  165. font-weight: 600;
  166. background-color:#ffecee;
  167. }
  168. .label_badge_gpa {
  169. color: #00b4d8;
  170. border-radius: 20px;
  171. padding: 1px 10px;
  172. font-size: 11px;
  173. line-height: 1.3;
  174. letter-spacing: .2px;
  175. font-weight: 600;
  176. background-color:#e2edff;
  177. }
  178. .label_badge_work {
  179. color: #10bd77;
  180. border-radius: 20px;
  181. padding: 1px 10px;
  182. font-size: 11px;
  183. line-height: 1.3;
  184. letter-spacing: .2px;
  185. font-weight: 600;
  186. background-color:#dffff2;;
  187. }
  188. .ms-5 {
  189. margin-left: 2.4rem!important;
  190. }
  191. .btncl{
  192. padding: 2px 6px;
  193. color: #ffffff !important;
  194. background-color: #ffc107 !important;
  195. border-radius: 30px;
  196. }
  197. .btncl:hover {
  198. background-color: #ffffff !important;
  199. border-color: #ffc107 !important;
  200. color: #ffc107 !important;
  201. }
  202. .btn2{
  203. background-color: #141639c4 !important;
  204. color:white !important;
  205. border-radius: 20px;
  206. box-shadow:none !important;
  207. padding:3px 13px !important;
  208. font-size:13px;
  209. }
  210. .btn2:hover{
  211. background: #fff !important;
  212. color: #141639c4 !important;
  213. border-radius: 20px;
  214. border-color: #2e1153!important;
  215. }
  216. .top_part_status_name {
  217. border-radius: 20px;
  218. padding: 1px 22px 1px 10px;
  219. font-size: 10px;
  220. font-weight: 400;
  221. line-height: 1.3;
  222. letter-spacing: .2px;
  223. top: 0;
  224. position: relative;
  225. width: fit-content;
  226. display: flex;
  227. }
  228. .top_part_status .dropdown .dropdown-menu.show .dropdown-item:first-child {
  229. border-top-left-radius: 0.25rem;
  230. border-top-right-radius: 0.25rem;
  231. }
  232. .top_part_status .dropdown .dropdown-menu.show .dropdown-item:hover {
  233. background: #2e1153;
  234. color: #fff !important;
  235. }
  236. .dropdown-menu {
  237. display: none;
  238. float: left;
  239. min-width:5rem;
  240. padding: 0.5rem 0;
  241. margin: 0.125rem 0 0;
  242. color: #212529;
  243. text-align: left;
  244. list-style: none;
  245. background-color: #fff;
  246. background-clip: padding-box;
  247. border: 1px solid rgba(0,0,0,.15);
  248. border-radius: 0.25rem;
  249. font-size: 11px;
  250. background-color: #dedbf1;
  251. }
  252. .dropdown-item {
  253. display: block;
  254. width: 100%;
  255. clear: both;
  256. font-weight: 400;
  257. text-align: inherit;
  258. white-space: nowrap;
  259. background: 0 0;
  260. border: 0;
  261. padding: 4px 12px;
  262. }
  263. .site-header {
  264. position: fixed;
  265. top: 0;
  266. left: 0;
  267. width: 100%;
  268. height: auto;
  269. max-height: 80px;
  270. background: #fff;
  271. padding: 0px 15px 0 0;
  272. z-index: 80;
  273. }
  274. .sidebar-wrapper .sidebar-menu ul li a {
  275. display: inline-block;
  276. width: 100%;
  277. text-decoration: none;
  278. position: relative;
  279. padding:7px 15px 7px 20px;
  280. }
  281. .sidebar-wrapper .sidebar-menu ul li:hover>a{
  282. background-color: #4b4c68 !important;
  283. color:white;
  284. border-radius: 0px !important
  285. }
  286. .tech{
  287. border: 1px solid #4b4c68;
  288. border-radius: 6px;
  289. background-color: #1416398a !important;
  290. }
  291. .single_glance_row {
  292. background-color: rgb(255 255 255);
  293. font-size: 12px !important;
  294. margin: 0 !important;
  295. border: none;
  296. border-radius: 0;
  297. padding: 8px 10px;
  298. color: #343434;
  299. font-size: 1rem;
  300. }
  301. .top_part_status_name {
  302. border-radius: 20px;
  303. padding: 1px 22px 1px 10px;
  304. font-size: 10px;
  305. font-weight: 400;
  306. line-height: 1.3;
  307. letter-spacing: .2px;
  308. top: 0;
  309. position: relative;
  310. width: fit-content;
  311. display: flex;
  312. }
  313. </style>
  314. <body>
  315. <header id="" class="site-header">
  316. <div class="container-fluid">
  317. <div class="row">
  318. <div class="col-lg-12">
  319. <nav class="mt-2 header-navbar navbar-expand-lg navbar-fixed align-items-center navbar-brand-center">
  320. <div class="navbar-container d-flex content">
  321. <div class="col-md-11">
  322. <div class="d-flex align-items-center">
  323. <ul class="nav navbar-nav mr-auto header_left">
  324. <li class="nav-item d-flex">
  325. <div class="col md-6 mt-1 mb-1" style="margin-left: 10px;">
  326. <a class="logo" href="index.html">
  327. <h3 style="font-family:Ubuntu !important; color: #3c4858 !important; font-size: 30px !important;">Research Admission</h3>
  328. </a>
  329. </div>
  330. </li>
  331. </ul>
  332. </div>
  333. </div>
  334. <div class="col-md-1" style="display:flex;">
  335. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-3">
  336. <li class="nav-item dropdown dropdown-notification">
  337. <a href="">
  338. <i class="fa fa-bell change_pass_btn"></i>
  339. </a>
  340. </li>
  341. </ul>
  342. <!-- <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
  343. <li class="nav-item dropdown dropdown-notification">
  344. <a href="">
  345. <i class="fa fa-cog change_pass_btn"></i>
  346. </a>
  347. </li>
  348. </ul>
  349. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
  350. <li class="nav-item dropdown dropdown-notification">
  351. <a href="">
  352. </a>
  353. </li>
  354. </ul> -->
  355. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-1">
  356. <li class="nav-item dropdown dropdown-notification">
  357. <a href="">
  358. <h5 class="change_pass_btn" style="height: 33px; margin-top: 7px; padding: 5px 8px;">IZ</h5>
  359. </a>
  360. </li>
  361. </ul>
  362. <ul class="nav navbar-nav align-items-center ml-auto header_right ps-2">
  363. <li class="nav-item dropdown dropdown-notification">
  364. <a href="{{url('admin-logout')}}"
  365. onclick="event.preventDefault();
  366. document.getElementById('logout-form').submit();">
  367. <i class="fa fa-sign-out change_pass_btn"></i>
  368. </a>
  369. <form id="logout-form" action="{{url('admin-logout')}}" method="POST" class="d-none">
  370. @csrf
  371. </form>
  372. </li>
  373. </ul>
  374. </div>
  375. </div>
  376. </nav>
  377. </div>
  378. </div>
  379. </div>
  380. </header>
  381. <section class="bg-half-170 d-table w-100 it-home" style="background-color: #efefef; height:100vh;">
  382. <div class="container-fluid">
  383. <div class="row">
  384. <div class="col-md-2" style="padding:0px;">
  385. <nav class="sidebar-wrapper" id="sidebar" style="background-color: #1416398a!important; width: 16.6%; height: 100%; position: fixed; overflow-y: hidden; top: 65px;">
  386. <div class="sidebar-content" style="height: calc(100vh - 75px);">
  387. <div class="sidebar-menu" style="padding-bottom: 110px; height: 100vh; overflow: auto;">
  388. <ul class="nav nav-pills nav-justified flex-column mb-0" id="pills-tab" role="tablist">
  389. <li class="nav-item" style="margin-top: 35px;">
  390. <a class="nav-link active" id="dashboard" data-bs-toggle="pill" href="#dash" role="tab" aria-controls="dash" aria-selected="false">
  391. <div class="text-start py-1 px-2" style="display:flex;">
  392. <i class="fa fa-graduation-cap ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  393. <h6 class="mb-0" style="margin-left: 6px; font-size: 13px !important;">Dashboard</h6>
  394. </div>
  395. </a><!--end nav link-->
  396. </li><!--end nav item-->
  397. <li class="nav-item">
  398. <a class="nav-link rounded" id="application" data-bs-toggle="pill" href="#applic" role="tab" aria-controls="applic" aria-selected="false">
  399. <div class="text-start py-1 px-2" style="display:flex;">
  400. <i class="fa fa-user ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  401. <h6 class="mb-0" style="margin-left: 10px; font-size: 13px !important;">Applications</h6>
  402. </div>
  403. </a><!--end nav link-->
  404. </li><!--end nav item-->
  405. <li class="nav-item">
  406. <a class="nav-link rounded" id="student" data-bs-toggle="pill" href="#stnd" role="tab" aria-controls="stnd" aria-selected="false">
  407. <div class="text-start py-1 px-2" style="display:flex;">
  408. <i class="fa fa-home ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  409. <h6 class="mb-0" style="margin-left: 6px; font-size: 13px !important;">Students</h6>
  410. </div>
  411. </a><!--end nav link-->
  412. </li><!--end nav item-->
  413. <li class="nav-item">
  414. <a class="nav-link rounded" id="teacher" data-bs-toggle="pill" href="#teach" role="tab" aria-controls="teach" aria-selected="false">
  415. <div class="text-start py-1 px-2" style="display:flex;">
  416. <i class="fa fa-home ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  417. <h6 class="mb-0" style="margin-left: 6px; font-size: 13px !important;">Teachers</h6>
  418. </div>
  419. </a><!--end nav link-->
  420. </li><!--end nav item-->
  421. <li class="nav-item">
  422. <a class="nav-link rounded" id="configuration" data-bs-toggle="pill" href="#config" role="tab" aria-controls="configuration" aria-selected="false">
  423. <div class="text-start py-1 px-2" style="display:flex;">
  424. <i class="fa fa-home ms-3" style="font-size: 11px; margin-top: 5px;"></i>
  425. <h6 class="mb-0" style="margin-left: 6px; font-size: 13px !important;">Configuration</h6>
  426. </div>
  427. </a><!--end nav link-->
  428. </li><!--end nav item-->
  429. </ul><!--end nav pills-->
  430. </div>
  431. </div>
  432. </nav>
  433. </div><!--end col-->
  434. <div class="col-md-10 col-12 mt-5 pt-5" style="padding:1rem;">
  435. <div class="tab-content" id="pills-tabContent">
  436. <div class="tab-pane fade show active p-2 rounded" id="dash" role="tabpanel" aria-labelledby="dashboard" style="height: 100vh;">
  437. <h6>Dashboard</h6>
  438. </div><!--end teb pane-->
  439. <div class="tab-pane fade p-2 rounded" id="applic" role="tabpanel" aria-labelledby="application" style="height: 100vh;">
  440. <h6>Application</h6>
  441. </div><!--end teb pane-->
  442. <div class="tab-pane fade p-2 bg-white rounded" id="stnd" role="tabpanel" aria-labelledby="students">
  443. <div class="col-md-12">
  444. <div class="table-responsive">
  445. <table class="table table-bordered list_table">
  446. <thead>
  447. <tr>
  448. <th>Name</th>
  449. <th>Email</th>
  450. <th>Nationality</th>
  451. <th>Date of Birth</th>
  452. <th>Gender</th>
  453. </tr>
  454. </thead>
  455. <tbody>
  456. <tr>
  457. <td style="font-size: 11px;">test</td>
  458. <td style="font-size: 11px;">test</td>
  459. <td style="font-size: 11px;">test</td>
  460. <td style="font-size: 11px;">test</td>
  461. <td style="font-size: 11px;">test</td>
  462. </tr>
  463. </tbody>
  464. <tbody>
  465. <tr>
  466. <td style="font-size: 11px;">test</td>
  467. <td style="font-size: 11px;">test</td>
  468. <td style="font-size: 11px;">test</td>
  469. <td style="font-size: 11px;">test</td>
  470. <td style="font-size: 11px;">test</td>
  471. </tr>
  472. </tbody>
  473. </table>
  474. </div>
  475. </div><!--end col-->
  476. </div><!--end teb pane-->
  477. <div class="tab-pane fade p-2 rounded" id="teach" role="tabpanel" aria-labelledby="teacher">
  478. <div class="col-md-12">
  479. <div class="row">
  480. <div class="col-md-12 mb-4" style="padding: 0px;">
  481. <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">
  482. <li class="nav-item m-1 tech">
  483. <a class="nav-link active rounded" id="buy-login" data-bs-toggle="pill" href="#buy" role="tab" aria-controls="buy" aria-selected="false" style="width:100px;">
  484. Registered
  485. </a>
  486. </li>
  487. <li class="nav-item m-1 ms-3 tech">
  488. <a class="nav-link rounded" id="sold-login" data-bs-toggle="pill" href="#sold" role="tab" aria-controls="sold" aria-selected="false" style="width:114px;">
  489. Approved
  490. </a>
  491. </li>
  492. </ul>
  493. </div>
  494. <div class="col-md-12">
  495. <div class="row align-items-center">
  496. <div class="col-md-12 mb-3" style="padding:0px;">
  497. <div class="card rounded border-0 p-3" style="background-color:white;">
  498. <div class="row">
  499. <div class="col-12">
  500. <div class="tab-content" id="pills-tabContent">
  501. <div class="card border-0 tab-pane fade show active" id="buy" role="tabpanel" aria-labelledby="buy-login">
  502. <div class="row align-items-center">
  503. <div class="col-md-12">
  504. <div class="table-responsive">
  505. <table class="table table-bordered list_table" style="margin: 0px;">
  506. <thead>
  507. <tr>
  508. <th>Sl</th>
  509. <th>Name</th>
  510. <th>University Name</th>
  511. <th>Department</th>
  512. <th class="text-center">Status</th>
  513. </tr>
  514. </thead>
  515. <tbody>
  516. @if(count($register_teachers_list) > 0)
  517. @foreach($register_teachers_list as $key=>$row)
  518. <tr>
  519. <td style="font-size: 11px;">{{++$key}}</td>
  520. <td style="font-size: 11px;">{{$row->first_name }} {{$row->last_name }}<br>
  521. <span>{{$row->designation}}</span><br>
  522. <span>{{$row->email}}</span>
  523. </td>
  524. <td style="font-size: 11px;">{{$row->university_name}}<br>
  525. <span>{{$row->uni_website}}</span>
  526. </td>
  527. <td style="font-size: 11px;">{{$row->department}}</td>
  528. <td style="font-size: 11px; width: 9%;">
  529. <div class="single_glance_row mt-1" style="display: flex;">
  530. <div class="top_part_status" style="position: relative; width: fit-content; margin-left: 10px;">
  531. <span class="top_part_status_name" style="background: #dcdcdc; color: #8c9094;">
  532. @if($row->status==1)
  533. Active
  534. @endif
  535. @if($row->status==0)
  536. In active
  537. @endif
  538. @if($row->status==2)
  539. Suspend
  540. @endif
  541. </span>
  542. <div class="dropdown" style="top: 0.4px; position: absolute; right: 9px;">
  543. <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>
  544. <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;">
  545. <a class="dropdown-item status_change" data-value="1" data-id={{$row->id}}>Active</a>
  546. <a class="dropdown-item status_change" data-value="0" data-id={{$row->id}}>In active</a>
  547. <a class="dropdown-item status_change" data-value="2" data-id={{$row->id}}>Suspend</a>
  548. </div>
  549. </div>
  550. </div>
  551. </div>
  552. </td>
  553. </tr>
  554. @endforeach
  555. @else
  556. <tr>
  557. <td colspan="5" class="text-center">
  558. <span class="text-danger">No data found!</span>
  559. </td>
  560. </tr>
  561. @endif
  562. </tbody>
  563. </table>
  564. </div>
  565. </div><!--end col-->
  566. </div><!--end row-->
  567. </div><!--end teb pane-->
  568. <div class="card border-0 tab-pane fade" id="sold" role="tabpanel" aria-labelledby="sold-login">
  569. <div class="row align-items-center">
  570. <div class="col-md-12">
  571. <div class="table-responsive">
  572. <table class="table table-bordered list_table" style="margin: 0px;">
  573. <thead>
  574. <tr>
  575. <th>Sl</th>
  576. <th>Name</th>
  577. <th>University Name</th>
  578. <th>Department</th>
  579. <th class="text-center">Status</th>
  580. </tr>
  581. </thead>
  582. <tbody>
  583. @if(count($active_teachers_list) > 0)
  584. @foreach($active_teachers_list as $key=>$row)
  585. <tr>
  586. <td style="font-size: 11px;">{{++$key}}</td>
  587. <td style="font-size: 11px;">{{$row->first_name }} {{$row->last_name }}<br>
  588. <span>{{$row->designation}}</span><br>
  589. <span>{{$row->email}}</span>
  590. </td>
  591. <td style="font-size: 11px;">{{$row->university_name}}<br>
  592. <span>{{$row->uni_website}}</span>
  593. </td>
  594. <td style="font-size: 11px;">{{$row->department}}</td>
  595. <td style="font-size: 11px; width: 9%;">
  596. <div class="single_glance_row mt-1" style="display: flex;">
  597. <div class="top_part_status" style="position: relative; width: fit-content; margin-left: 10px;">
  598. <span class="top_part_status_name" style="background: #dcdcdc; color: #8c9094;">
  599. @if($row->status==1)
  600. Active
  601. @endif
  602. @if($row->status==0)
  603. In active
  604. @endif
  605. @if($row->status==2)
  606. Suspend
  607. @endif
  608. </span>
  609. <div class="dropdown" style="top: 0.4px; position: absolute; right: 9px;">
  610. <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>
  611. <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;">
  612. <a class="dropdown-item status_change" data-value="1" data-id={{$row->id}}>Active</a>
  613. <a class="dropdown-item status_change" data-value="0" data-id={{$row->id}}>In active</a>
  614. <a class="dropdown-item status_change" data-value="2" data-id={{$row->id}}>Suspend</a>
  615. </div>
  616. </div>
  617. </div>
  618. </div>
  619. </td>
  620. </tr>
  621. @endforeach
  622. @else
  623. <tr>
  624. <td colspan="5" class="text-center">
  625. <span class="text-danger">No data found!</span>
  626. </td>
  627. </tr>
  628. @endif
  629. </tbody>
  630. </table>
  631. </div>
  632. </div><!--end col-->
  633. </div><!--end row-->
  634. </div><!--end row-->
  635. </div><!--end tab content-->
  636. </div><!--end col-->
  637. </div><!--end row-->
  638. </div>
  639. </div><!--end col-->
  640. </div><!--end row-->
  641. </div><!--end col-->
  642. </div>
  643. </div>
  644. </div><!--end teb pane-->
  645. <div class="tab-pane fade p-2 rounded" id="config" role="tabpanel" aria-labelledby="configuration" style="height: 100vh;">
  646. <h6>Configuration</h6>
  647. </div><!--end teb pane-->
  648. </div><!--end tab content-->
  649. </div><!--end col-->
  650. </div><!--end row-->
  651. </div><!--end container-->
  652. </section><!--end section-->
  653. <script src="{{asset('web/js/bootstrap.bundle.min.js')}}"></script>
  654. <!-- tobii js -->
  655. <script src="{{asset('web/js/tobii.min.js')}}"></script>
  656. <!-- SLIDER -->
  657. <script src="{{asset('web/js/tiny-slider.js')}}"></script>
  658. <!-- Icons -->
  659. <script src="{{asset('web/js/feather.min.js')}}"></script>
  660. <!-- Main Js -->
  661. <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.slim.min.js"></script>
  662. <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js"></script>
  663. <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/11.6.15/sweetalert2.min.js"></script>
  664. <script src="{{asset('web/js/plugins.init.js')}}"></script>
  665. <script src="{{asset('web/js/app.js')}}"></script>
  666. <script src="{{asset('web/js/datepicker.min.js')}}"></script>
  667. <script src="{{asset('web/js/bootstrap.bundle.min.js')}}"></script>
  668. <script src="{{asset('web/js/plugins.init.js')}}"></script>
  669. <script src="{{asset('web/js/app.js')}}"></script>
  670. <script src="{{asset('web/css/sweetalert/sweetalert.min.js')}}"></script>
  671. {{-- <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> --}}
  672. <script src="{{ asset('css/jquery.min.js') }}"></script>
  673. <script src="{{ asset('css/jquery-form/dist/jquery.form.min.js') }}"></script>
  674. <script src="{{ asset('css/noty/lib/noty.min.js') }}"></script>
  675. <script src="{{ asset('css/flatpickr/dist/flatpickr.min.js') }}"></script>
  676. <script src="{{ asset('css/wait-me/waitMe.min.js')}}"></script>
  677. <script>
  678. function pop_up_msg(msg='No message specified', type='success', callback=null){
  679. new Noty({
  680. theme:'sunset',
  681. text: msg,
  682. type: type,
  683. timeout:1500,
  684. callbacks:{
  685. afterClose: callback
  686. }
  687. }).show();
  688. }
  689. function err_msg(err){
  690. var msg="Request failed to process, try again later.";
  691. if(err.responseJSON && err.responseJSON.msg){
  692. msg=err.responseJSON.msg;
  693. }
  694. return msg;
  695. }
  696. $(function(){
  697. $('.status_change').on('click', function(e){
  698. var self =$(this);
  699. var id =$(this).data('id');
  700. var value =$(this).data('value');
  701. var form_data={
  702. _token:"{{ csrf_token() }}",
  703. 'id':id,
  704. 'status':value
  705. }
  706. swal({
  707. title: "Are you sure?",
  708. text: "Do you want to change this status?",
  709. type: "warning",
  710. showCancelButton: true,
  711. confirmButtonClass: "btn btn-md btn-success",
  712. cancelButtonClass: 'btn btn-md btn-danger',
  713. confirmButtonText: "Yes"
  714. }, function(isConfirm){
  715. if(isConfirm) {
  716. $.post("{{ route('ajax-post', ['name'=>'teacher_user_status_change'])}}" ,form_data).done(function(res){
  717. pop_up_msg(res.msg);
  718. window.location.reload();
  719. }).fail(function(error){
  720. let msg='Sorry!, form submission failed try again later.';
  721. if(error.responseJSON.msg){
  722. msg=error.responseJSON.msg;
  723. }
  724. pop_up_msg(msg, 'error');
  725. });
  726. }
  727. });
  728. });
  729. });
  730. </script>
  731. </body>
  732. </html>