vishwamano

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

commit 4a01b2b5e18fa1c207955d5233d265a594c58300
parent cc47b4c7a996be445ae84c356d9f0be83f9679eb
Author: rsiddharth <rsiddharth@ninthfloor.org>
Date:   Wed, 12 Aug 2015 10:59:53 -0400

renamed nbio.tpl -> bio.tpl

	modified:   bio/index.php
	renamed:    themes/bs3/templates/nbio.tpl -> themes/bs3/templates/bio.tpl

Diffstat:
bio/index.php | 2+-
themes/bs3/templates/bio.tpl | 48+++++++++++++++++++++++++++++++++---------------
themes/bs3/templates/nbio.tpl | 59-----------------------------------------------------------
3 files changed, 34 insertions(+), 75 deletions(-)

diff --git a/bio/index.php b/bio/index.php @@ -90,5 +90,5 @@ $smarty->assign('vm_img_info', $vm_img_info); $smarty->assign('title', $title); $smarty->assign('meta_keywords', $meta_keywords); $smarty->assign('meta_description', $meta_desc); -$smarty->display('nbio.tpl'); +$smarty->display('bio.tpl'); diff --git a/themes/bs3/templates/bio.tpl b/themes/bs3/templates/bio.tpl @@ -1,29 +1,32 @@ -{include file='header.tpl'} +{include file='fp-header.tpl'} <div class="container-fluid"> <!-- top container start --> - <div class="row"> <!-- top row start --> - <div class="col-sm-4"> <!-- vm img column start --> - <img class="img-responsive" + + <div id="vm-img-col" class="col-sm-offset-2 col-sm-2 col-xs-6"> <!-- vm img column start --> + <div id="vm-img-block" class="center-block"> + <img class="img-responsive center-block" src="{$vm_img_info.path}{$vm_img_info.img}" alt="[ Vishwa Manoharan ]"> - <p class="text-center"><small>{$vm_img_info.caption}</small></p> + <p class="text-center"><small>{$vm_img_info.caption}</small></p> + </div> </div> <!-- pc static images column end --> - <div class="col-sm-8"> <!-- bio content column start --> - <h1 class="text-center">{$bio_title}</h1> + <div id="vm-content-col" class="col-sm-6"> <!-- bio content column start --> + + {$bio_quote} + {$bio_content} - <h2> {$bio_accolades.title} </h2> + <h1 class="accolade-heading"> {$bio_accolades.title} </h1> - <ul class="list-unstyled"> + <ul class="list-unstyled accolade-list"> {foreach $bio_accolades.list as $date => $accolade} - <li><span class="label label-inverse"> - <span class="glyphicon glyphicon-time"></span> - {$date} - </span> + <li> + <span class="accolade"> + {$date}</span> {$accolade} </li> {/foreach} @@ -31,11 +34,26 @@ </div> <!-- bio content column end --> </div> <!-- top row end --> - + {include file='aside.tpl'} </div> <!-- top container end --> {include file='js.tpl'} <script> - $('#nav-link-bio').addClass("active"); +function adjustHLine() { + if($(window).width > 768) { + $('.hr-long').css('width', + $('#vm-img-col').width() + + $('#vm-content-col').width() + 200); + }else { + $('.hr-long').css('width', $(window).width() - 20); + } +} +$(document).ready(adjustHLine); +$(window).resize(adjustHLine); +</script> +<script> + var uagent = navigator.userAgent.toLowerCase(); + if(uagent.search('mobile') > -1) + $('#stay-in-touch').append('<li><a href="tel://+919176560151"><i class="fa fa-phone"></i></a></li>'); </script> {include file='footer.tpl'} diff --git a/themes/bs3/templates/nbio.tpl b/themes/bs3/templates/nbio.tpl @@ -1,59 +0,0 @@ -{include file='fp-header.tpl'} - - -<div class="container-fluid"> <!-- top container start --> - - <div class="row"> <!-- top row start --> - - <div id="vm-img-col" class="col-sm-offset-2 col-sm-2 col-xs-6"> <!-- vm img column start --> - <div id="vm-img-block" class="center-block"> - <img class="img-responsive center-block" - src="{$vm_img_info.path}{$vm_img_info.img}" alt="[ Vishwa Manoharan ]"> - <p class="text-center"><small>{$vm_img_info.caption}</small></p> - </div> - </div> <!-- pc static images column end --> - - - <div id="vm-content-col" class="col-sm-6"> <!-- bio content column start --> - - {$bio_quote} - - {$bio_content} - - <h1 class="accolade-heading"> {$bio_accolades.title} </h1> - - <ul class="list-unstyled accolade-list"> - {foreach $bio_accolades.list as $date => $accolade} - <li> - <span class="accolade"> - {$date}</span> - {$accolade} - </li> - {/foreach} - </ul> - </div> <!-- bio content column end --> - - </div> <!-- top row end --> - {include file='aside.tpl'} -</div> <!-- top container end --> - -{include file='js.tpl'} -<script> -function adjustHLine() { - if($(window).width > 768) { - $('.hr-long').css('width', - $('#vm-img-col').width() + - $('#vm-content-col').width() + 200); - }else { - $('.hr-long').css('width', $(window).width() - 20); - } -} -$(document).ready(adjustHLine); -$(window).resize(adjustHLine); -</script> -<script> - var uagent = navigator.userAgent.toLowerCase(); - if(uagent.search('mobile') > -1) - $('#stay-in-touch').append('<li><a href="tel://+919176560151"><i class="fa fa-phone"></i></a></li>'); -</script> -{include file='footer.tpl'}