2024-02-02 09:05:04 -06:00
|
|
|
<!DOCTYPE html>
|
2024-11-23 01:57:07 +05:30
|
|
|
<html class="h-full <%= @os %>" lang="en">
|
2024-02-02 09:05:04 -06:00
|
|
|
<head>
|
|
|
|
<title><%= content_for(:title) || "Maybe" %></title>
|
2024-05-17 09:09:32 -04:00
|
|
|
|
2024-02-02 09:05:04 -06:00
|
|
|
<%= csrf_meta_tags %>
|
|
|
|
<%= csp_meta_tag %>
|
2024-05-17 09:09:32 -04:00
|
|
|
|
2024-02-02 09:05:04 -06:00
|
|
|
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
|
|
|
|
<%= stylesheet_link_tag "application", "data-turbo-track": "reload" %>
|
2024-05-17 09:09:32 -04:00
|
|
|
|
2024-11-15 13:49:37 -05:00
|
|
|
<%= javascript_include_tag "https://cdn.plaid.com/link/v2/stable/link-initialize.js" %>
|
2024-10-28 15:49:19 -04:00
|
|
|
<%= combobox_style_tag %>
|
|
|
|
|
2024-02-02 09:05:04 -06:00
|
|
|
<%= javascript_importmap_tags %>
|
|
|
|
<%= hotwire_livereload_tags if Rails.env.development? %>
|
2024-02-02 16:15:44 +00:00
|
|
|
<%= turbo_refreshes_with method: :morph, scroll: :preserve %>
|
2024-05-17 09:09:32 -04:00
|
|
|
|
2024-05-30 20:55:18 -04:00
|
|
|
<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">
|
2024-10-08 16:56:30 -05:00
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2024-05-17 09:09:32 -04:00
|
|
|
<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">
|
|
|
|
|
2024-02-02 16:15:44 +00:00
|
|
|
<%= yield :head %>
|
2024-02-02 09:05:04 -06:00
|
|
|
</head>
|
2024-05-17 09:09:32 -04:00
|
|
|
|
2024-02-02 09:05:04 -06:00
|
|
|
<body class="h-full">
|
2024-11-22 14:22:52 -06:00
|
|
|
<%= render "impersonation_sessions/super_admin_bar" if Current.true_user&.super_admin? && show_super_admin_bar? %>
|
2024-10-18 11:26:58 -05:00
|
|
|
<%= render "impersonation_sessions/approval_bar" if Current.true_user&.impersonated_support_sessions&.initiated&.any? %>
|
|
|
|
|
2024-11-15 13:49:37 -05:00
|
|
|
<div class="fixed z-50 bottom-6 left-6">
|
|
|
|
<div id="notification-tray" class="space-y-1">
|
2024-10-03 14:42:22 -04:00
|
|
|
<%= render_flash_notifications %>
|
2024-11-15 13:49:37 -05:00
|
|
|
|
|
|
|
<% if Current.family&.syncing? %>
|
2024-11-27 16:01:50 -05:00
|
|
|
<%= render "shared/syncing_notice" %>
|
2024-11-15 13:49:37 -05:00
|
|
|
<% end %>
|
2024-10-03 14:42:22 -04:00
|
|
|
</div>
|
2024-07-18 14:39:38 -04:00
|
|
|
</div>
|
|
|
|
|
2024-10-03 14:42:22 -04:00
|
|
|
<%= family_notifications_stream %>
|
|
|
|
<%= family_stream %>
|
2024-05-17 09:09:32 -04:00
|
|
|
|
|
|
|
<%= content_for?(:content) ? yield(:content) : yield %>
|
|
|
|
|
2024-02-08 10:46:05 -06:00
|
|
|
<%= turbo_frame_tag "modal" %>
|
2024-05-30 20:55:18 -04:00
|
|
|
<%= turbo_frame_tag "drawer" %>
|
|
|
|
|
2024-04-25 14:41:12 -04:00
|
|
|
<%= render "shared/confirm_modal" %>
|
2024-05-17 09:09:32 -04:00
|
|
|
|
2024-10-23 11:20:55 -04:00
|
|
|
<% if self_hosted? && Current.user&.onboarded_at.present? %>
|
2024-10-03 14:42:22 -04:00
|
|
|
<%= render "shared/app_version" %>
|
2024-04-18 07:56:51 -04:00
|
|
|
<% end %>
|
2024-02-02 09:05:04 -06:00
|
|
|
</body>
|
|
|
|
</html>
|