Stackedit/viewer.html

98 lines
3.7 KiB
HTML
Raw Normal View History

2013-04-30 23:02:19 +00:00
<!DOCTYPE html>
<html manifest="cache.manifest">
<head>
<title>StackEdit Viewer</title>
<link rel="icon" href="img/stackedit-32.ico" type="image/x-icon">
<link rel="shortcut icon" href="img/stackedit-32.ico"
type="image/x-icon">
<meta name="description"
content="StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.">
<meta name="author" content="Benoit Schweblin">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
2013-05-18 13:42:40 +00:00
<meta name="msvalidate.01" content="5E47EE6F67B069C17E3CDD418351A612" />
2013-04-30 23:02:19 +00:00
<script>
2013-05-21 22:34:42 +00:00
// Use http://.../?debug to serve original CSS/JavaScript files for debugging instead of minified
var suffix = "";
if (location.search.indexOf("debug") === -1) {
suffix = "-min";
2013-04-30 23:02:19 +00:00
}
2013-05-21 22:34:42 +00:00
document.write('<link href="css/main' + suffix + '.css" rel="stylesheet">');
var theme = localStorage.theme;
if(theme) {
document.write('<link href="themes/' + theme + '/' + theme + '.css" rel="stylesheet">');
}
var require = { baseUrl : "js", deps : [ "main" + suffix ] };
2013-04-30 23:02:19 +00:00
var viewerMode = true;
</script>
<script src="js/require.js"></script>
</head>
<body class="viewer">
<div id="navbar" class="navbar navbar-fixed-top ui-layout-north">
<div class="navbar-inner">
2013-05-04 00:05:58 +00:00
<ul class="nav pull-right hide" id="menu-bar">
<li class="btn-group">
<button class="btn action-edit-document hide"
title="Edit this document">
<i class="icon-pencil"></i>
</button>
</li>
2013-04-30 23:02:19 +00:00
<li class="btn-group">
<button class="btn dropdown-toggle" data-toggle="dropdown"
2013-05-04 00:05:58 +00:00
title="Save this document">
2013-04-30 23:02:19 +00:00
<i class="icon-download-alt"></i>
</button>
<ul class="dropdown-menu">
<li><a class="action-download-md" href="#"><i
class="icon-download-alt"></i> Save as Markdown</a></li>
<li><a class="action-download-html" href="#"><i
class="icon-download-alt"></i> Save as HTML</a></li>
<li><a class="action-download-template" href="#"><i
class="icon-download-alt"></i> Save using template</a></li>
</ul></li>
<li class="btn-group">
2013-05-19 23:26:05 +00:00
<button class="btn dropdown-toggle action-open-file"
data-toggle="dropdown" title="Open local document">
2013-04-30 23:02:19 +00:00
<i class="icon-folder-open"></i>
</button>
<ul id="file-selector" class="dropdown-menu">
2013-05-19 23:26:05 +00:00
<li class="stick">
<div class="input-prepend">
<span class="add-on"><i class="icon-search"></i></span><input
type="text" id="file-search" class="span3">
</div>
</li>
2013-04-30 23:02:19 +00:00
</ul></li>
2013-05-04 00:05:58 +00:00
<li class="btn-group"><button class="btn action-open-stackedit"
title="Open StackEdit"><i
class="icon-stackedit"></i></button></li>
2013-04-30 23:02:19 +00:00
</ul>
<ul class="nav pull-right">
<li><i class="working-indicator icon-none"></i></li>
<li><span class="brand" id="file-title"></span></li>
</ul>
</div>
</div>
<div id="wmd-button-bar" class="hide"></div>
<textarea id="wmd-input" class="hide"></textarea>
<div id="wmd-preview" class="well"></div>
2013-05-02 00:02:57 +00:00
<div id="modal-non-unique" class="modal hide">
<div class="modal-header">
<h3>Whoops...</h3>
</div>
<div class="modal-body">
<p>StackEdit has stopped because another instance was running in
the same browser.</p>
<blockquote class="muted">If you want to reopen
StackEdit, click on "Reload".</blockquote>
</div>
<div class="modal-footer">
<a href="javascript:window.location.reload();"
class="btn btn-primary">Reload</a>
</div>
</div>
2013-04-30 23:02:19 +00:00
</body>
</html>