Q_apply_form.blade.php 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>Supervisor's Login - 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. <!-- Slider -->
  31. <link rel="stylesheet" href="{{asset('web/css/tiny-slider.css')}}"/>
  32. <!-- Main Css -->
  33. <link href="{{asset('web/css/style.css')}}" rel="stylesheet" type="text/css" id="theme-opt" />
  34. <link href="{{asset('web/css/colors/default.css')}}" rel="stylesheet" id="color-opt">
  35. <link rel="preconnect" href="https://fonts.googleapis.com">
  36. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  37. <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;900&display=swap" rel="stylesheet">
  38. <link rel="preconnect" href="https://fonts.googleapis.com">
  39. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  40. <link href="https://fonts.googleapis.com/css2?family=Oswald:wght@200&family=Quicksand:wght@400;500;600;700&display=swap" rel="stylesheet">
  41. <link rel="preconnect" href="https://fonts.googleapis.com">
  42. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  43. <link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap" rel="stylesheet">
  44. <link rel="preconnect" href="https://fonts.googleapis.com">
  45. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  46. <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300&display=swap" rel="stylesheet">
  47. <link rel="preconnect" href="https://fonts.googleapis.com">
  48. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  49. <link href="https://fonts.googleapis.com/css2?family=Montserrat+Alternates&display=swap" rel="stylesheet">
  50. <link rel="stylesheet" href="{{ asset('css/pnotify/pnotify.min.css') }}">
  51. <link href="{{ asset('css/noty/lib/noty.css') }}" rel="stylesheet" type="text/css">
  52. <link href="{{ asset('css/noty/lib/themes/sunset.css') }}" rel="stylesheet" type="text/css">
  53. </head>
  54. <style>
  55. body {
  56. font-family: 'Quicksand', sans-serif !important;
  57. }
  58. h1, h2, h3, h4, h5, h6 {
  59. font-family: 'Quicksand', sans-serif !important;
  60. }
  61. .bg-half-170 {
  62. padding:0px;
  63. }
  64. .form-control:focus {
  65. box-shadow: 0 0 0 0.25rem #8492a61f !important;
  66. border-color: #8492a61f !important;
  67. }
  68. .btn1{
  69. background-color: #141639c4 !important;
  70. color:white !important;
  71. border-radius: 20px;
  72. box-shadow:none !important;
  73. }
  74. .btn1:hover{
  75. background: #fff !important;
  76. color: #141639c4 !important;
  77. border-radius: 20px;
  78. border: 1px solid #141639c4;
  79. }
  80. .tns-nav button {
  81. background: #141639c4 !important;
  82. }
  83. .tns-nav button.tns-nav-active{
  84. background-color: #ffff !important;
  85. }
  86. .bg-left{
  87. background-color:#141639c4;
  88. border:none;
  89. }
  90. .box-head{
  91. font-size:15px !important;
  92. color:#ffff;
  93. }
  94. .box-sub{
  95. font-size:14px;
  96. color:#ffff;
  97. }
  98. .tmail{
  99. color: #a7a7a7;
  100. margin: 0px;
  101. }
  102. .form-control {
  103. border: 1px solid #dee2e6;
  104. font-size: 18px;
  105. line-height: 45px;
  106. background-color: #ffffff;
  107. border-radius: 6px;
  108. }
  109. #topnav{
  110. position: relative;
  111. }
  112. .text-muted{
  113. color: #ffffff !important;
  114. }
  115. .bg-left{
  116. background-color: #191e38;
  117. border:none;
  118. padding:7.53rem;
  119. }
  120. .bg-left .head-line{
  121. font-size: 39px !important;
  122. font-weight: bold;
  123. line-height: 1.2;
  124. color:#ffff;
  125. }
  126. .sub-line1{
  127. font-size: 18px !important;
  128. font-weight: 400;
  129. font-family: poppins !important;
  130. color:#ffff !important;
  131. }
  132. .sub-line2{
  133. font-size: 17px !important;
  134. font-weight: bold;
  135. font-family: poppins !important;
  136. color:#ffff !important;
  137. }
  138. .bg-white{
  139. background-color: #72809f33 !important;
  140. height: 160px;
  141. border: 1px solid #ffff;
  142. }
  143. .box-head{
  144. font-size:15px !important;
  145. color:#ffff;
  146. }
  147. .box-sub{
  148. font-size:14px;
  149. color:#ffff;
  150. }
  151. .d-flex{
  152. display: grid !important;
  153. }
  154. .master-link.secondary {
  155. padding: 12px;
  156. color: #fff;
  157. background-color: rgba(235,232,227,.1);
  158. clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.1em), calc(100% - 1.1em) 100%, 0 100%);
  159. }
  160. .master-link.secondary:hover {
  161. color: #191e38 !important;
  162. background-color: #ffffff;
  163. clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.1em), calc(100% - 1.1em) 100%, 0 100%);
  164. }
  165. /* new */
  166. /* .bg-gray-900 {
  167. --tw-bg-opacity: 1;
  168. background-color: rgb(15 23 42/var(--tw-bg-opacity));
  169. }
  170. .xl\:h-full {
  171. height: 100%;
  172. }
  173. .w-full {
  174. width: 100%;
  175. }
  176. .absolute {
  177. position: absolute;
  178. }
  179. .xl\:grid-cols-2 {
  180. grid-template-columns: repeat(2,minmax(0,1fr));
  181. }
  182. .xl\:grid {
  183. display: grid;
  184. }
  185. .xl\:col-start-2 {
  186. grid-column-start: 2;
  187. }
  188. .xl\:relative {
  189. position: relative;
  190. }
  191. .opacity-25 {
  192. opacity: .25;
  193. }
  194. img {
  195. height: auto;
  196. max-width: 100%;
  197. }
  198. .xl\:bg-gradient-to-r {
  199. background-image: linear-gradient(to right,var(--tw-gradient-stops));
  200. }
  201. .xl\:w-32 {
  202. width: 8rem;
  203. } */
  204. </style>
  205. <section class="cover-user">
  206. <div class="container-fluid px-0">
  207. <div class="row g-0 position-relative">
  208. <div class="col-lg-7 padding-less ">
  209. <div class="bg-left">
  210. <h5 class="text-muted mt-5">Guideline to submit your proposal :</h5>
  211. <div class="row">
  212. <div class="col-12">
  213. <div class="align-items-center">
  214. <p class="text-muted mb-1" style="font-size: 17px;">1. You should get an invitation to the email address given above.</p>
  215. </div>
  216. </div>
  217. <div class="col-12">
  218. <div class="align-items-center">
  219. <p class="text-muted mb-1" style="font-size: 17px;">2. Click on the apply now button.</p>
  220. </div>
  221. </div>
  222. <div class="col-12">
  223. <div class="align-items-center">
  224. <p class="text-muted mb-1" style="font-size: 17px;">3. Complete your registration (one time).</p>
  225. </div>
  226. </div>
  227. <div class="col-12">
  228. <div class="align-items-center">
  229. <p class="text-muted mb-1" style="font-size: 17px;">4. Complete your profile and upload your proposal.</p>
  230. </div>
  231. </div>
  232. <div class="col-12 mb-3">
  233. <div class="align-items-center">
  234. <p class="text-muted mb-3" style="font-size: 17px;">5. Submit the application</p>
  235. </div>
  236. </div>
  237. </div>
  238. <div style="border-bottom: 1px solid #eee;"></div>
  239. <h5 class="text-muted mb-2 mt-4" style="font-weight:600;">Already an account ?</h5>
  240. <p class="text-muted mb-1" style="font-size: 17px;">1. Sign in to your account.</p>
  241. <p class="text-muted mb-1" style="font-size: 17px;">2. Navigate to the application tab, where you will find a draft application tagged with this supervisor.</p>
  242. <p class="text-muted mb-3" style="font-size: 17px;">3. Proceed to submit the application.</p>
  243. <div class="col-md-12">
  244. <div class="mt-5 pt-3 mb-4 text-left">
  245. <a href="{{ url('/login') }}" class="master-link secondary" style="font-size: 21px;">
  246. {{ __('Log in') }}
  247. </a>
  248. </div>
  249. </div>
  250. <p class="tmail mt-5" style="font-size: 12px;">Copyright © 2023 Research Admission</p>
  251. </div>
  252. </div>
  253. <div class="col-lg-5 cover-my-30 ">
  254. <div class="cover-user-img d-flex align-items-center p-5">
  255. <div class="row">
  256. <div class="col-12">
  257. <div class="card login-page border-0" style="z-index: 1;">
  258. <div class="card-body" style="padding: 0px;">
  259. <h3 class="mb-3" style="font-size: 22px !important; line-height: 43px; font-weight: 700; text-align: left; color: #3c3d5b;">You're going to submit your doctoral application proposal to - </h3>
  260. <div class="uni_details" style="background-color: #16183f0a; display:flex; border-radius: 10px; padding: 10px 21px;">
  261. <div class="mt-2" style="text-align: center;">
  262. <div class="inner_left mt-1" style="background-color: #141639c4; padding: 18px 0px 0px 0px; height: 63px; width: 63px;">
  263. <p style="color:white; font-weight:600 !important; letter-spacing: 2px;">{{ strtoupper(mb_substr($user->first_name, 0, 1) . mb_substr($user->last_name, 0, 1)) }}</p>
  264. </div>
  265. </div>
  266. <div class="alert" style="margin-bottom: 0px; color: #3c3d5b;">
  267. <strong class="mb-2" style="font-size:19px; font-weight: 700;"> {{ $user->first_name }} {{ $user->last_name }}</strong></br>
  268. <span style="font-size:14px; font-weight:400;">{{ $user->email }} </span><br>
  269. <span style="font-size:14px; font-weight:400;">{{ cn($user,'university.name','')}}</span>
  270. <span> . </span>
  271. <span style="font-size:14px; font-weight:400;">{{ cn($user,'department_name.name','')}}</span>
  272. </div>
  273. </div>
  274. </div>
  275. <div class="col-lg-12 mt-4">
  276. <div class="mb-3">
  277. <input type="hidden" name="teacher_id" value="{{ $hash_teacher_ids[0] }}" id="teacher_id">
  278. <label class="form-label" style="font-size: 19px; font-weight: 700; color: #3c3d5b;">Your name</label>
  279. <div class="form-icon position-relative">
  280. <input type="text" class="form-control" id="name" placeholder="Write your full name here" name="name" required="">
  281. </div>
  282. </div>
  283. <div class="mb-3">
  284. <label class="form-label" style="font-size: 19px; font-weight: 700; color: #3c3d5b;">e-mail address</label>
  285. <div class="form-icon position-relative">
  286. <input type="email" class="form-control" id="email" placeholder="Write your e-mail address here" name="email" required="">
  287. </div>
  288. </div>
  289. </div>
  290. <h5 class="text-center mb-4" style="color: #3c3d5b; font-weight: 500; font-size: 18px !important;">We will send you a link to this email address, so you can complete your registration and submit your proposal.</h5>
  291. <div class="col-md-12">
  292. <div class="mt-2 mb-4 text-center">
  293. <button type="submit" class="btn btn1 q_form_submit" style="font-size: 21px;">
  294. {{ __('Submit') }}
  295. </button>
  296. </div>
  297. </div>
  298. </div>
  299. </div>
  300. </div>
  301. </div>
  302. </div>
  303. </div>
  304. </div>
  305. </div>
  306. </div>
  307. </section>
  308. <!-- <div class="relative bg-gray-900">
  309. <div class="h-80 w-full absolute bottom-0 xl:inset-0 xl:h-full">
  310. <div class="h-full w-full xl:grid xl:grid-cols-2">
  311. <div class="h-full xl:relative xl:col-start-2">
  312. <img src="web/images/background-Qapply.jpg" alt="" class="">
  313. <div class="absolute inset-x-0 top-0 h-32 bg-gradient-to-b from-gray-900 xl:inset-y-0 xl:left-0 xl:h-full xl:w-32 xl:bg-gradient-to-r">
  314. </div>
  315. </div>
  316. </div>
  317. </div>
  318. </div> -->
  319. <!-- javascript -->
  320. <script src="{{asset('web/js/bootstrap.bundle.min.js')}}"></script>
  321. <!-- tobii js -->
  322. <script src="{{asset('web/js/tobii.min.js')}}"></script>
  323. <!-- SLIDER -->
  324. <script src="{{asset('web/js/tiny-slider.js')}}"></script>
  325. <!-- Icons -->
  326. <script src="{{asset('web/js/feather.min.js')}}"></script>
  327. <!-- Main Js -->
  328. <script src="{{asset('web/js/plugins.init.js')}}"></script>
  329. <script src="{{asset('web/js/app.js')}}"></script>
  330. <script src="{{ asset('css/jquery.min.js') }}"></script>
  331. <script src="{{ asset('css/jquery-form/dist/jquery.form.min.js') }}"></script>
  332. <script src="{{ asset('css/pnotify/pnotify.js') }}"></script>
  333. <script src="{{ asset('css/noty/lib/noty.min.js') }}"></script>
  334. <script>
  335. function pop_up_msg(msg='No message specified', type='success', callback=null){
  336. new Noty({
  337. theme:'sunset',
  338. text: msg,
  339. type: type,
  340. timeout:1500,
  341. callbacks:{
  342. afterClose: callback
  343. }
  344. }).show();
  345. }
  346. function err_msg(err){
  347. var msg="Request failed to process, try again later.";
  348. if(err.responseJSON && err.responseJSON.msg){
  349. msg=err.responseJSON.msg;
  350. }
  351. return msg;
  352. }
  353. $(function(){
  354. $('.q_form_submit').on('click', function(){
  355. var id =$('#teacher_id').val();
  356. var name =$('#name').val();
  357. var email =$('#email').val();
  358. var form_data={
  359. _token: "{{ csrf_token() }}",
  360. id: id,
  361. name: name,
  362. email: email,
  363. }
  364. $.post("{{ route('ajax-post', ['name'=>'student_q_form']) }}", form_data, function(res){
  365. pop_up_msg(res.msg);
  366. }).fail(function(err){
  367. pop_up_msg(err_msg(err), 'error');
  368. });
  369. });
  370. });
  371. </script>
  372. </body>
  373. </html>