21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-24 19:28:48 +02:00
chexpire/app/views/layouts/application.html.erb

28 lines
856 B
Plaintext
Raw Normal View History

<% # Copyright (C) 2018 Colin Darie <colin@darie.eu>, 2018 Evolix <info@evolix.fr> %>
<% # License: GNU AGPL-3+ (see full text in LICENSE file) %>
2018-05-23 10:32:04 +02:00
<!DOCTYPE html>
<html lang="<%= I18n.locale %>">
2018-05-23 10:32:04 +02:00
<head>
<title>Chexpire</title>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
2018-05-23 13:53:02 +02:00
<%= stylesheet_pack_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
2018-05-23 11:55:13 +02:00
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
2018-08-30 16:26:02 +02:00
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
2018-05-23 10:32:04 +02:00
</head>
<body>
<%= render 'shared/beta_banner' %>
<%= render "shared/navbar" %>
2018-07-20 18:45:01 +02:00
<% if params[:action] == 'home' %>
<%= render 'shared/home_header' %>
<%end%>
2018-05-23 15:46:10 +02:00
<%= render "shared/notices" %>
2018-05-23 10:32:04 +02:00
<%= yield %>
</body>
</html>