upgrade
This commit is contained in:
25
main/template/default/learnpath/impress.tpl
Normal file
25
main/template/default/learnpath/impress.tpl
Normal file
@@ -0,0 +1,25 @@
|
||||
<div class="fallback-message">
|
||||
<p>Your browser <b>doesn't support the features required</b> by impress.js, so you are presented with a simplified version of this presentation.</p>
|
||||
<p>For the best experience please use the latest <b>Chrome</b>, <b>Safari</b> or <b>Firefox</b> browser.</p>
|
||||
</div>
|
||||
|
||||
<div id="impress">
|
||||
{{ html }}
|
||||
</div>
|
||||
<div id="impress-toolbar"></div>
|
||||
|
||||
<div class="hint">
|
||||
<p>Use a spacebar or arrow keys to navigate</p>
|
||||
</div>
|
||||
<script>
|
||||
if ("ontouchstart" in document.documentElement) {
|
||||
document.querySelector(".hint").innerHTML = "<p>Tap on the left or right to navigate</p>";
|
||||
}
|
||||
</script>
|
||||
|
||||
<script>
|
||||
$(function() {
|
||||
impress().init();
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" src="{{_p.web_lib}}javascript/impress/impress.js"></script>
|
||||
Reference in New Issue
Block a user