ref: master
plugins/responsive/lib/responsive_plugin.rb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
class ResponsivePlugin < Noosfero::Plugin def self.plugin_name "Responsive" end def self.plugin_description _("Responsive layout for Noosfero") end def js_files %w[bootstrap responsive-noosfero].map{ |j| "javascripts/#{j}" } end def head_ending '<meta name="viewport" content="width=device-width, initial-scale=1">'.html_safe end def body_ending lambda do render 'layouts/modal' end end end |