-
Notifications
You must be signed in to change notification settings - Fork 23
/
Copy pathauth.html.erb
36 lines (26 loc) · 1.13 KB
/
auth.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta content='width=device-width, initial-scale=1' name='viewport'>
<meta content='IE=edge,chrome=1' http-equiv='X-UA-Compatible'>
<meta name='turbo-cache-control' content='no-cache'>
<meta name="turbo-prefetch" content="false" />
<meta name="turbo-root" content="<%= Trestle.config.path %>">
<%= csrf_meta_tags %>
<title><%= Trestle.config.site_title %></title>
<%= favicon_link_tag Trestle.config.favicon if Trestle.config.favicon %>
<%= stylesheet_link_tag "trestle/admin", 'data-turbo-track': 'reload' %>
<%= stylesheet_link_tag "trestle/icons/font-awesome", 'data-turbo-track': 'reload' if defined?(Sprockets) %>
<%= stylesheet_link_tag "trestle/auth/login", 'data-turbo-track': 'reload' %>
<%= stylesheet_link_tag "trestle/custom", 'data-turbo-track': 'reload' %>
<%= stylesheet_link_tag "trestle/auth/custom", 'data-turbo-track': 'reload' %>
<%= render "trestle/theme" %>
<%= hook "auth.head" %>
</head>
<body class="auth-body theme-bg">
<main class="container">
<%= yield %>
</main>
</body>
</html>