wishlist_register_form.blade.php 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310
  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. <!-- 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 href="{{ asset('css/flatpickr/dist/flatpickr.min.css') }}" rel="stylesheet" type="text/css">
  39. <link rel="stylesheet" href="{{ asset('css/pnotify/pnotify.min.css') }}">
  40. <link href="{{ asset('css/noty/lib/noty.css') }}" rel="stylesheet" type="text/css">
  41. <link href="{{ asset('css/noty/lib/themes/sunset.css') }}" rel="stylesheet" type="text/css">
  42. </head>
  43. <style>
  44. body {
  45. font-family: 'Oswald', sans-serif;
  46. font-family: 'Quicksand', sans-serif;
  47. }
  48. h1, h2, h3, h4, h6 {
  49. font-family:Ubuntu !important;
  50. }
  51. h5{
  52. font-family: 'Montserrat Alternates', sans-serif !important;
  53. }
  54. .bg-half-170 {
  55. padding:0px;
  56. }
  57. .form-control:focus {
  58. box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%) !important;
  59. }
  60. .btn1{
  61. background-color: #141639c4 !important;
  62. color:white !important;
  63. border-radius: 20px;
  64. box-shadow:none !important;
  65. }
  66. .btn1:hover{
  67. background: #fff !important;
  68. color: #141639c4 !important;
  69. border-radius: 20px;
  70. border: 1px solid #141639c4;
  71. }
  72. .tns-nav button {
  73. background: #141639c4 !important;
  74. }
  75. .tns-nav button.tns-nav-active{
  76. background-color: #ffff !important;
  77. }
  78. .bg-left{
  79. background-color:#141639c4;
  80. border:none;
  81. padding:8.37rem;
  82. }
  83. .head-line{
  84. font-size: 39px !important;
  85. font-weight: bold;
  86. line-height: 1.2;
  87. color:#ffff;
  88. }
  89. .sub-line1{
  90. font-size: 18px !important;
  91. font-weight: 400;
  92. color:#ffff !important;
  93. }
  94. .sub-line2{
  95. font-size: 17px !important;
  96. font-weight: bold;
  97. font-family: poppins !important;
  98. color:#ffff !important;
  99. }
  100. .bg-white{
  101. background-color: #72809f33 !important;
  102. height: 160px;
  103. border: 1px solid #ffff;
  104. }
  105. .box-head{
  106. font-size:15px !important;
  107. color:#ffff;
  108. }
  109. .box-sub{
  110. font-size:14px;
  111. color:#ffff;
  112. }
  113. .d-flex{
  114. display: grid !important;
  115. }
  116. </style>
  117. <body>
  118. @php
  119. $countries=DB::table('countries')->get();
  120. @endphp
  121. <section class="cover-user">
  122. <div class="container-fluid px-0">
  123. <div class="row g-0 position-relative">
  124. <div class="col-lg-8 padding-less bg-left">
  125. <div>
  126. <h3 class="ps-4 mt-5 pt-4 head-line">Accelerate your research journey with ease</h3>
  127. <h2 class="ps-4 sub-line1">Connect with supervisor through our streamlined platform featuring real-time updates, a wide network, and effortless user experience.</h2>
  128. <p class="ps-4 mt-5 sub-line1" style="color:white; font-family: poppins !important;">With just a few clicks, you can submit your proposal to multiple supervisors, saving you hours of searching and contacting potential supervisors individually. Our user-friendly interface makes it easy for anyone to navigate and use, regardless of their technical skills. The platform provides real-time updates on the status of your application, so you don't have to constantly follow up with supervisors, giving you more time to focus on your research. </p>
  129. <h2 class="ps-4 mt-5 sub-line1" style="color:white; font-family: poppins !important;">Our wide network of potential supervisors means you have access to a large pool of experts in your field, increasing your chances of finding the right supervisor for your project.</h2>
  130. </div>
  131. </div>
  132. <div class="col-lg-4 cover-my-30 ">
  133. <div class="cover-user-img d-flex align-items-center p-5">
  134. <div class="row">
  135. <div class="col-12">
  136. <div class="card login-page border-0" style="z-index: 1">
  137. <div class="card border-0">
  138. <div class="card-body" style="padding: 0px;">
  139. <h1 class="mb-4 pb-1 mt-2" style="color: #141639c4; font-size:48px !important;">Register, To Start</h1>
  140. <input type="hidden" name="student_id" value="{{ $hash_student_ids[0] }}" id="student_id">
  141. <div class="row mb-4">
  142. <div class="col-md-6">
  143. <input type="text" class="form-control" name="first_name" value="{{ $user->first_name }}" id="first_name" required autofocus placeholder="Given Name">
  144. </div>
  145. <div class="col-md-6">
  146. <input type="text" class="form-control" name="last_name" value="{{ old('last_name') }}" id ="last_name" required placeholder="Family Name">
  147. </div>
  148. </div>
  149. <div class="row mb-4">
  150. <div class="col-md-12">
  151. <input type="email" class="form-control " name="email" value="{{ $user->email}}" id="email" required placeholder="Email">
  152. </div>
  153. </div>
  154. <div class="row mb-4">
  155. <div class="col-md-12">
  156. <select class="form-control" name="nationality" id="nationality">
  157. <option>Nationality</option>
  158. @foreach($countries as $item)
  159. <option value="{{$item->id}}">{{$item->name}}</option>
  160. @endforeach
  161. </select>
  162. </div>
  163. </div>
  164. <div class="row mb-3">
  165. <div class="col-md-12 back">
  166. <div>
  167. <input name="dob" type="text" class="form-control start" id="u_dob" placeholder="Select your Date of Birth" autocomplete="off">
  168. </div>
  169. </div>
  170. </div>
  171. <div class="mb-3">
  172. <label class="form-label">Select Your Gender</label>
  173. <div class="form-check-inline ps-3">
  174. <label class="form-check-label" for="radio1">
  175. <input type="radio" class="form-check-input gender" name="gender" value="male"> Male
  176. </label>
  177. </div>
  178. <div class="form-check-inline">
  179. <label class="form-check-label" for="radio2">
  180. <input type="radio" class="form-check-input gender" name="gender" value="female"> Female
  181. </label>
  182. </div>
  183. </div>
  184. <div class="row mb-4">
  185. <div class="col-md-12">
  186. <input type="password" class="form-control " name="password" id="password" required autocomplete="new-password" placeholder="Set a password">
  187. </div>
  188. </div>
  189. <div class="row mb-4">
  190. <div class="col-md-12">
  191. <input type="password" class="form-control" name="password_confirmation" id="password_confirmation" required autocomplete="new-password" placeholder="Confirm password">
  192. </div>
  193. </div>
  194. <div class="row mb-0">
  195. <div class="col-md-12">
  196. <button class="btn btn1 pull-right" id="wishlist_reg_submit">
  197. {{ __('Submit') }}
  198. </button>
  199. </div>
  200. </div>
  201. <p class="text-center mt-2 pb-4"><span> Already registered ?</span><a href="{{ url('login') }}" class="ps-2"><span>Login Here</span></a></p>
  202. </div>
  203. </div>
  204. </div>
  205. </div>
  206. </div>
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. </section>
  212. <script src="{{asset('web/js/bootstrap.bundle.min.js')}}"></script>
  213. <!-- tobii js -->
  214. <script src="{{asset('web/js/tobii.min.js')}}"></script>
  215. <!-- SLIDER -->
  216. <script src="{{asset('web/js/tiny-slider.js')}}"></script>
  217. <!-- Icons -->
  218. <script src="{{asset('web/js/feather.min.js')}}"></script>
  219. <!-- Main Js -->
  220. {{-- <script src="https://cdn.jsdelivr.net/npm/jquery@3.6.0/dist/jquery.slim.min.js"></script> --}}
  221. {{-- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/js/bootstrap.bundle.min.js"></script> --}}
  222. <script src="{{asset('web/js/plugins.init.js')}}"></script>
  223. <script src="{{asset('web/js/app.js')}}"></script>
  224. <script src="{{ asset('css/jquery.min.js') }}"></script>
  225. <script src="{{ asset('css/jquery-form/dist/jquery.form.min.js') }}"></script>
  226. <script src="{{ asset('css/pnotify/pnotify.js') }}"></script>
  227. <script src="{{ asset('css/noty/lib/noty.min.js') }}"></script>
  228. <script src="{{ asset('css/flatpickr/dist/flatpickr.min.js') }}"></script>
  229. <script>
  230. function pop_up_msg(msg='No message specified', type='success', callback=null){
  231. new Noty({
  232. theme:'sunset',
  233. text: msg,
  234. type: type,
  235. timeout:1500,
  236. callbacks:{
  237. afterClose: callback
  238. }
  239. }).show();
  240. }
  241. function err_msg(err){
  242. var msg="Request failed to process, try again later.";
  243. if(err.responseJSON && err.responseJSON.msg){
  244. msg=err.responseJSON.msg;
  245. }
  246. return msg;
  247. }
  248. $(function(){
  249. $("#u_dob").flatpickr({
  250. dateFormat: "d M Y",
  251. });
  252. $('#wishlist_reg_submit').on('click', function(){
  253. var id =$('#student_id').val();
  254. var first_name =$('#first_name').val();
  255. var last_name =$('#last_name').val();
  256. var email =$('#email').val();
  257. var nationality =$('#nationality').val();
  258. var dob =$('#u_dob').val();
  259. var gender =$('.gender:checked').val();
  260. var password =$('#password').val();
  261. var password_confirmation =$('#password_confirmation').val();
  262. var form_data={
  263. _token: "{{ csrf_token() }}",
  264. id: id,
  265. first_name: first_name,
  266. last_name: last_name,
  267. email: email,
  268. nationality: nationality,
  269. dob: dob,
  270. gender: gender,
  271. password: password,
  272. password_confirmation: password_confirmation,
  273. }
  274. $.post("{{ route('ajax-post', ['name'=>'add_wishlist_registration']) }}", form_data, function(res){
  275. pop_up_msg(res.msg);
  276. window.location.href = "{{ url('/login') }}";
  277. }).fail(function(err){
  278. pop_up_msg(err_msg(err), 'error');
  279. });
  280. });
  281. });
  282. </script>
  283. </body>
  284. </html>