Update dashboard icons

This commit is contained in:
Pranav
2025-12-19 12:14:23 -08:00
parent 05f9c3053d
commit b1c4ac7ede
26 changed files with 421 additions and 234 deletions
@@ -1 +1 @@
<%= image_tag field.avatar_url if field.avatar_url.present? %>
<%= image_tag field.avatar_url, class: "w-8 h-8 rounded-full" if field.avatar_url.present? %>
@@ -0,0 +1,9 @@
<div class="flex flex-col gap-1">
<%= f.label field.attribute, class: "text-sm font-medium text-n-slate-11" %>
<%= f.select(
field.attribute,
options_for_select(field.selectable_options, field.data),
{ include_blank: false },
{ class: "h-9 px-3 min-w-[120px] text-sm text-n-slate-12 bg-n-solid-2 border border-n-weak rounded-lg focus:ring-2 focus:ring-woot-500 focus:border-woot-500 outline-none" }
) %>
</div>
@@ -0,0 +1,3 @@
<span class="inline-flex items-center px-2 py-0.5 rounded-md text-xs font-medium bg-n-alpha-2 text-n-slate-11">
<%= field.to_s %>
</span>
@@ -0,0 +1 @@
<%= field.to_s %>
@@ -0,0 +1,9 @@
<div class="flex flex-col gap-1">
<%= f.label field.attribute, class: "text-sm font-medium text-n-slate-11" %>
<%= f.select(
field.attribute,
options_for_select(field.selectable_options, field.data),
{ include_blank: false },
{ class: "h-9 px-3 min-w-[120px] text-sm text-n-slate-12 bg-n-solid-2 border border-n-weak rounded-lg focus:ring-2 focus:ring-woot-500 focus:border-woot-500 outline-none" }
) %>
</div>
@@ -0,0 +1,3 @@
<span class="inline-flex items-center px-2 py-0.5 rounded-md text-xs font-medium <%= field.active? ? 'bg-n-teal-3 text-n-teal-11' : 'bg-n-ruby-3 text-n-ruby-11' %>">
<%= field.to_s %>
</span>
@@ -0,0 +1,3 @@
<span class="inline-flex items-center px-2 py-0.5 rounded-md text-xs font-medium <%= field.active? ? 'bg-n-teal-3 text-n-teal-11' : 'bg-n-ruby-3 text-n-ruby-11' %>">
<%= field.to_s %>
</span>