Mercurial > public > sg101
changeset 341:871a54546808
Created a social side block so we can remove the obtrusive twitter bulletin.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 27 Feb 2011 01:03:17 +0000 |
parents | 2541d27ca056 |
children | 8587c7a22094 |
files | gpp/templates/base.html gpp/templates/core/social_block.html static/css/base.css |
diffstat | 3 files changed, 19 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gpp/templates/base.html Sun Feb 27 00:28:20 2011 +0000 +++ b/gpp/templates/base.html Sun Feb 27 01:03:17 2011 +0000 @@ -78,6 +78,7 @@ {% cache 60 irc_block %} {% irc_status %} {% endcache %} + {% include 'core/social_block.html' %} </div> <div id="content-primary" class="span-19 last">
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/gpp/templates/core/social_block.html Sun Feb 27 01:03:17 2011 +0000 @@ -0,0 +1,8 @@ +{% extends 'side_block.html' %} +{% block block_title %}SG101 on the Web{% endblock %} +{% block block_content %} +<p class="centeredImage"> +<a href="http://www.twitter.com/SurfGuitar101"><img src="http://twitter-badges.s3.amazonaws.com/twitter-a.png" alt="Follow SurfGuitar101 on Twitter"/></a><br /> +<a href="http://www.youtube.com/user/surfguitar101?feature=creators_cornier-http%3A//s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png"><img src="http://s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png" alt="Subscribe to me on YouTube"/></a><img src="http://www.youtube-nocookie.com/gen_204?feature=creators_cornier-http%3A//s.ytimg.com/yt/img/creators_corner/YouTube/40x40_yt_white.png" style="display: none"/> +</p> +{% endblock %}
--- a/static/css/base.css Sun Feb 27 00:28:20 2011 +0000 +++ b/static/css/base.css Sun Feb 27 01:03:17 2011 +0000 @@ -395,3 +395,13 @@ .pointer { cursor: pointer; } +.centeredImage { + text-align: center; + margin-top: 0px; + margin-bottom: 0px; + padding: 0px; +} +.centeredImage img { + margin-top: 3px; + margin-bottom: 3px; +}