/client/templates/base.html
https://github.com/GunioRobot/smshelp · HTML · 86 lines · 78 code · 6 blank · 2 comment · 0 complexity · 49751dea8f2fcd06d58adedd1c1f3b57 MD5 · raw file
- <!DOCTYPE html>
- <html lang="en" xml:lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=utf-8" />
- <title>SMS Help</title>
- {% block meta %}
- <meta name="Keywords" content="SMSHlp, SMS4hlp, SMSHelp, Risk Exposure, Hacking for Humanity, Random Hacks of Kindness, RHoK" />
- <meta name="Description" content="SMSHlp" />
- {% end %}
- <link rel="stylesheet" href="/static/style.css" type="text/css" media="screen" />
-
- <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>
- <script type="text/javascript">
- function initialize() {
- var latlng = new google.maps.LatLng(0, 0);
- var myOptions = {
- zoom: 2,
- center: latlng,
- mapTypeId: google.maps.MapTypeId.TERRAIN
- };
- var map = new google.maps.Map(document.getElementById("map_canvas"), myOptions);
- }
- </script>
- </head>
- <body onload="initialize()">
-
- <div id="header">
- <div class="container">
- <div id="header_logo">
- <a href="/"><img src="/static/images/handshake.png" /></a>
- </div>
- <div id="header_title">
- <h1>SMS Help</h1>
- <div class="header_tag">
- <p>SMS service to improve the human condition</p>
- </div>
- </div>
- </div>
- </div>
-
- <div id="container">
- <!-- <div id="content"> -->
- {% block header %}{% end %}
- {% block body %}{% end %}
- <!-- </div> -->
- </div>
- {% block footer %}
- <div id="footer">
- <div class="container">
- <div class="footer_links">
- <p><a href="about.html">about</a> | <a href="developer.html">developer</a> | <a href="faq.html">faq</a> | <a href="http://smshlp.uservoice.com/forums/60813-general"> feedback</a></p>
- </div>
- <div class="footer_about">
- <p>This hack was written at <a href="http://www.rhok.org">Random Hacks of Kindness (RHoK)</a> 1.0 held in Washington, D.C from June 5-6, 2010 by <a href="http://www.twitter.com/jmckenty">@jmckenty</a>, <a href="http://www.curiouse.com">Kendrick Taylor</a>, <a href="http://www.twitter.com/toddicus">@toddicus</a>, <a href="http://www.twitter.com/schingler">@schingler</a></p>.
- </div>
- </div>
- </div>
- {% end %}
- <script type="text/javascript">
- var uservoiceOptions = {
- /* required */
- key: 'smshlp',
- host: 'smshlp.uservoice.com',
- forum: '60813',
- showTab: true,
- /* optional */
- alignment: 'left',
- background_color: '#99b3cc',
- text_color: 'white',
- hover_color: '#9aab86',
- lang: 'en'
- };
- function _loadUserVoice() {
- var s = document.createElement('script');
- s.setAttribute('type', 'text/javascript');
- s.setAttribute('src', ("https:" == document.location.protocol ? "https://" : "http://") + "cdn.uservoice.com/javascripts/widgets/tab.js");
- document.getElementsByTagName('head')[0].appendChild(s);
- }
- _loadSuper = window.onload;
- window.onload = (typeof window.onload != 'function') ? _loadUserVoice : function() { _loadSuper(); _loadUserVoice(); };
- </script>
- </body>
- </html>