add first variant of lxww14 slides
authorRobert Kaiser <kairo@kairo.at>
Thu, 8 May 2014 00:46:58 +0000 (02:46 +0200)
committerRobert Kaiser <kairo@kairo.at>
Thu, 8 May 2014 00:46:58 +0000 (02:46 +0200)
18 files changed:
linuxwochen2014-fxos/be-the-future.png [new file with mode: 0644]
linuxwochen2014-fxos/cc-by-sa-80x15.png [new file with mode: 0644]
linuxwochen2014-fxos/fxandroid.png [new file with mode: 0644]
linuxwochen2014-fxos/fxos-architecture.png [new file with mode: 0644]
linuxwochen2014-fxos/fxos_shot.png [new file with mode: 0644]
linuxwochen2014-fxos/index.html [new file with mode: 0755]
linuxwochen2014-fxos/mozorg-hack.gif [new file with mode: 0755]
linuxwochen2014-fxos/phone-marketplace-screenshot.jpg [new file with mode: 0644]
linuxwochen2014-fxos/slides.css [new file with mode: 0644]
linuxwochen2014-fxos/slides.js [new file with mode: 0644]
linuxwochen2014-fxos/template/OpenSans-Italic-webfont.woff [new file with mode: 0644]
linuxwochen2014-fxos/template/OpenSans-Regular-webfont.woff [new file with mode: 0644]
linuxwochen2014-fxos/template/OpenSans-Semibold-webfont.woff [new file with mode: 0644]
linuxwochen2014-fxos/template/mozilla-tab.png [new file with mode: 0644]
linuxwochen2014-fxos/template/page-background-top.png [new file with mode: 0644]
linuxwochen2014-fxos/template/page-background.png [new file with mode: 0644]
linuxwochen2014-fxos/webmaker.png [new file with mode: 0644]
linuxwochen2014-makey [new symlink]

diff --git a/linuxwochen2014-fxos/be-the-future.png b/linuxwochen2014-fxos/be-the-future.png
new file mode 100644 (file)
index 0000000..3ddc3e4
Binary files /dev/null and b/linuxwochen2014-fxos/be-the-future.png differ
diff --git a/linuxwochen2014-fxos/cc-by-sa-80x15.png b/linuxwochen2014-fxos/cc-by-sa-80x15.png
new file mode 100644 (file)
index 0000000..c67509f
Binary files /dev/null and b/linuxwochen2014-fxos/cc-by-sa-80x15.png differ
diff --git a/linuxwochen2014-fxos/fxandroid.png b/linuxwochen2014-fxos/fxandroid.png
new file mode 100644 (file)
index 0000000..a48c0ad
Binary files /dev/null and b/linuxwochen2014-fxos/fxandroid.png differ
diff --git a/linuxwochen2014-fxos/fxos-architecture.png b/linuxwochen2014-fxos/fxos-architecture.png
new file mode 100644 (file)
index 0000000..c00217c
Binary files /dev/null and b/linuxwochen2014-fxos/fxos-architecture.png differ
diff --git a/linuxwochen2014-fxos/fxos_shot.png b/linuxwochen2014-fxos/fxos_shot.png
new file mode 100644 (file)
index 0000000..d3efbda
Binary files /dev/null and b/linuxwochen2014-fxos/fxos_shot.png differ
diff --git a/linuxwochen2014-fxos/index.html b/linuxwochen2014-fxos/index.html
new file mode 100755 (executable)
index 0000000..1214ba0
--- /dev/null
@@ -0,0 +1,200 @@
+<!DOCTYPE html>
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+  <meta name="Author" content="KaiRo - Robert Kaiser">
+  <title>Firefox OS: Das Web als Betriebssystem</title>
+  <link rel="stylesheet" type="text/css" href="slides.css">
+  <script type="text/javascript" src="slides.js"></script>
+  <link rel="contents" href="#index" title="Überblick">
+  <link rel="index" id="link-toc" href="#toc" title="Inhalt">
+  <link rel="start" id="link-start" href="#index" title="Start">
+</head>
+<body onload="docLoaded();">
+<header id="header"><div id="header-text">Firefox OS</div>
+  <div id="subheader-text"></div>
+  <a id="headerlogo" href="#index" title="Startseite">Mozilla</a>
+</header>
+<nav id="slidenav">
+  <a href="#toc" id="nav-toc" accesskey="t">Inhalt</a> ||
+  <a href="#index" id="nav-start" accesskey="s">Start</a> ||
+  <a href="#" id="nav-prev" accesskey="p" hidden>&lt; zurück</a>
+  <span id="nav-prev-nolink" class="nolink">&lt; zurück</span> |
+  <a href="#" id="nav-next" id="goNext" accesskey="n" hidden>weiter &gt;</a>
+  <span id="nav-next-nolink" class="nolink">weiter &gt;</span>
+</nav>
+
+<article id="toc" title="Inhalt">
+<h1>Inhalt</h1>
+<h2>Firefox OS: Das Web als Betriebssystem</h2>
+
+<div class="captionedbox">
+<p class="captionedbox-caption">Folgende Folien sind in dieser Präsentation enthalten:</p>
+<div class="captionedbox-content">
+<ul id="toc-list">
+</ul>
+</article>
+
+<article id="index" title="Startseite">
+<h1>Firefox OS: Das Web als Betriebssystem</h1>
+
+<div class="simplebox">
+<mark><a href="http://home.kairo.at/">Robert Kaiser</a></mark>,
+"KaiRo" &lt;kairo@kairo.at&gt;
+<br><small>Qualitätsprojektmanager, Mozilla</small>
+</div>
+
+<div class="captionedbox">
+<p class="captionedbox-caption">Folien:
+  <a href="http://slides.kairo.at/linuxwochen2014-fxos/">http://slides.kairo.at/linuxwochen2014-fxos/</a></p>
+<div class="captionedbox-content small">
+<ul class="small">
+  <li>Erstellt für einen
+    <a href="https://cfp.linuxwochen.at/de/LWW14/public/events/163">Vortrag</a>
+    auf den <a href="http://www.linuxwochen.at/">Linuxwochen 2014</a> in Wien.</li>
+  <li>Geschrieben in HTML 5 mit CSS 3 und JavaScript.</li>
+  <li>Navigation mit Links auf allen Folien, mit Accesskeys
+   (z.B. "n"/Alt+Umschalt+N für "next"/weiter) oder vor/zurück-Pfeilasten</li>
+  <li><a href="#toc">Inhalt</a></li>
+  <li><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/at/"><img
+      alt="Lizenziert unter CC-BY-SA," style="border-width:0;vertical-align:bottom;"
+      src="cc-by-sa-80x15.png"></a> 05/2014 Robert Kaiser -
+    "Mozilla", "Firefox" und deren Logos sind
+    <a href="http://www.mozilla.org/foundation/trademarks/list.html">Handelsmarken
+    der Mozilla Foundation</a>.</li>
+</ul>
+</div>
+</div>
+</article>
+
+<article id="mission" title="The Mission">
+<h1>Building a Better Internet</h1>
+
+<div class="simplebox">
+<img src="mozorg-hack.gif" alt="hack - mozilla.org" class="slidepic">
+<p class="largetext">Mozilla's mission is to <b>promote openness, innovation &amp;
+opportunity</b> on the <b>Web</b>.</p>
+<p class="ensurepicinbox"></p>
+</div>
+</article>
+
+<article id="different" title="Mozilla vs. Mobile">
+<h1>Different Than Current Mobile</h1>
+
+<div class="simplebox">
+<img src="webmaker.png" alt="Mozilla Webmaker" class="slidepic">
+<ul>
+  <li>Web is public resource, not commercial commodity</li>
+  <li>Open standards, decentralized networks</li>
+  <li>Worldwide community, control to the user</li>
+</ul>
+<p class="ensurepicinbox"></p>
+</div>
+</article>
+
+<article id="mobile" title="Mozilla and Mobile">
+<h1>Mozilla &amp; Mobile</h1>
+
+<div class="simplebox">
+<img src="fxandroid.png" alt="Firefox for Android" class="slidepic">
+<ul>
+  <li>Early tries with Minimo, then Maemo</li>
+  <li>Now: Firefox for Android</li>
+  <li>Web should not be locked in a browser app</li>
+</ul>
+<p class="ensurepicinbox"></p>
+</div>
+</article>
+
+<article id="firefoxos" title="Firefox OS">
+<h1>Firefox OS</h1>
+
+<div class="simplebox">
+<img src="fxos_shot.png" alt="Firefox OS" class="slidepic">
+<p>Web as first-class citizen:</p>
+<p><b>All UI and Apps are HTML+CSS+JS!</b></p>
+<p class="small">Target is to standardize all required new APIs (or replace them with standards).</p>
+<p class="ensurepicinbox"></p>
+</div>
+</article>
+
+<article id="market" title="Market Status">
+<h1>Available Now</h1>
+
+<div class="simplebox">
+<img src="phone-marketplace-screenshot.jpg" alt="Firefox Marketplace" class="slidepic">
+<ul>
+  <li>Primarily emerging markets as first target</li>
+  <li>Shipped in 9 countries (ES, PL, DE, parts of South/Latin America)</li>
+  <li>3 phones (ZTE Open, Alcatel One Touch Fire, LG Fireweb)</li>
+  <li>Thousands of apps in the Firefox Marketplace</li>
+</ul>
+<p class="ensurepicinbox"></p>
+</div>
+</article>
+
+<article id="architecture" title="Architecture">
+<h1>Architecture</h1>
+
+<div class="cent">
+<img src="fxos-architecture.png" alt="Firefox OS Architecture">
+</div>
+</article>
+
+<article id="allweb" title="Alles Web!">
+<h1>Alles ist Web!</h1>
+
+<div class="simplebox">
+...
+</div>
+</article>
+
+<article id="webapi" title="WebAPIs">
+<h1>WebAPIs</h1>
+
+<div class="simplebox">
+...
+</div>
+</article>
+
+<article id="security" title="Sicherheit">
+<h1>Sicherheit</h1>
+
+<div class="simplebox">
+...
+</div>
+</article>
+
+<article id="plans" title="Plans">
+<h1>Plans for Firefox OS</h1>
+
+<div class="simplebox">
+<img src="be-the-future.png" alt="Be the Future" class="slidepic">
+<ul>
+  <li>More countries, more devices</li>
+  <li>System UI overhaul ("Haida")</li>
+  <li>Add "missing" features (C&amp;P, NFC, etc.)</li>
+  <li>Over time, get ready for higher end phones and tablets</li>
+  <li>Push Marketplace and APIs to Android &amp; desktop</li>
+</ul>
+<p class="ensurepicinbox"></p>
+</div>
+</article>
+
+<article id="links" title="Ressourcen">
+<h1>Ressourcen</h1>
+
+<div class="simplebox">
+<ul>
+  <li>Documentation: <a href="https://developer.mozilla.org/en-US/Firefox_OS">developer.mozilla.org/Firefox_OS</a></li>
+  <li>Feature Articles: <a href="https://hacks.mozilla.org/">hacks.mozilla.org</a></li>
+  <li>Web APIs: <a href="https://wiki.mozilla.org/WebAPI">wiki.mozilla.org/WebAPI</a></li>
+  <li>App Development: <a href="https://marketplace.firefox.com/developers/">marketplace.firefox.com/developers/</a></li>
+  <li>Get ZTE Open: <a href="http://stores.ebay.com/ztemobileuk">stores.ebay.com/ztemobileuk</a></li>
+  <li>Get Geeksphone: <a href="http://www.geeksphone.com/">geeksphone.com</a></li>
+</ul>
+</div>
+</article>
+
+</body>
+</html>
diff --git a/linuxwochen2014-fxos/mozorg-hack.gif b/linuxwochen2014-fxos/mozorg-hack.gif
new file mode 100755 (executable)
index 0000000..6d7e2f7
Binary files /dev/null and b/linuxwochen2014-fxos/mozorg-hack.gif differ
diff --git a/linuxwochen2014-fxos/phone-marketplace-screenshot.jpg b/linuxwochen2014-fxos/phone-marketplace-screenshot.jpg
new file mode 100644 (file)
index 0000000..07e0dc3
Binary files /dev/null and b/linuxwochen2014-fxos/phone-marketplace-screenshot.jpg differ
diff --git a/linuxwochen2014-fxos/slides.css b/linuxwochen2014-fxos/slides.css
new file mode 100644 (file)
index 0000000..1b132cc
--- /dev/null
@@ -0,0 +1,317 @@
+/**************************
+ * styles for talk slides *
+ *    by Robert Kaiser    *
+ *    <kairo@kairo.at>    *
+ *   (for FOSDEM 2013)    *
+ **************************/
+
+
+/***** base style *****/
+
+@font-face {
+  font-family: 'Open Sans';
+  src: url('template/OpenSans-Regular-webfont.woff');
+  font-weight: normal;
+  font-style: normal;
+}
+
+@font-face {
+  font-family: 'Open Sans';
+  src: url('template/OpenSans-Semibold-webfont.woff');
+  font-weight: bold;
+  font-style: normal;
+}
+
+@font-face {
+  font-family: 'Open Sans';
+  src: url('template/OpenSans-Italic-webfont.woff');
+  font-weight: normal;
+  font-style: italic;
+}
+
+html {
+  overflow: hidden; /* to make translations not paint scrollbars */
+  background: #f5f1e8 url("template/page-background.png") top left repeat;
+  height: 100%;
+}
+
+body {
+  margin: 0px;
+  padding: 0px;
+  border: 0px;
+  font-family: "Open Sans", sans-serif;
+  font-size: 2em;
+  color: #333333;
+  background: url("template/page-background-top.png") top left repeat-x;
+  height: 100%;
+}
+
+ul {
+  padding-left: 1.2em;
+  margin-bottom: 0.5em;
+}
+
+ul:first-child,
+ul:last-child {
+  margin-top: 0;
+}
+
+#header {
+  height: 40px;
+  position: relative;
+  border-top: 1px solid white;
+}
+
+#headerlogo {
+  position: absolute;
+  display: block;
+  right: 20px;
+  top: 0;
+  text-indent: -2000px;
+  font-size: 1px;
+  overflow: hidden;
+  height: 41px;
+  width: 148px;
+  background: url("template/mozilla-tab.png") no-repeat;
+}
+
+#header-text {
+  position: relative;
+  top: 5px;
+  left: 25px;
+  width: calc(100% - 50px);
+  font-size: 20px;
+  font-weight: bold;
+  color: #808080;
+}
+
+#header-text.neartime {
+  color: #80AACC;
+}
+
+#header-text.ontime {
+  color: #80CC80;
+}
+
+#header-text.overtime {
+  color: #FF8080;
+}
+
+#subheader-text {
+  color: #808080;
+  position: relative;
+  top: 3px;
+  left: 25px;
+  width: calc(100% - 50px);
+  font-size: 10px;
+}
+
+#slidenav {
+  position: absolute;
+  right: 200px;
+  top: 15px;
+  font-size: 10px;
+}
+
+#slidenav a:link,
+#slidenav a:visited {
+  color: #484848;
+}
+
+#slidenav a:hover,
+#slidenav a:active {
+  color: #0073aa;
+}
+
+#slidenav .nolink {
+  color: #A0A0A0;
+}
+
+article {
+  position: absolute;
+  width: 100%;
+  /* header is 40px, 7px to have a bit of distance,
+   * 3px height-reducing on the bottom for safety */
+  top: 47px;
+  height: calc(100% - 50px);
+  overflow: auto;
+
+  transition-property: transform, opacity;
+  transition-duration: 3s;
+  transition-timing-function: ease;
+  transform-origin: center 5em;
+
+  opacity: 0;
+/*
+  transform: translate(-100%, 0);
+*/
+/*
+  transform: scale(0.1) rotate(360deg) translate(-200%, 0);
+*/
+  transform: scale(0.1) translate(-400%, 0);
+}
+
+article[aria-selected="true"] {
+  opacity: 1;
+  transform: scale(1) rotate(0deg) translate(0, 0);
+}
+
+article[aria-selected="true"] ~ article {
+  opacity: 0;
+/*
+  transform: translate(100%, 0);
+*/
+/*
+  transform: scale(0.1) rotate(-360deg) translate(200%, 0);
+*/
+  transform: scale(0.1) translate(400%, 0);
+}
+
+/***** headers *****/
+
+h1, h2, h3, h4 {
+  margin: 0.5em 0;
+  font-weight: bold;
+  color: #484848;
+  text-align: center;
+}
+
+h1 {
+  margin-top: 0;
+  font-size: 1.7em;
+  text-shadow: #AAAA80 3px 3px 5px;
+}
+
+h2 {
+  font-size: 1.3em;
+  text-shadow: #AAAA80 2px 2px 3px;
+}
+
+h3 {
+  font-size: 1.1em;
+}
+
+h4 {
+  font-size: 1em;
+  text-align: left;
+}
+
+/***** boxes *****/
+
+.simplebox {
+  padding: 0.5em;
+}
+
+.captionedbox {
+  padding: 0px;
+}
+
+.simplebox,
+.captionedbox {
+  margin: 1em;
+  box-shadow: 0 0 0 1px #fff inset;
+  background: #fff;
+  background-image: radial-gradient(center 45px, ellipse farthest-corner, #f5f1e8 0, #fff 100%);
+  border-bottom: 1px solid #ddd;
+}
+
+.captionedbox-content {
+  margin: 0;
+  padding: 0.5em;
+  border: 0px;
+  border-top: 1px solid #d6d6d6;
+}
+
+.captionedbox-caption {
+  margin: 0;
+  padding: 0.5em;
+  font-weight: bold;
+  text-shadow: #AAAA80 1px 1px 2px;
+}
+
+/***** misc formatting *****/
+
+mark {
+  font-weight: bold;
+  color: #FF6600;
+  background-color: transparent;
+  text-shadow: #AAAA80 2px 2px 3px;
+}
+
+.border {
+  border: 1px solid #6d7581;
+  padding: 0.5em;
+}
+
+.sshot {
+  box-shadow: #6d7581 1px 1px 3px 2px;
+}
+
+.slidepic {
+  float: right;
+  margin-left: .5em;
+}
+
+.ensurepicinbox {
+  clear: both;
+  font-size: 1px;
+  margin: 0;
+}
+
+.largetext {
+  font-size: 2em;
+}
+
+ul > li {
+  margin: 0.5em 0;
+}
+
+.columns2 {
+  -moz-columns: 2;
+}
+
+ul.nobullets > li {
+  list-style-type: none;
+}
+
+.cent {
+  text-align: center;
+}
+
+.topmargin {
+  margin-top: 0.5em;
+}
+
+.akey {
+  text-decoration: underline;
+}
+
+a:link, a:visited { color: #0096dd; text-decoration: none; }
+a:hover, a:active { color: #FF6600; text-decoration: underline; }
+
+mark a:link, mark a:visited { color: #FF6600; }
+mark a:hover, mark a:active { color: #FF6600; }
+
+/***** small stuff *****/
+
+.small,
+.small {
+  font-size: 0.75em;
+}
+
+ul.small,
+.small ul {
+  padding: 0px;
+  border: 0px;
+  margin: 0px 0px 0px 1em;
+}
+
+ul.small > li
+.small ul > li {
+  margin: 0px;
+  padding: 0px;
+  border: 0px;
+}
+
+/***** specific slides *****/
+
diff --git a/linuxwochen2014-fxos/slides.js b/linuxwochen2014-fxos/slides.js
new file mode 100644 (file)
index 0000000..4a0e9fe
--- /dev/null
@@ -0,0 +1,200 @@
+/******************************
+ * JavaScript for talk slides *
+ *      by Robert Kaiser      *
+ *      <kairo@kairo.at>      *
+ *     (for FOSDEM 2011)      *
+ ******************************/
+
+var slides = {};
+var articleNodes;
+var currentSlide;
+var currentIdx;
+var defaultIdx = 1; // set to slide index to show by default
+var firstIdx = 2; // set no value if to use first available
+var lastIdx; // set no value if to use first available
+
+var pageTitle, headerText, subHeaderText;
+var navPrev, navNext, navPrevNolink, navNextNolink;
+
+// Slide timer - color variation of headerText
+var slideSeconds = 2 * 60;
+
+// Called when the document has been loaded.
+function docLoaded() {
+  pageTitle = document.getElementsByTagName("title")[0];
+  headerText = document.getElementById("header-text");
+  subHeaderText = document.getElementById("subheader-text");
+  navPrev = document.getElementById("nav-prev");
+  navNext = document.getElementById("nav-next");
+  navPrevNolink = document.getElementById("nav-prev-nolink");
+  navNextNolink = document.getElementById("nav-next-nolink");
+  articleNodes = document.getElementsByTagName("article");
+
+  if (!firstIdx)
+    firstIdx = 0;
+  if (!lastIdx)
+    lastIdx = articleNodes.length - 1;
+
+  // Get a list of all slides (articles).
+  subHeaderText.textContent = articleNodes.length + " slides...";
+  for (var i = 0; i < articleNodes.length; ++i) {
+    subHeaderText.textContent = "Indexing slide " + i + " / " + articleNodes.length;
+    if (!articleNodes[i].id)
+      articleNodes[i].id = "slide_" + i;
+
+    slides[articleNodes[i].id] =
+       {"idx": i,
+        "name": articleNodes[i].id,
+        "title": articleNodes[i].title ? articleNodes[i].title : articleNodes[i].id,
+        "obj": articleNodes[i]};
+
+    if (location.hash.length &&
+        (location.hash == "#" + articleNodes[i].id || location.hash == "#" + i)) {
+      articleNodes[i].setAttribute("aria-selected", "true");
+      currentSlide = slides[articleNodes[i].id];
+      currentIdx = i;
+    }
+  }
+
+  if (!currentSlide) {
+    currentIdx = defaultIdx;
+    currentSlide = slides[articleNodes[currentIdx].id];
+    currentSlide.obj.setAttribute("aria-selected", "true");
+    location.hash = "#" + currentSlide.name;
+  }
+  updateDisplay();
+}
+
+// Called when the hash part of the location changes.
+function locationHashChanged() {
+  if (location.hash.length > 1) {
+    var hashtag = location.hash.substring(1);
+    // If not a number, treat as ID
+    if (isNaN(hashtag) && slides[hashtag]) {
+      currentSlide.obj.removeAttribute("aria-selected");
+      currentSlide = slides[hashtag];
+      currentIdx = currentSlide.idx;
+      currentSlide.obj.setAttribute("aria-selected", "true");
+      updateDisplay();
+    }
+    else if (articleNodes[hashtag]) {
+      currentSlide.obj.removeAttribute("aria-selected");
+      currentIdx = hashtag;
+      currentSlide = slides[articleNodes[currentIdx].id];
+      currentSlide.obj.setAttribute("aria-selected", "true");
+      updateDisplay();
+    }
+  }
+}
+window.onhashchange = locationHashChanged;
+
+// Update the display after we updated what slide is shown.
+function updateDisplay() {
+  if (currentIdx >= firstIdx && currentIdx <= lastIdx &&
+      currentSlide.name != "toc")
+    subHeaderText.textContent = (currentIdx - firstIdx + 1) + "/" +
+                                (lastIdx - firstIdx + 1) + " - " +
+                                currentSlide.title;
+  else
+    subHeaderText.textContent = currentSlide.title;
+  pageTitle.textContent = headerText.textContent + ": " + currentSlide.title;
+  if (currentIdx > firstIdx && currentSlide.name != "toc") {
+    navPrev.hidden = false;
+    navPrev.href = "#" + articleNodes[currentIdx - 1].id;
+    navPrevNolink.hidden = true;
+  }
+  else {
+    navPrev.hidden = true;
+    navPrevNolink.hidden = false;
+  }
+  if (currentIdx < lastIdx && currentSlide.name != "toc") {
+    navNext.hidden = false;
+    navNext.href = "#" + articleNodes[currentIdx + 1].id;
+    navNextNolink.hidden = true;
+  }
+  else {
+    navNext.hidden = true;
+    navNextNolink.hidden = false;
+  }
+  headerText.className = "";
+  slideStart = new Date();
+  if (currentSlide.name == "toc")
+    createTOC();
+  else
+    setTimeout("timerFired()", timerMSec);
+}
+
+// Create TOC list.
+function createTOC() {
+ var list = document.getElementById("toc-list");
+ if (!list.getElementsByTagName("li").length) {
+   for (var slide in slides) {
+     if (slide != "toc") {
+       var item = document.createElement("li");
+       var link = document.createElement("a");
+       var slideHeaders = slides[slide].obj.getElementsByTagName("h1");
+       if (slideHeaders.length)
+         link.textContent = slideHeaders[0].textContent;
+       else
+         link.textContent = slides[slide].title;
+       link.href = "#" + slides[slide].name;
+       item.appendChild(link);
+       list.appendChild(item);
+     }
+   }
+ }
+}
+
+// Do timed color variation on slides.
+function timerFired() {
+  var slideCurrent = new Date();
+  var secondsDiff = Math.round((slideCurrent.getTime() - slideStart.getTime()) / 1000);
+  if (secondsDiff >= slideSeconds) {
+    headerText.className = "overtime";
+  }
+  else if (secondsDiff >= Math.round(2 * slideSeconds / 3)) {
+    headerText.className = "ontime";
+    setTimeout("timerFired()", timerMSec);
+  }
+  else if (secondsDiff >= Math.round(slideSeconds / 3)) {
+    headerText.className = "neartime";
+    setTimeout("timerFired()", timerMSec);
+  }
+  else {
+    // We should never come here, but if we do, go into a 100ms loop until we get over the upcoming step.
+    setTimeout("timerFired()", 100);
+  }
+}
+var slideStart = new Date();
+var timerMSec = 1000 * (slideSeconds / 3);
+setTimeout("timerFired()", timerMSec);
+
+// Keyboard/click nav functionality, mostly inherited from FOSDEM 2007.
+(function() {
+  function go(where) {
+    where = where || "next";
+    var navElem = document.getElementById("nav-" + where);
+    if (!navElem.hidden)
+      window.location.href = navElem.href;
+  }
+
+  function handleClick(e) {
+    e = e || event;
+    var target = (window.event) ? e.srcElement : e.target;
+    if (e.which == 1 && target.nodeName != "A" && target.nodeName != "VIDEO")
+      go("next");
+  }
+
+  function handleKeyPress(e) {
+    e = e || event;
+    switch (e.keyCode) {
+      case e.DOM_VK_LEFT:
+        go("prev"); break;
+      case e.DOM_VK_RIGHT:
+        go("next"); break;
+    }
+  }
+
+  window.onclick = handleClick;
+  window.onkeypress = handleKeyPress;
+})();
diff --git a/linuxwochen2014-fxos/template/OpenSans-Italic-webfont.woff b/linuxwochen2014-fxos/template/OpenSans-Italic-webfont.woff
new file mode 100644 (file)
index 0000000..1ed8ab9
Binary files /dev/null and b/linuxwochen2014-fxos/template/OpenSans-Italic-webfont.woff differ
diff --git a/linuxwochen2014-fxos/template/OpenSans-Regular-webfont.woff b/linuxwochen2014-fxos/template/OpenSans-Regular-webfont.woff
new file mode 100644 (file)
index 0000000..bd0f824
Binary files /dev/null and b/linuxwochen2014-fxos/template/OpenSans-Regular-webfont.woff differ
diff --git a/linuxwochen2014-fxos/template/OpenSans-Semibold-webfont.woff b/linuxwochen2014-fxos/template/OpenSans-Semibold-webfont.woff
new file mode 100644 (file)
index 0000000..3a78f75
Binary files /dev/null and b/linuxwochen2014-fxos/template/OpenSans-Semibold-webfont.woff differ
diff --git a/linuxwochen2014-fxos/template/mozilla-tab.png b/linuxwochen2014-fxos/template/mozilla-tab.png
new file mode 100644 (file)
index 0000000..87f8ef9
Binary files /dev/null and b/linuxwochen2014-fxos/template/mozilla-tab.png differ
diff --git a/linuxwochen2014-fxos/template/page-background-top.png b/linuxwochen2014-fxos/template/page-background-top.png
new file mode 100644 (file)
index 0000000..ae82378
Binary files /dev/null and b/linuxwochen2014-fxos/template/page-background-top.png differ
diff --git a/linuxwochen2014-fxos/template/page-background.png b/linuxwochen2014-fxos/template/page-background.png
new file mode 100644 (file)
index 0000000..6b2d79d
Binary files /dev/null and b/linuxwochen2014-fxos/template/page-background.png differ
diff --git a/linuxwochen2014-fxos/webmaker.png b/linuxwochen2014-fxos/webmaker.png
new file mode 100644 (file)
index 0000000..3150834
Binary files /dev/null and b/linuxwochen2014-fxos/webmaker.png differ
diff --git a/linuxwochen2014-makey b/linuxwochen2014-makey
new file mode 120000 (symlink)
index 0000000..6bb6bb3
--- /dev/null
@@ -0,0 +1 @@
+linuxwochen2013-makey
\ No newline at end of file