2013-03-24 14:54:26 +00:00
|
|
|
<!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>
|
2013-03-24 17:46:48 +00:00
|
|
|
<script type="text/javascript" src="js/bootstrap.js"></script>
|
2013-03-24 14:54:26 +00:00
|
|
|
<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>
|
2013-03-24 17:46:48 +00:00
|
|
|
<script type="text/javascript">
|
|
|
|
function handleClientLoad() {
|
2013-03-24 19:42:15 +00:00
|
|
|
window.setTimeout(gdrive.init, 1);
|
2013-03-24 17:46:48 +00:00
|
|
|
}
|
|
|
|
</script>
|
|
|
|
<script type="text/javascript"
|
|
|
|
src="https://apis.google.com/js/client.js?onload=handleClientLoad"></script>
|
2013-03-24 16:31:35 +00:00
|
|
|
<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>
|
2013-03-24 14:54:26 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2013-03-24 17:46:48 +00:00
|
|
|
<div id="navbar" class="navbar navbar-fixed-top">
|
|
|
|
<div class="navbar-inner">
|
2013-03-24 23:21:55 +00:00
|
|
|
<div id="wmd-button-bar" class="nav"></div>
|
2013-03-24 17:46:48 +00:00
|
|
|
<ul class="nav pull-right">
|
2013-03-25 12:03:22 +00:00
|
|
|
<li>
|
|
|
|
<a class="brand pull-right" id="file-title" href="javascript:void(0);"></a>
|
|
|
|
</li>
|
|
|
|
<li class="navbar-form">
|
2013-03-24 23:21:55 +00:00
|
|
|
<input id="file-title-input" type="text" class="span3" placeholder="File title" />
|
|
|
|
</li>
|
|
|
|
<li class="dropdown"><a class="dropdown-toggle"
|
|
|
|
data-toggle="dropdown" href="#"><b class="caret"></b></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="#"><img src="img/stackedit-16.png" />
|
|
|
|
Menu <b class="caret"></b></a>
|
2013-03-24 17:46:48 +00:00
|
|
|
<ul class="dropdown-menu">
|
2013-03-24 23:21:55 +00:00
|
|
|
<li><a id="new-file" href="javascript:void(0);"><i class="icon-file"></i> New file</a></li>
|
|
|
|
<li><a id="remove-file" href="javascript:void(0);"><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>
|
2013-03-24 17:46:48 +00:00
|
|
|
</ul></li>
|
2013-03-25 12:03:22 +00:00
|
|
|
<li class="divider-vertical"></li>
|
2013-03-24 17:46:48 +00:00
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
2013-03-24 14:54:26 +00:00
|
|
|
<textarea id="wmd-input"></textarea>
|
|
|
|
<div id="wmd-preview" class="well"></div>
|
|
|
|
</body>
|
2013-03-24 23:21:55 +00:00
|
|
|
</html>
|