Sha256: b09266077237bb42f5800cff10bb81cd583a72c79da713f7831f47f9e6f64520

Contents?: true

Size: 465 Bytes

Versions: 12

Compression:

Stored size: 465 Bytes

Contents

require_relative '../helpers/indented_grid'

Coprl::Presenters.define(:badges) do
  helpers Demo::Helpers::IndentedGrid

  attach :top_nav
  attach :component_drawer
  page_title 'Badges'
  indented_grid do


    headline 'Number'
    badge 1, icon: :account_box

    headline 'Icon'
    badge '♥', icon: :account_box

    headline 'Number'
    badge 1, text: 'Inbox'

    headline 'Icon'
    badge '♥', text: 'Mood'

    attach :code, file: __FILE__
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
coprl-3.0.0.beta.12 app/demo/components/badges.pom
coprl-3.0.0.beta.11 app/demo/components/badges.pom
coprl-3.0.0.beta.10 app/demo/components/badges.pom
coprl-3.0.0.beta.9 app/demo/components/badges.pom
coprl-3.0.0.beta.8 app/demo/components/badges.pom
coprl-3.0.0.beta.7 app/demo/components/badges.pom
coprl-3.0.0.beta.6 app/demo/components/badges.pom
coprl-3.0.0.beta.5 app/demo/components/badges.pom
coprl-3.0.0.beta.4 app/demo/components/badges.pom
coprl-3.0.0.beta.3 app/demo/components/badges.pom
coprl-3.0.0.beta.2 app/demo/components/badges.pom
coprl-3.0.0.beta.1 app/demo/components/badges.pom