~salgado/offspring/linaro-test-runner

« back to all changes in this revision

Viewing changes to lib/offspring/web/templates/base.html

  • Committer: Michael Hudson
  • Date: 2011-03-24 21:30:51 UTC
  • mfrom: (13.1.47 offspring)
  • Revision ID: michael.hudson@linaro.org-20110324213051-hmdnv5ivc27s63p6
merge the rest of trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
<script type="text/javascript">
11
11
  function balance_columns () {
12
12
    var sidebar_ul = document.getElementById('sidebarul');
13
 
    var btm = document.getElementById('btm2');
14
 
    if (btm == null) { btm = document.getElementById('btm'); }
15
 
    var delta = b(sidebar_ul) - b(btm);
16
 
    if (delta > 0) {
17
 
      document.getElementById('entry').style.paddingBottom = delta + 'px';
 
13
    if (sidebar_ul != null) {
 
14
        var btm = document.getElementById('btm2');
 
15
        if (btm == null) { btm = document.getElementById('btm'); }
 
16
        var delta = b(sidebar_ul) - b(btm);
 
17
        if (delta > 0) {
 
18
          document.getElementById('entry').style.paddingBottom = delta + 'px';
 
19
        }
18
20
    }
19
21
  }
20
22
  function b (e) { return e.offsetTop + e.offsetHeight; }
53
55
        <!-- start content -->
54
56
        <div id="content">
55
57
                <div class="post greenbox">
56
 
                        <div class="title">
 
58
                        <div class="page_title">
57
59
                                <h1>{% block title %}{% endblock %}</h1>
58
60
                        </div>
59
61
                        <div class="entry" id="entry" style="padding-bottom: 0px">{% block content %}{% endblock %}</div>
128
130
<!-- start footer -->
129
131
<div style="clear: both;">&nbsp;</div>
130
132
<div id="footer">
131
 
    <div style="float:right; padding-top: 10px; padding-right: 5px;"><em>Offspring 0.0.1</em></div><br/>
132
 
        <p>&copy; 2009-2010 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.<br/> Fugue Icons &copy; 2009 <a href="http://www.pinvoke.com/">Yusuke Kamiyamane</a> and licensed under <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons Attribution 3.0</a> license.<br/>
 
133
    <div style="float:right; padding-top: 10px; padding-right: 5px;"><em>Offspring 0.1.11.02</em></div><br/>
 
134
        <p>&copy; 2009-2011 Canonical Ltd. Ubuntu and Canonical are registered trademarks of Canonical Ltd.<br/> Fugue Icons &copy; 2009 <a href="http://www.pinvoke.com/">Yusuke Kamiyamane</a> and licensed under <a href="http://creativecommons.org/licenses/by/3.0/" target="_blank">Creative Commons Attribution 3.0</a> license.<br/>
133
135
</div>
134
136
<!-- end footer -->
135
137
{% block endofbody %} {% endblock %}