Donovan Daniels
b1c702e3cd
poorly tested but it worked well enough, I'm sure I'll be patching bugs over the next few weeks Also remove turbo because it sucks Also changed the way we handle hosts in dev
44 lines
1.4 KiB
Plaintext
44 lines
1.4 KiB
Plaintext
<%# console if Rails.env.development? %>
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<title><%= page_title %></title>
|
|
<meta name="viewport" content="width=device-width,initial-scale=1">
|
|
<meta charset="utf-8">
|
|
<%= csrf_meta_tags %>
|
|
<%= csp_meta_tag %>
|
|
<% if content_for(:html_head) %>
|
|
<%= yield :html_head %>
|
|
<% end %>
|
|
|
|
<%= stylesheet_link_tag "application" %>
|
|
<%= javascript_include_tag "application" %>
|
|
</head>
|
|
|
|
<body class="<%= body_class %>">
|
|
<div id="s-<%= safe_site_name %>">
|
|
<div id="c-<%= controller_param %>">
|
|
<div id="a-<%= action_param %>">
|
|
<div id="page">
|
|
<% if flash[:notice] %>
|
|
<div class="ui-corner-all ui-state-highlight" id="notice" data-controller="notice" data-notice-target="notice">
|
|
<span><%= flash[:notice] %></span>
|
|
<a href="#" id="close-notice-link" data-action="click->notice#close">close</a>
|
|
</div>
|
|
<% end %>
|
|
|
|
<% if flash[:alert] %>
|
|
<div class="ui-corner-all ui-state-error" id="notice" data-controller="notice" data-notice-target="notice">
|
|
<span><%= flash[:alert] %></span>
|
|
<a href="#" id="close-notice-link" data-action="click->notice#close">close</a>
|
|
</div>
|
|
<% end %>
|
|
|
|
<%= yield :layout %>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|