Disable unimplemented paths in menu
This commit is contained in:
parent
6cbcd313ee
commit
01e5bb7467
1 changed files with 13 additions and 19 deletions
|
@ -12,7 +12,7 @@
|
||||||
</.navbar_brand>
|
</.navbar_brand>
|
||||||
|
|
||||||
<.navbar_menu id="navbar_top">
|
<.navbar_menu id="navbar_top">
|
||||||
<%= if @current_user do %>
|
<%!-- <%= if @current_user do %>
|
||||||
<.navbar_start>
|
<.navbar_start>
|
||||||
<.navbar_item has-dropdown is-hoverable>
|
<.navbar_item has-dropdown is-hoverable>
|
||||||
<.navbar_link>
|
<.navbar_link>
|
||||||
|
@ -50,7 +50,7 @@
|
||||||
</.navbar_dropdown>
|
</.navbar_dropdown>
|
||||||
</.navbar_item>
|
</.navbar_item>
|
||||||
</.navbar_start>
|
</.navbar_start>
|
||||||
<% end %>
|
<% end %> --%>
|
||||||
|
|
||||||
<.navbar_end>
|
<.navbar_end>
|
||||||
<%= if @current_user do %>
|
<%= if @current_user do %>
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
<%= @current_user.email %>
|
<%= @current_user.email %>
|
||||||
</.navbar_item>
|
</.navbar_item>
|
||||||
|
|
||||||
<.navbar_item has-dropdown is-hoverable>
|
<%!-- <.navbar_item has-dropdown is-hoverable>
|
||||||
<.navbar_link>
|
<.navbar_link>
|
||||||
System
|
System
|
||||||
</.navbar_link>
|
</.navbar_link>
|
||||||
|
@ -75,7 +75,7 @@
|
||||||
<.link>Services</.link>
|
<.link>Services</.link>
|
||||||
</.navbar_item>
|
</.navbar_item>
|
||||||
</.navbar_dropdown>
|
</.navbar_dropdown>
|
||||||
</.navbar_item>
|
</.navbar_item> --%>
|
||||||
<% end %>
|
<% end %>
|
||||||
<.navbar_item has-dropdown is-hoverable>
|
<.navbar_item has-dropdown is-hoverable>
|
||||||
<.navbar_link>
|
<.navbar_link>
|
||||||
|
@ -84,22 +84,16 @@
|
||||||
|
|
||||||
<.navbar_dropdown>
|
<.navbar_dropdown>
|
||||||
<%= if @current_user do %>
|
<%= if @current_user do %>
|
||||||
<.navbar_item>
|
<.link href={~p"/users/settings"} class="navbar-item">
|
||||||
<.link href={~p"/users/settings"}>
|
Settings
|
||||||
Settings
|
</.link>
|
||||||
</.link>
|
<.link href={~p"/users/log_out"} method="delete" class="navbar-item">
|
||||||
</.navbar_item>
|
Log out
|
||||||
<.navbar_item>
|
</.link>
|
||||||
<.link href={~p"/users/log_out"} method="delete">
|
|
||||||
Log out
|
|
||||||
</.link>
|
|
||||||
</.navbar_item>
|
|
||||||
<% else %>
|
<% else %>
|
||||||
<.navbar_item>
|
<.link href={~p"/users/log_in"} class="navbar-item">
|
||||||
<.link href={~p"/users/log_in"}>
|
Log in
|
||||||
Log in
|
</.link>
|
||||||
</.link>
|
|
||||||
</.navbar_item>
|
|
||||||
<% end %>
|
<% end %>
|
||||||
</.navbar_dropdown>
|
</.navbar_dropdown>
|
||||||
</.navbar_item>
|
</.navbar_item>
|
||||||
|
|
Loading…
Reference in a new issue