-
+ |
<%= post.title || "-- untitled" %>
|
-
+ |
<%= post.user.username %>
|
-
+ |
<%= post.state %>
|
-
+ |
<%= link_to t('Edit'), edit_article_path(post), class: 'text-brand-600 hover:text-brand-900' %>
-
+
<%= link_to t('Preview'), preview_article_path(post.signed_id), class: 'text-brand-600 hover:text-brand-900 pl-2' %>
<% if post.slug %>
diff --git a/app/views/comments/_comment_item.erb b/app/views/comments/_comment_item.erb
index d55cfac..c485fd7 100644
--- a/app/views/comments/_comment_item.erb
+++ b/app/views/comments/_comment_item.erb
@@ -38,7 +38,7 @@
<%= comment.user.username %>
<% end %>
-
+
Commented <%= l comment.created_at, format: :short %>
@@ -50,4 +50,4 @@
-
\ No newline at end of file
+
diff --git a/app/views/devise/sessions/new.html.erb b/app/views/devise/sessions/new.html.erb
index 2dabea2..46716a9 100644
--- a/app/views/devise/sessions/new.html.erb
+++ b/app/views/devise/sessions/new.html.erb
@@ -13,9 +13,9 @@
-
-
- <%= form_for(resource, as: resource_name,
+
+
+ <%= form_for(resource, as: resource_name,
url: session_path(resource_name), html: { class: "space-y-2 flex flex-col" }) do |f| %>
@@ -29,7 +29,7 @@
-
+
<%= f.password_field :password,
required: true,
@@ -67,4 +67,4 @@
-
\ No newline at end of file
+
diff --git a/app/views/devise/shared/_links.html.erb b/app/views/devise/shared/_links.html.erb
index f2a9aa8..46e10f5 100644
--- a/app/views/devise/shared/_links.html.erb
+++ b/app/views/devise/shared/_links.html.erb
@@ -19,7 +19,7 @@
<%= button_to omniauth_authorize_path(resource_name, provider), data: { turbo: false },
- class: "w-full inline-flex justify-center py-2 px-4 border border-gray-300 dark:border-gray-800 rounded-md shadow-sm bg-default text-sm font-medium text-gray-500 dark:text-gray-400 hover:bg-gray-50 dark:hover:bg-gray-900" do %>
+ class: "w-full inline-flex justify-center py-2 px-4 border border-gray-300 dark:border-gray-800 rounded-md shadow-sm bg-default text-sm font-medium border-subtle hover:bg-gray-50 dark:hover:bg-gray-900" do %>
<%= gettext("Sign in with #{OmniAuth::Utils.camelize(provider)}") %>
<%= raw icon_for(provider) %>
<% end %>
@@ -53,6 +53,3 @@
<%= link_to "Didn't receive unlock instructions?", new_unlock_path(resource_name) %>
<% end %>
-
-
-
diff --git a/app/views/event_hosts/_event_host.erb b/app/views/event_hosts/_event_host.erb
index 3e3779a..ec324ec 100644
--- a/app/views/event_hosts/_event_host.erb
+++ b/app/views/event_hosts/_event_host.erb
@@ -1,5 +1,5 @@
- "
- class="col-span-1 divide-y divide-gray-200 dark:divide-gray-800 rounded-lg bg-white dark:bg-gray-900 shadow">
+"
+ class="col-span-1 divide-y divide-gray-200 dark:divide-gray-800 rounded-lg bg-default shadow">
@@ -15,7 +15,7 @@
<%= event_host.user.username %>
<% end %>
-
+
<% if event_host.listed_on_page %>
@@ -34,15 +34,15 @@
- <%= link_to edit_event_event_host_path(event_host.event, event_host),
- class: "mt-2 inline-flex justify-center items-center text-white-600 block text-xs",
+ <%= link_to edit_event_event_host_path(event_host.event, event_host),
+ class: "mt-2 inline-flex justify-center items-center text-white-600 block text-xs",
data: { turbo_frame: 'modal' } do %>
<% end %>
- <%= link_to event_event_host_path(event_host.event, event_host),
+ <%= link_to event_event_host_path(event_host.event, event_host),
class: "mt-2 inline-flex justify-center items-center text-white-600 block text-xs",
data: {confirm: "??", turbo_method: :delete, turbo_confirm: "Are you sure?"} do %>
-
+
<%= event_host.description %>
<%= image_tag event_host.user.avatar_url(:small), class: "h-10 w-10 flex-shrink-0 rounded-full bg-gray-300 dark:bg-gray-700" %>
-
+
-
\ No newline at end of file
+
diff --git a/app/views/event_purchases/_form.html.erb b/app/views/event_purchases/_form.html.erb
index e27aacc..6e9fee6 100644
--- a/app/views/event_purchases/_form.html.erb
+++ b/app/views/event_purchases/_form.html.erb
@@ -1,7 +1,7 @@
<% if purchase.new_record? %>
<%= form_for [@event, purchase], url: event_event_purchases_path(@event) do |form|%>
-
-
+
+
@@ -27,27 +27,27 @@
<%= ticket.title %>
-
+
<%= ticket.short_description %>
-
+ |
<%= number_to_currency(ticket.price, unit: "$#{ticket.event.ticket_currency} " ) %>
|
-
+ |
<%= ticket.title %>
-
+
<%= ticket.short_description %>
@@ -55,7 +55,7 @@
-
+
<% if ticket.free? %>
@@ -82,11 +82,11 @@
|
<% end %>
-
+
-
+
<%= form.submit "Place Order" %>
@@ -99,4 +99,4 @@
serás redirigido a esta pagina de pago:
<%= link_to @payment_url, @payment_url, target: "_blank" %>
-<% end %>
\ No newline at end of file
+<% end %>
diff --git a/app/views/event_recordings/_event_recording.erb b/app/views/event_recordings/_event_recording.erb
index 76d047e..3374cbe 100644
--- a/app/views/event_recordings/_event_recording.erb
+++ b/app/views/event_recordings/_event_recording.erb
@@ -1,4 +1,4 @@
-"class="relative col-span-1 divide-y divide-gray-200 dark:divide-gray-800 rounded-lg bg-white dark:bg-gray-900 shadow">
+"class="relative col-span-1 divide-y divide-gray-200 dark:divide-gray-800 rounded-lg bg-default shadow">
-
-
-
-
diff --git a/app/views/event_tickets/_qr_view.erb b/app/views/event_tickets/_qr_view.erb
index bad3753..8374d99 100644
--- a/app/views/event_tickets/_qr_view.erb
+++ b/app/views/event_tickets/_qr_view.erb
@@ -1,6 +1,6 @@
-
+
\ No newline at end of file
+
diff --git a/app/views/events/_attendees_form.html.erb b/app/views/events/_attendees_form.html.erb
index d5f17aa..8f009b1 100644
--- a/app/views/events/_attendees_form.html.erb
+++ b/app/views/events/_attendees_form.html.erb
@@ -1,7 +1,7 @@
-
+
<%= gettext("Users") %>
@@ -21,41 +21,41 @@
-
+
Name
|
Price
|
Email
|
Ticket
|
Status
|
Checked in
|
@@ -64,11 +64,11 @@
-
+
<% @event.paid_purchased_items.each do |pi| %>
<% ticket = pi.purchase %>
-
+ |
<%= ticket.user.username %>
- Status
@@ -76,23 +76,23 @@
<%= ticket.state %>
- Email
- - <%= ticket.user.email %>
+ - <%= ticket.user.email %>
|
-
+ |
<%= Number.Currency.number_to_currency(ticket.event_ticket.price) %>
<% # = ticket.event_ticket.currency %>
|
-
+ |
<%= ticket.user.email %>
|
-
+ |
<%= ticket.event_ticket.title %>
|
-
+ |
<%= ticket.state %>
|
-
+ |
<%= ticket.checked_in_at %>
|
diff --git a/app/views/events/_schedule_fields.html.erb b/app/views/events/_schedule_fields.html.erb
index 2505ea0..9a9a3d6 100644
--- a/app/views/events/_schedule_fields.html.erb
+++ b/app/views/events/_schedule_fields.html.erb
@@ -1,5 +1,5 @@
-
<%= form.hidden_field :_destroy %>
@@ -7,7 +7,7 @@
<%= form.text_field :name, wrapper_class: "sm:col-span-6" %>
-
+
<%= form.datetime_field :start_date,
id: "wrap-id",
@@ -50,15 +50,15 @@
- <%= link_to "Add new schedule", "#",
- class: "inline-flex items-center px-3 py-1.5 border border-transparent text-xs font-medium rounded-full shadow-sm text-white bg-brand-600 hover:bg-brand-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-500",
+ <%= link_to "Add new schedule", "#",
+ class: "inline-flex items-center px-3 py-1.5 border border-transparent text-xs font-medium rounded-full shadow-sm text-white bg-brand-600 hover:bg-brand-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-500",
data: { action: "click->nested-form#add_association" } %>
- <%= link_to "Remove", "#",
- class: "inline-flex items-center px-3 py-1.5 border border-transparent text-xs font-medium rounded-full shadow-sm text-white bg-brand-600 hover:bg-brand-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-500",
+ <%= link_to "Remove", "#",
+ class: "inline-flex items-center px-3 py-1.5 border border-transparent text-xs font-medium rounded-full shadow-sm text-white bg-brand-600 hover:bg-brand-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-brand-500",
data: { action: "click->nested-form#remove_association" } %>
-
\ No newline at end of file
+
diff --git a/app/views/events/_scheduling_fields.html.erb b/app/views/events/_scheduling_fields.html.erb
index a280d45..bab03d3 100644
--- a/app/views/events/_scheduling_fields.html.erb
+++ b/app/views/events/_scheduling_fields.html.erb
@@ -1,5 +1,5 @@
-
<%= form.hidden_field :_destroy %>
diff --git a/app/views/events/_ticket_fields.html.erb b/app/views/events/_ticket_fields.html.erb
index 0429d68..b47e5ed 100644
--- a/app/views/events/_ticket_fields.html.erb
+++ b/app/views/events/_ticket_fields.html.erb
@@ -1,4 +1,4 @@
-
<%= form.hidden_field :_destroy %>
@@ -7,7 +7,7 @@
-
+
<%= form.text_field :title,
hint: gettext("Ticket Type. For Example: General Admission, VIP Admission ...")
@@ -52,21 +52,21 @@
)
%>
-
- <%= form.check_box :show_sell_until,
- hint: gettext("Show the Sell Until date on the event page.")
+
+ <%= form.check_box :show_sell_until,
+ hint: gettext("Show the Sell Until date on the event page.")
%>
- <%= form.check_box :show_after_sold_out,
+ <%= form.check_box :show_after_sold_out,
hint: gettext("Display with a \"Sold out\" message after ticket quantity runs out.")
%>
- <%= form.check_box :hidden,
+ <%= form.check_box :hidden,
label: "Hide Ticket?",
hint: gettext(
"Check to hide this ticket on your Event page and make it available via a direct link only."
- )
+ )
%>
@@ -105,7 +105,7 @@
@@ -115,4 +115,4 @@
-
\ No newline at end of file
+
diff --git a/app/views/events/edit.html.erb b/app/views/events/edit.html.erb
index 751b857..0c5d0ba 100644
--- a/app/views/events/edit.html.erb
+++ b/app/views/events/edit.html.erb
@@ -84,8 +84,8 @@
<% menu_items.each do |item| %>
- <%= link_to "#{item[:to]}",
- class: "#{item[:namespace].to_s == @section ? 'dark:bg-black' : 'dark:bg-gray-900'} dark:text-gray-100 bg-gray-50 bg-opacity-50 flex p-6 border-b border-gray-gray-200 dark:border-gray-800" do %>
+ <%= link_to "#{item[:to]}",
+ class: "#{item[:namespace].to_s == @section ? 'bg-black' : 'bg-empasis'} text-default bg-opacity-50 flex p-6 border-b border-subtle" do %>
<%= icon_for(item[:namespace]).html_safe %>
<%= item[:title] %>
@@ -106,4 +106,4 @@
<% end %>
<% end %>
-
\ No newline at end of file
+
diff --git a/app/views/events/mine.html.erb b/app/views/events/mine.html.erb
index 70dd9d4..94bed59 100644
--- a/app/views/events/mine.html.erb
+++ b/app/views/events/mine.html.erb
@@ -1,7 +1,7 @@
-
+
| |