##// END OF EJS Templates
some improvement
some improvement

File last commit:

r9562:7e48ab8f
r9614:5acd1eec
Show More
reveal_base.html
80 lines | 3.2 KiB | text/html | HtmlLexer
damianavila
Added ipython styling through a method inside the converter. Modified the template to adjust to the new method. Rewritten of some css slyling through reveal_html.css.
r8918
damianavila
Moved the html code to a template file and added functions to read the template
r8843 <meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<link rel="stylesheet" href="reveal/css/reveal.css">
damianavila
Fixed template to load simple.css and changed reveal.orig accordiingly.
r9398 <link rel="stylesheet" href="reveal/css/theme/simple.css" id="theme">
damianavila
Moved the html code to a template file and added functions to read the template
r8843
<!-- For syntax highlighting -->
<link rel="stylesheet" href="reveal/lib/css/zenburn.css">
<!-- If the query includes 'print-pdf', use the PDF print sheet -->
<script>
document.write( '<link rel="stylesheet" href="reveal/css/print/' + ( window.location.search.match( /print-pdf/gi ) ? 'pdf' : 'paper' ) + '.css" type="text/css" media="print">' );
</script>
<!--[if lt IE 9]>
<script src="reveal/lib/js/html5shiv.js"></script>
<![endif]-->
%slides%
damianavila
Added social button.
r9508 <!-- Social buttons -->
<div class="addthis_toolbox addthis_floating_style addthis_32x32_style" style="left:20px;top:20px;">
<a class="addthis_button_twitter"></a>
<a class="addthis_button_google_plusone_share"></a>
<a class="addthis_button_linkedin"></a>
<a class="addthis_button_facebook"></a>
<a class="addthis_button_more"></a>
</div>
<!-- End of social buttons -->
damianavila
Fixed mathjax inline.
r9510 <!-- MathJax configuration -->
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [ ['$','$'], ["\\(","\\)"] ],
displayMath: [ ['$$','$$'], ["\\[","\\]"] ]
},
damianavila
Fixed some css styling.
r9562 displayAlign: 'left', // Change this to 'center' to center equations.
damianavila
Fixed mathjax inline.
r9510 "HTML-CSS": {
styles: {'.MathJax_Display': {"margin": 0}}
}
});
</script>
<!-- End of mathjax configuration -->
damianavila
Moved the html code to a template file and added functions to read the template
r8843 <script src="reveal/lib/js/head.min.js"></script>
<script src="reveal/js/reveal.min.js"></script>
<script>
// Full list of configuration options available here: https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
controls: true,
progress: true,
history: true,
damianavila
Fixed template to load simple.css and changed reveal.orig accordiingly.
r9398 theme: Reveal.getQueryHash().theme, // available themes are in /css/theme
damianavila
Modified theme=simple and transition linear
r8903 transition: Reveal.getQueryHash().transition || 'linear', // default/cube/page/concave/zoom/linear/none
damianavila
Moved the html code to a template file and added functions to read the template
r8843
// Optional libraries used to extend on reveal.js
dependencies: [
{ src: 'reveal/lib/js/classList.js', condition: function() { return !document.body.classList; } },
{ src: 'reveal/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } },
{ src: 'reveal/plugin/zoom-js/zoom.js', async: true, condition: function() { return !!document.body.classList; } },
damianavila
Updated reveal submodule which fixed notes previous patch.
r9522 { src: 'reveal/plugin/notes/notes.js', async: true, condition: function() { return !!document.body.classList; } },
damianavila
Added social button.
r9508 { src: 'http://s7.addthis.com/js/300/addthis_widget.js', async: true},
{ src: 'js/mathjax-onload.js', async: true}
damianavila
Moved the html code to a template file and added functions to read the template
r8843 ]
});
</script>
<script>
damianavila
Added social button.
r9508 Reveal.addEventListener( 'slidechanged', function( event ) {
damianavila
Moved the html code to a template file and added functions to read the template
r8843 MathJax.Hub.Rerender(event.currentSlide);
});
damianavila
Modified reveal template to delete commented script.
r9038 </script>