about summary refs log tree commit diff stats
path: root/app/views/layouts
diff options
context:
space:
mode:
authorKelly Rauchenberger <fefferburbia@gmail.com>2017-06-30 18:23:20 -0400
committerKelly Rauchenberger <fefferburbia@gmail.com>2017-06-30 18:23:20 -0400
commit1fb650f48213117fb3ad3eedc6c041d7269adf05 (patch)
treebc9f561ce8446bc98cec42d104e522b63b8617f7 /app/views/layouts
parent4fe8ef40ee70bee9d4ad897b51f602231e81bfc3 (diff)
downloadthoughts-1fb650f48213117fb3ad3eedc6c041d7269adf05.tar.gz
thoughts-1fb650f48213117fb3ad3eedc6c041d7269adf05.tar.bz2
thoughts-1fb650f48213117fb3ad3eedc6c041d7269adf05.zip
Split up stylesheets for each layout
Diffstat (limited to 'app/views/layouts')
-rw-r--r--app/views/layouts/application.html.haml2
-rw-r--r--app/views/layouts/userdata.html.haml14
2 files changed, 8 insertions, 8 deletions
diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index ed3b9a2..2a9e2eb 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml
@@ -3,7 +3,7 @@
3 %head 3 %head
4 %title Thoughts 4 %title Thoughts
5 = csrf_meta_tags 5 = csrf_meta_tags
6 = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' 6 = stylesheet_link_tag 'main', media: 'all', 'data-turbolinks-track': 'reload'
7 = javascript_include_tag 'application', 'data-turbolinks-track': 'reload' 7 = javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
8 %body#main-body 8 %body#main-body
9 - if flash[:alert] 9 - if flash[:alert]
diff --git a/app/views/layouts/userdata.html.haml b/app/views/layouts/userdata.html.haml index f6e3b57..29e47b2 100644 --- a/app/views/layouts/userdata.html.haml +++ b/app/views/layouts/userdata.html.haml
@@ -3,16 +3,16 @@
3 %head 3 %head
4 %title Thoughts 4 %title Thoughts
5 = csrf_meta_tags 5 = csrf_meta_tags
6 = stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' 6 = stylesheet_link_tag 'userdata', media: 'all', 'data-turbolinks-track': 'reload'
7 = javascript_include_tag 'application', 'data-turbolinks-track': 'reload' 7 = javascript_include_tag 'application', 'data-turbolinks-track': 'reload'
8 %body#userdata-body 8 %body
9 #userdata-container 9 #container
10 - if flash[:alert] 10 - if flash[:alert]
11 #userdata-flash.userdata-flash-alert 11 #flash.flash-alert
12 %span.userdata-flash-tag ERROR: 12 %span.flash-tag ERROR:
13 = flash.alert 13 = flash.alert
14 - if flash[:notice] 14 - if flash[:notice]
15 #userdata-flash.userdata-flash-notice 15 #flash.flash-notice
16 %span.userdata-flash-tag NOTICE: 16 %span.flash-tag NOTICE:
17 = flash.notice 17 = flash.notice
18 = yield 18 = yield