Stackedit/index.html

143 lines
5.4 KiB
HTML
Raw Normal View History

2013-03-24 14:54:26 +00:00
<!DOCTYPE html>
<html>
<head>
<title>StackEdit</title>
<link rel="icon" href="img/stackedit-64.ico" type="image/x-icon">
<link rel="shortcut icon" href="img/stackedit-64.ico"
type="image/x-icon">
2013-03-24 14:54:26 +00:00
<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/jquery-ui.custom.js"></script>
<script type="text/javascript" src="js/jquery.layout.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>
2013-03-27 20:19:12 +00:00
<script type="text/javascript" src="js/gdrive.js"></script>
2013-03-24 14:54:26 +00:00
<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>
<div id="navbar" class="navbar navbar-fixed-top ui-layout-north">
2013-03-24 17:46:48 +00:00
<div class="navbar-inner">
2013-03-25 23:17:34 +00:00
<ul class="nav">
<li><div id="wmd-button-bar"></div></li>
</ul>
<ul class="pull-right" id="menu-bar">
<li class="btn-group"><a class="btn action-create-file"
2013-03-28 22:00:11 +00:00
href="#" title="Create a local file"><i
class="icon-file"></i></a> <a class="btn" href="#"
title="Delete the current file locally" data-toggle="modal"
2013-03-27 15:28:31 +00:00
data-target="#modal-remove-file-confirm"><i class="icon-trash"></i></a>
<a class="btn dropdown-toggle" data-toggle="dropdown" href="#"
title="Open a local file"><i class="icon-folder-open"></i></a>
2013-03-24 23:21:55 +00:00
<ul id="file-selector" class="dropdown-menu">
</ul></li>
<li class="btn-group"><a class="btn dropdown-toggle"
2013-03-28 22:00:11 +00:00
data-toggle="dropdown" href="#" title="Menu"><img
src="img/stackedit-16.png" />&nbsp;&nbsp;<b class="caret"></b></a>
2013-03-24 17:46:48 +00:00
<ul class="dropdown-menu">
2013-03-29 19:37:52 +00:00
<li><a class="action-download-md" href="#"
title="Download the current file as Markdown"><i class="icon-download-alt"></i> Download as MD</a></li>
<li><a class="action-download-html" href="#"
title="Download the current file as HTML"><i
class="icon-download-alt"></i> Download as HTML</a></li>
2013-03-27 22:09:27 +00:00
<li class="divider"></li>
<li><a class="action-upload-gdrive"
2013-03-28 22:00:11 +00:00
href="#"><i class="icon-gdrive"></i> Save
2013-03-27 22:09:27 +00:00
on Google Drive</a></li>
2013-03-27 15:28:31 +00:00
<li class="divider"></li>
2013-03-28 22:00:11 +00:00
<li><a href="#"
2013-03-27 15:28:31 +00:00
title="Modify your preferences" data-toggle="modal"
2013-03-28 22:00:11 +00:00
data-target="#modal-settings" class="action-load-settings"><i class="icon-cog"></i>
2013-03-27 15:28:31 +00:00
Settings</a></li>
2013-03-24 17:46:48 +00:00
</ul></li>
</ul>
<ul class="nav pull-right">
2013-03-28 22:00:11 +00:00
<li><i class="working-indicator icon-spinner hide"></i></li>
<li><a class="brand" id="file-title" href="#"
2013-03-27 22:09:27 +00:00
title="Rename the current file"><span class="file-title"></span>
</a></li>
<li class="navbar-form"><input id="file-title-input"
type="text" class="span3 hide" placeholder="File title" /></li>
</ul>
</div>
</div>
<textarea id="wmd-input" class="ui-layout-center"></textarea>
2013-03-26 23:32:36 +00:00
<div class="ui-layout-east"></div>
<div class="ui-layout-south"></div>
2013-03-27 15:28:31 +00:00
<div id="modal-remove-file-confirm" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Remove file</h3>
</div>
<div class="modal-body">
<p>Are you sure you want to remove "<span class="file-title"></span>"?
</p>
<p class="muted"><b>NOTE:</b> The file will be destroyed on the
local machine, not on distant synchronized locations.</p>
</div>
<div class="modal-footer">
2013-03-28 22:00:11 +00:00
<a href="#" class="btn" data-dismiss="modal">Cancel</a>
<a href="#"
class="btn btn-primary action-remove-file" data-dismiss="modal">Delete</a>
2013-03-24 17:46:48 +00:00
</div>
</div>
2013-03-27 15:28:31 +00:00
<div id="modal-settings" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Settings</h3>
</div>
<div class="modal-body">
<dl class="dl-horizontal">
<dt>Layout orientation</dt>
<dd>
<label class="radio"> <input type="radio"
name="radio-layout-orientation"
2013-03-28 22:00:11 +00:00
value="horizontal"> Horizontal
2013-03-27 15:28:31 +00:00
</label> <label class="radio"> <input type="radio"
name="radio-layout-orientation"
2013-03-28 22:00:11 +00:00
value="vertical"> Vertical
2013-03-27 15:28:31 +00:00
</label>
</dd>
</dl>
</div>
<div class="modal-footer">
2013-03-28 22:00:11 +00:00
<a href="#" class="btn"
data-dismiss="modal">Cancel</a> <a href="#"
2013-03-27 22:09:27 +00:00
class="btn btn-primary action-apply-settings" data-dismiss="modal">OK</a>
2013-03-27 15:28:31 +00:00
</div>
</div>
2013-03-24 14:54:26 +00:00
</body>
2013-03-24 23:21:55 +00:00
</html>