mirror of
https://github.com/we-promise/sure.git
synced 2026-04-11 08:14:49 +00:00
Introduces a basic CSV import module for bulk-importing account transactions. Changes include: - User can load a CSV - User can configure the column mappings for a CSV - Imported CSV shows invalid cells - User can clean up their data directly in the UI - User can see a preview of the import rows and confirm import - Layout refactor + Import nav stepper - System test stability improvements
40 lines
1.4 KiB
Plaintext
40 lines
1.4 KiB
Plaintext
<!DOCTYPE html>
|
|
<html class="h-full">
|
|
<head>
|
|
<title><%= content_for(:title) || "Maybe" %></title>
|
|
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
|
|
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
|
|
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
|
|
|
<%= javascript_importmap_tags %>
|
|
<%= hotwire_livereload_tags if Rails.env.development? %>
|
|
<%= turbo_refreshes_with method: :morph, scroll: :preserve %>
|
|
|
|
<meta name="viewport" content="viewport-fit=cover, width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
|
<meta name="apple-mobile-web-app-title" content="Maybe">
|
|
<meta name="msapplication-TileColor" content="#ffffff">
|
|
<meta name="theme-color" content="#ffffff">
|
|
|
|
<%= yield :head %>
|
|
</head>
|
|
|
|
<body class="h-full">
|
|
<div id="notification-tray" class="fixed z-50 space-y-1 top-6 right-6"></div>
|
|
<%= safe_join(flash.map { |type, message| notification(message, type: type) }) %>
|
|
|
|
<%= content_for?(:content) ? yield(:content) : yield %>
|
|
|
|
<%= turbo_frame_tag "modal" %>
|
|
<%= render "shared/confirm_modal" %>
|
|
|
|
<% if self_hosted? %>
|
|
<%= render "shared/app_version" %>
|
|
<% end %>
|
|
</body>
|
|
</html>
|