Stackedit/index.html

515 lines
19 KiB
HTML
Raw Normal View History

2013-03-24 14:54:26 +00:00
<!DOCTYPE html>
2013-03-31 14:11:07 +00:00
<html manifest="cache.manifest">
2013-03-24 14:54:26 +00:00
<head>
<title>StackEdit</title>
2013-03-31 14:11:07 +00:00
<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">
2013-04-10 18:14:59 +00:00
<meta name="keywords"
content="Markdown, Editor, PageDown, Stack Overflow, Stack Exchange">
<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.">
2013-04-07 15:22:13 +00:00
<meta name="author" content="Benoit Schweblin">
2013-03-24 14:54:26 +00:00
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="css/main.css" rel="stylesheet" media="screen">
2013-04-02 18:42:47 +00:00
<script data-main="js/main" src="js/require.js"></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>
2013-04-02 18:42:47 +00:00
<ul class="pull-right hide" id="menu-bar">
<li class="btn-group"><button class="btn action-force-sync"
title="Synchronize">
<i class="icon-refresh"></i>
2013-04-10 18:14:59 +00:00
</button>
2013-04-10 23:13:31 +00:00
<button class="btn action-force-publish" title="Publish">
2013-04-10 18:14:59 +00:00
<i class="icon-share"></i>
</button></li>
<li class="btn-group"><button class="btn action-create-file"
2013-04-03 22:52:29 +00:00
title="New local document">
<i class="icon-file"></i>
</button>
2013-04-03 22:52:29 +00:00
<button class="btn" title="Delete local document"
data-toggle="modal" data-target="#modal-remove-file-confirm">
<i class="icon-trash"></i>
</button>
<button class="btn dropdown-toggle" data-toggle="dropdown"
2013-04-03 22:52:29 +00:00
title="Open local document">
<i class="icon-folder-open"></i>
</button>
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-04-09 07:58:06 +00:00
data-toggle="dropdown" href="#" title="Menu"><i
class="icon-stackedit"></i>&nbsp;&nbsp;<b class="caret"></b></a>
2013-03-24 17:46:48 +00:00
<ul class="dropdown-menu">
2013-04-03 21:14:01 +00:00
<li><a class="action-download-md" href="#"><i
2013-04-05 17:44:10 +00:00
class="icon-download-alt"></i> Save as MD</a></li>
2013-04-03 21:14:01 +00:00
<li><a class="action-download-html" href="#"><i
2013-04-05 17:44:10 +00:00
class="icon-download-alt"></i> Save as HTML</a></li>
2013-03-27 22:09:27 +00:00
<li class="divider"></li>
2013-04-02 18:42:47 +00:00
<li class="dropdown-submenu"><a href="#"><i
class="icon-gdrive"></i> Google Drive</a>
<ul class="dropdown-menu">
2013-04-07 15:22:13 +00:00
<li><a href="#" class="action-download-gdrive">Import
from Google Drive</a></li>
<li><a href="#" data-toggle="modal"
2013-04-10 23:13:31 +00:00
data-target="#modal-upload-gdrive" class="action-reset-input">Export
to Google Drive</a></li>
2013-04-02 18:42:47 +00:00
</ul></li>
<li class="dropdown-submenu"><a href="#"><i
class="icon-dropbox"></i> Dropbox</a>
<ul class="dropdown-menu">
2013-04-03 22:52:29 +00:00
<li><a class="action-download-dropbox" href="#">Import
from Dropbox</a></li>
2013-04-07 15:22:13 +00:00
<li><a href="#" data-toggle="modal"
2013-04-10 23:13:31 +00:00
data-target="#modal-upload-dropbox" class="action-reset-input">Export
to Dropbox</a></li>
2013-04-02 18:42:47 +00:00
</ul></li>
2013-04-03 22:52:29 +00:00
<li><a href="#" data-toggle="modal"
2013-04-10 23:13:31 +00:00
data-target="#modal-manage-sync" class="action-reset-input"><i
class="icon-refresh"></i> Manage synchronization</a></li>
2013-03-31 01:00:03 +00:00
<li class="divider"></li>
2013-04-10 18:14:59 +00:00
<li class="dropdown-submenu"><a href="#"><i
class="icon-share"></i> Publish on</a>
<ul class="dropdown-menu">
<li><a href="#" class="action-publish-github"><i
class="icon-github"></i> GitHub</a></li>
</ul></li>
<li><a href="#" data-toggle="modal"
2013-04-11 22:38:41 +00:00
data-target="#modal-manage-publish" class="action-reset-input"><i
class="icon-share"></i> Manage publishing</a></li>
2013-04-10 18:14:59 +00:00
<li class="divider"></li>
2013-04-03 22:52:29 +00:00
<li><a href="#" data-toggle="modal"
2013-04-12 21:18:35 +00:00
data-target="#modal-settings" class="action-load-settings"><i
2013-04-03 22:52:29 +00:00
class="icon-cog"></i> Settings</a></li>
2013-04-02 18:42:47 +00:00
<li><a href="#" data-toggle="modal"
data-target="#modal-about"><i class="icon-question-sign"></i>
About</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-04-03 22:52:29 +00:00
title="Rename current document"> </a></li>
<li class="navbar-form"><input id="file-title-input"
2013-04-03 22:52:29 +00:00
type="text" class="span3 hide" placeholder="Document title" /></li>
</ul>
</div>
</div>
2013-04-02 18:42:47 +00:00
<textarea id="wmd-input" class="ui-layout-center hide"></textarea>
<div class="ui-layout-east hide"></div>
<div class="ui-layout-south hide"></div>
2013-03-27 15:28:31 +00:00
2013-04-07 15:22:13 +00:00
<div id="modal-insert-link" class="modal hide">
<div class="modal-header">
<button type="button" class="close action-close-insert-link"
data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Hyperlink</h3>
</div>
<div class="modal-body">
<p>Please provide the link URL and an optional title:</p>
<div class="input-prepend">
<span class="add-on"><i class="icon-globe"></i></span><input
id="input-insert-link" type="text" class="span5"
placeholder='http://example.com/ "optional title"'></input>
</div>
</div>
<div class="modal-footer">
<a href="#" class="btn action-close-insert-link" data-dismiss="modal">Cancel</a>
<a href="#" class="btn btn-primary action-insert-link"
data-dismiss="modal">OK</a>
</div>
</div>
2013-04-04 22:13:48 +00:00
2013-04-07 15:22:13 +00:00
<div id="modal-insert-image" class="modal hide">
<div class="modal-header">
<button type="button" class="close action-close-insert-link"
data-dismiss="modal" aria-hidden="true">&times;</button>
<h3>Image</h3>
</div>
<div class="modal-body">
<p>Please provide the image URL and an optional title:</p>
<div class="input-prepend">
<span class="add-on"><i class="icon-picture"></i></span><input
id="input-insert-image" type="text" class="span5"
placeholder='http://example.com/image.jpg "optional title"'></input>
</div>
</div>
<div class="modal-footer">
<a href="#" class="btn action-close-insert-link" data-dismiss="modal">Cancel</a>
<a href="#" class="btn btn-primary action-insert-image"
data-dismiss="modal">OK</a>
</div>
</div>
2013-04-04 22:13:48 +00:00
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>
2013-04-01 01:06:52 +00:00
<h3>Remove</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> This will not remove the file on
synchronized locations.</p>
</div>
<div class="modal-footer">
2013-03-31 01:00:03 +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
2013-04-07 15:22:13 +00:00
<div id="modal-upload-gdrive" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Export</h3>
</div>
<div class="modal-body">
<p>This will upload the current document into your Google Drive
root folder and keep it synchronized.</p>
<p class="muted"><b>NOTE:</b> You can move or rename the file
within Google Drive afterwards.</p>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
data-dismiss="modal"
class="btn btn-primary action-upload-gdrive-root">OK</a>
</div>
</div>
<div id="modal-upload-dropbox" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Export</h3>
</div>
<div class="modal-body">
<p>This will upload the current document to your Dropbox account
and keep it synchronized.</p>
<p>Please specify a file path for "<span class="file-title"></span>":
</p>
<div class="input-prepend">
<span class="add-on"><i class="icon-dropbox"></i></span><input
id="upload-dropbox-path" type="text" class="span5"
placeholder="/path/to/My Document.md"></input>
</div>
<br /> <br /> <b class="muted">NOTE:</b>
<ul class="muted">
<li>Dropbox file path does not depend on document title.</li>
<li>The title of your document will not be synchronized.</li>
<li>Destination folder must exist.</li>
<li>Any existing file at this location will be overwritten.</li>
</ul>
</div>
<div class="modal-footer">
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
data-dismiss="modal" class="btn btn-primary action-upload-dropbox">OK</a>
</div>
</div>
2013-03-31 01:00:03 +00:00
<div id="modal-manage-sync" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Synchronization</h3>
</div>
<div class="modal-body">
2013-04-07 15:22:13 +00:00
<p class="msg-sync-list hide">"<span class="file-title"></span>"
2013-04-10 23:13:31 +00:00
is synchronized with the following location(s):
2013-04-07 15:22:13 +00:00
</p>
<div id="manage-sync-list"></div>
2013-03-31 01:00:03 +00:00
<p class="msg-sync-list hide muted"><b>NOTE:</b> Removing a
synchronized location will not delete any file.</p>
<p class="msg-no-sync hide">"<span class="file-title"></span>" is
not synchronized.
2013-03-31 01:00:03 +00:00
</p>
2013-04-03 22:52:29 +00:00
<p>Add a synchronized location manually:</p>
<div class="input-prepend input-append">
2013-04-11 22:38:41 +00:00
<span class="add-on" title="Google Drive"><i
class="icon-gdrive"></i></span><input id="manual-gdrive-fileid"
type="text" class="span5" placeholder="Google Drive file ID"></input>
<a class="btn action-manual-gdrive" title="Add location"
2013-04-07 15:22:13 +00:00
data-dismiss="modal"><i class="icon-ok"></i></a>
</div>
<div class="input-prepend input-append">
2013-04-11 22:38:41 +00:00
<span class="add-on" title="Dropbox"><i class="icon-dropbox"></i></span><input
2013-04-07 15:22:13 +00:00
id="manual-dropbox-path" type="text" class="span5"
placeholder="Dropbox file path"></input> <a
2013-04-11 22:38:41 +00:00
class="btn action-manual-dropbox" title="Add location"
2013-04-07 15:22:13 +00:00
data-dismiss="modal"><i class="icon-ok"></i></a>
2013-04-03 22:52:29 +00:00
</div>
<p class="muted"><b>NOTE:</b> Adding a synchronized location will
2013-04-07 15:22:13 +00:00
upload the local document firstly and overwrite the existing file on
the server.</p>
2013-03-31 01:00:03 +00:00
</div>
<div class="modal-footer">
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
</div>
</div>
2013-04-10 18:14:59 +00:00
<div id="modal-publish" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Publish</h3>
</div>
<div class="modal-body">
<div class="form-horizontal">
2013-04-11 22:38:41 +00:00
<div class="control-group control-publish-github">
<label class="control-label" for="input-publish-github-username">GitHub
user</label>
<div class="controls">
<input type="text" id="input-publish-github-username"
placeholder="User name">
</div>
</div>
<div class="control-group control-publish-github">
<label class="control-label" for="input-publish-github-reponame">Repository</label>
<div class="controls">
<input type="text" id="input-publish-github-reponame"
placeholder="Repository name">
</div>
</div>
<div class="control-group control-publish-github">
<label class="control-label" for="input-publish-github-branch">Branch</label>
<div class="controls">
<input type="text" id="input-publish-github-branch"
placeholder="Branch name">
</div>
</div>
<div class="control-group control-publish-github">
<label class="control-label" for="input-publish-github-path">File
path</label>
<div class="controls">
<input type="text" id="input-publish-github-path"
placeholder="path/to/file.md">
</div>
</div>
2013-04-10 18:14:59 +00:00
<div class="control-group control-publish-blogger">
2013-04-10 23:13:31 +00:00
<label class="control-label" for="input-publish-blogger-url">Blog
URL</label>
2013-04-10 18:14:59 +00:00
<div class="controls">
<input type="text" id="input-publish-blogger-url"
placeholder="http://exemple.blogger.com/">
</div>
</div>
<div class="control-group control-publish-blogger">
2013-04-10 23:13:31 +00:00
<label class="control-label" for="input-publish-blogger-postid">Update
existing post ID (optional)</label>
2013-04-10 18:14:59 +00:00
<div class="controls">
<input type="text" id="input-publish-blogger-postid"
placeholder="Post ID">
</div>
</div>
<div class="control-group">
<div class="control-label">Publish as</div>
<div class="controls">
<label class="radio"> <input type="radio"
name="radio-publish-format" value="markdown"> Markdown
format
</label> <label class="radio"> <input type="radio"
name="radio-publish-format" value="html"> HTML format
</label>
</div>
</div>
</div>
</div>
<div class="modal-footer">
2013-04-10 23:13:31 +00:00
<a href="#" class="btn" data-dismiss="modal">Cancel</a> <a href="#"
data-dismiss="modal" class="btn btn-primary action-process-publish">OK</a>
2013-04-10 18:14:59 +00:00
</div>
</div>
2013-04-09 07:58:06 +00:00
2013-04-11 22:38:41 +00:00
<div id="modal-manage-publish" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h3>Publishing</h3>
</div>
<div class="modal-body">
<p class="msg-publish-list hide">"<span class="file-title"></span>"
is published on the following location(s):
</p>
<div id="manage-publish-list"></div>
<p class="msg-no-publish hide">"<span class="file-title"></span>"
is not published.
</p>
<p class="muted"><b>NOTE:</b> You can add locations using
sub-menu "Publish on".</p>
</div>
<div class="modal-footer">
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
</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">
2013-04-11 22:38:41 +00:00
<ul class="nav nav-tabs">
2013-04-12 21:18:35 +00:00
<li class="active"><a class="action-load-settings"
href="#tabpane-settings-editor" data-toggle="tab">Editor</a></li>
<li><a class="action-load-settings"
href="#tabpane-settings-publish" data-toggle="tab">Publishing</a></li>
2013-04-11 22:38:41 +00:00
</ul>
<div class="tab-content">
<div class="tab-pane active" id="tabpane-settings-editor">
<div class="form-horizontal">
<div class="control-group">
<div class="control-label">Layout orientation</div>
<div class="controls">
<label class="radio"> <input type="radio"
name="radio-layout-orientation" value="horizontal">
Horizontal
</label> <label class="radio"> <input type="radio"
name="radio-layout-orientation" value="vertical">
Vertical
</label>
</div>
</div>
<div class="control-group">
<label class="control-label"
for="input-settings-editor-font-size">Editor font size</label>
<div class="controls">
<input type="text" id="input-settings-editor-font-size"
class="input-mini"><span class="help-inline">px</span>
</div>
</div>
2013-04-10 18:14:59 +00:00
</div>
</div>
2013-04-11 22:38:41 +00:00
<div class="tab-pane" id="tabpane-settings-publish">
<div class="form-horizontal">
<div class="control-group">
<label class="control-label"
for="input-settings-publish-commit-msg">Commit message</label>
<div class="controls">
<input type="text" id="input-settings-publish-commit-msg">
</div>
</div>
2013-04-10 23:13:31 +00:00
</div>
</div>
2013-04-10 18:14:59 +00:00
</div>
2013-04-11 22:38:41 +00:00
2013-03-27 15:28:31 +00:00
</div>
<div class="modal-footer">
2013-03-31 01:00:03 +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-04-02 18:42:47 +00:00
<div id="modal-about" class="modal hide">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<img src="img/stackedit-promo.png" />
</div>
2013-04-03 22:52:29 +00:00
<div class="modal-body">
<dl>
<dt>About:</dt>
<dd>
<a target="_blank" href="https://github.com/benweet/stackedit/">GitHub
2013-04-12 21:18:35 +00:00
page</a> / <a target="_blank"
href="https://github.com/benweet/stackedit/issues">issue
tracker</a>
2013-04-03 22:52:29 +00:00
</dd>
<dd>
<a target="_blank"
href="https://chrome.google.com/webstore/detail/stackedit/iiooodelglhkcpgbajoejffhijaclcdg">Chrome
app</a>
</dd>
<dd>
<a target="_blank" href="https://twitter.com/stackedit/">Follow
on Twitter</a>
</dd>
<dd>
<a target="_blank" href="https://www.facebook.com/stackedit/">Follow
on Facebook</a>
</dd>
<dd>
<a target="_blank"
href="https://plus.google.com/b/110816046787593496375/110816046787593496375">Follow
on Google+</a>
</dd>
</dl>
<dl>
2013-04-12 21:18:35 +00:00
<dt>Developers:</dt>
2013-04-03 22:52:29 +00:00
<dd>
<a target="_blank" href="http://www.benoitschweblin.com">Benoit
Schweblin</a>
<dd>
2013-04-12 21:18:35 +00:00
<dd>Pete Eigel (contributor)
<dd>
2013-04-03 22:52:29 +00:00
</dl>
<dl>
<dt>Credit:</dt>
2013-04-07 15:22:13 +00:00
<dd>
<a target="_blank" href="http://twitter.github.com/bootstrap/">Bootstrap</a>
</dd>
<dd>
2013-04-11 22:38:41 +00:00
<a target="_blank" href="https://github.com/dropbox/dropbox-js">Dropbox-js</a>
</dd>
<dd>
<a target="_blank" href="https://github.com/michael/github">Github.js</a>
/ <a target="_blank" href="https://github.com/prose/gatekeeper">Gatekeeper</a>
</dd>
2013-04-07 15:22:13 +00:00
<dd>
2013-04-10 18:14:59 +00:00
<a target="_blank" href="http://glyphicons.com/">Glyphicons</a>
2013-04-07 15:22:13 +00:00
</dd>
<dd>
<a target="_blank" href="https://github.com/stanlemon/jGrowl/">jGrowl</a>
</dd>
2013-04-03 22:52:29 +00:00
<dd>
<a target="_blank" href="http://jquery.com/">jQuery</a>
</dd>
2013-04-07 15:22:13 +00:00
<dd>
<a target="_blank" href="http://layout.jquery-dev.net/">jQuery
UI Layout</a>
</dd>
<dd>
<a target="_blank" href="https://code.google.com/p/pagedown/">PageDown</a>
</dd>
2013-04-03 22:52:29 +00:00
<dd>
<a target="_blank" href="http://requirejs.org/">RequireJS</a>
</dd>
</dl>
<p>Copyright 2013 <a target="_blank"
href="http://www.benoitschweblin.com">Benoit Schweblin</a><br />
Licensed under an <a target="_blank"
href="http://www.apache.org/licenses/LICENSE-2.0">Apache License</a></p>
</div>
2013-04-02 18:42:47 +00:00
<div class="modal-footer">
<a href="#" class="btn btn-primary" data-dismiss="modal">Close</a>
</div>
2013-04-10 18:14:59 +00:00
</div>
2013-04-03 22:52:29 +00:00
2013-04-10 18:14:59 +00:00
<div id="modal-non-unique" class="modal hide">
<div class="modal-header">
<h3>Stopped...</h3>
</div>
<div class="modal-body">
2013-04-10 23:13:31 +00:00
<p>StackEdit has stopped because another instance was running in
2013-04-10 18:14:59 +00:00
the same browser.</p>
<p class="muted">If you want to reopen StackEdit, click on
"Reload".</p>
</div>
<div class="modal-footer">
<a href="javascript:window.location.reload();"
class="btn btn-primary">Reload</a>
</div>
2013-04-02 18:42:47 +00:00
</div>
2013-04-10 18:14:59 +00:00
2013-04-07 15:22:13 +00:00
<div id="dropboxjs" data-app-key="x0k2l8puemfvg0o"></div>
2013-03-24 14:54:26 +00:00
</body>
2013-03-24 23:21:55 +00:00
</html>