public
Description: A Google App Engine based blogging platform using python
Homepage: http://aaronspotlatch.appspot.com/page/potlatchblog
Clone URL: git://github.com/araddon/potlatchblog.git
potlatchblog / views / base.html
100644 101 lines (95 sloc) 4.132 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head profile="http://gmpg.org/xfn/11">
    <title>{% block title %} {{ blog.title }}{% endblock %}</title>
    <meta name="generator" content="PotlatchBlog" />
    <link rel="stylesheet" href="/static/{{ blog.theme }}" type="text/css" media="screen" />
    <link rel="alternate" type="application/atom+xml" title="{{ blog.title }}" href="{{ blog.feedurl }}" />
    <script type="text/javascript" src="/static/jquery-1.2.6.min.js"></script>
    <script type="text/javascript" src="{% dsurl %}/js/ds.base.js"></script>
    <script type="text/javascript" src="{% dsurl %}/js/facebox.js"></script>
    <link rel="stylesheet" href="{% dsurl %}/css/ds.widgets.css" type="text/css" media="screen" />
    <script type="text/javascript" >
        jQuery(document).ready(function($) {
            $.ds.defaults.site_slug = '{{ blog.dsappname }}';
            $.ds.defaults.base_url = '{% dsurl %}';
        })
    </script>
    <link rel="pingback" href="/pingback" />
    {% block head_javascript %}{% endblock %}
</head>
<body>
<div id="page-wrapper">
    <div id="header">
        <ul class="nav2">
            {% block topmenu %}
 
            {% endblock %}
            <li style="float:right;"> <a href="{{ blog.feedurl }}" title="Subscribe to {{ blog.title }} RSS feed" style="color:#F89939;">Subscribe<img src="/static/images/feed-icon-16x16.png" width="16" height="16" border="0" title="Subscribe to Blog's RSS feed" alt="RSS"/></a></li>
            <li style="float:right;">
                <div style="margin-top:15px;"><form method="get" id="searchtop"action="http://www.google.com/search">
                  <input type="text" name="q" id="q" size="24" value="to search, type and hit enter" onblur="if (this.value == '') {this.value = 'to search, type and hit enter';}" onfocus="if (this.value == 'to search, type and hit enter') {this.value = '';}" />
                  <input name="domains" type="hidden" value="{{ blog.baseurl }}"/>
                  <input name="sitesearch" type="hidden" value="{{ blog.baseurl }}"/>
               </form></div>
            </li>
            <!--[if lte IE 7]>
<div class="clear"></div>
<![endif]-->
        </ul>
        <div class="clear"></div>
    </div>
    <!-- Container Starts -->
    <div id="doc2" class="yui-t6">
        <div>
            <!-- Full Width Start-->
            {% block featured %}
            {% endblock %}
            <!-- Featured Ends -->
        </div>
        <div id="bd">
            <div id="yui-main">
                 <div class="yui-b">
                    {% block content %}
                    
                    {% endblock %}
                </div>
            </div>
            {% block rightsidebar %}
            <div id="rightsidebar" class="yui-b">
                <!-- Right Sidebar Starts -->
                <h1><a href="/" >{{ blog.title }}</a></h1>
                {{ blog.sidebar }}
                {% dsview "poll" "what-should-the-new-features-be" %}
                <!-- Right Sidebar Ends -->
            </div>
            {% endblock %}
        </div>
    </div>
    <!-- content Ends -->
    <div class="push"/>
</div>
 
<!-- Footer Starts -->
<div id="footer">
    <div class="footerinner">
        <div class="footerc">
            {{ blog.area1 }}
        </div>
        <div class="footerc">
            {{ blog.area2 }}
        </div>
        <div class="footercalt">
            {% dsview "feedback" "badge" %}
            {{ blog.area3 }}
            
        </div>
        <div class="clear"></div>
    </div>
    <div class="footerinner">
        <div valign="bottom" align="center">
            <a href="http://code.google.com/appengine/" >
                <img style=" position: relative; top:26px; border:0;" src="http://code.google.com/appengine/images/appengine-noborder-120x30.gif" alt="Powered by Google App Engine" />
            </a>
        </div>
    </div>
</div>
 
{{ blog.analyticsjs }}
 
</body>
</html>