Files
docuseal/app/views/layouts/application.html.erb
T

35 lines
1.3 KiB
Plaintext
Raw Normal View History

2023-05-21 17:59:36 +03:00
<!DOCTYPE html>
2023-05-30 20:00:40 +03:00
<html data-theme="docuseal" class="h-full">
2023-05-21 17:59:36 +03:00
<head>
<title>
Docuseal
</title>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<%= javascript_pack_tag 'application', defer: true %>
<%= stylesheet_pack_tag 'application', media: 'all' %>
<%= yield :head %>
</head>
2023-05-29 23:26:17 +03:00
<body class="h-full">
2023-05-21 17:59:36 +03:00
<turbo-frame id="modal"></turbo-frame>
<%= render 'shared/navbar' %>
2023-05-29 21:20:39 +03:00
<% if flash.present? %>
2023-05-30 21:03:47 +03:00
<div id="flash" class="absolute top-0 w-full">
<div class="max-w-xl mx-auto mt-1.5">
2023-06-01 01:13:12 +03:00
<div class="alert py-3">
2023-05-30 21:03:47 +03:00
<div class="flex w-full justify-between">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" class="stroke-info flex-shrink-0 w-6 h-6"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
<span class="w-full"><%= flash[:notice] || flash[:alert] %></span>
<a href="#" onclick="[event.preventDefault(), window.flash.remove()]">&times;</a>
</div>
2023-05-29 21:20:39 +03:00
</div>
</div>
</div>
<% end %>
2023-06-01 01:13:12 +03:00
<div class="max-w-6xl mx-auto px-4 md:px-2">
2023-05-31 23:49:19 +03:00
<%= yield %>
</div>
2023-05-21 17:59:36 +03:00
</body>
</html>