Sha256: 0f1f38c7c7425d17ff1fbd4dff408368e6743b8213ebeb01d516410fb3c6ad87
Contents?: true
Size: 1.76 KB
Versions: 3
Compression:
Stored size: 1.76 KB
Contents
<!doctype html> <html class="no-js" lang="en"> <head> <base href="/"> <meta charset="utf-8"> <meta http-equiv="x-ua-compatible" content="ie=edge"> <title><%= @pom.page.title if @pom.page %></title> <meta name="description" content=""> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="apple-touch-icon" href="apple-touch-icon.png"> <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500,700" type="text/css"> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js"></script> <!-- Place favicon.ico in the root directory --> <!--MDC--> <link rel="stylesheet" href="<%= env['SCRIPT_NAME'] %>/bundle.css"> <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/flatpickr/dist/flatpickr.min.css"> <script src="<%= env['SCRIPT_NAME'] %>/bundle.js"></script> </head> <body class="mdc-typography"> <% header = @pom.header drawer = @pom.drawer footer = @pom.footer %> <div class="mdl-layout mdl-js-layout <% if header %>mdl-layout--fixed-header <% end %> <% if drawer %>mdl-layout--fixed-drawer <% end %>"> <% if header %> <%= erb :"body/header", :locals => {:header => header} %> <% end %> <% if drawer %> <%= erb :"body/drawer", :locals => {:drawer => drawer} %> <% end %> <main class="mdl-layout__content" style="<%= "background-color:#{@pom.page.background_color}" if @pom.page&.background_color %>"> <div class="page-content"> <div class="v-errors"> <%= yield %> </div> </div> </main> <%= erb :"body/snackbar" %> <% if footer %> <%= erb :"body/footer", :locals => {:footer => footer} %> <% end %> </div> </body> </html>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
voom-presenters-0.1.13 | views/mdc/layout.erb |
voom-presenters-0.1.12 | views/mdc/layout.erb |
voom-presenters-0.1.11 | views/mdc/layout.erb |