Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/helpers/admin_dashboard_cards_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def user_content_cards
[
custom_card("Activity logs", dashboard_recent_activities_path, icon: "🧭"),
custom_card("Bookmarks tally", tally_bookmarks_path, icon: "🔖"),
model_card(:event_registrations, icon: "🎟️", intensity: 100, title: "Event Registrations"),
model_card(:event_registrations, icon: "🎟️", intensity: 100),
model_card(:quotes, icon: "💬", intensity: 100),
model_card(:story_ideas, icon: "✍️", intensity: 100),
custom_card("Tags", tags_path, icon: "🏷️", color: :lime, intensity: 100),
Expand All @@ -40,10 +40,10 @@ def user_content_cards
# -----------------------------
def reference_cards
[
custom_card("Categories", authenticated_root_path, icon: "🗂️"),
custom_card("Sectors", authenticated_root_path, icon: "🏭"),
custom_card("Project Statuses", authenticated_root_path, icon: "🧮"),
custom_card("Windows Types", windows_types_path, icon: "🪟"),
custom_card("Categories", authenticated_root_path, icon: "🗂️", color: :lime, intensity: 100),
custom_card("Service populations", authenticated_root_path, icon: "🏭", color: :lime, intensity: 100),
custom_card("Project statuses", authenticated_root_path, icon: "🧮", color: :emerald, intensity: 100),
custom_card("Windows types", windows_types_path, icon: "🪟"),
]
end

Expand Down
2 changes: 1 addition & 1 deletion app/views/dashboard/admin.html.erb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<section class="mt-10 px-8">
<div class="flex flex-col items-start mb-4">
<h2 class="text-3xl text-gray-700 m-2">Admin Dashboard</h2>
<h2 class="text-3xl text-gray-700 my-2">Admin Dashboard</h2>
</div>

<div class="flex gap-6">
Expand Down
2 changes: 1 addition & 1 deletion db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
["AgeRange", "3-5"],
["AgeRange", "6-12"],
["AgeRange", "Teen"],
["AgeRange", "Adult"],
["AgeRange", "18+"],
["AgeRange", "Mixed-age groups"],
["AgeRange", "Family Windows"],
# ["ArtType", "Boxes", 1],
Expand Down
3 changes: 3 additions & 0 deletions lib/domain_theme.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ module DomainTheme
story_ideas: :rose,
event_registrations: :blue,

banners: :stone,
users: :stone,

admin_only: :blue,
user_only: :green
}
Expand Down