1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
\r
2 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" dir="ltr">
\r
4 <title>Petstore - Sample Castle application</title>
\r
5 <link rel="STYLESHEET" type="text/css" href="${siteRoot}/Content/css/site.css">
\r
6 $AjaxHelper.GetJavascriptFunctions()
\r
7 $Effects2Helper.GetJavascriptFunctions()
\r
8 $ValidationHelper.InstallScripts()
\r
13 <div id="container">
\r
15 <h1> <a href="/" title="Main Page">Castle Petstore</a> </h1>
\r
20 <li><a href="#">my cart</a></li>
\r
21 <li><a href="#">account</a></li>
\r
27 <div id="categories">
\r
29 <h3>Check our sections</h3>
\r
31 <li><a href="${siteRoot}/Product/List.rails">All products</a></li>
\r
32 #foreach($cat in $categories)
\r
34 <li><a href="${siteRoot}/Product/ListByCategory.rails?category=${cat.Id}">$cat.Name ($cat.Products.Count)</a></li>
\r
36 #foreach($sub in $cat.SubCategories)
\r
37 <li><a href="${siteRoot}/Product/ListByCategory.rails?category=${sub.Id}">$sub.Name ($sub.Products.Count)</a></li>
\r
47 <div id="categories">
\r
49 <h3><A href="javascript:history.go(-1);">Back</a></h3>
\r