mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 23:50:36 -05:00
- Inlining CSS used String#sub with a replacement string, so "\&" in escaped selectors became "</head>"; use block replacements - Packaged status report and procedures omit the Back link, the print button and the favicon link (they don't work outside the app) - Status report: "On condition (Part 91)" as Tracked as, with remaining hours shown for reference; on condition clears the hard-limit flag Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
802 B
ERB
21 lines
802 B
ERB
<!DOCTYPE html>
|
|
<html class="bg-white" data-theme="light">
|
|
<head>
|
|
<title><%= [content_for(:title), "Simple Aircraft Manager"].compact.join(" · ") %></title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<meta name="robots" content="noindex, nofollow">
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
<% unless @standalone %><link rel="icon" href="/favicon.svg" type="image/svg+xml"><% end %>
|
|
<%= stylesheet_link_tag :app, "data-turbo-track": "reload" %>
|
|
<%= javascript_importmap_tags %>
|
|
<style>
|
|
html, body { background: #fff; }
|
|
@page { margin: 0.5in; }
|
|
</style>
|
|
</head>
|
|
<body class="bg-white text-slate-900 report">
|
|
<main class="mx-auto max-w-5xl px-4 py-6 print:max-w-none print:p-0"><%= yield %></main>
|
|
</body>
|
|
</html>
|