diff --git a/lib/shift73k_web/live/shift_import_live/index.html.leex b/lib/shift73k_web/live/shift_import_live/index.html.heex similarity index 87% rename from lib/shift73k_web/live/shift_import_live/index.html.leex rename to lib/shift73k_web/live/shift_import_live/index.html.heex index 2fb79247..a8e2768c 100644 --- a/lib/shift73k_web/live/shift_import_live/index.html.leex +++ b/lib/shift73k_web/live/shift_import_live/index.html.heex @@ -2,10 +2,8 @@

- <%= icon_div @socket, "bi-box-arrow-in-left", [class: "icon baseline"] %> - Import Shifts + Import Shifts

-

If you have an iCal/ics formatted calendar hosted elsewhere, provide its URL here to import its events.

@@ -17,7 +15,7 @@ <% valid_class = @url_validated && "is-valid" || "" %> <%= label iimf, :ics_url, "iCal/ics URL", class: "form-label" %>
- <%= icon_div @socket, "bi-link", [class: "icon is-left text-muted fs-5"] %> + <%= url_input iimf, :ics_url, class: show_url_error && "form-control is-invalid" || "form-control #{valid_class}", phx_debounce: 500, @@ -33,7 +31,7 @@ <%= label iimf, :time_zone, class: "form-label" %>
- <%= icon_div @socket, "bi-map", [class: "icon is-left text-muted fs-5"] %> + <%= text_input iimf, :time_zone, value: Shift73k.app_time_zone(), class: @tz_valid && "form-control" || "form-control is-invalid", @@ -43,7 +41,7 @@ %> <%= for tz_name <- Tzdata.zone_list() do %> - + <% end %>
Type to search & select from list of known <%= link "IANA tz database", to: "https://en.wikipedia.org/wiki/List_of_tz_database_time_zones", target: "_blank" %> time zones