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