annotate my_theme/base.html @ 13:3547bba86af2

Removed *.html from .hgignore because we are using our own theme now (that includes a base.html file), and it is convenient to control the generated presentation since I won't necessarily have Python and landslide installed on every computer I want to give the presentation.
author Brian Neal <bgneal@gmail.com>
date Wed, 30 Nov 2011 18:46:32 -0600
parents
children
rev   line source
bgneal@13 1 <!DOCTYPE html>
bgneal@13 2 <!--
bgneal@13 3 Copyright 2010 Google Inc.
bgneal@13 4
bgneal@13 5 Licensed under the Apache License, Version 2.0 (the "License");
bgneal@13 6 you may not use this file except in compliance with the License.
bgneal@13 7 You may obtain a copy of the License at
bgneal@13 8
bgneal@13 9 http://www.apache.org/licenses/LICENSE-2.0
bgneal@13 10
bgneal@13 11 Unless required by applicable law or agreed to in writing, software
bgneal@13 12 distributed under the License is distributed on an "AS IS" BASIS,
bgneal@13 13 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
bgneal@13 14 See the License for the specific language governing permissions and
bgneal@13 15 limitations under the License.
bgneal@13 16
bgneal@13 17 Original slides: Marcin Wichary (mwichary@google.com)
bgneal@13 18 Modifications: Ernest Delgado (ernestd@google.com)
bgneal@13 19 Alex Russell (slightlyoff@chromium.org)
bgneal@13 20
bgneal@13 21 landslide modifications: Adam Zapletal (adamzap@gmail.com)
bgneal@13 22 Nicolas Perriault (nperriault@gmail.com)
bgneal@13 23 -->
bgneal@13 24 <html>
bgneal@13 25 <head>
bgneal@13 26 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
bgneal@13 27 <meta http-equiv="X-UA-Compatible" content="chrome=1">
bgneal@13 28 <title>{{ head_title }}</title>
bgneal@13 29 <!-- Styles -->
bgneal@13 30 {% if embed %}
bgneal@13 31 <style type="text/css" media="print">
bgneal@13 32 {{ css.print.contents }}
bgneal@13 33 </style>
bgneal@13 34 <style type="text/css" media="screen, projection">
bgneal@13 35 {{ css.screen.contents }}
bgneal@13 36 </style>
bgneal@13 37 {% else %}
bgneal@13 38 <link rel="stylesheet" media="print" href="{{ css.print.path_url }}">
bgneal@13 39 <link rel="stylesheet" media="screen, projection" href="{{ css.screen.path_url }}">
bgneal@13 40 {% endif %}
bgneal@13 41 {% for css in user_css %}
bgneal@13 42 {% if embed %}
bgneal@13 43 <style type="text/css" media="screen, projection">
bgneal@13 44 {{ css.contents }}
bgneal@13 45 </style>
bgneal@13 46 {% else %}
bgneal@13 47 <link rel="stylesheet" href="{{ css.path_url }}">
bgneal@13 48 {% endif %}
bgneal@13 49 {% endfor %}
bgneal@13 50 <!-- /Styles -->
bgneal@13 51 <!-- Javascripts -->
bgneal@13 52 {% if embed %}
bgneal@13 53 <script>
bgneal@13 54 {{ js.contents }}
bgneal@13 55 </script>
bgneal@13 56 {% else %}
bgneal@13 57 <script type="text/javascript" src="{{ js.path_url }}"></script>
bgneal@13 58 {% endif %}
bgneal@13 59 {% for js in user_js %}
bgneal@13 60 {% if embed %}
bgneal@13 61 <script>
bgneal@13 62 {{ js.contents }}
bgneal@13 63 </script>
bgneal@13 64 {% else %}
bgneal@13 65 <script type="text/javascript" src="{{ js.path_url }}"></script>
bgneal@13 66 {% endif %}
bgneal@13 67 {% endfor %}
bgneal@13 68 <!-- /Javascripts -->
bgneal@13 69 </head>
bgneal@13 70 <body>
bgneal@13 71 <div id="blank"></div>
bgneal@13 72 <div class="presentation">
bgneal@13 73 <div id="current_presenter_notes">
bgneal@13 74 <div id="presenter_note"></div>
bgneal@13 75 </div>
bgneal@13 76 <div class="slides">
bgneal@13 77 {% for slide in slides %}
bgneal@13 78 <!-- slide source: {% if slide.source %}{{ slide.source.rel_path }}{% endif %} -->
bgneal@13 79 <div class="slide-wrapper">
bgneal@13 80 <div class="slide{% if slide.classes %}{% for class in slide.classes %} {{ class }}{% endfor %}{% endif %}">
bgneal@13 81 <div class="inner">
bgneal@13 82 {% if slide.header %}
bgneal@13 83 <header>{{ slide.header }}</header>
bgneal@13 84 {% endif %}
bgneal@13 85 {% if slide.content %}
bgneal@13 86 <section>{{ slide.content }}</section>
bgneal@13 87 {% endif %}
bgneal@13 88 </div>
bgneal@13 89 <div class="presenter_notes">
bgneal@13 90 <header><h1>Presenter Notes</h1></header>
bgneal@13 91 <section>
bgneal@13 92 {% if slide.presenter_notes %}
bgneal@13 93 {{ slide.presenter_notes }}
bgneal@13 94 {% endif %}
bgneal@13 95 </section>
bgneal@13 96 </div>
bgneal@13 97 <footer>
bgneal@13 98 {% if slide.source %}
bgneal@13 99 <aside class="source">
bgneal@13 100 Source: <a href="{{ slide.source.rel_path }}">{{ slide.source.rel_path }}</a>
bgneal@13 101 </aside>
bgneal@13 102 {% endif %}
bgneal@13 103 <aside class="page_number">
bgneal@13 104 {{ slide.number }}/{{ num_slides }}
bgneal@13 105 </aside>
bgneal@13 106 </footer>
bgneal@13 107 </div>
bgneal@13 108 </div>
bgneal@13 109 {% endfor %}
bgneal@13 110 </div>
bgneal@13 111 </div>
bgneal@13 112 {% if toc %}
bgneal@13 113 <div id="toc" class="sidebar hidden">
bgneal@13 114 <h2>Table of Contents</h2>
bgneal@13 115 <table>
bgneal@13 116 <caption>Table of Contents</caption>
bgneal@13 117 {% for section in toc %}
bgneal@13 118 <tr id="toc-row-{{ section.number }}">
bgneal@13 119 <th><a href="#slide{{ section.number }}">{{ section.title }}</a></th>
bgneal@13 120 <td><a href="#slide{{ section.number }}">{{ section.number }}</a></td>
bgneal@13 121 </tr>
bgneal@13 122 {% if section.sub %}
bgneal@13 123 {% for subsection in section.sub %}
bgneal@13 124 <tr id="toc-row-{{ subsection.number }}" class="sub">
bgneal@13 125 <th><a href="#slide{{ subsection.number }}">{{ subsection.title }}</a></th>
bgneal@13 126 <td><a href="#slide{{ subsection.number }}">{{ subsection.number }}</a></td>
bgneal@13 127 </tr>
bgneal@13 128 {% endfor %}
bgneal@13 129 {% endif %}
bgneal@13 130 {% endfor %}
bgneal@13 131 </table>
bgneal@13 132 </div>
bgneal@13 133 {% endif %}
bgneal@13 134 <div id="help" class="sidebar hidden">
bgneal@13 135 <h2>Help</h2>
bgneal@13 136 <table>
bgneal@13 137 <caption>Help</caption>
bgneal@13 138 <tr>
bgneal@13 139 <th>Table of Contents</th>
bgneal@13 140 <td>t</td>
bgneal@13 141 </tr>
bgneal@13 142 <tr>
bgneal@13 143 <th>Exposé</th>
bgneal@13 144 <td>ESC</td>
bgneal@13 145 </tr>
bgneal@13 146 <tr>
bgneal@13 147 <th>Full screen slides</th>
bgneal@13 148 <td>e</td>
bgneal@13 149 </tr>
bgneal@13 150 <tr>
bgneal@13 151 <th>Presenter View</th>
bgneal@13 152 <td>p</td>
bgneal@13 153 </tr>
bgneal@13 154 <tr>
bgneal@13 155 <th>Source Files</th>
bgneal@13 156 <td>s</td>
bgneal@13 157 </tr>
bgneal@13 158 <tr>
bgneal@13 159 <th>Slide Numbers</th>
bgneal@13 160 <td>n</td>
bgneal@13 161 </tr>
bgneal@13 162 <tr>
bgneal@13 163 <th>Toggle screen blanking</th>
bgneal@13 164 <td>b</td>
bgneal@13 165 </tr>
bgneal@13 166 <tr>
bgneal@13 167 <th>Show/hide slide context</th>
bgneal@13 168 <td>c</td>
bgneal@13 169 </tr>
bgneal@13 170 <tr>
bgneal@13 171 <th>Notes</th>
bgneal@13 172 <td>2</td>
bgneal@13 173 </tr>
bgneal@13 174 <tr>
bgneal@13 175 <th>Help</th>
bgneal@13 176 <td>h</td>
bgneal@13 177 </tr>
bgneal@13 178 </table>
bgneal@13 179 </div>
bgneal@13 180 <script>main()</script>
bgneal@13 181 </body>
bgneal@13 182 </html>