Update js src links

This commit is contained in:
Alex Myasoedov 2017-03-01 19:10:17 -05:00
parent 931bd2d082
commit e7921d0503
2 changed files with 14 additions and 9 deletions

View file

@ -15,6 +15,7 @@
<div id="edit-pane"> <div id="edit-pane">
<div id="controls"> <div id="controls">
<a href="/published/{{ .pubTo}}" target="_blank" onclick="save();"> Present</a> <a href="/published/{{ .pubTo}}" target="_blank" onclick="save();"> Present</a>
<a href="/published/{{ .pubTo}}?print-pdf" target="_blank" onclick="save();"> Pdf preview</a>
</div> </div>
<div id="editor"></div> <div id="editor"></div>
</div> </div>

View file

@ -7,16 +7,16 @@
<title>reveal.js - The HTML Presentation Framework</title> <title>reveal.js - The HTML Presentation Framework</title>
<meta name="description" content="A framework for easily creating beautiful presentations using HTML"> <meta name="description" content="An awesome presentation">
<meta name="author" content="Hakim El Hattab"> <meta name="author" content="">
<meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" /> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui"> <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui">
<link rel="stylesheet" href="/static/revealjs/css/reveal.css"> <link rel="stylesheet" href="/static/reveal.js/css/reveal.css">
<link rel="stylesheet" href="/static/revealjs/css/theme/black.css" id="theme"> <link rel="stylesheet" href="/static/reveal.js/css/theme/black.css" id="theme">
<!-- Code syntax highlighting --> <!-- Code syntax highlighting -->
<link rel="stylesheet" href="/static/revealjs/lib/css/zenburn.css"> <link rel="stylesheet" href="/static/revealjs/lib/css/zenburn.css">
@ -26,9 +26,7 @@
var link = document.createElement( 'link' ); var link = document.createElement( 'link' );
link.rel = 'stylesheet'; link.rel = 'stylesheet';
link.type = 'text/css'; link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) link.href = window.location.search.match( /print-pdf/gi ) ? '/static/reveal.js/css/print/pdf.css' : '/static/reveal.js/css/print/paper.css';
? '/static/revealjs/css/print/pdf.css'
: '/static/revealjs/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link ); document.getElementsByTagName( 'head' )[0].appendChild( link );
</script> </script>
@ -42,9 +40,15 @@
<div class="slides"></div> <div class="slides"></div>
</div> </div>
<script src="/static/revealjs/lib/js/head.min.js"></script> <script src="/static/revealjs/js/ace-1.1.8/ace.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/revealjs/js/reveal.js"></script>
<script src="/static/revealjs/js/jquery-2.1.3.min.js"></script> <script src="/static/revealjs/js/jquery-2.1.3.min.js"></script>
<script src="/static/revealjs/js/jquery-debounce-1.0.5.js" type="text/javascript" charset="utf-8"></script>
<script src="/static/reveal.js/js/reveal.js"></script>
<script src="/static/reveal.js/lib/js/head.min.js"></script>
<script type="text/javascript" src="/static/reveal.js/plugin/highlight/highlight.js"></script>
<script type="text/javascript" src="/static/reveal.js/plugin/notes/notes.js"></script>
<script type="text/javascript" src="/static/reveal.js/plugin/markdown/marked.js"></script>
<script type="text/javascript" src="/static/reveal.js/plugin/markdown/markdown.js"></script>
<script src="/static/js/slides.js"></script> <script src="/static/js/slides.js"></script>
</body> </body>
</html> </html>