aboutsummaryrefslogtreecommitdiff
path: root/template.html
blob: ee762d987811c28d71d5b8d1f06a2d8e1854512e (plain)
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
<!--
Google IO 2012 HTML5 Slide Template

Authors: Eric Bidelman <ebidel@gmail.com>
         Luke Mahé

URL: https://code.google.com/p/io-2012-slides
-->
<!DOCTYPE html>
<html>
<head>
  <title>Title</title>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="chrome=1">
</head>
<body style="opacity: 0;">

<slides class="layout-widescreen">

  <slide class="logoslide nobackground">
    <section class="flexbox vcenter">
      <span><img src="images/google_developers_logo.png"></span>
    </section>
  </slide>

  <slide class="title-slide segue nobackground">
    <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside>
    <!-- The content of this hgroup is replaced programmatically through the config. -->
    <hgroup class="auto-fadein">
      <h1 data-config-title><!-- populated from config --></h1>
      <h2 data-config-subtitle><!-- populated from config --></h2>
      <p data-config-presenter><!-- populated from config --></p>
    </hgroup>
  </slide>

  <slide>
    <hgroup>
      <h2>Slide with Bullets</h2>
    </hgroup>
    <article>
      <ul>
        <li>Titles are formatted as Open Sans with bold applied and font size is set at 45</li>
        <li>Title capitalization is title case
          <ul>
            <li>Subtitle capitalization is title case</li>
          </ul>
        </li>
        <li>Subtitle capitalization is title case</li>
        <li>Titles and subtitles should never have a period at the end</li>
      </ul>
    </article>
  </slide>

  <slide>
    <hgroup>
      <h2>Slide with Bullets that Build</h2>
      <h3>Subtitle Placeholder</h3>
    </hgroup>
    <article>
      <p>A list where items build:</p>
      <ul class="build">
        <li>Blah</li>
        <li>Blah</li>
        <li>Blah</li>
      </ul>
      <p>Another list, but items fade as they build:</p>
      <ul class="build fade">
        <li>Hover over me!</li>
        <li>Hover over me!</li>
        <li>Hover over me!</li>
      </ul>
    </article>
  </slide>

  <slide>
    <hgroup>
      <h2>Slide with Smaller Font</h2>
    </hgroup>
    <article class="smaller">
      <ul>
        <li>Titles are formatted as Open Sans with bold applied and font size is set at 45</li>
        <li>Title capitalization is title case
          <ul>
            <li>Subtitle capitalization is title case</li>
          </ul>
        </li>
        <li>Subtitle capitalization is title case</li>
        <li>Titles and <a href="http://google.com">subtitles</a> should never have a period at the end</li>
      </ul>
    </article>
  </slide>

  <slide hidden>
    Hidden slides are left out of the presentation.
  </slide>

  <slide>
    <hgroup>
      <h2>Code Slide (with Subtitle Placeholder)</h2>
      <h3>Subtitle Placeholder</h3>
    </hgroup>
    <article>
      <pre class="prettyprint" data-lang="javascript">
&lt;script type='text/javascript'&gt;
  // Say hello world until the user starts questioning
  // the meaningfulness of their existence.
  function helloWorld(world) {
    for (var i = 42; --i &gt;= 0;) {
      alert('Hello ' + String(world));
    }
  }
&lt;/script&gt;
</pre>
    </article>
  </slide>

  <slide>
    <hgroup>
      <h2>Code Slide (Smaller Font)</h2>
    </hgroup>
    <article class="smaller">
      <pre class="prettyprint" data-lang="javascript">
// Say hello world until the user starts questioning
// the meaningfulness of their existence.
function helloWorld(world) {
  for (var i = 42; --i &gt;= 0;) {
    alert('Hello ' + String(world));
  }
}
</pre>
<pre class="prettyprint" data-lang="css">
&lt;style&gt;
  p { color: pink }
  b { color: blue }
&lt;/style&gt;
</pre>
<pre class="prettyprint" data-lang="html">
&lt;!DOCTYPE html>
&lt;html>
&lt;head>
  &lt;title>My Awesome Page&lt;/title>
&lt;/head>
&lt;body>
  &lt;p&gt;Hello world&lt;/p&gt;
&lt;body>
&lt;/html>
</pre>
    </article>
  </slide>

  <slide>
    <aside class="note">
      <section>Speaker notes can go here!</section>
    </aside>
    <hgroup>
      <h2>Slide with Speaker Notes</h2>
    </hgroup>
    <article>
      Press 'n'
    </article>
  </slide>

  <slide>
    <hgroup>
      <h2>Slide with Image</h2>
    </hgroup>
    <article>
      <img src="images/chart.png" alt="Description" title="Description">
    </article>
  </slide>

  <slide>
    <hgroup>
      <h2>Slide with Image (centered horz/vert)</h2>
    </hgroup>
    <article class="flexbox vcenter" style="height: 80%;">
      <img src="images/barchart.png" alt="Description" title="Description">
    </article>
  </slide>

  <slide class="segue dark nobackground">
    <aside class="gdbar"><img src="images/google_developers_icon_128.png"></aside>
    <hgroup class="auto-fadein">
      <h2>Segue Slide</h2>
      <h3>Subtitle Placeholder</h3>
    </hgroup>
  </slide>

  <slide class="segue dark quote nobackground">
    <aside class="gdbar right bottom"><img src="images/google_developers_icon_128.png"></aside>
    <article class="flexbox vleft auto-fadein">
      <q>
        This is an example of quote text.
      </q>
      <div class="author">
        Name<br>
        Company
      </div>
    </article>
  </slide>

  <slide class="thank-you-slide segue nobackground">
    <aside class="gdbar right"><img src="images/google_developers_icon_128.png"></aside>
    <article class="flexbox vleft auto-fadein">
      <h2>&lt;Thank You!&gt;</h2>
      <p>Important contact information goes here.</p>
    </article>
    <p class="auto-fadein" data-config-contact>
      <!--Insert contact info<br>
      Insert contact info<br>
      Insert contact info-->
    </p>
  </slide>

  <slide class="logoslide dark nobackground">
    <article class="flexbox vcenter">
      <span><img src="images/google_developers_logo_white.png"></span>
    </article>
  </slide>

</slides>

<script type="text/slide-config">
  var slideConfig = {
    // Slide settings
    settings: {
      title: 'Title Goes Here<br>Up To Two Lines',
      subtitle: 'Subtitle Goes Here',
      theme: 'default',
      hashtag: '#html5', //TODO
      useBuilds: true,
      usePrettify: true,
      enableSideAreas: true, //TODO
      analytics: 'UA-XXXXXXXX-1',
      favIcon: 'http://bleedinghtml5.appspot.com/images/chrome-logo-tiny2.png',
      onLoad: null, // TODO. function to call onload
      fonts: [
        'Open Sans:regular,semibold,italic,italicsemibold',
        'Inconsolata'
      ]
    },

    // Author information
    presenters: [{
      name: 'Firstname Lastname',
      company: 'Job Title, Google',
      gplus: 'http://plus.google.com/1234567890',
      twitter: '@yourhandle',
      www: 'http://www.you.com'
    }/*, {
      name: 'Eric Bidelman',
      gplus: 'http://plus.ericbidelman.com',
      company: 'Senior Developer Programs Engineer, Google Chrome',
      twitter: '@ebidel',
      www: 'http://www.ericbidelman.com'
    }*/]
  };
</script>

<script src="js/prettify/prettify.js"></script>
<script src="js/slides.js"></script>

<!-- TODO: Add to slides.js -->
<!--[if IE]>
  <script src="http://ajax.googleapis.com/ajax/libs/chrome-frame/1/CFInstall.min.js"></script>
  <script>CFInstall.check({mode: 'overlay'});</script>
<![endif]-->
</body>
</html>