Chore: Add Account Users to Admin Panel (#859)

- Show errors on login page
- Dashboard for admin panel
This commit is contained in:
Sojan Jose
2020-05-14 22:51:51 +05:30
committed by GitHub
parent 20f39caa42
commit e6aa851987
9 changed files with 174 additions and 7 deletions

View File

@@ -12,9 +12,8 @@ as defined by the routes in the `admin/` namespace
<nav class="navigation" role="navigation">
<%= link_to "Back to app", root_url, class: "button button--alt" %>
<%= link_to "Logout", super_admin_logout_url , class: "button button--alt" %>
<%= link_to "Dashboard", super_admin_root_url, class: "button button--alt" %>
<% Administrate::Namespace.new(namespace).resources.each do |resource| %>
<%= link_to(
display_resource_name(resource),
@@ -24,4 +23,8 @@ as defined by the routes in the `admin/` namespace
<% end %>
<%= link_to "Sidekiq", sidekiq_web_url , class: "button" %>
<div style="margin-top: 300px;">
<%= link_to "Logout", super_admin_logout_url , class: "button button--alt" %>
</div>
</nav>