123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8" />
- <title>Supervisor's Login - Research Admission</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="description" content="Information & Guidance on the PhD Process, Connect with Supervisor and Many" />
- <meta name="keywords" content="" />
- <!-- facebook tags -->
- <meta property="og:url" content="http://www.facebook.com/researchadmission"/>
- <meta property="og:type" content="website"/>
- <meta property="og:title" content="Research Admission"/>
- <meta property="og:description" content="Information & Guidance on the PhD Process, Connect with Supervisor and Many"/>
- <!-- Linkedin tags -->
- <meta property="og:url" content="https://www.linkedin.com/company/researchadmission"/>
- <meta property="og:type" content="website"/>
- <meta property="og:title" content="Research Admission"/>
- <meta property="og:description" content="Information & Guidance on the PhD Process, Connect with Supervisor and Many"/>
- <!-- favicon -->
- <link rel="shortcut icon" href="{{asset('web/images/logo.png') }}">
- <!-- Bootstrap -->
- <link href="{{ asset('web/css/bootstrap.min.css') }}" rel="stylesheet" type="text/css" />
- <!-- tobii css -->
- <link href="{{asset('web/css/tobii.min.css')}}" rel="stylesheet" type="text/css" />
- <!-- Icons -->
- <link href="{{asset('web/css/materialdesignicons.min.css')}}" rel="stylesheet" type="text/css" />
- <link rel="stylesheet" type="text/css" href="{{ asset('web/stylesheets/font-awesome.min.css') }}" />
- <link rel="stylesheet" href="https://unicons.iconscout.com/release/v3.0.6/css/line.css">
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css">
- <!-- Slider -->
- <link rel="stylesheet" href="{{asset('web/css/tiny-slider.css')}}"/>
- <!-- Main Css -->
- <link href="{{asset('web/css/style.css')}}" rel="stylesheet" type="text/css" id="theme-opt" />
- <link href="{{asset('web/css/colors/default.css')}}" rel="stylesheet" id="color-opt">
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Oswald:wght@200&family=Quicksand:wght@400;500;600;700&display=swap" rel="stylesheet">
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Ubuntu:wght@700&display=swap" rel="stylesheet">
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=League+Spartan:wght@700&display=swap" rel="stylesheet">
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@200;300&display=swap" rel="stylesheet">
- <link rel="preconnect" href="https://fonts.googleapis.com">
- <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
- <link href="https://fonts.googleapis.com/css2?family=Montserrat+Alternates&display=swap" rel="stylesheet">
-
-
- {{-- Ajax Form Submit --}}
- <link href="{{ asset('css/noty/lib/noty.css') }}" rel="stylesheet" type="text/css">
- <link rel="stylesheet" href="{{ asset('css/pnotify/pnotify.min.css') }}">
- <link href="{{ asset('css/noty/lib/themes/sunset.css') }}" rel="stylesheet" type="text/css">
- <link href="{{ asset('css/flatpickr/dist/flatpickr.min.css') }}" rel="stylesheet" type="text/css">
- <link href="{{ asset('css/wait-me/waitMe.min.css')}}" rel="stylesheet" type="text/css">
- <link rel="stylesheet" href="{{ asset('/css/pretty-checkbox/pretty-checkbox.min.css') }}">
- </head>
- <style>
- body {
- font-family: 'Quicksand', sans-serif;
- }
- h1, h2, h3, h4, h6 {
- font-family: 'Quicksand', sans-serif;
- }
- h5{
- font-family: 'Quicksand', sans-serif;
- }
- .bg-half-170 {
- padding:0px;
- }
- .form-control:focus {
- box-shadow: 0 0 0 0.25rem #8492a61f !important;
- border-color: #8492a61f !important;
- }
- .btn1{
- background-color: #141639c4 !important;
- color:white !important;
- border-radius: 20px;
- box-shadow:none !important;
- }
- .btn1:hover{
- background: #fff !important;
- color: #141639c4 !important;
- border-radius: 20px;
- border: 1px solid #141639c4;
- }
- .tns-nav button {
- background: #141639c4 !important;
- }
- .tns-nav button.tns-nav-active{
- background-color: #ffff !important;
- }
- .bg-left{
- background-color:#191e38;
- border:none;
- }
- .bg-left .head-line{
- font-size: 39px !important;
- font-weight: bold;
- line-height: 1.2;
- color:#ffff;
- }
- .sub-line1{
- font-size: 18px !important;
- font-weight: 400;
- font-family: poppins !important;
- color:#ffff !important;
- }
- .sub-line2{
- font-size: 17px !important;
- font-weight: bold;
- font-family: poppins !important;
- color:#ffff !important;
- }
- .bg-white{
- background-color: #72809f33 !important;
- height: 160px;
- border: 1px solid #ffff;
- }
- .box-head{
- font-size:15px !important;
- color:#ffff;
- }
- .box-sub{
- font-size:14px;
- color:#ffff;
- }
- .d-flex{
- display: grid !important;
- }
- .box-white{
- color: white;
- background-color: #191e38 !important;
- }
- .text-muted{
- color: #191e38 !important;
- }
- .text-muted1{
- color: #ffffff !important;
- }
- .master-link.secondary {
- padding: 20px;
- color: #fff;
- background-color: rgba(235,232,227,.1);
- clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.1em), calc(100% - 1.1em) 100%, 0 100%);
- }
- .master-link.secondary:hover {
- color: #191e38 !important;
- background-color: #ffffff;
- clip-path: polygon(0 0, 100% 0, 100% calc(100% - 1.1em), calc(100% - 1.1em) 100%, 0 100%);
- }
- .grid_wrap {
- grid-column-gap: 1.5rem;
- grid-row-gap: 1.5rem;
- flex-direction: column;
- margin-bottom: 1px;
- display: flex;
- }
- .grid_customize {
- grid-column-gap: 1.5rem;
- grid-row-gap: 1.5rem;
- grid-template-columns: .75fr .75fr;
- }
- .w-layout-grid {
- grid-template-rows: auto auto;
- grid-auto-columns: 1fr;
- display: grid;
- }
- .method {
- background-color: #463993;
- width: 33%;
- font-size: 18px !important;
- color: #fff;
- padding-left: 13px;
- border-radius: 5px;
- font-weight: 700;
- }
- .method-box{
- width: 47.8%;
- background-color: #eee;
- border-radius: 5px;
- }
- </style>
- <body>
-
- <!-- <header id="topnav" style="position: unset !important;">
- <div class="container-fluid" style="background-color:#191e38;">
- <div class="col-md-12">
- <div class="row">
- <div style="border-bottom: 1px solid #eee; display: flex; margin-top: -11px;">
- <div class="col-md-9 mb-3">
- <a class="logo" href="index.html">
- <h3 class="ms-5" style="font-family:Ubuntu !important; color: white; margin-top: 2rem;">Research Admission</h3>
- </a>
- </div>
- <div class="col-md-3" style="display: flex;">
- <p class="mt-5"><a href="" class="master-link secondary"><strong style="font-weight: bolder !important;">Register Your Interest <i class="fa fa-arrow-right fea icon-sm"></i> </strong> </a></p>
- <p class="mt-5 ms-3"><a href="" class="master-link secondary"><strong style="font-weight: bolder !important;">Log In <i class="fa fa-arrow-right fea icon-sm"></i> </strong> </a></p>
- </div>
- </div>
- </div>
- </div>
- </div>
- </header> -->
- <section class="cover-user bg-left" style="background-color:#191e38;">
- <div class="container-fluid px-0">
- <div class="row g-0" style="justify-content: center;">
- <div class="col-md-8 mt-5 pt-5 mb-5">
- <div class="card-body mt-4 mb-5" style="padding: 0px; text-align: center !important;">
- <span style="line-height: 1.1; color: #ffad00; font-size: 48px !important; font-weight: 500 !important; font-family: 'League Spartan', sans-serif !important;">Pre-screening a Proposal</span>
- <p style="color:white; font-weight: bolder !important; font-size: 28px ">can optimize the application process for supervisors & candidates</p>
- </div>
- <div style="border-bottom: 2px solid #ffad00; width: 12%; margin-left: 30rem;"></div>
- <p class="mt-5 text-center" style="color:white; font-weight: bolder !important; font-size: 20px ">Introducing Research Admission Platform for Supervsiors -
- <br>a revolutionary solution designed to simplify the proposal <br>submission and review process</p>
- <p class="mt-5 mb-4 text-center"><span class="master-link secondary open_modal_page hand" data-title="Register Your Interest" data-url="{{route('modal-get',['name'=>'landing_ragister_form'])}}"><strong style="font-weight: bolder !important; cursor:pointer; font-size: 17px;">Register Your Interest <i class="fa fa-arrow-right fea icon-sm"></i> </strong> </span></p>
- </div>
- </div>
-
- <div class="container-fluid mt-5 pt-3 mb-5 pb-3" style="background-color: white;">
- <div class="row g-0 mt-5 mb-5" style="justify-content: center;">
- <div class="container">
- <div class="col-md-12">
- <div class="row">
- <div class="col-md-6">
- <p class="mt-5 pt-3 mb-3 text-left" style="color: #191e38; font-weight: bolder !important; font-size: 38px; font-family: 'League Spartan', sans-serif !important; line-height: 1.1;">Discover the hassle-free solution to manage proposals from your doctoral applicants</p>
- <div style="border-bottom: 2px solid #ffad00; width: 25%;"></div>
- <p class="mt-4 mb-5 pb-3 text-left" style="color: #191e38; font-size: 20px;">As an educator and supervisor, it's clear that you receive a large volume of emails from doctoral candidates seeking your supervision for their research projects. The task of organizing and keeping track of all these emails can be quite daunting.</p>
- </div>
- <div class="col-md-5 mt-5 mb-5 ms-5 ps-4">
- <img src="web/images/01.jpg" class="rounded-circle">
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <div class="col-md-12 padding-less ms-5 ps-2 mt-5 pt-3 mb-5 pb-3" style="background-color: #191e38;">
- <div class="container mt-5">
- <div class="row justify-content-center">
- <div class="col-12 text-center">
- <div class="section-title mb-4 pb-2">
- <p class="mt-2" style="color:white; font-size: 20px; margin-bottom: 0px;">Working Processes</p>
- <h1 class="mb-3" style="color: #ffad00; font-size: 48px !important; font-weight: bolder !important; font-family: 'League Spartan', sans-serif !important;">How It Works</h1>
- <div style="border-bottom: 2px solid #ffad00; width: 12%; margin-left: 30rem;"></div>
- </div>
- </div><!--end col-->
- </div><!--end row-->
- <div class="row justify-content-center">
- <div class="col-lg-12 mt-4 mb-4" style="padding: 0px;">
- <div class="row">
- <div class="col-lg-3 col-md-6 col-12 mt-4 pt-2">
- <div class="card" style="border-radius: 24px; width: 276px; height: 300px;">
- <div class="card-body">
- <div class="mt-2">
- <h6 class="method">Step 1</h6>
- <h5 class="card-title text-center">Add link in e-mail signature</h5>
- </div>
- </div>
- </div>
- </div><!--end col-->
- <div class="col-lg-3 col-md-6 col-12 mt-4 pt-2">
- <div class="card" style="border-radius: 24px; width: 276px; height: 300px;">
- <div class="card-body">
- <div class="mt-2">
- <h5 class="card-title text-center">Invite applicant to submit</h5>
- </div>
- </div>
- </div>
- </div><!--end col-->
- <div class="col-lg-3 col-md-6 col-12 mt-4 pt-2">
- <div class="card" style="border-radius: 24px; width: 276px; height: 300px;">
- <div class="card-body">
- <div class="mt-2">
- <h5 class="card-title text-center">Begin Accepting Proposals</h5>
- </div>
- </div>
- </div>
- </div><!--end col-->
- <div class="col-lg-3 col-md-6 col-12 mt-4 pt-2">
- <div class="card" style="border-radius: 24px; width: 276px; height: 300px;">
- <div class="card-body">
- <div class="mt-2">
- <h5 class="card-title text-center">Review & Make decision</h5>
- </div>
- </div>
- </div>
- </div><!--end col-->
- </div><!--end row-->
- </div>
- </div><!--end col-->
- <p class="mt-3 mb-5 text-center" style="color:white; font-weight: bolder !important; font-size: 24px ">Eliminate the need to keep track of emails</p>
- </div><!--end container-->
- </div>
- </div>
- <div class="container-fluid mt-5 pt-3 mb-5 pb-3" style="background-color: white;">
- <div class="row g-0 mt-5 mb-5" style="justify-content: center;">
- <div class="container">
- <div class="row justify-content-center">
- <div class="col-12 text-center">
- <p class="mt-4" style="color: #191e38; font-size: 20px; margin-bottom: 0px; font-weight: 600;">Users Review</p>
- <h1 class="mb-3" style="color: #191e38; font-size: 48px !important; font-weight: bolder !important; font-family: 'League Spartan', sans-serif !important;">What Our User Says</h1>
- <div style="border-bottom: 2px solid #ffad00; width: 12%; margin-left: 30rem;"></div>
- </div><!--end col-->
- </div><!--end row-->
- <div class="col-md-12 mb-5 pb-2">
- <div class="row justify-content-center">
- <div class="col-lg-12 mt-5" style="padding: 0px;">
- <div class="tiny-two-item">
- <div class="tiny-slide">
- <div class="d-flex m-2">
- <div class="flex-1 content p-3 shadow rounded box-white position-relative" style="border: 1px solid #eee !important;">
- <img src="web/images/01.jpg" class="avatar avatar-small client-image shadow" alt="" style="border-radius: 35px !important;">
- <p class="text-muted1 mt-2">" It seems that only fragments of the original text remain in the Lorem Ipsum texts used today. "</p>
- <h6 style="color: #e0cfb5;">- Thomas Israel <small class="text-muted1">C.E.O</small></h6>
- </div>
- </div>
- </div>
-
- <div class="tiny-slide">
- <div class="d-flex m-2">
- <div class="flex-1 content p-3 shadow rounded box-white position-relative" style="border: 1px solid #eee !important;">
- <img src="web/images/01.jpg" class="avatar avatar-small client-image shadow" alt="" style="border-radius: 35px !important;">
- <p class="text-muted1 mt-2">" One disadvantage of Lorum Ipsum is that in Latin certain letters appear more frequently than others. "</p>
- <h6 style="color: #e0cfb5;">- Barbara McIntosh <small class="text-muted1">M.D</small></h6>
- </div>
- </div>
- </div>
- <div class="tiny-slide">
- <div class="d-flex m-2">
- <div class="flex-1 content p-3 shadow rounded box-white position-relative" style="border: 1px solid #eee !important;">
- <img src="web/images/01.jpg" class="avatar avatar-small client-image shadow" alt="" style="border-radius: 35px !important;">
- <p class="text-muted1 mt-2">" The most well-known dummy text is the 'Lorem Ipsum', which is said to have originated in the 16th century. "</p>
- <h6 style="color: #e0cfb5;">- Carl Oliver <small class="text-muted1">P.A</small></h6>
- </div>
- </div>
- </div>
- <div class="tiny-slide">
- <div class="d-flex m-2">
- <div class="flex-1 content p-3 shadow rounded box-white position-relative" style="border: 1px solid #eee !important;">
- <img src="web/images/01.jpg" class="avatar avatar-small client-image shadow" alt="" style="border-radius: 35px !important;">
- <p class="text-muted1 mt-2">" According to most sources, Lorum Ipsum can be traced back to a text composed by Cicero. "</p>
- <h6 style="color: #e0cfb5;">- Christa Smith <small class="text-muted1">Manager</small></h6>
- </div>
- </div>
- </div>
- </div>
- </div><!--end col-->
- </div><!--end row-->
- </div>
- </div>
- </div>
- </div>
-
- <div class="container-fluid mt-5 pt-3" style="background-color: #191e38;">
- <div class="row g-0 mt-5" style="justify-content: center;">
- <div class="container">
- <div class="col-md-12 mb-5">
- <div class="section-title mb-4 pb-2 text-center">
- <p class="mt-2" style="color:white; font-size: 20px; margin-bottom: 0px;">Why this platform is</p>
- <h1 class="mb-3" style="color: #ffad00; font-size: 48px !important; font-weight: bolder !important; font-family: 'League Spartan', sans-serif !important;">Advantageous For You</h1>
- <div style="border-bottom: 2px solid #ffad00; width: 12%; margin-left: 30rem;"></div>
- </div>
- <div class="row">
- <div class="col-lg-4 col-md-6 col-12 mt-4 pt-2 mb-5" style="border-right: 2px solid #ffffff;">
- <div class="card-body">
- <div class="mt-2">
- <h1 style="color: #ffad00; font-size: 28px !important; text-align: left; font-family: 'League Spartan', sans-serif !important; line-height: 1.1;">Supervision <br>opportunities</h1>
- <h5 class="text-left mt-4" style="color: white;">Join our community and connect with driven candidates ready to excel</h5>
- </div>
- </div>
- </div><!--end col-->
- <div class="col-lg-4 col-md-6 col-12 mt-4 pt-2 mb-5" style="border-right: 2px solid #ffffff;">
- <div class="card-body">
- <div class="mt-2">
- <h1 style="color: #ffad00; font-size: 28px !important; text-align: left; font-family: 'League Spartan', sans-serif !important; line-height: 1.1;">Collaborate with <br>Potential Co-author</h1>
- <h5 class="text-left mt-4" style="color: white;">Expand your academic network and collaborate with potential co-authors in your field effortlessly with just a few clicks</h5>
- </div>
- </div>
- </div><!--end col-->
- <div class="col-lg-4 col-md-6 col-12 mt-4 pt-2 mb-5">
- <div class="card-body">
- <div class="mt-2">
- <h1 style="color: #ffad00; font-size: 28px !important; text-align: left; font-family: 'League Spartan', sans-serif !important; line-height: 1.1;">Full Control <br>More Visibility</h1>
- <h5 class="text-left mt-4" style="color: white;">Update your research interests and toggle your availability status with ease, all in one platform</h5>
- </div>
- </div>
- </div><!--end col-->
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <!-- <div class="col-lg-7 cover-my-30 ms-5 ps-5">
- <div class="row">
- <div class="col-12">
- <div class="border-0" style="z-index: 1;">
- <div class="card-body mt-5" style="padding: 0px;">
- <p style="color:white; font-weight: 100 !important;"> Our free tool enables students to submit their proposals effortlessly while providing you with email notifications for each new submission. The days of searching through cluttered inboxes and struggling to keep track of proposals under review are over. With our user-friendly interface, you can efficiently manage and organize all your doctoral program proposals in one centralized location.</p>
-
- <p class="mt-4" style="color: white;">Our tool ensures that you never miss a proposal submission or waste time manually entering data. With all the necessary information at your fingertips, you can review proposals quickly and notify the decision to the applicants instantly.</p>
- <p class="mt-4" style="color: white;">Our tool is entirely free, which means you can start using it immediately without incurring additional costs. By using our proposal management tool, you can save valuable time and feel more organized.</p>
- <p class="mt-4" style="color: white;"><Strong style="font-weight: bolder !important; color: white;"> Do not let the chaos of proposal management overwhelm you any longer. </strong> Sign up for our free tool today and experience the stress-free solution you have been searching for.</p>
- <div class="div">
- </div>
- </div>
- </div>
- </div>
- </div>
- </div> -->
- </div><!--end row-->
- </div><!--end container fluid-->
- </section><!--end section-->
- <footer class="footer footer-bar" style="background-color: #191e38; display: block; border-top: 1px solid #eee;">
- <div class="container-fluid text-center">
- <div class="row align-items-center">
- <div class="col-md-6">
- <div style="text-align: left;">
- <p class="mb-0" style="color:white; margin-left: -2px; padding: 14px; font-size: 14px !important;">We aim to simplify research application for students and streamline management for supervisors with our comprehensive platform at Research Admission.</p>
- </div>
- </div><!--end col-->
- <div class="col-md-6">
- <div style="text-align: right;">
- <p class="mb-0" style="color:white; margin-left: -2px; padding: 14px;">Copyright © <script>document.write(new Date().getFullYear())</script>
- Research Admission</p>
- </div>
- </div>
- </div><!--end col-->
- </div><!--end row-->
- </div><!--end container-->
- </footer>
- <!-- javascript -->
- <script src="{{asset('web/js/bootstrap.bundle.min.js')}}"></script>
- <!-- tobii js -->
- <script src="{{asset('web/js/tobii.min.js')}}"></script>
- <!-- SLIDER -->
- <script src="{{asset('web/js/tiny-slider.js')}}"></script>
- <!-- Icons -->
- <script src="{{asset('web/js/feather.min.js')}}"></script>
- <!-- Main Js -->
- <script src="{{asset('web/js/plugins.init.js')}}"></script>
- <script src="{{asset('web/js/app.js')}}"></script>
-
- <script src="{{ asset('css/jquery.min.js') }}"></script>
- <script src="{{ asset('css/jquery-form/dist/jquery.form.min.js') }}"></script>
- <script src="{{ asset('css/pnotify/pnotify.js') }}"></script>
- <script src="{{ asset('css/noty/lib/noty.min.js') }}"></script>
- <script src="{{ asset('css/flatpickr/dist/flatpickr.min.js') }}"></script>
- <script src="{{ asset('css/wait-me/waitMe.min.js')}}"></script>
- @include('web.layouts.modal')
- <script>
- function fetch_sub_content(selector, url, args=null){
-
- var config={
- spinner: true
- }
-
- if(typeof args=='object'){
- config=Object.assign(config, args);
- }
-
- if(config.spinner){
-
- $(selector).waitMe({
- effect: 'facebook',
- text: 'Please! Wait ...'
- });
-
- }
-
- $(selector).load(url, null, function(){
- $(selector).waitMe('hide');
- if(typeof args=='function') args();
- });
-
- }
-
- function wait_me(selector, config=null){
-
- if(config){
-
- selector.waitMe(config);
-
- }else{
-
- selector.waitMe({
- effect: 'facebook',
- //color: '#000',
- text: 'Please! Wait ...'
- });
- }
- }
-
-
- function pop_up_msg(msg='No message specified', type='success', callback=null){
- new Noty({
- theme:'sunset',
- text: msg,
- type: type,
- timeout:1500,
- callbacks:{
- afterClose: callback
- }
- }).show();
- }
-
- function err_msg(err){
-
- var msg="Request failed to process, try again later.";
-
- if(err.responseJSON && err.responseJSON.msg){
- msg=err.responseJSON.msg;
- }
-
- return msg;
-
- }
-
- function ajax_form(form, cllback=null, config={spinner: true}){
-
- $('.btn-submit').prop('disabled', true);
- var redirect=$(form).data('redirect');
-
- if(typeof config=='object'){
-
- if(config.spinner) wait_me($(form));
-
- }
-
- $(form).ajaxSubmit({
- success:function(res){
-
- wait_me($(form), 'hide');
-
- if(res.msg){
-
- pop_up_msg(res.msg, 'success', function(){
-
- $('.btn-submit').prop('disabled', false);
-
- if(redirect) window.location.replace(redirect);
- else if(typeof cllback=='function'){
- cllback(form, res);
- }
-
- });
-
- }
-
- //$.notify(res.msg, 'success');
- },
- error:function(res){
-
- wait_me($(form), 'hide');
-
- var msg="Request failed to process, try again later.";
-
- if(res.responseJSON && res.responseJSON.msg){
- msg=res.responseJSON.msg;
- }
-
- pop_up_msg(msg, 'error');
- $('.btn-submit').prop('disabled', false);
-
- }
-
- });
-
- } //End of ajax form definition
- </script>
- </body>
- </html>
|