2015-09-25 06:55:56 -04:00
|
|
|
<nav class="navbar navbar-default navbar-fixed-top unselectable hidden-print">
|
2015-05-04 03:53:29 -04:00
|
|
|
<!-- Brand and toggle get grouped for better mobile display -->
|
|
|
|
<div class="navbar-header">
|
2016-04-23 06:58:24 -04:00
|
|
|
<span class="pull-right" style="margin-top: 17px; color: #777;">
|
2015-05-04 03:53:29 -04:00
|
|
|
<div class="visible-xs"> </div>
|
|
|
|
<div class="visible-sm"> </div>
|
|
|
|
<div class="visible-md"> </div>
|
|
|
|
<div class="visible-lg"> </div>
|
2015-09-22 00:07:03 -04:00
|
|
|
</span>
|
2015-06-01 06:04:25 -04:00
|
|
|
<div class="nav-mobile nav-status visible-xs" id="short-online-user-list">
|
|
|
|
<a class="ui-short-status" data-target="#" data-toggle="dropdown"><span class="label label-danger"><i class="fa fa-plug"></i> </span>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
|
|
|
|
</ul>
|
2015-05-04 03:53:29 -04:00
|
|
|
</div>
|
2016-06-01 10:26:54 -04:00
|
|
|
<a class="navbar-brand pull-left" href="<%- url %>/"><i class="fa fa-file-text"></i> HackMD</a>
|
2015-05-04 03:53:29 -04:00
|
|
|
<div class="nav-mobile pull-right visible-xs">
|
2015-07-01 12:10:20 -04:00
|
|
|
<span class="btn btn-link btn-file ui-upload-image" title="Upload Image" style="display:none;">
|
|
|
|
<i class="fa fa-camera"></i><input type="file" accept="image/*" name="upload" multiple>
|
|
|
|
</span>
|
2015-05-04 03:53:29 -04:00
|
|
|
<a data-target="#" data-toggle="dropdown" class="btn btn-link">
|
|
|
|
<i class="fa fa-caret-down"></i>
|
|
|
|
</a>
|
2015-12-18 10:40:52 -05:00
|
|
|
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
|
2016-02-16 23:08:44 -05:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-new" tabindex="-1" href="<%- url %>/new" target="_blank"><i class="fa fa-plus fa-fw"></i> New</a>
|
2015-05-04 03:53:29 -04:00
|
|
|
</li>
|
2015-07-06 01:51:55 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-publish" tabindex="-1" href="#" target="_blank"><i class="fa fa-print fa-fw"></i> Publish</a>
|
2015-05-04 03:53:29 -04:00
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2016-07-02 04:18:10 -04:00
|
|
|
<li class="dropdown-header">Extra</li>
|
|
|
|
<li role="presentation"><a role="menuitem" class="ui-extra-revision" tabindex="-1" data-toggle="modal" data-target="#revisionModal"><i class="fa fa-history fa-fw"></i> Revision</a>
|
2016-06-17 04:15:53 -04:00
|
|
|
</li>
|
2016-07-02 04:18:10 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-extra-slide" tabindex="-1" href="#" target="_blank"><i class="fa fa-tv fa-fw"></i> Slide Mode</a>
|
2015-12-18 10:40:52 -05:00
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2015-09-25 07:09:43 -04:00
|
|
|
<li class="dropdown-header">Export</li>
|
2015-05-04 03:53:29 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-dropbox" tabindex="-1" href="#" target="_self"><i class="fa fa-dropbox fa-fw"></i> Dropbox</a>
|
|
|
|
</li>
|
2016-03-04 10:17:35 -05:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-google-drive" tabindex="-1" href="#" target="_self"><i class="fa fa-cloud-upload fa-fw"></i> Google Drive</a>
|
|
|
|
</li>
|
2016-04-20 06:03:55 -04:00
|
|
|
<% if(typeof github !== 'undefined' && github) { %>
|
2016-01-31 16:42:26 -05:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-gist" tabindex="-1" href="#" target="_blank"><i class="fa fa-github fa-fw"></i> Gist</a>
|
|
|
|
</li>
|
2016-04-20 06:03:55 -04:00
|
|
|
<% } %>
|
2016-05-09 17:06:44 -04:00
|
|
|
<% if(typeof gitlab !== 'undefined' && gitlab) { %>
|
2016-05-15 01:01:41 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-snippet" href="#"><i class="fa fa-gitlab fa-fw"></i> Snippet</a>
|
2016-05-09 17:06:44 -04:00
|
|
|
</li>
|
|
|
|
<% } %>
|
2015-05-04 03:53:29 -04:00
|
|
|
<li class="divider"></li>
|
|
|
|
<li class="dropdown-header">Import</li>
|
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-dropbox" tabindex="-1" href="#" target="_self"><i class="fa fa-dropbox fa-fw"></i> Dropbox</a>
|
|
|
|
</li>
|
2016-03-04 10:17:35 -05:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-google-drive" tabindex="-1" href="#" target="_self"><i class="fa fa-cloud-download fa-fw"></i> Google Drive</a>
|
|
|
|
</li>
|
2016-04-20 06:06:36 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-gist" href="#" data-toggle="modal" data-target="#gistImportModal"><i class="fa fa-github fa-fw"></i> Gist</a>
|
|
|
|
</li>
|
2016-05-11 21:12:48 -04:00
|
|
|
<% if(typeof gitlab !== 'undefined' && gitlab) { %>
|
2016-05-15 01:01:41 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-snippet" href="#"><i class="fa fa-gitlab fa-fw"></i> Snippet</a>
|
2016-05-09 17:06:44 -04:00
|
|
|
</li>
|
2016-05-11 21:12:48 -04:00
|
|
|
<% } %>
|
2015-05-04 03:53:29 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-clipboard" href="#" data-toggle="modal" data-target="#clipboardModal"><i class="fa fa-clipboard fa-fw"></i> Clipboard</a>
|
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2015-09-25 07:09:43 -04:00
|
|
|
<li class="dropdown-header">Download</li>
|
|
|
|
<li role="presentation"><a role="menuitem" class="ui-download-markdown" tabindex="-1" href="#" target="_self"><i class="fa fa-file-text fa-fw"></i> Markdown</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation"><a role="menuitem" class="ui-download-html" tabindex="-1" href="#" target="_self"><i class="fa fa-file-code-o fa-fw"></i> HTML</a>
|
|
|
|
</li>
|
2016-06-17 04:17:37 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-download-raw-html" tabindex="-1" href="#" target="_self"><i class="fa fa-file-code-o fa-fw"></i> Raw HTML</a>
|
|
|
|
</li>
|
2016-07-02 04:18:10 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-download-pdf-beta" tabindex="-1" href="#" target="_self"><i class="fa fa-file-pdf-o fa-fw"></i> PDF (Beta)</a>
|
|
|
|
</li>
|
2015-09-25 07:09:43 -04:00
|
|
|
<li class="divider"></li>
|
2016-05-11 02:37:54 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-help" href="#" data-toggle="modal" data-target=".help-modal"><i class="fa fa-question-circle fa-fw"></i> Help</a>
|
2015-05-04 03:53:29 -04:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<a class="btn btn-link ui-mode">
|
|
|
|
<i class="fa fa-toggle-on"></i>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="collapse navbar-collapse">
|
|
|
|
<ul class="nav navbar-nav navbar-form navbar-left" style="padding:0;">
|
|
|
|
<div class="btn-group" data-toggle="buttons">
|
|
|
|
<label class="btn btn-default ui-edit" title="Edit">
|
|
|
|
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-edit"></i>
|
|
|
|
</label>
|
|
|
|
<label class="btn btn-default ui-view" title="View">
|
|
|
|
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-eye"></i>
|
|
|
|
</label>
|
|
|
|
<label class="btn btn-default ui-both" title="Both">
|
|
|
|
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-columns"></i>
|
|
|
|
</label>
|
|
|
|
</div>
|
2016-05-11 02:37:54 -04:00
|
|
|
<span class="btn btn-link btn-file ui-help" title="Help" data-toggle="modal" data-target=".help-modal">
|
|
|
|
<i class="fa fa-question-circle"></i>
|
|
|
|
</span>
|
2015-07-01 12:10:20 -04:00
|
|
|
<span class="btn btn-link btn-file ui-upload-image" title="Upload Image" style="display:none;">
|
|
|
|
<i class="fa fa-camera"></i><input type="file" accept="image/*" name="upload" multiple>
|
|
|
|
</span>
|
2015-05-04 03:53:29 -04:00
|
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
2015-06-01 06:04:25 -04:00
|
|
|
<li id="online-user-list">
|
|
|
|
<a class="ui-status" data-target="#" data-toggle="dropdown">
|
|
|
|
<span class="label label-danger"><i class="fa fa-plug"></i> OFFLINE</span>
|
2015-05-04 03:53:29 -04:00
|
|
|
</a>
|
2015-06-01 06:04:25 -04:00
|
|
|
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu" style="right: 15px;width: 200px;">
|
|
|
|
</ul>
|
2015-05-04 03:53:29 -04:00
|
|
|
</li>
|
|
|
|
</ul>
|
2015-06-01 06:04:25 -04:00
|
|
|
<ul class="nav navbar-nav navbar-right" style="padding:0;">
|
|
|
|
<li>
|
2016-02-16 23:08:44 -05:00
|
|
|
<a href="<%- url %>/new" target="_blank" class="ui-new">
|
2015-06-01 06:04:25 -04:00
|
|
|
<i class="fa fa-plus"></i> New
|
2015-05-04 03:53:29 -04:00
|
|
|
</a>
|
2015-06-01 06:04:25 -04:00
|
|
|
</li>
|
|
|
|
<li>
|
2015-07-06 01:51:55 -04:00
|
|
|
<a href="#" target="_blank" class="ui-publish">
|
|
|
|
<i class="fa fa-print"></i> Publish
|
2015-06-01 06:04:25 -04:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a data-target="#" data-toggle="dropdown">
|
|
|
|
Menu <i class="fa fa-caret-down"></i>
|
|
|
|
</a>
|
2016-06-17 04:18:01 -04:00
|
|
|
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
|
2016-07-02 04:18:10 -04:00
|
|
|
<li class="dropdown-header">Extra</li>
|
|
|
|
<li role="presentation"><a role="menuitem" class="ui-extra-revision" tabindex="-1" data-toggle="modal" data-target="#revisionModal"><i class="fa fa-history fa-fw"></i> Revision</a>
|
2016-06-17 04:15:53 -04:00
|
|
|
</li>
|
2016-07-02 04:18:10 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-extra-slide" tabindex="-1" href="#" target="_blank"><i class="fa fa-tv fa-fw"></i> Slide Mode</a>
|
2015-12-18 10:40:52 -05:00
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2015-09-25 07:09:43 -04:00
|
|
|
<li class="dropdown-header">Export</li>
|
2015-05-04 03:53:29 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-dropbox" tabindex="-1" href="#" target="_self"><i class="fa fa-dropbox fa-fw"></i> Dropbox</a>
|
|
|
|
</li>
|
2016-03-04 10:17:35 -05:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-google-drive" tabindex="-1" href="#" target="_self"><i class="fa fa-cloud-upload fa-fw"></i> Google Drive</a>
|
|
|
|
</li>
|
2016-04-20 06:03:55 -04:00
|
|
|
<% if(typeof github !== 'undefined' && github) { %>
|
2016-01-31 16:42:26 -05:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-gist" tabindex="-1" href="#" target="_blank"><i class="fa fa-github fa-fw"></i> Gist</a>
|
2016-04-20 06:03:55 -04:00
|
|
|
</li>
|
|
|
|
<% } %>
|
2016-05-09 17:06:44 -04:00
|
|
|
<% if(typeof gitlab !== 'undefined' && gitlab) { %>
|
2016-05-15 01:01:41 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-snippet" href="#"><i class="fa fa-gitlab fa-fw"></i> Snippet</a>
|
2016-05-09 17:06:44 -04:00
|
|
|
</li>
|
|
|
|
<% } %>
|
2015-06-01 06:04:25 -04:00
|
|
|
<li class="divider"></li>
|
|
|
|
<li class="dropdown-header">Import</li>
|
2015-05-04 03:53:29 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-dropbox" tabindex="-1" href="#" target="_self"><i class="fa fa-dropbox fa-fw"></i> Dropbox</a>
|
|
|
|
</li>
|
2016-03-04 10:17:35 -05:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-google-drive" tabindex="-1" href="#" target="_self"><i class="fa fa-cloud-download fa-fw"></i> Google Drive</a>
|
|
|
|
</li>
|
2016-04-20 06:06:36 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-gist" href="#" data-toggle="modal" data-target="#gistImportModal"><i class="fa fa-github fa-fw"></i> Gist</a>
|
|
|
|
</li>
|
2016-05-11 21:12:48 -04:00
|
|
|
<% if(typeof gitlab !== 'undefined' && gitlab) { %>
|
2016-05-15 01:01:41 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-snippet" href="#"><i class="fa fa-gitlab fa-fw"></i> Snippet</a>
|
2016-05-09 17:06:44 -04:00
|
|
|
</li>
|
2016-05-11 21:12:48 -04:00
|
|
|
<% } %>
|
2015-05-04 03:53:29 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-import-clipboard" href="#" data-toggle="modal" data-target="#clipboardModal"><i class="fa fa-clipboard fa-fw"></i> Clipboard</a>
|
|
|
|
</li>
|
2015-09-25 07:09:43 -04:00
|
|
|
<li class="divider"></li>
|
|
|
|
<li class="dropdown-header">Download</li>
|
|
|
|
<li role="presentation"><a role="menuitem" class="ui-download-markdown" tabindex="-1" href="#" target="_self"><i class="fa fa-file-text fa-fw"></i> Markdown</a>
|
|
|
|
</li>
|
|
|
|
<li role="presentation"><a role="menuitem" class="ui-download-html" tabindex="-1" href="#" target="_self"><i class="fa fa-file-code-o fa-fw"></i> HTML</a>
|
|
|
|
</li>
|
2016-06-17 04:17:37 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-download-raw-html" tabindex="-1" href="#" target="_self"><i class="fa fa-file-code-o fa-fw"></i> Raw HTML</a>
|
|
|
|
</li>
|
2016-07-02 04:18:10 -04:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-download-pdf-beta" tabindex="-1" href="#" target="_self"><i class="fa fa-file-pdf-o fa-fw"></i> PDF (Beta)</a>
|
|
|
|
</li>
|
2015-05-04 03:53:29 -04:00
|
|
|
</ul>
|
2015-06-01 06:04:25 -04:00
|
|
|
</li>
|
|
|
|
</ul>
|
2015-05-04 03:53:29 -04:00
|
|
|
</div>
|
|
|
|
</nav>
|
2016-04-23 06:58:24 -04:00
|
|
|
<div class="ui-spinner unselectable hidden-print"></div>
|