diff options
author | Wu Cheng-Han | 2015-06-01 18:04:25 +0800 |
---|---|---|
committer | Wu Cheng-Han | 2015-06-01 18:04:25 +0800 |
commit | f7f8c901f4bc39c3ed0a2bdfe1cbaa1ee6957999 (patch) | |
tree | 1bb09442906fa8e258c670c87491c64b6de27e68 /public/views | |
parent | 4e64583a0b6175d2c9a6729ffde1472dd55d389c (diff) |
Marked as 0.2.9
Diffstat (limited to 'public/views')
-rw-r--r-- | public/views/foot.ejs | 8 | ||||
-rw-r--r-- | public/views/head.ejs | 2 | ||||
-rw-r--r-- | public/views/header.ejs | 60 | ||||
-rw-r--r-- | public/views/pretty.ejs | 2 |
4 files changed, 40 insertions, 32 deletions
diff --git a/public/views/foot.ejs b/public/views/foot.ejs index 502a5edf..8ef3cc21 100644 --- a/public/views/foot.ejs +++ b/public/views/foot.ejs @@ -1,6 +1,8 @@ <script src="/vendor/spin.min.js" defer></script> <script src="/vendor/jquery-1.11.2.min.js" defer></script> <script src="/vendor/bootstrap/js/bootstrap.min.js" defer></script> +<script src="/vendor/greensock-js/TweenMax.min.js" defer></script> +<script src="/vendor/greensock-js/jquery.gsap.min.js" defer></script> <!--codemirror--> <script src="/vendor/codemirror/codemirror.min.js" defer></script> <script src="/vendor/inlineAttachment/inline-attachment.js" defer></script> @@ -17,12 +19,16 @@ <script src="/vendor/emojify/js/emojify.js" defer></script> <script src="/vendor/to-markdown.js" defer></script> <script src="/vendor/raphael-min.js" defer></script> -<script src="/vendor/underscore-min.js" defer></script> +<script src="/vendor/lodash.min.js" defer></script> <script src="/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script> <script src="/vendor/flowchart/flowchart-1.4.0.min.js" defer></script> <script src="/vendor/FileSaver.min.js" defer></script> <script src="/vendor/store.min.js" defer></script> <script src="/vendor/url.min.js" defer></script> +<script src="/vendor/jquery-textcomplete/jquery.textcomplete.js" defer></script> +<script src="/vendor/idle.js" defer></script> +<script src="/vendor/visibility-1.2.1.min.js" defer></script> +<script src="/vendor/list.min.js" defer></script> <script type="text/javascript" src="https://www.dropbox.com/static/api/2/dropins.js" id="dropboxjs" data-app-key="rdoizrlnkuha23r" async defer></script> <script type="text/x-mathjax-config"> MathJax.Hub.Config({ messageStyle: "none", skipStartupTypeset: true ,tex2jax: {inlineMath: [['$','$'], ['\\(','\\)']], processEscapes: true }}); diff --git a/public/views/head.ejs b/public/views/head.ejs index b47fe730..cb48e291 100644 --- a/public/views/head.ejs +++ b/public/views/head.ejs @@ -20,7 +20,7 @@ <link rel="stylesheet" href="/css/github-extract.css"> <link rel="stylesheet" href="/css/gist.css"> <link rel="stylesheet" href="/vendor/highlight-js/github.min.css"> -<link rel="stylesheet" href="/vendor/emojify/css/emojify.min.css" /> +<link rel="stylesheet" href="/vendor/emojify/css/emojify.min.css"> <link rel="stylesheet" href="/css/markdown.css"> <link rel="stylesheet" href="/css/index.css"> <link rel="stylesheet" href="/css/extra.css"> diff --git a/public/views/header.ejs b/public/views/header.ejs index 99e71adf..b8f5074e 100644 --- a/public/views/header.ejs +++ b/public/views/header.ejs @@ -1,4 +1,4 @@ -<nav class="hidden-print navbar navbar-default navbar-fixed-top"> +<nav class="hidden-print navbar navbar-default navbar-fixed-top unselectable"> <!-- Brand and toggle get grouped for better mobile display --> <div class="navbar-header"> <h4 class="pull-right" style="margin-top: 17px; color: #777;"> @@ -7,9 +7,11 @@ <div class="visible-md"> </div> <div class="visible-lg"> </div> </h4> - <div class="nav-mobile nav-status visible-xs"> - <div class="ui-short-status"><span class="label label-danger"><i class="fa fa-plug"></i></span> - </div> + <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> </div> <a class="navbar-brand" href="./"><i class="fa fa-file-text"></i> HackMD</a> <div class="nav-mobile pull-right visible-xs"> @@ -62,44 +64,44 @@ </a> </ul> <ul class="nav navbar-nav navbar-right"> - <li> - <a> - <div class="ui-status"> - <span class="label label-danger"><i class="fa fa-plug"></i> OFFLINE</span> - </div> + <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> </a> + <ul class="dropdown-menu list" role="menu" aria-labelledby="menu" style="right: 15px;width: 200px;"> + </ul> </li> </ul> - <div class="navbar-form navbar-right" style="padding:0;"> - <a href="./new" target="_blank" class="btn btn-link ui-new"> - <i class="fa fa-plus"></i> New - </a> - <a href="#" target="_blank" class="btn btn-link ui-pretty"> - <i class="fa fa-share-alt"></i> Share - </a> - <span> - <a class="btn btn-link" data-target="#" data-toggle="dropdown"> - Save <i class="fa fa-caret-down"></i> + <ul class="nav navbar-nav navbar-right" style="padding:0;"> + <li> + <a href="./new" target="_blank" class="ui-new"> + <i class="fa fa-plus"></i> New </a> - <ul class="dropdown-menu" role="menu" aria-labelledby="menu" style="right: 230px;"> + </li> + <li> + <a href="#" target="_blank" class="ui-pretty"> + <i class="fa fa-share-alt"></i> Share + </a> + </li> + <li> + <a data-target="#" data-toggle="dropdown"> + Menu <i class="fa fa-caret-down"></i> + </a> + <ul class="dropdown-menu" role="menu" aria-labelledby="menu"> + <li class="dropdown-header">Save</li> <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> <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> - </ul> - </span> - <span> - <a class="btn btn-link" data-target="#" data-toggle="dropdown"> - Import <i class="fa fa-caret-down"></i> - </a> - <ul class="dropdown-menu" role="menu" aria-labelledby="menu" style="right: 150px;"> + <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> <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> </ul> - </span> - </div> + </li> + </ul> </div> </nav> <div class="ui-spinner"></div>
\ No newline at end of file diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index 9e039b29..690c7604 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -38,7 +38,7 @@ <script src="<%- url %>/vendor/highlight-js/highlight.min.js" defer></script> <script src="<%- url %>/vendor/emojify/js/emojify.min.js" defer></script> <script src="<%- url %>/vendor/raphael-min.js" defer></script> -<script src="<%- url %>/vendor/underscore-min.js" defer></script> +<script src="<%- url %>/vendor/lodash.min.js" defer></script> <script src="<%- url %>/vendor/sequence-diagrams/sequence-diagram-min.js" defer></script> <script src="<%- url %>/vendor/flowchart/flowchart-1.4.0.min.js" defer></script> <script type="text/x-mathjax-config"> |