Sha256: c1d90a6b5c98ad3751d8cbb0ca769a60b601751fbeb6a0a452f3c9fcbbdbbb08

Contents?: true

Size: 1.13 KB

Versions: 6

Compression:

Stored size: 1.13 KB

Contents

# -*- encoding : utf-8 -*-
class Card; module Set; class All; module History;
# Set: All cards (History, Views)
#
# History views
module Views;
extend Card::Set
def self.source_location; "/Users/ethan/dev/decko/gem/card-mod-history/set/all/history/views.rb"; end

module HtmlFormat; module_parent.send :register_set_format, Card::Format::HtmlFormat, self; extend Card::Set::AbstractFormat
  view :history, cache: :never do
    frame do
      class_up "d0-card-body",  "history-slot"
      acts_layout card.history_acts, :relative, :show
    end
  end

  view :act, cache: :never do
    act_listing act_from_context
  end

  view :act_legend do
    bs_layout do
      row md: [12, 12], lg: [7, 5] do
        col action_legend
        col content_legend, class: "text-right"
      end
    end
  end

  view :draft_legend do
    "#{action_icon(:draft)} unsaved draft"
  end

  view :action_summary do
    action_content action_from_context, :summary
  end

  view :action_expanded do
    action_content action_from_context, :expanded
  end
end
end;end;end;end;end;
# ~~ generated from /Users/ethan/dev/decko/gem/card-mod-history/set/all/history/views.rb ~~

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
card-1.101.5 tmpsets/set/mod013-card-mod-history/all/history/views.rb
card-1.101.4 tmpsets/set/mod013-card-mod-history/all/history/views.rb
card-1.101.3 tmpsets/set/mod013-card-mod-history/all/history/views.rb
card-1.101.2 tmpsets/set/mod013-card-mod-history/all/history/views.rb
card-1.101.1 tmpsets/set/mod013-card-mod-history/all/history/views.rb
card-1.101.0 tmpsets/set/mod013-card-mod-history/all/history/views.rb