2015-05-04 03:53:29 -04:00
|
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
|
|
<head>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<meta charset="utf-8">
|
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<meta name="description" content="Best way to write and share your knowledge in markdown.">
|
2016-05-27 13:49:15 -04:00
|
|
|
|
<meta name="keywords" content="Collaborative, Markdown, Notes">
|
2016-05-27 13:51:45 -04:00
|
|
|
|
<title>HackMD - Collaborative markdown notes</title>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<link rel="icon" type="image/png" href="<%- url %>/favicon.png">
|
|
|
|
|
<link rel="apple-touch-icon" href="<%- url %>/apple-touch-icon.png">
|
|
|
|
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
2016-04-22 19:15:52 -04:00
|
|
|
|
<% if(useCDN) { %>
|
2016-07-30 00:19:42 -04:00
|
|
|
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
2016-05-11 02:33:12 -04:00
|
|
|
|
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.6.2/css/font-awesome.min.css">
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<link rel="stylesheet" href="//cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css">
|
|
|
|
|
<% } else { %>
|
|
|
|
|
<link rel="stylesheet" href="<%- url %>/vendor/bootstrap/dist/css/bootstrap.min.css">
|
|
|
|
|
<link rel="stylesheet" href="<%- url %>/vendor/font-awesome/css/font-awesome.min.css">
|
|
|
|
|
<link rel="stylesheet" href="<%- url %>/css/bootstrap-social.css">
|
|
|
|
|
<% } %>
|
|
|
|
|
<link rel="stylesheet" href="<%- url %>/vendor/select2/select2.css">
|
|
|
|
|
<link rel="stylesheet" href="<%- url %>/vendor/select2/select2-bootstrap.css">
|
|
|
|
|
<!-- Custom styles for this template -->
|
|
|
|
|
<link rel="stylesheet" href="<%- url %>/css/cover.css">
|
|
|
|
|
<link rel="stylesheet" href="<%- url %>/css/site.css">
|
2015-05-04 03:53:29 -04:00
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
<body>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<div class="site-wrapper">
|
|
|
|
|
<div class="site-wrapper-inner">
|
|
|
|
|
<div class="cover-container">
|
|
|
|
|
|
|
|
|
|
<div class="masthead clearfix">
|
|
|
|
|
<div class="inner">
|
|
|
|
|
<h3 class="masthead-brand"></h3>
|
|
|
|
|
<nav>
|
|
|
|
|
<ul class="nav masthead-nav">
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<li class="ui-home<% if(!signin) { %> active<% } %>"><a href="#">Intro</a>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
</li>
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<li class="ui-history<% if(signin) { %> active<% } %>"><a href="#">History</a>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</nav>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<div id="home" class="section"<% if(signin) { %> style="display:none;"<% } %>>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<div class="inner cover">
|
|
|
|
|
<h1 class="cover-heading"><i class="fa fa-file-text"></i> HackMD</h1>
|
|
|
|
|
<p class="lead">
|
2016-08-14 22:56:14 -04:00
|
|
|
|
Best way to write and share your knowledge in markdown.
|
2016-04-20 06:03:55 -04:00
|
|
|
|
</p>
|
2016-05-21 10:48:00 -04:00
|
|
|
|
<% if(facebook || twitter || github || gitlab || dropbox || google) { %>
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<span class="ui-signin">
|
|
|
|
|
<br>
|
|
|
|
|
<a type="button" class="btn btn-lg btn-success ui-signin" data-toggle="modal" data-target=".signin-modal" style="width: 170px;">Sign In</a>
|
|
|
|
|
</span>
|
|
|
|
|
<span class="ui-or">or</span>
|
2016-04-22 19:15:52 -04:00
|
|
|
|
<% }%>
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<span class="ui-signin">
|
|
|
|
|
<a href="<%- url %>/new" class="btn btn-lg btn-default" style="width: 170px;">New guest note</a>
|
|
|
|
|
<br>
|
|
|
|
|
<br>
|
|
|
|
|
</span>
|
|
|
|
|
<div class="lead row" style="width: 90%; margin: 0 auto;">
|
|
|
|
|
<div class="col-md-4 inner">
|
|
|
|
|
<a href="<%- url %>/features#share-note">
|
|
|
|
|
<i class="fa fa-bolt fa-3x"></i>
|
|
|
|
|
<h4>Collaborate with URL</h4>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4 inner">
|
|
|
|
|
<a href="<%- url %>/features#mathjax">
|
|
|
|
|
<i class="fa fa-bar-chart fa-3x"></i>
|
|
|
|
|
<h4>Support charts and MathJax</h4>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-md-4 inner">
|
|
|
|
|
<a href="<%- url %>/features#slide-mode">
|
|
|
|
|
<i class="fa fa-tv fa-3x"></i>
|
|
|
|
|
<h4>Support slide mode</h4>
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<div id="history" class="section"<% if(!signin) { %> style="display:none;"<% } %>>
|
2016-05-21 10:48:00 -04:00
|
|
|
|
<% if(facebook || twitter || github || gitlab || dropbox || google) { %>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<div class="ui-signin">
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<p>Below is the history from browser</p>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
</div>
|
|
|
|
|
<div class="ui-signout" style="display:none;">
|
2016-05-15 00:31:16 -04:00
|
|
|
|
<img class="ui-avatar">
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<h4 class="ui-welcome">Welcome! <span class="ui-name"></span></h4>
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<a href="<%- url %>/new" class="btn btn-md btn-default">New note</a> or
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<a href="#" class="btn btn-danger ui-logout">Sign Out</a>
|
|
|
|
|
</div>
|
2016-04-22 19:15:52 -04:00
|
|
|
|
<% }%>
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<h4>
|
|
|
|
|
<a type="button" href="<%- url %>/features" class="btn btn-primary">Explore all features</a>
|
|
|
|
|
</h4>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<hr>
|
|
|
|
|
<form class="form-inline">
|
|
|
|
|
<div class="form-group" style="vertical-align: bottom;">
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<input class="form-control ui-use-tags" />
|
2016-04-20 06:03:55 -04:00
|
|
|
|
</div>
|
|
|
|
|
<div class="form-group">
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<input class="search form-control" placeholder="Search keyword..." />
|
2016-04-20 06:03:55 -04:00
|
|
|
|
</div>
|
|
|
|
|
<a href="#" class="sort btn btn-default" data-sort="text" title="Sort by title">
|
|
|
|
|
Title
|
|
|
|
|
</a>
|
|
|
|
|
<a href="#" class="sort btn btn-default" data-sort="timestamp" title="Sort by time">
|
|
|
|
|
Time
|
|
|
|
|
</a>
|
|
|
|
|
<span class="hidden-xs hidden-sm">
|
|
|
|
|
<a href="#" class="btn btn-default ui-save-history" title="Export history"><i class="fa fa-save"></i></a>
|
|
|
|
|
<span class="btn btn-default btn-file ui-open-history" title="Import history">
|
|
|
|
|
<i class="fa fa-folder-open-o"></i><input type="file" />
|
|
|
|
|
</span>
|
|
|
|
|
<a href="#" class="btn btn-default ui-clear-history" title="Clear history" data-toggle="modal" data-target=".delete-modal"><i class="fa fa-trash-o"></i></a>
|
|
|
|
|
</span>
|
|
|
|
|
<a href="#" class="btn btn-default ui-refresh-history" title="Refresh history"><i class="fa fa-refresh"></i></a>
|
|
|
|
|
</form>
|
|
|
|
|
<h4 class="ui-nohistory" style="display:none;">
|
|
|
|
|
No history
|
|
|
|
|
</h4>
|
|
|
|
|
<a href="#" class="btn btn-primary ui-import-from-browser" style="display:none;">Import from browser</a>
|
|
|
|
|
<ul id="history-list" class="list">
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div class="mastfoot">
|
|
|
|
|
<div class="inner">
|
2016-08-14 22:56:14 -04:00
|
|
|
|
<h6 class="social-foot">
|
|
|
|
|
<iframe src="//ghbtns.com/github-btn.html?user=hackmdio&repo=hackmd&type=star&count=true" frameborder="0" scrolling="0" width="90px" height="20px"></iframe>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
</h6>
|
2016-05-30 00:45:13 -04:00
|
|
|
|
<p>
|
|
|
|
|
© 2016 <a href="https://www.facebook.com/TakeHackMD" target="_blank"><i class="fa fa-facebook-square"></i> HackMD</a> | <a href="<%- url %>/s/release-notes" target="_blank">Releases</a>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- delete modal -->
|
|
|
|
|
<div class="modal fade delete-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
|
|
|
|
|
<div class="modal-dialog modal-sm">
|
|
|
|
|
<div class="modal-content">
|
|
|
|
|
<div class="modal-header">
|
|
|
|
|
<button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span>
|
|
|
|
|
</button>
|
|
|
|
|
<h4 class="modal-title" id="myModalLabel">Are you sure?</h4>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body" style="color:black;">
|
|
|
|
|
<h5 class="ui-delete-modal-msg"></h5>
|
|
|
|
|
<strong class="ui-delete-modal-item"></strong>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-footer">
|
|
|
|
|
<button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
|
|
|
|
|
<button type="button" class="btn btn-danger ui-delete-modal-confirm">Yes, do it!</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2016-05-11 02:37:54 -04:00
|
|
|
|
<%- include signin-modal %>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
|
|
|
|
|
<!-- Bootstrap core JavaScript
|
|
|
|
|
================================================== -->
|
|
|
|
|
<!-- Placed at the end of the document so the pages load faster -->
|
2016-04-22 19:15:52 -04:00
|
|
|
|
<% if(useCDN) { %>
|
2016-07-30 00:19:42 -04:00
|
|
|
|
<script src="//ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js" defer></script>
|
2016-05-29 05:49:29 -04:00
|
|
|
|
<script src="//cdn.jsdelivr.net/velocity/1.2.3/velocity.min.js" defer></script>
|
2016-07-30 00:19:42 -04:00
|
|
|
|
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" defer></script>
|
2016-06-17 04:27:37 -04:00
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/select2/3.5.2/select2.min.js" defer></script>
|
2016-07-30 00:22:16 -04:00
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/moment.js/2.14.1/moment-with-locales.min.js" defer></script>
|
2016-06-17 04:27:37 -04:00
|
|
|
|
<script src="//cdnjs.cloudflare.com/ajax/libs/js-url/2.3.0/url.min.js" defer></script>
|
|
|
|
|
<% } else { %>
|
|
|
|
|
<script src="<%- url %>/vendor/jquery/dist/jquery.min.js" defer></script>
|
2016-05-29 05:49:29 -04:00
|
|
|
|
<script src="<%- url %>/vendor/velocity/velocity.min.js" defer></script>
|
2016-06-17 04:27:37 -04:00
|
|
|
|
<script src="<%- url %>/vendor/bootstrap/dist/js/bootstrap.min.js" defer></script>
|
|
|
|
|
<script src="<%- url %>/vendor/select2/select2.min.js" defer></script>
|
|
|
|
|
<script src="<%- url %>/vendor/moment/min/moment-with-locales.min.js" defer></script>
|
|
|
|
|
<script src="<%- url %>/vendor/js-url/url.min.js" defer></script>
|
|
|
|
|
<% } %>
|
|
|
|
|
<script src="<%- url %>/vendor/js-cookie/src/js.cookie.js" defer></script>
|
|
|
|
|
<script src="<%- url %>/vendor/list.js/dist/list.min.js" defer></script>
|
|
|
|
|
<script src="<%- url %>/vendor/file-saver/FileSaver.min.js" defer></script>
|
|
|
|
|
<script src="<%- url %>/vendor/store-js/store.min.js" defer></script>
|
2016-04-20 06:03:55 -04:00
|
|
|
|
<script src="<%- url %>/vendor/lz-string/libs/lz-string.min.js" defer></script>
|
|
|
|
|
<script src="<%- url %>/js/common.js" defer></script>
|
|
|
|
|
<script src="<%- url %>/js/history.js" defer></script>
|
|
|
|
|
<script src="<%- url %>/js/cover.js" defer></script>
|
2015-05-04 03:53:29 -04:00
|
|
|
|
</body>
|
|
|
|
|
|
2016-04-22 19:15:52 -04:00
|
|
|
|
</html>
|