hedgedoc/public/views/pretty.ejs

78 lines
4.1 KiB
Text
Raw Normal View History

2015-05-04 03:53:29 -04:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
2015-07-01 12:10:20 -04:00
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="mobile-web-app-capable" content="yes">
<title><%- title %></title>
2015-05-04 03:53:29 -04:00
<link rel="icon" type="image/png" href="<%- url %>/favicon.png">
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
<% if(useCDN) { %>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css">
<% } else { %>
<link rel="stylesheet" href='<%- url %>/vendor/bootstrap/css/bootstrap.min.css'>
2015-05-04 03:53:29 -04:00
<link rel="stylesheet" href='<%- url %>/vendor/font-awesome/css/font-awesome.min.css'>
<% } %>
2015-05-04 03:53:29 -04:00
<link rel="stylesheet" href='<%- url %>/css/github-extract.css'>
<link rel="stylesheet" href='<%- url %>/css/gist.css'>
2015-07-01 12:10:20 -04:00
<link rel="stylesheet" href='<%- url %>/vendor/highlight-js/github-gist.min.css'>
2015-05-04 03:53:29 -04:00
<link rel="stylesheet" href='<%- url %>/css/markdown.css'>
<link rel="stylesheet" href='<%- url %>/vendor/emojify/css/emojify.min.css'>
<link rel="stylesheet" href='<%- url %>/css/extra.css'>
<link rel="stylesheet" href='<%- url %>/css/site.css'>
</head>
2015-07-01 12:10:20 -04:00
<body style="display:none;">
<div class="ui-infobar container-fluid">
<small>
<span class="ui-lastchange text-uppercase"><%- updatetime %></span>
<span class="pull-right"><%- viewcount %> views <a href="#" class="ui-edit" title="Edit this note"><i class="fa fa-pencil"></i></a></span>
</small>
</div>
<div id="doc" class="container markdown-body">
2015-05-04 03:53:29 -04:00
<%- body %>
</div>
2015-07-01 12:10:20 -04:00
<div class="ui-toc dropup" style="display:none;">
<div class="pull-right dropdown">
<a id="tocLabel" class="ui-toc-label btn btn-default" data-target="#" data-toggle="dropdown" href="#" role="button" aria-haspopup="true" aria-expanded="false" title="Table of content">
<i class="fa fa-bars"></i>
</a>
<ul id="toc" class="ui-toc-dropdown dropdown-menu" aria-labelledby="tocLabel">
</ul>
</div>
</div>
<div id="toc-affix" class="ui-affix-toc ui-toc-dropdown" data-spy="affix" style="display:none;"></div>
2015-05-04 03:53:29 -04:00
</body>
</html>
<% if(useCDN) { %>
<script src="https://code.jquery.com/jquery-1.11.2.min.js" defer></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.2/js/bootstrap.min.js" defer></script>
<% } else { %>
2015-05-15 00:58:13 -04:00
<script src="<%- url %>/vendor/jquery-1.11.2.min.js" defer></script>
2015-07-01 12:10:20 -04:00
<script src="<%- url %>/vendor/bootstrap/js/bootstrap.min.js" defer></script>
<% } %>
2015-05-15 00:58:13 -04:00
<script src="<%- url %>/vendor/lz-string.min.js" defer></script>
<script src="<%- url %>/vendor/remarkable.min.js" defer></script>
<script src="<%- url %>/vendor/remarkable-regex.js" defer></script>
<script src="<%- url %>/vendor/gist-embed.js" defer></script>
<script src="<%- url %>/vendor/string.min.js" defer></script>
<script src="<%- url %>/vendor/highlight-js/highlight.min.js" defer></script>
2015-07-01 12:10:20 -04:00
<script src="<%- url %>/vendor/moment-with-locales.js" defer></script>
2015-05-15 00:58:13 -04:00
<script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script>
<script src="<%- url %>/vendor/raphael-min.js" defer></script>
2015-06-01 06:04:25 -04:00
<script src="<%- url %>/vendor/lodash.min.js" defer></script>
2015-05-15 00:58:13 -04:00
<script src="<%- url %>/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script>
<script src="<%- url %>/vendor/flowchart/flowchart-1.4.0.min.js" defer></script>
2015-07-01 12:10:20 -04:00
<script src="<%- url %>/vendor/md-toc.js" defer></script>
2015-05-04 03:53:29 -04:00
<script type="text/x-mathjax-config">
MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }});
</script>
2015-05-15 00:58:13 -04:00
<script type="text/javascript" src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" defer></script>
<script src="<%- url %>/js/extra.js" defer></script>
<script src="<%- url %>/js/pretty.js" defer></script>