2015-09-25 10:55:56 +00:00
|
|
|
<nav class="navbar navbar-default navbar-fixed-top unselectable hidden-print">
|
2015-05-04 07:53:29 +00:00
|
|
|
<!-- Brand and toggle get grouped for better mobile display -->
|
|
|
|
<div class="navbar-header">
|
2017-04-17 21:24:04 +00:00
|
|
|
<div class="pull-right" style="margin-top: 17px; color: #777;">
|
2015-05-04 07:53:29 +00:00
|
|
|
<div class="visible-xs"> </div>
|
|
|
|
<div class="visible-sm"> </div>
|
|
|
|
<div class="visible-md"> </div>
|
|
|
|
<div class="visible-lg"> </div>
|
2016-08-15 03:02:47 +00:00
|
|
|
</div>
|
2015-06-01 10:04:25 +00:00
|
|
|
<div class="nav-mobile nav-status visible-xs" id="short-online-user-list">
|
2016-07-30 04:19:42 +00:00
|
|
|
<a class="ui-short-status" data-toggle="dropdown"><span class="label label-danger"><i class="fa fa-plug"></i> </span>
|
2015-06-01 10:04:25 +00:00
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
|
|
|
|
</ul>
|
2015-05-04 07:53:29 +00:00
|
|
|
</div>
|
2018-09-13 19:26:39 +00:00
|
|
|
<a class="navbar-brand pull-left" href="<%- serverURL %>/"><i class="fa fa-file-text"></i> CodiMD</a>
|
2015-05-04 07:53:29 +00:00
|
|
|
<div class="nav-mobile pull-right visible-xs">
|
2016-07-30 04:19:42 +00:00
|
|
|
<a data-toggle="dropdown" class="btn btn-link">
|
2015-05-04 07:53:29 +00:00
|
|
|
<i class="fa fa-caret-down"></i>
|
|
|
|
</a>
|
2015-12-18 15:40:52 +00:00
|
|
|
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
|
2018-09-13 19:26:39 +00:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-new" tabindex="-1" href="<%- serverURL %>/new" target="_blank" rel="noopener"><i class="fa fa-plus fa-fw"></i> <%= __('New') %></a>
|
2015-05-04 07:53:29 +00:00
|
|
|
</li>
|
2018-10-03 23:41:48 +00:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-publish" tabindex="-1" href="#" target="_blank" rel="noopener"><i class="fa fa-share-square-o fa-fw"></i> <%= __('Publish') %></a>
|
2015-05-04 07:53:29 +00:00
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2016-08-19 03:49:24 +00: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 08:15:53 +00:00
|
|
|
</li>
|
2018-10-03 23:41:48 +00:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-extra-slide" tabindex="-1" href="#" target="_blank" rel="noopener"><i class="fa fa-tv fa-fw"></i> <%= __('Slide Mode') %></a>
|
2015-12-18 15:40:52 +00:00
|
|
|
</li>
|
2018-11-07 12:12:50 +00:00
|
|
|
<% if(enableGitHubGist || enableDropBoxSave || enableGitlabSnippets) { %>
|
2015-12-18 15:40:52 +00:00
|
|
|
<li class="divider"></li>
|
2016-08-19 03:49:24 +00:00
|
|
|
<li class="dropdown-header"><%= __('Export') %></li>
|
2015-05-04 07:53:29 +00: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>
|
2018-11-07 12:12:50 +00:00
|
|
|
<% if(enableGitHubGist) { %>
|
2018-10-03 23:41:48 +00:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-gist" tabindex="-1" href="#" target="_blank" rel="noopener"><i class="fa fa-github fa-fw"></i> Gist</a>
|
2016-01-31 21:42:26 +00:00
|
|
|
</li>
|
2016-04-20 10:03:55 +00:00
|
|
|
<% } %>
|
2018-11-07 11:32:20 +00:00
|
|
|
<% if(enableGitlabSnippets) { %>
|
2016-05-15 05:01:41 +00: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 21:06:44 +00:00
|
|
|
</li>
|
|
|
|
<% } %>
|
2017-10-17 22:04:26 +00:00
|
|
|
<% } %>
|
2015-05-04 07:53:29 +00:00
|
|
|
<li class="divider"></li>
|
2016-08-19 03:49:24 +00:00
|
|
|
<li class="dropdown-header"><%= __('Import') %></li>
|
2015-05-04 07:53:29 +00: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-04-20 10:06:36 +00: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>
|
2018-11-07 11:32:20 +00:00
|
|
|
<% if(enableGitlabSnippets) { %>
|
2016-05-15 05:01:41 +00: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 21:06:44 +00:00
|
|
|
</li>
|
2016-05-12 01:12:48 +00:00
|
|
|
<% } %>
|
2016-08-19 03:49:24 +00: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>
|
2015-05-04 07:53:29 +00:00
|
|
|
</li>
|
|
|
|
<li class="divider"></li>
|
2016-08-19 03:49:24 +00:00
|
|
|
<li class="dropdown-header"><%= __('Download') %></li>
|
2015-09-25 11:09:43 +00:00
|
|
|
<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-08-19 03:49:24 +00: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>
|
2016-06-17 08:17:37 +00:00
|
|
|
</li>
|
2015-09-25 11:09:43 +00:00
|
|
|
<li class="divider"></li>
|
2016-05-11 06:37:54 +00: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 07:53:29 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<a class="btn btn-link ui-mode">
|
2016-09-18 08:32:26 +00:00
|
|
|
<i class="fa fa-pencil"></i>
|
2015-05-04 07:53:29 +00:00
|
|
|
</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">
|
2016-09-18 08:32:26 +00:00
|
|
|
<label class="btn btn-default ui-view" title="<%= __('View') %> (Ctrl+Alt+V)">
|
2015-05-04 07:53:29 +00:00
|
|
|
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-eye"></i>
|
|
|
|
</label>
|
2016-09-18 08:32:26 +00:00
|
|
|
<label class="btn btn-default ui-both" title="<%= __('Both') %> (Ctrl+Alt+B)">
|
2015-05-04 07:53:29 +00:00
|
|
|
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-columns"></i>
|
|
|
|
</label>
|
2016-09-18 08:32:26 +00:00
|
|
|
<label class="btn btn-default ui-edit" title="<%= __('Edit') %> (Ctrl+Alt+E)">
|
|
|
|
<input type="radio" name="mode" autocomplete="off"><i class="fa fa-pencil"></i>
|
|
|
|
</label>
|
2015-05-04 07:53:29 +00:00
|
|
|
</div>
|
2017-12-28 18:21:52 +00:00
|
|
|
<div class="btn-group" data-toggle="buttons">
|
|
|
|
<label class="btn ui-night" title="<%= __('Night Theme') %>">
|
|
|
|
<input type="checkbox" name="night"><i class="fa fa-moon-o"></i>
|
|
|
|
</label>
|
|
|
|
</div>
|
2016-08-19 03:49:24 +00:00
|
|
|
<span class="btn btn-link btn-file ui-help" title="<%= __('Help') %>" data-toggle="modal" data-target=".help-modal">
|
2016-05-11 06:37:54 +00:00
|
|
|
<i class="fa fa-question-circle"></i>
|
|
|
|
</span>
|
2015-05-04 07:53:29 +00:00
|
|
|
</ul>
|
|
|
|
<ul class="nav navbar-nav navbar-right">
|
2015-06-01 10:04:25 +00:00
|
|
|
<li id="online-user-list">
|
2016-07-30 04:19:42 +00:00
|
|
|
<a class="ui-status" data-toggle="dropdown">
|
2015-06-01 10:04:25 +00:00
|
|
|
<span class="label label-danger"><i class="fa fa-plug"></i> OFFLINE</span>
|
2015-05-04 07:53:29 +00:00
|
|
|
</a>
|
2015-06-01 10:04:25 +00:00
|
|
|
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu" style="right: 15px;width: 200px;">
|
|
|
|
</ul>
|
2015-05-04 07:53:29 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2015-06-01 10:04:25 +00:00
|
|
|
<ul class="nav navbar-nav navbar-right" style="padding:0;">
|
|
|
|
<li>
|
2018-09-13 19:26:39 +00:00
|
|
|
<a href="<%- serverURL %>/new" target="_blank" rel="noopener" class="ui-new">
|
2016-08-19 03:49:24 +00:00
|
|
|
<i class="fa fa-plus"></i> <%= __('New') %>
|
2015-05-04 07:53:29 +00:00
|
|
|
</a>
|
2015-06-01 10:04:25 +00:00
|
|
|
</li>
|
|
|
|
<li>
|
2018-10-03 23:41:48 +00:00
|
|
|
<a href="#" target="_blank" rel="noopener" class="ui-publish">
|
2016-09-18 08:32:26 +00:00
|
|
|
<i class="fa fa-share-square-o"></i> <%= __('Publish') %>
|
2015-06-01 10:04:25 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
2016-07-30 04:19:42 +00:00
|
|
|
<a data-toggle="dropdown">
|
2016-08-19 03:49:24 +00:00
|
|
|
<%= __('Menu') %> <i class="fa fa-caret-down"></i>
|
2015-06-01 10:04:25 +00:00
|
|
|
</a>
|
2016-06-17 08:18:01 +00:00
|
|
|
<ul class="dropdown-menu list" role="menu" aria-labelledby="menu">
|
2016-08-19 03:49:24 +00: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 08:15:53 +00:00
|
|
|
</li>
|
2018-10-03 23:41:48 +00:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-extra-slide" tabindex="-1" href="#" target="_blank" rel="noopener"><i class="fa fa-tv fa-fw"></i> <%= __('Slide Mode') %></a>
|
2015-12-18 15:40:52 +00:00
|
|
|
</li>
|
2018-11-07 12:12:50 +00:00
|
|
|
<% if(enableGitHubGist || enableDropBoxSave || enableGitlabSnippets) { %>
|
2015-12-18 15:40:52 +00:00
|
|
|
<li class="divider"></li>
|
2016-08-19 03:49:24 +00:00
|
|
|
<li class="dropdown-header"><%= __('Export') %></li>
|
2015-05-04 07:53:29 +00: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>
|
2018-11-07 12:12:50 +00:00
|
|
|
<% if(enableGitHubGist) { %>
|
2018-10-03 23:41:48 +00:00
|
|
|
<li role="presentation"><a role="menuitem" class="ui-save-gist" tabindex="-1" href="#" target="_blank" rel="noopener"><i class="fa fa-github fa-fw"></i> Gist</a>
|
2016-04-20 10:03:55 +00:00
|
|
|
</li>
|
|
|
|
<% } %>
|
2018-11-07 11:32:20 +00:00
|
|
|
<% if(enableGitlabSnippets) { %>
|
2016-05-15 05:01:41 +00: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 21:06:44 +00:00
|
|
|
</li>
|
|
|
|
<% } %>
|
2017-10-17 22:04:26 +00:00
|
|
|
<% } %>
|
2015-06-01 10:04:25 +00:00
|
|
|
<li class="divider"></li>
|
2016-08-19 03:49:24 +00:00
|
|
|
<li class="dropdown-header"><%= __('Import') %></li>
|
2015-05-04 07:53:29 +00: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-04-20 10:06:36 +00: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>
|
2018-11-07 11:32:20 +00:00
|
|
|
<% if(enableGitlabSnippets) { %>
|
2016-05-15 05:01:41 +00: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 21:06:44 +00:00
|
|
|
</li>
|
2016-05-12 01:12:48 +00:00
|
|
|
<% } %>
|
2016-08-19 03:49:24 +00: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>
|
2015-05-04 07:53:29 +00:00
|
|
|
</li>
|
2015-09-25 11:09:43 +00:00
|
|
|
<li class="divider"></li>
|
2016-08-19 03:49:24 +00:00
|
|
|
<li class="dropdown-header"><%= __('Download') %></li>
|
2015-09-25 11:09:43 +00:00
|
|
|
<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-08-19 03:49:24 +00: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>
|
2016-06-17 08:17:37 +00:00
|
|
|
</li>
|
2015-05-04 07:53:29 +00:00
|
|
|
</ul>
|
2015-06-01 10:04:25 +00:00
|
|
|
</li>
|
|
|
|
</ul>
|
2015-05-04 07:53:29 +00:00
|
|
|
</div>
|
|
|
|
</nav>
|
2016-04-23 10:58:24 +00:00
|
|
|
<div class="ui-spinner unselectable hidden-print"></div>
|