diff --git a/app/assets/stylesheets/application.scss b/app/assets/stylesheets/application.scss index c4bb91aa5..681502c38 100644 --- a/app/assets/stylesheets/application.scss +++ b/app/assets/stylesheets/application.scss @@ -18,4 +18,5 @@ @import "bootstrap"; .cover-bg-blue{background-color:#2275CA;} -.cover-text-white{color:#FFFFFF;} \ No newline at end of file +.cover-text-white{color:#FFFFFF;} +.a {color:#FFFFF;} \ No newline at end of file diff --git a/app/models/footer_widget.rb b/app/models/footer_widget.rb new file mode 100644 index 000000000..29b47d57a --- /dev/null +++ b/app/models/footer_widget.rb @@ -0,0 +1,4 @@ +class FooterWidget < Widget + attribute :headline, :html + attribute :paragraph, :html +end diff --git a/app/views/footer_widget/details.html.erb b/app/views/footer_widget/details.html.erb new file mode 100644 index 000000000..5f01b0679 --- /dev/null +++ b/app/views/footer_widget/details.html.erb @@ -0,0 +1,4 @@ +<%= scrivito_medium_dialog do %> + <%= scrivito_details_for FooterWidget.description_for_editor do %> + <% end %> +<% end %> diff --git a/app/views/footer_widget/show.html.erb b/app/views/footer_widget/show.html.erb new file mode 100644 index 000000000..6d1d66f36 --- /dev/null +++ b/app/views/footer_widget/show.html.erb @@ -0,0 +1,7 @@ +
+
+ <%= scrivito_tag :h5, widget, :headline, class:'cover-text-white', style:'padding-top:20px;' %> + <%= scrivito_tag :p, widget, :paragraph, class:'cover-text-white', style:'padding-bottom:60; padding-top:20px;' %> +
+
+ diff --git a/app/views/footer_widget/thumbnail.html.erb b/app/views/footer_widget/thumbnail.html.erb new file mode 100644 index 000000000..5ad9f425e --- /dev/null +++ b/app/views/footer_widget/thumbnail.html.erb @@ -0,0 +1 @@ +<%= scrivito_thumbnail FooterWidget.description_for_editor %> diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index d6b5052f4..495446df9 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -10,8 +10,10 @@
- <%= yield %> - <%= scrivito_body_tags %> + + <%= yield %> + <%= scrivito_body_tags %> +
diff --git a/app/views/paragraph_widget/show.html.erb b/app/views/paragraph_widget/show.html.erb index 9696fdc1e..bbf768762 100644 --- a/app/views/paragraph_widget/show.html.erb +++ b/app/views/paragraph_widget/show.html.erb @@ -1,9 +1,7 @@ -
-
-
- <%= scrivito_image_tag widget, :image, class:'image-responsive'%> - <%= scrivito_tag :h1, widget, :headline, data: {newlines: false}, class:'cover-text-white' %> - <%= scrivito_tag :p, widget, :text, class:'cover-text-white', style:'padding-bottom:25px;'%> -
+
+
+ <%= scrivito_image_tag widget, :image, class:'image-responsive'%> + <%= scrivito_tag :h1, widget, :headline, data: {newlines: false}, class:'cover-text-white' %> + <%= scrivito_tag :p, widget, :text, class:'cover-text-white', style:'padding-bottom:30px;'%>
-
+
\ No newline at end of file