vishwamano

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

commit af5854c12b3a26d33ba19ce4caf934a91137f029
parent eb3d0c17d6f97255d4ba08faf50d15817686e504
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Tue, 22 Mar 2016 00:48:12 -0400

removed /contact/ page' main content.

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

diff --git a/themes/bs3/templates/contact.tpl b/themes/bs3/templates/contact.tpl @@ -1,46 +1,10 @@ {include file='header.tpl'} <div id="vm-contact-container" class="container-fluid"> <!-- top container start --> - <div class="row vm-contact"> <!-- contact row start --> - <div class="col-sm-12"> <!-- contact section start --> - <section class="box"> - <h1 class="text-center">{$p_title}</h1> - <ul class="list-unstyled text-center"> - <li> - <span class="sr-only">Phone/WhatsApp</span> - <i class="fa fa-phone"></i> / - <i class="fa fa-whatsapp"></i> - <a href="tel:+919176560151"> +919176560151</a> - </li> - <li> - <span class="sr-only">Email</span> - <i class="fa fa-envelope"></i> - <a href="mailto:vishwa91photography@gmail.com"> vishwa91photography@gmail.com</a> - </li> - </ul> - </section> - </div> <!-- contact section end --> - </div> <!-- contact row end --> {include file='aside.tpl'} </div> <!-- top container end --> {include file='js.tpl'} <script> -function adjustContactBox() { - var screenWidth = $(window).width(); - if(screenWidth < 768) { - $('.box').css('width', screenWidth - 30); - $('.box').css('margin-left', '0px'); - - }else { - $('.box').css('width', $('.nav').width() - 200); - var marginLeft = (screenWidth - ($('.nav').width() - 120)) / 2.0; - $('.box').css('margin-left', marginLeft); - } -} -$(document).ready(adjustContactBox); -$(window).resize(adjustContactBox); -</script> -<script> function adjustHRLine() { var screenWidth = $(window).width(); if(screenWidth < 768) { @@ -52,18 +16,4 @@ function adjustHRLine() { $(document).ready(adjustHRLine); $(window).resize(adjustHRLine); </script> -<script> -function adjustAside() { - var screenHeight = $(window).height(); - var occupiedHeight = ($('#vm-navbar').height() + - $('#vm-contact-container').height() + - $('.footer').height()); - var freeHeight = screenHeight - occupiedHeight; - console.log(freeHeight); - if(freeHeight - 70 > 0) - $('.box').css('margin-bottom', freeHeight - 70); -} -$(document).ready(adjustAside); -$(window).resize(adjustAside); -</script> {include file='footer.tpl'}