houdini/app/views/layouts/apified.html.erb

38 lines
1 KiB
Text
Raw Normal View History

<%- # License: AGPL-3.0-or-later WITH Web-Template-Output-Additional-Permission-3.0-or-later -%>
<!doctype html>
2018-06-06 15:29:07 +00:00
<html lang="<%= I18n.locale %>">
<head>
<title><%= "#{yield(:title)} - #{Settings.general.name}" %></title>
<%= IncludeAsset.js '/client/js/i18n.js' %>
<script>
I18n.defaultLocale = "<%= I18n.default_locale %>"
I18n.locale = "<%= I18n.locale %>"
window._csrf = "<%= form_authenticity_token %>"
</script>
2018-05-24 15:06:44 +00:00
<%= render 'layouts/stylesheets' %>
<%= IncludeAsset.css '/client/css/global/page.css' %>
<%= IncludeAsset.css '/client/css/bootstrap.css' %>
2018-06-08 15:21:09 +00:00
<%= favicon_link_tag %>
2018-05-24 21:34:04 +00:00
<style>
body {padding-left: 0}
</style>
</head>
<body>
2018-05-24 21:34:04 +00:00
<%= render 'layouts/apified_header' %>
<%= IncludeAsset.js '/app/loading_indicator.js' %>
<%= IncludeAsset.js '/app/react.js' %>
<%= IncludeAsset.js '/app/react-dom.js' %>
<%= IncludeAsset.js '/app/vendor.js' %>
2018-05-24 15:06:44 +00:00
<%= yield :javascripts %>
2018-06-06 15:40:05 +00:00
<div class="site-content" role="main">
<%= yield %>
2018-05-24 21:34:04 +00:00
</div>
<%= render 'layouts/apified_footer' %>
2018-05-24 15:06:44 +00:00
</body>
</html>