76 lines
2.9 KiB
HTML
76 lines
2.9 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>Pagedown editor</title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<!-- Bootstrap -->
|
|
<link href="css/bootstrap.css" rel="stylesheet" media="screen">
|
|
<link href="css/main.css" rel="stylesheet" media="screen">
|
|
<script type="text/javascript" src="js/jquery.js"></script>
|
|
<script type="text/javascript" src="js/bootstrap.js"></script>
|
|
<script type="text/javascript" src="js/Markdown.Converter.js"></script>
|
|
<script type="text/javascript" src="js/Markdown.Sanitizer.js"></script>
|
|
<script type="text/javascript" src="js/Markdown.Editor.js"></script>
|
|
<script type="text/javascript" src="js/main.js"></script>
|
|
<script type="text/javascript">
|
|
function handleClientLoad() {
|
|
window.setTimeout(gdrive.init, 1);
|
|
}
|
|
</script>
|
|
<script type="text/javascript"
|
|
src="https://apis.google.com/js/client.js?onload=handleClientLoad"></script>
|
|
<script>
|
|
(function(i, s, o, g, r, a, m) {
|
|
i['GoogleAnalyticsObject'] = r;
|
|
i[r] = i[r] || function() {
|
|
(i[r].q = i[r].q || []).push(arguments)
|
|
}, i[r].l = 1 * new Date();
|
|
a = s.createElement(o), m = s.getElementsByTagName(o)[0];
|
|
a.async = 1;
|
|
a.src = g;
|
|
m.parentNode.insertBefore(a, m)
|
|
})(window, document, 'script', '//www.google-analytics.com/analytics.js',
|
|
'ga');
|
|
|
|
ga('create', 'UA-39556145-1', 'github.com');
|
|
ga('send', 'pageview');
|
|
</script>
|
|
</head>
|
|
<body>
|
|
<div id="navbar" class="navbar navbar-fixed-top">
|
|
<div class="navbar-inner">
|
|
|
|
<ul class="nav">
|
|
<li class="divider-vertical"></li>
|
|
<li><div id="wmd-button-bar"></div></li>
|
|
</ul>
|
|
<ul class="nav pull-right">
|
|
<li><a class="brand" id="file-title" href="javascript:void(0);" title="Rename"><span></span></a></li>
|
|
<li class="navbar-form"><input id="file-title-input"
|
|
type="text" class="span3" placeholder="File title" /></li>
|
|
<li class="dropdown"><a class="dropdown-toggle"
|
|
data-toggle="dropdown" href="#" title="Open file"><i
|
|
class="icon-folder-open"></i></a>
|
|
<ul id="file-selector" class="dropdown-menu">
|
|
</ul></li>
|
|
<li class="divider-vertical"></li>
|
|
<li class="dropdown"><a class="dropdown-toggle"
|
|
data-toggle="dropdown" href="#" title="Menu"><img src="img/stackedit-16.png" />
|
|
Menu <b class="caret"></b></a>
|
|
<ul class="dropdown-menu">
|
|
<li><a id="new-file" href="javascript:void(0);" title="Create a new local file"><i
|
|
class="icon-file"></i> New file</a></li>
|
|
<li><a id="remove-file" href="javascript:void(0);" title="Delete the current file locally"><i
|
|
class="icon-trash"></i> Remove file</a></li>
|
|
<li><a id="drive-link" href="javascript:void(0);"><i
|
|
class="icon-magnet"></i> Link with Google Drive</a></li>
|
|
</ul></li>
|
|
<li class="divider-vertical"></li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
<textarea id="wmd-input"></textarea>
|
|
<div id="wmd-preview" class="well"></div>
|
|
</body>
|
|
</html>
|