Module: Card::Set::TypePlusRight::Set::Style::HtmlFormat
- Extended by:
- AbstractFormat
- Defined in:
- platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb
Constant Summary collapse
- HIDDEN_SKINS =
%w[bootstrap_default_skin themeless_bootstrap_skin bootstrap_default_skin classic_bootstrap_skin].freeze
Instance Method Summary collapse
-
#default_item_view ⇒ Object
-
#input_type ⇒ Object
-
#selectable_themes ⇒ Object
-
#themes ⇒ Object
view :input, template: :haml.
-
#view: stylesheet_path ⇒ Object
Instance Method Details
#default_item_view ⇒ Object
47 48 49 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb', line 47 def default_item_view :bar end |
#input_type ⇒ Object
43 44 45 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb', line 43 def input_type :box_select end |
#selectable_themes ⇒ Object
57 58 59 60 61 62 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb', line 57 def selectable_themes themes.reject do |theme_card| theme_card.right&.codename == :stylesheets || theme_card.key.in?(HIDDEN_SKINS) end end |
#themes ⇒ Object
view :input, template: :haml
53 54 55 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb', line 53 def themes card.rule_card(:content_options).item_cards end |
#view: stylesheet_path ⇒ Object
35 36 37 38 39 40 41 |
# File 'platypus/tmp/set/gem-defaults/mod022-style/type_plus_right/set/style.rb', line 35 view :stylesheet_path, cache: :never, perms: :none do if params[:debug] == "style" path mark: card.name, item: :import, format: :css else card.asset_output_url end end |