42 lines
1.3 KiB
Plaintext
42 lines
1.3 KiB
Plaintext
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>OpensmtpdRailsFrontend</title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
|
<%= javascript_importmap_tags %>
|
|
|
|
</head>
|
|
<body>
|
|
<div>
|
|
<menu>
|
|
<li><%= link_to "Home", root_path %></li><% if user_signed_in? %>
|
|
<li><%= link_to "Edit account", edit_user_registration_path %></li>
|
|
<li><%= button_to "Log out", destroy_user_session_path, method: :delete %></li><% end %>
|
|
</menu>
|
|
</div>
|
|
|
|
|
|
|
|
<main>
|
|
<% if notice %><div class="bg-green-lightest green-darkest px-5 py-3 br-3 border-l bw-6 bc-green"><%= notice %></div><% end %>
|
|
<% if alert %><div class="bg-red-lightest red-darkest px-5 py-3 br-3 border-l bw-6 bc-red"><%= alert %></div><% end %>
|
|
<%= yield %>
|
|
</main>
|
|
<footer>
|
|
<hr/>
|
|
RoR Version <%= Rails.version %> (<%=Rails.env%>) | Ruby <%= "#{RUBY_VERSION}p#{RUBY_PATCHLEVEL}" %> | OS <%= RUBY_PLATFORM %>
|
|
<hr/>
|
|
<h3>Blockers:</h3>
|
|
<ul>
|
|
<li>2FA</li>
|
|
<li>Blocking Sign-up at Routes level</li>
|
|
<li>Tests for controllers and integration</li>
|
|
<li>Version number</li>
|
|
</ul>
|
|
</footer>
|
|
</body>
|
|
</html>
|