From ee8252bc281802abc23901c704cbdab194a4d6ef Mon Sep 17 00:00:00 2001 From: drusepth Date: Wed, 2 Nov 2022 15:37:38 -0700 Subject: [PATCH] wip content types widget --- app/controllers/customization_controller.rb | 2 + .../customization/content_types.html.erb | 96 +++++++++++++++++++ app/views/layouts/tailwind.html.erb | 4 + 3 files changed, 102 insertions(+) diff --git a/app/controllers/customization_controller.rb b/app/controllers/customization_controller.rb index 5384de9d..246a883d 100644 --- a/app/controllers/customization_controller.rb +++ b/app/controllers/customization_controller.rb @@ -1,4 +1,6 @@ class CustomizationController < ApplicationController + layout 'tailwind' + # todo require login for all actions :O before_action :verify_content_type_can_be_toggled, only: [:toggle_content_type] diff --git a/app/views/customization/content_types.html.erb b/app/views/customization/content_types.html.erb index d818fbef..af8def98 100644 --- a/app/views/customization/content_types.html.erb +++ b/app/views/customization/content_types.html.erb @@ -1,3 +1,99 @@ +
+ Select a mailing list + +
+ + + + + + + + +
+
+ + + + + + +
    diff --git a/app/views/layouts/tailwind.html.erb b/app/views/layouts/tailwind.html.erb index 5d2499f2..18cd981d 100644 --- a/app/views/layouts/tailwind.html.erb +++ b/app/views/layouts/tailwind.html.erb @@ -5,7 +5,9 @@ <%= csrf_meta_tags %> <%= stylesheet_link_tag 'application', media: 'all' %> + <%= render 'layouts/favicon' %> @@ -13,6 +15,8 @@ <%= javascript_pack_tag 'application' %> <%= render 'layouts/seo' %> + +