add nice statistics

This commit is contained in:
2025-06-21 09:38:22 +02:00
parent 99b0aaa72e
commit e79626972f
43 changed files with 1359 additions and 1 deletions

View File

@@ -0,0 +1,17 @@
<div style="display: flex; justify-content: flex-end; margin-bottom: 1.5em;">
<%= link_to 'Statistics Dashboard', statistics_path, style: 'background: #0071e3; color: #fff; padding: 0.6em 1.5em; border-radius: 10px; text-decoration: none; font-weight: 500; font-size: 1.05em; box-shadow: 0 1px 4px rgba(0,0,0,0.05); transition: background 0.2s;'
%>
</div>
<h1>Hello, <%= @user.email %>!</h1>
<h2>Your Logins</h2>
<ul>
<% @logins.each do |login| %>
<li>
Platform: <%= login.platform %> | Last refreshed: <%= login.last_refresh_at || 'Never' %>
</li>
<% end %>
</ul>
<button disabled style="margin-top: 20px;">Add New Login (Coming Soon)</button>