|
@@ -324,8 +324,8 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
border-radius: 5px;
|
|
|
}
|
|
|
.method-box{
|
|
|
- width: 31.5%;
|
|
|
- background-color: #eee;
|
|
|
+ width: 31.5%;
|
|
|
+ background-color: #eee;
|
|
|
border-radius: 5px;
|
|
|
}
|
|
|
</style>
|
|
@@ -502,8 +502,8 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<p style="font-size: 13px;">You can log in to your account, include the student's name and email address in Q Apply, and send them an invitation. This way, their application will be automatically tagged with your reference.</p>
|
|
|
</div>
|
|
|
<div class="col-md-4 mt-3 ms-3 method-box">
|
|
|
- <h6 class="method"> Option 3:</h6>
|
|
|
- <p style="font-size: 13px; margin-bottom: 0px;">You can share the Q Apply link with the student and ask them to fill out the form using their name and email. An invitation email will be sent to them, and then they can proceed with method 2.</p>
|
|
|
+ <h6 class="method"> Option 3:</h6>
|
|
|
+ <p style="font-size: 13px; margin-bottom: 0px;">You can share the Q Apply link with the student and ask them to fill out the form using their name and email. An invitation email will be sent to them, and then they can proceed with method 2.</p>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -991,47 +991,11 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
<button class="btn btn2 research_interest" style="margin-left: -3.4rem; border-radius: 0px 6px 6px 0px">Add</button>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="single_glance_row mt-4">
|
|
|
- <div style="display: flex;">
|
|
|
- <div class="left" style="width: 90%;">
|
|
|
- <div id="load_research_interest"></div>
|
|
|
- {{-- <span class="title" style="font-size:11px;" id="interest" contenteditable="true" style="padding: 5px;">Business 1</span> --}}
|
|
|
- </div>
|
|
|
- <!-- <div class="right" style="width: 10%;">
|
|
|
- <span class="title" style="font-size:11px;">
|
|
|
- <a role="button" data-bs-toggle="collapse" data-bs-parent="#collapse" href="#collapse1" aria-expanded="true" aria-controls="collapse1">
|
|
|
- <button type="button" class="btn btn2" style="padding: 2px 5px !important; font-size: 11px;"><i class="fa fa-pencil"></i></button>
|
|
|
- </a>
|
|
|
- </span>
|
|
|
- </div> -->
|
|
|
- </div>
|
|
|
- <!-- <div class="col-md-12">
|
|
|
- <div id="demo17" class="collapse mt-2">
|
|
|
- <div class="panel-body" style="padding:10px; background-color: #4b4c6824; border: 1px solid #e9e5e5; border-radius: 5px;">
|
|
|
- <form method="POST" action="">
|
|
|
- <div class="row">
|
|
|
- <div class="col-md-12">
|
|
|
- <div class="mb-2">
|
|
|
- <label class="form-label config">Department</label>
|
|
|
- <div class="form-icon position-relative">
|
|
|
- <input type="text" class="form-control" placeholder="Department" name="department" required="" style="font-size: 13px;">
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- <div class="col-md-12">
|
|
|
- <div class="text-end">
|
|
|
- <button class="btn btn2">Update</button>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </form>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
- </div> -->
|
|
|
- </div>
|
|
|
+
|
|
|
+ <div id="load_research_interest"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- </div>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1140,6 +1104,58 @@ tbody, td, tfoot, th, thead, tr {
|
|
|
|
|
|
}
|
|
|
|
|
|
+ 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
|
|
|
+
|
|
|
|
|
|
$(function(){
|
|
|
|