2016-03-03 10:38:57 +01:00
|
|
|
{{ define "index.tmpl" }}
|
2016-02-29 20:16:20 +01:00
|
|
|
|
|
|
|
<!doctype html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
|
|
|
<title>Hacker Slides</title>
|
|
|
|
|
|
|
|
<link rel="stylesheet" href="/static/css/index.css">
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<div id="edit-pane">
|
|
|
|
<div id="controls">
|
2016-03-03 10:38:57 +01:00
|
|
|
<a href="/published/{{ .pubTo}}" target="_blank" onclick="save();"> Present</a>
|
2017-03-02 01:10:17 +01:00
|
|
|
<a href="/published/{{ .pubTo}}?print-pdf" target="_blank" onclick="save();"> Pdf preview</a>
|
2016-02-29 20:16:20 +01:00
|
|
|
</div>
|
|
|
|
<div id="editor"></div>
|
|
|
|
</div>
|
|
|
|
<div id="preview">
|
2016-03-03 11:04:42 +01:00
|
|
|
<iframe id="slides-frame" src="/published/{{ .pubTo}}?preview"></iframe>
|
2016-02-29 20:16:20 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="/static/revealjs/js/ace-1.1.8/ace.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="/static/revealjs/js/jquery-2.1.3.min.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="/static/revealjs/js/jquery-debounce-1.0.5.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="/static/js/save.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
<script src="/static/js/index.js" type="text/javascript" charset="utf-8"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
|
|
|
|
{{ end }}
|