replace skeleton files by previous version; apply obvious fixes

This commit is contained in:
JuliusR 2021-12-18 11:21:51 +01:00
parent 1f5cbcd6d1
commit 2133be2436
35 changed files with 1086 additions and 39 deletions

View file

@ -0,0 +1,23 @@
!!!
%html
%head
%meta{"http-equiv" => "content-type", :content => "text/html;charset=UTF-8"}
%title=h "SharedLists: " + controller.controller_name
= stylesheet_link_tag 'application'
= csrf_meta_tag
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'
%body
#content
- if flash[:notice]
%h3{:style => "color: green"}= flash[:notice]
- if flash[:error]
%h3{:style => "color: red"}= flash[:error]
= yield
#footer
%hr/
- if current_user.present?
Logged in as #{current_user.email}, #{link_to("log out", log_out_path)}
- else
= link_to "Log in", log_in_path
= yield :javascript

View file

@ -1,12 +0,0 @@
!!!
%html
%head
%meta{:content => "text/html; charset=UTF-8", "http-equiv" => "Content-Type"}/
%title Sharedlists
%meta{:content => "width=device-width,initial-scale=1", :name => "viewport"}/
= csrf_meta_tags
= csp_meta_tag
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload'
= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload'
%body
= yield

View file

@ -1,8 +0,0 @@
!!!
%html
%head
%meta{:content => "text/html; charset=utf-8", "http-equiv" => "Content-Type"}/
:css
/* Email styles need to be inline */
%body
= yield

View file

@ -1 +0,0 @@
= yield