Commit a21734a3 by nadeem.qasmi

today fixes done

parent 7bcb928a
Pipeline #478 passed with stage
in 0 seconds
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<div class="learning-manaegment-image" style="background-image: url([[BG_IMG]]);"> <div class="learning-manaegment-image" style="background-image: url([[BG_IMG]]);">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm-4"> <div class="col-sm-4 nopad">
<div class="intro-box"> <div class="intro-box">
<div class="intro-heading"> <div class="intro-heading">
<h2>Special <br>intro <br>price</h2> <h2>Special <br>intro <br>price</h2>
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
</div> </div>
</div> </div>
</div> </div>
<div class="col-sm-8"> <div class="col-sm-8 nopad">
<div class="intro-heading"> <div class="intro-heading">
<p>[[BANNER_DESCRIPTION]]</p> <p>[[BANNER_DESCRIPTION]]</p>
</div> </div>
......
...@@ -501,8 +501,6 @@ function vq_render_short_banner($attr) ...@@ -501,8 +501,6 @@ function vq_render_short_banner($attr)
function vq_render_course_banner($attr) function vq_render_course_banner($attr)
{ {
if (!isset($attr['id'])) { if (!isset($attr['id'])) {
return 'No Course Found'; return 'No Course Found';
} else { } else {
...@@ -524,14 +522,13 @@ function vq_render_course_banner($attr) ...@@ -524,14 +522,13 @@ function vq_render_course_banner($attr)
$banner = str_replace('[[BANNER_DESCRIPTION]]', $page->post_content, $banner); $banner = str_replace('[[BANNER_DESCRIPTION]]', $page->post_content, $banner);
$banner = str_replace('[[BG_IMG]]', get_the_post_thumbnail_url($page->id), $banner); $banner = str_replace('[[BG_IMG]]', get_the_post_thumbnail_url($cid), $banner);
$banner = str_replace('[[REDIRECT_URL]]', get_permalink($page->ID), $banner); $banner = str_replace('[[REDIRECT_URL]]', get_permalink($page->ID), $banner);
$banner = str_replace('[[FEE]]', $fee, $banner); $banner = str_replace('[[FEE]]', $fee, $banner);
return $banner; return $banner;
} }
function vq_render_inquiry_form() { function vq_render_inquiry_form() {
......
...@@ -48,7 +48,10 @@ function use_lms_template($data) ...@@ -48,7 +48,10 @@ function use_lms_template($data)
exit; exit;
} else if(is_page('learning-management')) { } else if(is_page('learning-management')) {
return __DIR__ . '/template/management.php'; return __DIR__ . '/template/management.php';
}
} else if(is_page('thanks')) {
return __DIR__ . '/template/thanks.php';
}
return $data; return $data;
} }
...@@ -1052,6 +1052,11 @@ ...@@ -1052,6 +1052,11 @@
p:empty { display:none; } p:empty { display:none; }
.bootstrap-iso .linkpad{
padding: 10%;
}
/* other fixes */ /* other fixes */
@media (max-width: 1024px) { @media (max-width: 1024px) {
...@@ -1142,6 +1147,16 @@ p:empty { display:none; } ...@@ -1142,6 +1147,16 @@ p:empty { display:none; }
.bootstrap-iso .e-learning-heading h2 { .bootstrap-iso .e-learning-heading h2 {
padding-top: 55px; padding-top: 55px;
} }
.bootstrap-iso .nopad{
padding: 0px;
}
.bootstrap-iso .linkpad{
padding: 5%;
}
.bootstrap-iso .learning-home-button{
font-size: 6px!important;
}
} }
...@@ -1184,6 +1199,16 @@ p:empty { display:none; } ...@@ -1184,6 +1199,16 @@ p:empty { display:none; }
.bootstrap-iso .e-learning-heading h2 { .bootstrap-iso .e-learning-heading h2 {
padding-top: 55px; padding-top: 55px;
} }
.bootstrap-iso .nopad{
padding: 0px;
}
.bootstrap-iso .linkpad{
padding: 3%;
}
.bootstrap-iso .learning-home-button{
font-size: 6px!important;
}
} }
@media (max-width: 320px){ @media (max-width: 320px){
...@@ -1225,5 +1250,15 @@ p:empty { display:none; } ...@@ -1225,5 +1250,15 @@ p:empty { display:none; }
.bootstrap-iso .e-learning-heading h2 { .bootstrap-iso .e-learning-heading h2 {
padding-top: 55px; padding-top: 55px;
} }
.bootstrap-iso .nopad{
padding: 0px;
}
.bootstrap-iso .linkpad{
padding: 3%;
}
.bootstrap-iso .learning-home-button{
font-size: 4px!important;
}
} }
\ No newline at end of file
...@@ -17,12 +17,12 @@ $course_categories = get_terms( array( ...@@ -17,12 +17,12 @@ $course_categories = get_terms( array(
</a> </a>
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="e-learning-heading"> <div class="e-learning-heading" style="padding: 50px 0;">
<h2><?php echo $page->post_title ?></h2> <h2><?php echo $page->post_title ?></h2>
<h3><?php echo $page->post_content ?></h3> <h3><?php echo $page->post_content ?></h3>
</div> </div>
</div> </div>
<p style="color: #fff; padding: 50px 0;" class="text-center">Learning Management System</p> <!-- <p style="color: #fff; padding: 50px 0;" class="text-center">Learning Management System</p> -->
</div> </div>
</div> </div>
<div class="learning-profile-bg"> <div class="learning-profile-bg">
......
...@@ -49,7 +49,7 @@ $categories = get_terms( array( ...@@ -49,7 +49,7 @@ $categories = get_terms( array(
while (have_posts()): while (have_posts()):
the_post(); the_post();
?> ?>
<form name="payserv" id="payserv" method="post" action="https://apexlms.vqode.com/thank-you-download/"> <form name="payserv" id="payserv" method="post" action="https://apexlms.vqode.com/thanks/">
<input type="hidden" name="paymentrequest" id="paymentrequest" value="" /> <input type="hidden" name="paymentrequest" id="paymentrequest" value="" />
</form> </form>
<div class="bootstrap-iso"> <div class="bootstrap-iso">
......
...@@ -2,7 +2,8 @@ ...@@ -2,7 +2,8 @@
get_header(); get_header();
?> ?>
<div class="bootstrap-iso"> <div class="bootstrap-iso">
<div class="e-learning-banner"> <div class="e-learning-banner" style="background-image: url(<?php echo get_the_post_thumbnail_url(); ?>);">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="e-learning-heading"> <div class="e-learning-heading">
...@@ -29,9 +30,14 @@ get_header(); ...@@ -29,9 +30,14 @@ get_header();
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm-8"> <div class="col-sm-8">
<?php
if(get_post_meta(get_the_ID(), 'page_video_url', true) != ''){ ?>
<video src="<?php echo get_post_meta(get_the_ID(), 'page_video_url', true); ?>" width="100%" controls> <video src="<?php echo get_post_meta(get_the_ID(), 'page_video_url', true); ?>" width="100%" controls>
</video> </video>
<?php } ?>
<div class="course-box"> <div class="course-box">
<div class="col-sm-9"> <div class="col-sm-9">
<div class="course-heading"> <div class="course-heading">
......
...@@ -25,8 +25,9 @@ ...@@ -25,8 +25,9 @@
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div class="col-sm-12"> <div class="col-sm-12">
<div class="text-center"> <div class="text-center linkpad">
<button type="submit" class="learning-home-button">Back to e-learning home</button> <a href="<?php echo get_page_link(get_page_by_path('lms')); ?>" class="learning-home-button">Back to e-learning home</a>
</div> </div>
</div> </div>
</div> </div>
......
<?php
get_header();
?>
<div class="bootstrap-iso">
<div class="e-learning-banner">
<div class="container">
<div class="row">
<div class="e-learning-heading">
<h2>Thanks!</h2>
</div>
</div>
</div>
</div>
<div class="thankyou-info-bg">
<div class="container">
<div class="row">
<div class="col-sm-12">
<div class="thankyou-heading">
<h2>Kindly check the provided email, You shall soon get a download link for the courses.</h2>
</div>
</div>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div class="col-sm-6">
<div class="text-center">
<button type="submit" class="learning-home-button">Back to e-learning home</button>
</div>
</div>
<div class="col-sm-6">
<div class="text-center">
<button type="submit" class="apex-home-button">Back to apex home</button>
</div>
</div>
</div>
</div>
</div>
<?php
get_footer();
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment