2020-12-15 15:45:43 +01:00
|
|
|
<ul>
|
|
|
|
<li><%= link "Home", to: Routes.page_path(@conn, :index) %></li>
|
|
|
|
|
|
|
|
<%= if @current_user do %>
|
2020-12-21 15:40:19 +01:00
|
|
|
<li>Logged in as <%= @current_user.username %></li>
|
2020-12-15 15:45:43 +01:00
|
|
|
<li><%= link "Settings", to: Routes.user_settings_path(@conn, :edit) %></li>
|
2021-01-20 17:28:48 +01:00
|
|
|
<li><%= link "Billing", to: Routes.billing_path(@conn, :index) %></li>
|
2020-12-15 15:45:43 +01:00
|
|
|
<li><%= link "Log out", to: Routes.user_session_path(@conn, :delete), method: :delete %></li>
|
2021-04-07 17:23:48 +02:00
|
|
|
<hr />
|
|
|
|
<!--
|
|
|
|
<li><%= link "Web Hosting", to: Routes.page_path(@conn, :index) %></li>
|
|
|
|
<li><%= link "Name Service", to: Routes.page_path(@conn, :index) %></li>
|
|
|
|
<li><%= link "Storage Services", to: Routes.page_path(@conn, :index) %></li>
|
|
|
|
-->
|
2021-04-12 15:53:49 +02:00
|
|
|
<li><%= link "Virtual Machines", to: Routes.virtual_machine_path(@conn, :index) %></li>
|
2020-12-15 15:45:43 +01:00
|
|
|
<% else %>
|
|
|
|
<li><%= link "Log in", to: Routes.user_session_path(@conn, :new) %></li>
|
|
|
|
<li><%= link "Register", to: Routes.user_registration_path(@conn, :new) %></li>
|
|
|
|
<% end %>
|
|
|
|
<hr />
|
|
|
|
<li>
|
2021-04-07 17:23:48 +02:00
|
|
|
<a href="https://status.recycled.cloud">
|
|
|
|
Infrastructure status
|
|
|
|
</a>
|
|
|
|
</li>
|
2020-12-15 15:45:43 +01:00
|
|
|
<a href="https://recycled.cloud">
|
|
|
|
Back to recycled.cloud ↵
|
|
|
|
</a>
|
2021-04-07 17:23:48 +02:00
|
|
|
</li>
|
2020-12-15 15:45:43 +01:00
|
|
|
</ul>
|