From 53223b5e2c9bb53737a4f812e61e0790833781db Mon Sep 17 00:00:00 2001 From: Wu Cheng-Han Date: Mon, 16 Jan 2017 12:06:04 +0800 Subject: Update index layout to add profile on navbar --- public/views/index.ejs | 44 ++++++++++++++++++++++++-------------------- 1 file changed, 24 insertions(+), 20 deletions(-) (limited to 'public/views') diff --git a/public/views/index.ejs b/public/views/index.ejs index 55c13d2d..25139907 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -40,6 +40,25 @@
  • <%= __('History') %>
  • +
    + <% if(allowAnonymous) { %> + <%= __('New guest note') %> + <% } %> + <% if(facebook || twitter || github || gitlab || dropbox || google || ldap || email) { %> + + <% } %> +
    +
    + <%= __('New note') %> + + + + +
    @@ -60,19 +79,15 @@ <% if(facebook || twitter || github || gitlab || dropbox || google || ldap || email) { %>
    - <%= __('Sign In') %> + <%= __('Sign In') %>
    - <% }%> - <% if((facebook || twitter || github || gitlab || dropbox || google || email) && allowAnonymous) { %> <%= __('or') %> - <% }%> - <% if(allowAnonymous) { %> + <% } %> - <%= __('New guest note') %> + <%= __('Explore all features') %>

    - <% }%>
    @@ -97,21 +112,10 @@
    style="display:none;"<% } %>> - <% if(facebook || twitter || github || gitlab || dropbox || google || ldap || email) { %> -