public
Description: A Ruby-on-Rails plugin for using Prototype UI (very early stage)
Home | Edit | New

Home

The purpose of this project is to create a ruby on rails plugin that allows to use prototypeui in rhtml files the easy way.

Install

just run
script/plugin install git://github.com/starpeak/prototypeui_plugin.git
from within your project

Usage

For now just try to add
<%= javascript_include_tag :defaults, :cache=>true %>
<%= pui_css_theme 'leopard' %>
to the header of your page (e.g. in layouts) and something like
<%= 
link_to_window 'Test Window', 
    :url=>{
        :controller=>'home',
        :action=>'testwindow',
        :id=>12, 
        :test=>true
    }, 
    :theme=>"leopard", 
    :shadow=>true 
%>
in the body

Report Bugs and Requests

Even if the project is at a very early stage you can commit bugs and requests at Lighthouse

Last edited by starpeak, Thu Jun 05 10:42:35 -0700 2008
Home | Edit | New
Versions: