Sha256: 2b4ea097afe1955e186ee081ac0e920849612760a5249bbf216d21951622df07

Contents?: true

Size: 752 Bytes

Versions: 2

Compression:

Stored size: 752 Bytes

Contents

%div.hero-unit
  %h1= @title
  %p Write Ruby Code, put it into plug-in directory. Bowl automatically generate sample code and Web UI.

%h2 Enabled Plug-ins
%p= "#{plugins.values.select{|i|i.kind_of? Plugin}.size} plug-ins loaded"
%ul
  - plugins.keys.sort.each do |name|
    - plugin = plugins[name]
    - if plugin.kind_of? Plugin
      %li
        %legend
          %a{:href => url(plugin)}= plugin.name
        %label= plugin.meta[:description]
    - elsif plugin.kind_of? Error
      %li
        %legend= name
        %label= "Error!! : #{plugin.message} at #{Plugin.list[name]}"

%h2 Path
%ul
  - Plugin.dirs.each do |d|
    %li= "#{d}/"

%h2 Make your Plug-in
%p
  see
  %a{:href => "https://github.com/shokai/bowl/tree/master/plugins"} samples.

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bowl-0.0.2 lib/bowl/app/views/plugins.haml
bowl-0.0.1 lib/bowl/app/views/plugins.haml