mirror of
https://github.com/rickbarrette/simple-aircraft-manager-rails.git
synced 2026-11-17 15:50:36 -05:00
2026.11.2: disclaimer (no warranty; verifying legal use is up to the user)
- docs/guide/disclaimer.md, shown as Help -> Disclaimer: provided as is, not FAA-approved, user verifies legal and suitable use (43.9/43.11/91.417, AC 120-78B), status and AD matches don't replace the records or the PIC's decision, no liability, host responsible for the instance - README: notice at the top and a Disclaimer section - Footer notice on every page (app and public layouts), notice on first-run setup, link from Admin -> About and the guide's start page Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
352a38c7fb
commit
e939d29deb
12 files changed
+63
-3
No files matched your search
@@ -3,7 +3,7 @@
|
||||
class HelpGuide
|
||||
DIR = Rails.root.join("docs/guide")
|
||||
ORDER = %w[README getting-started profile aircraft flights squawks oil-and-fuel components logbook records
|
||||
inspections ads documents major-records sharing administration changelog].freeze
|
||||
inspections ads documents major-records sharing administration disclaimer changelog].freeze
|
||||
OPTIONS = {
|
||||
parse: { smart: true },
|
||||
render: { hardbreaks: false, unsafe: false },
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<p class="font-mono text-2xl font-semibold" data-version><%= info.version %></p>
|
||||
<p class="text-sm text-slate-600" data-revision>Build
|
||||
<%= info.revision_url ? link_to(info.revision, info.revision_url, class: "link font-mono", target: "_blank", rel: "noopener", title: "This commit on GitHub") : tag.span(info.revision, class: "font-mono") %></p>
|
||||
<p class="mt-1 flex flex-wrap gap-x-3 text-sm"><%= link_to "What's new", help_page_path("changelog"), class: "link" %><% if info.repository_url %><%= link_to "Source code", info.repository_url, class: "link", target: "_blank", rel: "noopener" %><% end %></p>
|
||||
<p class="mt-1 flex flex-wrap gap-x-3 text-sm"><%= link_to "What's new", help_page_path("changelog"), class: "link" %><%= link_to "Disclaimer", help_page_path("disclaimer"), class: "link" %><% if info.repository_url %><%= link_to "Source code", info.repository_url, class: "link", target: "_blank", rel: "noopener" %><% end %></p>
|
||||
</div>
|
||||
<dl class="grid grid-cols-2 gap-x-6 gap-y-1 text-sm sm:grid-cols-3">
|
||||
<div><dt class="text-slate-500">Built</dt><dd class="font-medium"><%= info.built_at ? fmt_time(info.built_at.in_time_zone) : "—" %></dd></div>
|
||||
|
||||
@@ -82,5 +82,6 @@
|
||||
<%= render "shared/flash" %>
|
||||
<%= yield %>
|
||||
</main>
|
||||
<%= render "shared/disclaimer_footer" %>
|
||||
</body>
|
||||
</html>
|
||||
@@ -26,5 +26,6 @@
|
||||
<%= render "shared/flash" %>
|
||||
<%= yield %>
|
||||
</main>
|
||||
<%= render "shared/disclaimer_footer" %>
|
||||
</body>
|
||||
</html>
|
||||
@@ -7,6 +7,7 @@
|
||||
<%= f.field :email_address, as: :email, label: "Email", required: true %>
|
||||
<%= f.field :password, as: :password, required: true, hint: "At least #{User::PASSWORD_MIN} characters; not one known from a data breach." %>
|
||||
<%= f.field :password_confirmation, as: :password, required: true %>
|
||||
<p class="hint">Simple Aircraft Manager is provided as is, without warranty, and is not approved by the FAA or any other aviation authority. It is up to you to verify that using it for your aircraft and operation is legal and suitable. The full disclaimer is under Help once you're signed in.</p>
|
||||
<%= f.submit "Create Admin Account", class: "btn-primary w-full justify-center" %>
|
||||
<% end %>
|
||||
</div>
|
||||
@@ -0,0 +1,4 @@
|
||||
<footer class="mx-auto max-w-7xl px-4 pb-6 text-xs text-slate-500 print:hidden">
|
||||
Provided as is, without warranty; not FAA-approved. Verifying that your use is legal and suitable is up to you.
|
||||
<% if authenticated? %><%= link_to "Disclaimer", help_page_path("disclaimer"), class: "link" %><% end %>
|
||||
</footer>
|
||||
Reference in new issue
Block a user