see discusison on "CSS help"
On Jul 8, 4:02 pm, hobo_hippy <[email protected]> wrote:
> so if i were to use the repeat, what's the call for the images? I'm
> unfamiliar with this.
>
> I tried <collection class="usercollection" param/>
>
> and in the css file I added
>
> .css-class-usercollection {
> display: inline;
>
> }
>
> and it still doesn't do anything. ;(
>
> I've also tried creating a new div tag with particular id, and
> defining that in the application.css, but that didn't seem to work
> either... I also tried following the div declarations in my page
> extend to hone in on which exact label to give i the css; came up
> with
>
> body content main content li {
> display: inline;
>
> }
>
> also a no go.
>
> here's my application.dryml and application.css - maybe someone will
> see something I dont? hope someone doesn't mind taking a look
>
> ---------------------------------------------------------------------------------------------------
>
> <include src="rapid" plugin="hobo"/>
> <include src="taglibs/auto/rapid/cards"/>
> <include src="taglibs/auto/rapid/pages"/>
> <include src="taglibs/auto/rapid/forms"/>
> <include src="paperclip" plugin="paperclip_with_hobo"/>
>
> <def tag="app-name">Domanitech</def>
>
> <def tag="form" for="User">
> <form merge multipart param="default">
> <error-messages param/>
> <field-list fields="photo, name, about" param/>
> <div param="actions">
> <submit label="Save" param/><or-cancel param="cancel"/>
> </div>
> </form>
> </def>
>
> <def tag="card" for="Blog">
> <card class="blog" param="default" merge>
> <body: param>
> <h1 align="center" param="heading"><a><name/></a></h1>
> <div id="endblock"></div>
> <a:user param="creator-link"></a>
> <count:replies color="black" param/>
> </body:>
> </card>
> </def>
>
> <def tag="card" for="Client">
> <card class="client" param="default" merge>
> <header: param>
> <h4 param="heading"><a><name/></a></h4>
> </header:>
> </card>
> </def>
>
> <def tag="card" for="Project">
> <card class="project" param="default" merge>
> <header: param>
> <h4 param="heading"><a><name/></a></h4>
> </header:>
> <body: param>
> </body:>
> </card>
> </def>
>
> <def tag="card" for="Reply">
> <h6><view:body/></h6>
> <p><view:created_at/><a:user param="creator-link"/></p>
> <br />
> </def>
>
> <def tag="card" for="User">
> <card class="user" param="default" merge>
> <!-- <header: param> -->
> <!-- <h4 param="heading"><a><name/></a></h4> -->
> <!-- <a action="new" if="&this.administrator" to="&model"
> param="new-link"/> don't uncomment this line -->
> <!-- <li if="&signup_url" class="nav-item" param="sign-up"><a
> href="&signup_url">Sign up</a></li> -->
> <!-- anything inside these brackets is a comment. Remove the comment-
> arrow-brackets from the above line to allow signup on the user page --
>
> <!-- </header:> -->
> <body:>
> <a><%= image_tag this.photo.url(:small) %></a>
> <h5><a><name/></a></h5>
> </body:>
> </card>
> </def>
>
> <def tag="card" for="Timesheet">
> <card class="timesheet" param="default" merge>
> <div id="timecard">
> <header: param>
> <h5 param="heading"><a>created: <view:created_at/></a></h5>
> <h5 param="heading"><a>updated: <view:updated_at/></a></h5>
> </header:>
> <body: param>
> <a:user param="creator-link"/>
> </body:>
> </div>
> </card>
> </def>
>
> <def tag="main-nav">
> <navigation class="main-nav" merge-attrs param="default">
> <nav-item href="#{base_url}/">Home</nav-item>
> <nav-item with="&About">About Us</nav-item>
> <nav-item with="&Client">Clients</nav-item>
> <nav-item with="&User">The Team</nav-item>
> </navigation>
> </def>
>
> <def tag="sub-nav">
> <navigation class="main-nav" merge-attrs param="default">
> <nav-item with="&Timesheet">Timesheets</nav-item>
> <nav-item with="&Project">Projects</nav-item>
> <nav-item with="&Blog">Company Blog</nav-item>
> </navigation>
> </def>
>
> <def tag="account-nav">
> <do with="¤t_user">
> <ul class="navigation account-nav" param>
> <if test="&logged_in?">
> <li class='nav-item' param="logged-in-as"><a
> to="¤t_user">Logged in as <name/></a></li>
> <li class='nav-item' param="account"><a
> action="account">Account</a></li>
> <li class='nav-item' param="log-out"><a href="&logout_url">Log
> out</a></li>
> </if>
> <else>
> <li class='nav-item' param="log-in"><a href="&login_url">Log
> in</a></li>
> </else>
> </ul>
> </do>
> </def>
>
> <def tag="show-page" for="Client">
> <page merge title="Client">
>
> <body: class="show-page client" param/>
>
> <content: param>
> <header param="content-header">
> <h2 param="heading"><name/></h2>
> <record-flags fields="" param/>
> <a action="edit" if="&can_edit?" param="edit-link">Edit
> Client</a>
> </header>
> <section param="content-body">
> </section>
> </content:>
> </page>
> </def>
>
> <def tag="index-page" for="Client">
> <page merge title="Clients">
> <body: class="index-page client" param/>
> <content: param>
> <header param="content-header">
> <h1 param="heading" align="center">Clients</h1>
> </header>
> <section param="content-body">
> <h6><a action="new" to="&model" param="new-link"/>
> <page-nav param="top-page-nav"/>
> <collection param/></h6>
> <page-nav param="bottom-page-nav"/>
> <div id="endblock"></div>
> </section>
> </content:>
> </page>
> </def>
>
> <def tag="index-page" for="User">
> <page merge title="Users">
> <body: class="index-page user" param/>
> <content: param>
> <header param="content-header">
> <h2 param="heading">Users</h2>
> <p param="count" if>There <count prefix="are"/></p>
> </header>
> <section param="content-body">
> <!-- <a action="new" to="&model" param="new-link"/> -->
> <page-nav param="top-page-nav"/>
> <collection class="usercollection" param/>
> <repeat param>
>
> </repeat>
> <page-nav param="bottom-page-nav"/>
> </section>
> </content:>
> </page>
> </def>
>
> <def tag="show-page" for="User">
> <page merge title="User">
> <body: class="show-page user" param/>
> <content: param>
> <header param="content-header">
> <h2 param="heading"><name/></h2>
> <record-flags fields="administrator" param/>
> <a action="edit" if="&can_edit?" param="edit-link">Edit
> User</a>
> </header>
> <section param="content-body">
> <field-list fields="about, email_address" param/>
> </section>
> </content:>
> </page>
> </def>
>
> <def tag="index-page" for="Timesheet">
> <page merge title="Timesheets">
> <body: class="index-page timesheet" param/>
>
> <content: param>
> <header param="content-header">
> <h2 param="heading">Timesheets</h2>
>
> <p param="count" if>There <count prefix="are"/></p>
> </header>
>
> <section param="content-body">
>
> <a action="new" to="&model" param="new-link">Add Hours</a>
>
> <page-nav param="top-page-nav"/>
>
> <collection param/>
>
> <page-nav param="bottom-page-nav"/>
>
> </section>
> </content:>
> </page>
> </def>
>
> <def tag="new-page" for="Timesheet">
> <page merge title="New Timesheet">
> <body: class="new-page timesheet" param/>
>
> <content: param>
> <section param="content-header">
> <h2 param="heading">New Hours</h2>
> </section>
>
> <section param="content-body">
> <form param>
> <submit: label="Add Hours"/>
> </form>
> </section>
>
> </content:>
> </page>
> </def>
>
> <def tag="show-page" for="Timesheet">
> <page merge title="Timesheet">
>
> <body: class="show-page timesheet" param/>
>
> <content: param>
> <header param="content-header">
>
> <a href="http://domanitech.com/rails/timesheets/new">Add
> More Hours</a>
> <h2 param="heading"><name/></h2>
>
> <record-flags fields="" param/>
>
> <a:user param="creator-link"/>
>
> <a action="edit" if="&can_edit?" param="edit-link">Edit
> Timesheet</a>
> </header>
>
> <section param="content-body">
> <field-list fields="date, hours, client, project" param/>
> </section>
> </content:>
>
> </page>
> </def>
>
> <extend tag="page">
> <%= '<?xml version="1.0" encoding="iso-8859-1"?>' %>
> <%= '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">' %>
> <html xmlns="http://www.w3.org/1999/xhtml">
> <head>
> <meta http-equiv="content-type" content="text/html; charset=utf-8" />
> <title>Domanitech</title>
> <meta name="keywords" content="" />
> <meta name="description" content="" />
> <%= stylesheet_link_tag 'application' %>
> </head>
> <body param>
>
> <div id="content">
> <section/>
>
> <div id="header">
>
> <div id="right">
> <account-nav/>
> </div>
>
> <div id="logo">
> </div>
>
> <div id="menu">
> <main-nav/>
> </div>
>
> <div if="&logged_in?" id="submenu">
> <sub-nav/>
> </div>
>
> <div id="main">
> <div param="aside"/>
> <div param="content"/>
> </div>
>
> <div id="footer">
> <p>SITE BEST VIEWED WITH FIREFOX AND INTERNET EXPLORER. PLEASE
> UPGRADE TO IE8 OR LATER</p>
> <p>Copyright © 2008. Designed by <a
> href="http://www.metamorphozis.com/" title="Free Web Templates">Free Web
> Templates</
> a></p>
> <p><a href="#">Privacy Policy</a> | <a href="#">Terms of Use</a> |
> <a href="http://validator.w3.org/check/referer" title="This page
> validates as XHTML 1.0
> Transitional"><abbr title="eXtensible HyperText Markup
> Language">XHTML</abbr></a> | <a href="http://jigsaw.w3.org/css-
> validator/check/referer" title="This
> page validates as CSS"><abbr title="Cascading Style Sheets">CSS</
> abbr></a></p>
> </div>
> </div>
> </div>
> </body>
> </html>
> </extend>
> ...
>
> read more »
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---