mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-19 05:21:01 +02:00
add global nav partial
This commit is contained in:
parent
6fbd1c6bfe
commit
d878bcd5e0
@ -7,8 +7,8 @@
|
|||||||
<%= csrf_meta_tags %>
|
<%= csrf_meta_tags %>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
<%= render partial: "shared/global_nav" %>
|
||||||
|
|
||||||
<%= current_user ? link_to(t("terms.sign_out"), sessions_path, method: :delete) : link_to(t("terms.sign_in"), new_sessions_path) %>
|
|
||||||
<%= yield %>
|
<%= yield %>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
|
4
app/views/shared/_global_nav.html.haml
Normal file
4
app/views/shared/_global_nav.html.haml
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
= link_to_other "plugins", plugins_path
|
||||||
|
= link_to_other "system information", information_misc_path
|
||||||
|
|
||||||
|
= current_user ? link_to(t("terms.sign_out"), sessions_path, method: :delete) : link_to(t("terms.sign_in"), new_sessions_path)
|
Loading…
x
Reference in New Issue
Block a user