vishwamano

source of vishwamano.com
git clone git://git.ricketyspace.net/vishwamano.git
Log | Files | Refs

commit 4d198985f324d4e7e14ec20f4939d9924db83f95
parent ba8dc2f5197f5390cfc6a8ef4fc7668836e1ba02
Author: rsiddharth <s@ricketyspace.net>
Date:   Wed, 31 Oct 2018 18:07:44 -0400

Remove themes/bs3/templates/p-classes.tpl.

Diffstat:
themes/bs3/templates/p-classes.tpl | 255-------------------------------------------------------------------------------
1 file changed, 0 insertions(+), 255 deletions(-)

diff --git a/themes/bs3/templates/p-classes.tpl b/themes/bs3/templates/p-classes.tpl @@ -1,255 +0,0 @@ -{include file='header.tpl'} - -<div class="container-fluid"> <!-- top container start --> - <article class="vm-workshops"> - {if isset($pc_msg)} - <div id="pc-alert-box" class="row"> - <div class="col-sm-offset-1 col-sm-10"> - <div class="alert alert-{$pc_msg.type}" role="alert"> - <p>{$pc_msg.content}</p> - </div> - </div> - </div> - {/if} - - <div class="row text-center margin-bottom"> - <h1>{$pc_title}</h1> - </div> - <div class="row"> <!-- pc row start --> - <div id="pc-first-column" class="col-sm-offset-1 col-sm-5"> <!-- pc column start --> - {$pc_intro} - - <div id="pc-section"> <!-- pc info section start --> - - {foreach $classes as $c_name => $c_info} - <section id="pc-level-{$c_info@index}"> <!-- pc level {$c_info@index} start --> - <h2>{$c_name}</h2> - - <div id="pc-{$c_info@index}"> <!-- pc level {$c_info@iteration} info start --> - <dl> - {foreach $c_info as $field_name => $field_value} - <dt> - <span class="vm-workshops-field"> - <span class="glyphicon glyphicon-{$field_value[0]}"></span> - {$field_name} - </span> - </dt> - <dd> - {$field_value[1]} - </dd> - {if $field_name == 'Discounts'} - </dl> - <button type="button" class="btn btn-primary btn-xs margin-bottom" data-toggle="collapse" - data-target="#pc-{$c_info@index}-more-details" data-parent="pc-{$c_info@index}" - aria-expanded="false" aria-controls="pc-{$c_info@index}-more-details"> - More Details - </button> - <div id="pc-{$c_info@index}-more-details" class="collapse"> <!-- pc level {$c_info@iteration} more details start --> - <dl> - {/if} - {if $field_name == 'Syllabus'} - </dl> - </div> <!-- pc level {$c_info@iteration} more details end --> - {/if} - {/foreach} - </div> <!-- pc level {$c_info@iteration} info end --> - <button type="button" - class="btn btn-primary" - data-toggle="modal" - data-target="#vm-no-workshops-modal" data-pclasstype="{$c_name}" - data-pclasslevel="{$c_info@iteration}" data-notice="{$notices[$c_info@index]}"> - Register - </button> - </section> <!-- pc level {$c_info@index} end --> - {assign "last_level_index" $c_info@index} - {/foreach} - </div> <!-- pc info section end --> - - <!-- reg. modal section start --> - <div class="modal fade" id="vmreg-modal" tabindex="-1" role="dialog" aria-labelledby="vmreg-modal-label" aria-hidden="true"> - <div class="modal-dialog"> - <div class="modal-content"> - <div class="modal-header"> - <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> - <h3 class="modal-title" id="vmreg-modal-label">Registration</h3> - </div> - <div class="modal-body"> - - <p id="reg-notice"> - </p> - - <form id="vmreg-form" method="POST" action="/workshops/"> - <div class="form-group"> - <label for="name" class="control-label">Name:</label> - <input type="text" name="name" class="form-control" id="name" required> - </div> - <div class="form-group"> - <label for="email" class="control-label">Email:</label> - <input type="email" name="email" class="form-control" id="email" required> - </div> - <div class="form-group"> - <label for="phone" class="control-label">Phone Number:</label> - <input type="tel" name="phone" class="form-control" id="phone"> - </div> - - <div class="form-group"> - <label for="blurb" class="control-label">Tell us about yourself:</label> - <textarea name="blurb" class="form-control" id="blurb" rows="3"></textarea> - </div> - - <div class="form-group"> - <label for="humantest" class="control-label">What is 100 + 1?:</label> - <input type="number" name="humantest" class="form-control" id="humantest" required> - </div> - </form> - </div> - <div class="modal-footer"> - <button id="vmreg-submit" type="submit" name="submit" value="submit" - form="vmreg-form" class="btn btn-primary">Register</button> - </div> - </div> - </div> - </div> - <!-- reg. modal section end --> - - <!-- no workshops modal start --> - <div class="modal fade" id="vm-no-workshops-modal" tabindex="-1" - role="dialog" aria-labelledby="vm-no-workshops-modal-label"> - <div class="modal-dialog modal-sm"> - <div id="vm-no-workshops-modal-label" class="modal-content"> - <p>Regret to inform that no new - workshops are scheduled for 2016.</p> - </div> - </div> - </div> - <!-- no workshops modal end --> - - <hr class="visible-xs hr-long" /> - </div> <!-- pc column end --> - - <div id="pc-second-column" class="margin-top col-sm-5"> <!-- pc static images column start --> - - <div id="vm-testimonials" class="row"> - <div class="col-sm-offset-3 col-sm-6 col-xs-12"> - <a href="/workshops/testimonials/" - class="btn btn-primary btn-lg btn-block margin-bottom workshop-btn-lg"> - Testimonials - </a> - </div> - </div> - - - <img id="vm-loading-img" class="img-responsive" - src="/themes/bs3/img/loading-vm.gif" alt="[ Loading... ]"> - <div class="students-grid" style="visibility: hidden;"> - {foreach $wg_imgs_info.imgs as $img} - <img class="img-responsive margin-top" - src="{$wg_imgs_info.path}/{$img}" alt="[ static image - {$img} ]"> - {/foreach} - </div> - - <aside class="equipment-partner text-center"> <!-- start of equipment partner content --> - <h2>Equipment Partner</h2> - <a href="https://facebook.com/profile.php?id=287147924751841&amp;tsid=0.451601832639426&amp;source=typeahead"> - <img class="img-responsive center-block" src="/themes/bs3/img/equipment-partner.jpg" - alt="[ Equipment Partner Logo ]"> - </a> - </aside> <!-- end of equipment partner content --> - - </div> <!-- pc static images column end --> - - </div> <!-- pc row end --> - </article> - {include file='aside.tpl'} -</div> <!-- top container end --> - -{include file='js.tpl'} -<script> - $('#vmreg-modal').on('show.bs.modal', function (event) { - var button = $(event.relatedTarget) // Button that triggered the modal - var class_type = button.data('pclasstype') // Extract info from data-* attributes - var class_level = button.data('pclasslevel') - var class_notice = button.data('notice') - console.log(class_notice) - var modal = $(this) - modal.find('.modal-title').text(class_type + ' Registration') - modal.find('#vmreg-submit').val(class_level) - if(class_notice.length > 0) { - modal.find('#reg-notice').addClass('text-center'); - modal.find('#reg-notice').html(class_notice); - } - }) -</script> -<script> - setTimeout(function(){ - if ($('#pc-alert-box').length > 0) { - $('#pc-alert-box').fadeOut('slow'); - } - }, 20000); -</script> -<script type="text/javascript"> -$(document).ready(setupPhotoGrid) - -function setupPhotoGrid() { - var layout_spec = '222222'; - $('.students-grid').photosetGrid({ - highresLinks: true, - gutter: '5px', - layout: layout_spec, - rel: 'category', - onInit: function(){}, - onComplete: function(){ - $('img').remove('#vm-loading-img'); - $('.students-grid').attr('style', ''); - $('.students-grid a').colorbox({ - photo: true, - scalePhotos: true, - maxHeight:'90%', - maxWidth:'90%' - }); - } - }); -} -</script> -<script> -function adjustHRLine() { - var screenWidth = $(window).width(); - if(screenWidth < 768) { - $('.hr-long').css('width', $(window).width() - 20); - $('.vm-workshops h1').css('padding-right', 0); - }else { - $('.hr-long').css('width', ($('#pc-first-column').width() + - $('#pc-second-column').width())); - $('.vm-workshops h1').css('padding-right', '2.3em'); - } -} -$(document).ready(adjustHRLine); -$(window).resize(adjustHRLine); -</script> -<script> -function adjustTable() { - var screenWidth = $(window).width(); - if(screenWidth < 768) { - $('.vm-workshops table').css('width', '100%'); - }else { - $('.vm-workshops table').css('width', '100%'); - } -} -$(document).ready(adjustTable); -$(window).resize(adjustTable); -</script> -<script> - function photos_after_desc() { - screen_size = $(window).width(); - if(screen_size <= 767) { - $(".students-grid").insertBefore("#pc-section"); - $(".equipment-partner").insertBefore("#pc-section"); - } else { - $(".students-grid").insertAfter("#vm-testimonials"); - $(".equipment-partner").insertAfter(".students-grid"); - } - } - $(document).ready(photos_after_desc); - $(window).resize(photos_after_desc); -</script> -{include file='footer.tpl'}