adding more files
authorDuncan Mac-Vicar P <dmacvicar@suse.de>
Thu, 29 Nov 2007 14:32:18 +0000 (15:32 +0100)
committerDuncan Mac-Vicar P <dmacvicar@suse.de>
Thu, 29 Nov 2007 14:32:18 +0000 (15:32 +0100)
21 files changed:
app/controllers/panel_controller.rb [new file with mode: 0644]
app/controllers/users_controller.rb [new file with mode: 0644]
app/helpers/panel_helper.rb [new file with mode: 0644]
app/helpers/users_helper.rb [new file with mode: 0644]
app/views/layouts/application.rhtml [new file with mode: 0644]
app/views/panel/index.rhtml [new file with mode: 0644]
log/.gitignore [new file with mode: 0644]
public/images/box.jpg [new file with mode: 0644]
public/images/bullet.gif [new file with mode: 0644]
public/images/button-bg.jpg [new file with mode: 0644]
public/images/content.jpg [new file with mode: 0644]
public/images/firefox-gray.jpg [new file with mode: 0644]
public/images/footer.jpg [new file with mode: 0644]
public/images/header.jpg [new file with mode: 0644]
public/images/menu.jpg [new file with mode: 0644]
public/images/quote.jpg [new file with mode: 0644]
public/images/sep.jpg [new file with mode: 0644]
public/index2.html [new file with mode: 0644]
public/stylesheets/CoolWater.css [new file with mode: 0644]
test/functional/panel_controller_test.rb [new file with mode: 0644]
test/functional/users_controller_test.rb [new file with mode: 0644]

diff --git a/app/controllers/panel_controller.rb b/app/controllers/panel_controller.rb
new file mode 100644 (file)
index 0000000..0fbf09f
--- /dev/null
@@ -0,0 +1,6 @@
+class PanelController < ApplicationController
+  layout 'application'
+  def index
+    
+  end
+end
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
new file mode 100644 (file)
index 0000000..3e74dea
--- /dev/null
@@ -0,0 +1,2 @@
+class UsersController < ApplicationController
+end
diff --git a/app/helpers/panel_helper.rb b/app/helpers/panel_helper.rb
new file mode 100644 (file)
index 0000000..d9757b9
--- /dev/null
@@ -0,0 +1,2 @@
+module PanelHelper
+end
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb
new file mode 100644 (file)
index 0000000..2310a24
--- /dev/null
@@ -0,0 +1,2 @@
+module UsersHelper
+end
diff --git a/app/views/layouts/application.rhtml b/app/views/layouts/application.rhtml
new file mode 100644 (file)
index 0000000..7695d37
--- /dev/null
@@ -0,0 +1,131 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
+\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
+<head>\r
+\r
+<meta name="Description" content="Information architecture, Web Design, Web Standards." />\r
+<meta name="Keywords" content="your, keywords" />\r
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
+<meta name="Distribution" content="Global" />\r
+<meta name="Author" content="Erwin Aligam - ealigam@gmail.com" />\r
+<meta name="Robots" content="index,follow" />\r
+\r
+<link rel="stylesheet" href="stylesheets/CoolWater.css" type="text/css" />\r
+\r
+<title>miniYaST</title>\r
+       \r
+</head>\r
+\r
+<body>\r
+<!-- wrap starts here -->\r
+<div id="wrap">\r
+               \r
+       <!--header -->\r
+       <div id="header">                       \r
+                               \r
+               <h1 id="logo-text"><a href="index.html">YaST</a></h1>           \r
+               <p id="slogan">remote management</p>            \r
+                       \r
+               <div id="header-links">\r
+                       <p>\r
+                       <a href="index.html">Home</a> | \r
+                       <a href="index.html">Contact</a> | \r
+                       <a href="index.html">Site Map</a>                       \r
+                       </p>            \r
+               </div>          \r
+                                               \r
+       </div>\r
+               \r
+       <!-- navigation -->     \r
+       <div  id="menu">\r
+               <ul>\r
+                       <li id="current"><a href="index.html">Home</a></li>\r
+                       <li><a href="index.html">Archives</a></li>\r
+                       <li><a href="index.html">Downloads</a></li>\r
+                       <li><a href="index.html">Services</a></li>\r
+                       <li><a href="index.html">Support</a></li>\r
+                       <li><a href="index.html">About</a></li>         \r
+               </ul>\r
+       </div>                                  \r
+                       \r
+       <!-- content-wrap starts here -->\r
+       <div id="content-wrap">\r
+               \r
+               <div id="main">\r
+\r
+    <%= yield %>\r
+                       \r
+               <div id="sidebar">\r
+                       \r
+                       <h2>Search Box</h2>     \r
+                       <form action="#" class="searchform">\r
+                               <p>\r
+                               <input name="search_query" class="textbox" type="text" />\r
+                               <input name="search" class="button" value="Search" type="submit" />\r
+                               </p>                    \r
+                       </form> \r
+                                       \r
+                       <h2>Sidebar Menu</h2>\r
+                       <ul class="sidemenu">                           \r
+                               <li><a href="index.html">Home</a></li>\r
+                               <li><a href="#TemplateInfo">Template Info</a></li>\r
+                               <li><a href="#SampleTags">Sample Tags</a></li>\r
+                               <li><a href="http://www.styleshout.com/">More Free Templates</a></li>   \r
+                               <li><a href="http://www.4templates.com/?aff=ealigam">Premium Templates</a></li> \r
+                       </ul>   \r
+                               \r
+                       <h2>Links</h2>\r
+                       <ul class="sidemenu">\r
+                               <li><a href="http://www.pdphoto.org/">PDPhoto.org</a></li>\r
+                               <li><a href="http://www.squidfingers.com/patterns/">Squidfingers</a></li>\r
+                               <li><a href="http://www.alistapart.com">Alistapart</a></li>                                     \r
+                               <li><a href="http://www.cssremix.com">CSS Remix</a></li>\r
+                               <li><a href="http://www.cssmania/">CSS Mania</a></li>                                   \r
+                       </ul>\r
+                       \r
+                       <h2>Sponsors</h2>\r
+                       <ul class="sidemenu">\r
+                               <li><a href="http://www.4templates.com/?aff=ealigam"><strong>4templates</strong></a> <br /> Low Cost Hi-Quality Templates</li>\r
+                               <li><a href="http://store.templatemonster.com?aff=ealigam"><strong>TemplateMonster</strong></a> <br /> Delivering the Best Templates on the Net!</li>\r
+                               <li><a href="http://tinyurl.com/3cgv2m"><strong>Text Link Ads</strong></a> <br /> Monetized your website</li>\r
+                               <li><a href="http://www.fotolia.com/partner/114283"><strong>Fotolia</strong></a> <br /> Free stock images or from $1</li>\r
+                               <li><a href="http://www.dreamstime.com/res338619"><strong>Dreamstime</strong></a> <br /> Lowest Price for High Quality Stock Photos</li>\r
+                               <li><a href="http://www.dreamhost.com/r.cgi?287326"><strong>Dreamhost</strong></a> <br /> Premium webhosting</li>\r
+                       </ul>\r
+                               \r
+                       <h2>Wise Words</h2>\r
+                               \r
+                       <p>&quot;To have a quiet mind is to possess one's mind wholly; to have a calm spirit is to \r
+                       possess one's self.&quot; </p>\r
+                                       \r
+                       <p class="align-right">- Hamilton Mabie</p>\r
+                       \r
+                       <h2>Support Styleshout</h2>\r
+                       <p>If you are interested in supporting my work and would like to contribute, you are\r
+                       welcome to make a small donation through the \r
+                       <a href="http://www.styleshout.com/">donate link</a> on my website - it will \r
+                       be a great help and will surely be appreciated.</p>\r
+                               \r
+                                       \r
+               </div>\r
+                               \r
+       <!-- content-wrap ends here --> \r
+       </div>\r
+       \r
+       <!--footer starts here-->\r
+       <div id="footer">\r
+                       \r
+               <p>\r
+               &copy; 2006 <strong>Your Company</strong> | \r
+               Design by: <a href="http://www.styleshout.com/">styleshout</a> | \r
+               Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | \r
+               <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>              \r
+       </p>\r
+                               \r
+       </div>  \r
+\r
+<!-- wrap ends here -->\r
+</div>\r
+\r
+</body>\r
+</html>\r
diff --git a/app/views/panel/index.rhtml b/app/views/panel/index.rhtml
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/log/.gitignore b/log/.gitignore
new file mode 100644 (file)
index 0000000..397b4a7
--- /dev/null
@@ -0,0 +1 @@
+*.log
diff --git a/public/images/box.jpg b/public/images/box.jpg
new file mode 100644 (file)
index 0000000..e27d6fc
Binary files /dev/null and b/public/images/box.jpg differ
diff --git a/public/images/bullet.gif b/public/images/bullet.gif
new file mode 100644 (file)
index 0000000..0ba2421
Binary files /dev/null and b/public/images/bullet.gif differ
diff --git a/public/images/button-bg.jpg b/public/images/button-bg.jpg
new file mode 100644 (file)
index 0000000..ed220e2
Binary files /dev/null and b/public/images/button-bg.jpg differ
diff --git a/public/images/content.jpg b/public/images/content.jpg
new file mode 100644 (file)
index 0000000..4d643a0
Binary files /dev/null and b/public/images/content.jpg differ
diff --git a/public/images/firefox-gray.jpg b/public/images/firefox-gray.jpg
new file mode 100644 (file)
index 0000000..62fed3a
Binary files /dev/null and b/public/images/firefox-gray.jpg differ
diff --git a/public/images/footer.jpg b/public/images/footer.jpg
new file mode 100644 (file)
index 0000000..305e954
Binary files /dev/null and b/public/images/footer.jpg differ
diff --git a/public/images/header.jpg b/public/images/header.jpg
new file mode 100644 (file)
index 0000000..5c4ad51
Binary files /dev/null and b/public/images/header.jpg differ
diff --git a/public/images/menu.jpg b/public/images/menu.jpg
new file mode 100644 (file)
index 0000000..0041e23
Binary files /dev/null and b/public/images/menu.jpg differ
diff --git a/public/images/quote.jpg b/public/images/quote.jpg
new file mode 100644 (file)
index 0000000..f3a2940
Binary files /dev/null and b/public/images/quote.jpg differ
diff --git a/public/images/sep.jpg b/public/images/sep.jpg
new file mode 100644 (file)
index 0000000..134442a
Binary files /dev/null and b/public/images/sep.jpg differ
diff --git a/public/index2.html b/public/index2.html
new file mode 100644 (file)
index 0000000..191060c
--- /dev/null
@@ -0,0 +1,238 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">\r
+\r
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">\r
+<head>\r
+\r
+<meta name="Description" content="Information architecture, Web Design, Web Standards." />\r
+<meta name="Keywords" content="your, keywords" />\r
+<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\r
+<meta name="Distribution" content="Global" />\r
+<meta name="Author" content="Erwin Aligam - ealigam@gmail.com" />\r
+<meta name="Robots" content="index,follow" />\r
+\r
+<link rel="stylesheet" href="stylesheets/CoolWater.css" type="text/css" />\r
+\r
+<title>CoolWater</title>\r
+       \r
+</head>\r
+\r
+<body>\r
+<!-- wrap starts here -->\r
+<div id="wrap">\r
+               \r
+       <!--header -->\r
+       <div id="header">                       \r
+                               \r
+               <h1 id="logo-text"><a href="index.html">coolwater</a></h1>              \r
+               <p id="slogan">put your site slogan here...</p>         \r
+                       \r
+               <div id="header-links">\r
+                       <p>\r
+                       <a href="index.html">Home</a> | \r
+                       <a href="index.html">Contact</a> | \r
+                       <a href="index.html">Site Map</a>                       \r
+                       </p>            \r
+               </div>          \r
+                                               \r
+       </div>\r
+               \r
+       <!-- navigation -->     \r
+       <div  id="menu">\r
+               <ul>\r
+                       <li id="current"><a href="index.html">Home</a></li>\r
+                       <li><a href="index.html">Archives</a></li>\r
+                       <li><a href="index.html">Downloads</a></li>\r
+                       <li><a href="index.html">Services</a></li>\r
+                       <li><a href="index.html">Support</a></li>\r
+                       <li><a href="index.html">About</a></li>         \r
+               </ul>\r
+       </div>                                  \r
+                       \r
+       <!-- content-wrap starts here -->\r
+       <div id="content-wrap">\r
+               \r
+               <div id="main">                         \r
+                               \r
+                       <a name="TemplateInfo"></a>\r
+                       <h2><a href="index.html">Template Info</a></h2>\r
+                                       \r
+                       <p class="post-by">posted by: <a href="index.html">ealigam</a></p>\r
+                               \r
+                       <p><strong>CoolWater 1.0</strong> is a free, W3C-compliant, CSS-based website template \r
+                       by <strong><a href="http://www.styleshout.com/">styleshout.com</a></strong>. This work is \r
+                       distributed under the <a rel="license" href="http://creativecommons.org/licenses/by/2.5/">\r
+                       Creative Commons Attribution 2.5  License</a>, which means that you are free to \r
+                       use and modify it for any purpose. All I ask is that you include a link back to  \r
+                       <a href="http://www.styleshout.com/">my website</a> in your credits.</p>  \r
+\r
+                       <p>For more free designs, you can visit \r
+                       <a href="http://www.styleshout.com/">my website</a> to see \r
+                       my other works.</p>\r
+               \r
+                       <p>Good luck and I hope you find my free templates useful!</p>\r
+                               \r
+                       <p class="post-footer align-left">                                      \r
+                       <a href="index.html" class="readmore">Read more</a> |\r
+                       <a href="index.html" class="comments">Comments (7)</a> |\r
+                       <span class="date">Nov 04, 2006</span>  \r
+                       </p>\r
+                               \r
+                       <a name="SampleTags"></a>\r
+                       <h2><a href="index.html">Sample Tags</a></h2>\r
+                               \r
+                       <h3>Code</h3>                           \r
+                       <p><code>\r
+                       code-sample { <br />\r
+                       font-weight: bold;<br />\r
+                       font-style: italic;<br />                               \r
+                       }               \r
+                       </code></p>     \r
+                               \r
+                       <h3>Example Lists</h3>\r
+               \r
+                       <ol>\r
+                               <li>Here is an example</li>\r
+                               <li>of an ordered list</li>                                                             \r
+                       </ol>   \r
+                       <ul>\r
+                               <li>Here is an example</li>\r
+                               <li>of an unordered list</li>                                                           \r
+                       </ul>                           \r
+                               \r
+                       <h3>Blockquote</h3>                     \r
+                       <blockquote><p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit, sed diam nonummy \r
+                       nibh euismod tincidunt ut laoreet dolore magna aliquam erat....</p></blockquote>\r
+                               \r
+                       <h3>Image and text</h3>\r
+                       <p><a href="http://getfirefox.com/"><img src="images/firefox-gray.jpg" width="100" height="120" alt="firefox" class="float-left" /></a>\r
+                       Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero. Suspendisse bibendum. \r
+                       Cras id urna. Morbi tincidunt, orci ac convallis aliquam, lectus turpis varius lorem, eu \r
+                       posuere nunc justo tempus leo. Donec mattis, purus nec placerat bibendum, dui pede condimentum \r
+                       odio, ac blandit ante orci ut diam. Cras fringilla magna. Phasellus suscipit, leo a pharetra \r
+                       condimentum, lorem tellus eleifend magna, eget fringilla velit magna id neque. Curabitur vel urna. \r
+                       In tristique orci porttitor ipsum. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec libero.                              \r
+                       </p>\r
+                               \r
+                       <h3>Table Styling</h3>\r
+                                       \r
+                       <table>\r
+                               <tr>\r
+                                       <th><strong>post</strong> date</th>\r
+                                       <th>title</th>\r
+                                       <th>description</th>\r
+                               </tr>\r
+                               <tr>\r
+                                       <td>04.18.2007</td>\r
+                                       <td><a href="index.html">Augue non nibh</a></td>\r
+                                       <td><a href="index.html">Lobortis commodo metus vestibulum</a></td>\r
+                               </tr>\r
+                               <tr>\r
+                                       <td>04.18.2007</td>\r
+                                       <td><a href="index.html">Fusce ut diam bibendum</a></td>\r
+                                       <td><a href="index.html">Purus in eget odio in sapien</a></td>\r
+                               </tr>\r
+                               <tr>\r
+                                       <td>04.18.2007</td>\r
+                                       <td><a href="index.html">Maecenas et ipsum</a></td>\r
+                                       <td><a href="index.html">Adipiscing blandit quisque eros</a></td>\r
+                               </tr>\r
+                               <tr>\r
+                                       <td>04.18.2007</td>\r
+                                       <td><a href="index.html">Sed vestibulum blandit</a></td>\r
+                                       <td><a href="index.html">Cras lobortis commodo metus lorem</a></td>\r
+                               </tr>\r
+                       </table>\r
+                                                               \r
+                       <h3>Example Form</h3>\r
+                       <form method="get" action="#">                  \r
+                       <p>             \r
+                               <label>Name</label>\r
+                               <input name="dname" value="Your Name" type="text" size="30" />\r
+                               <label>Email</label>\r
+                               <input name="demail" value="Your Email" type="text" size="30" />\r
+                               <label>Your Comments</label>\r
+                               <textarea rows="5" cols="5"></textarea>\r
+                               <br />  \r
+                               <input class="button" type="submit" />          \r
+                       </p>            \r
+                       </form> \r
+                               \r
+                       <br />  \r
+\r
+               </div>\r
+               \r
+                       \r
+               <div id="sidebar">\r
+                       \r
+                       <h2>Search Box</h2>     \r
+                       <form action="#" class="searchform">\r
+                               <p>\r
+                               <input name="search_query" class="textbox" type="text" />\r
+                               <input name="search" class="button" value="Search" type="submit" />\r
+                               </p>                    \r
+                       </form> \r
+                                       \r
+                       <h2>Sidebar Menu</h2>\r
+                       <ul class="sidemenu">                           \r
+                               <li><a href="index.html">Home</a></li>\r
+                               <li><a href="#TemplateInfo">Template Info</a></li>\r
+                               <li><a href="#SampleTags">Sample Tags</a></li>\r
+                               <li><a href="http://www.styleshout.com/">More Free Templates</a></li>   \r
+                               <li><a href="http://www.4templates.com/?aff=ealigam">Premium Templates</a></li> \r
+                       </ul>   \r
+                               \r
+                       <h2>Links</h2>\r
+                       <ul class="sidemenu">\r
+                               <li><a href="http://www.pdphoto.org/">PDPhoto.org</a></li>\r
+                               <li><a href="http://www.squidfingers.com/patterns/">Squidfingers</a></li>\r
+                               <li><a href="http://www.alistapart.com">Alistapart</a></li>                                     \r
+                               <li><a href="http://www.cssremix.com">CSS Remix</a></li>\r
+                               <li><a href="http://www.cssmania/">CSS Mania</a></li>                                   \r
+                       </ul>\r
+                       \r
+                       <h2>Sponsors</h2>\r
+                       <ul class="sidemenu">\r
+                               <li><a href="http://www.4templates.com/?aff=ealigam"><strong>4templates</strong></a> <br /> Low Cost Hi-Quality Templates</li>\r
+                               <li><a href="http://store.templatemonster.com?aff=ealigam"><strong>TemplateMonster</strong></a> <br /> Delivering the Best Templates on the Net!</li>\r
+                               <li><a href="http://tinyurl.com/3cgv2m"><strong>Text Link Ads</strong></a> <br /> Monetized your website</li>\r
+                               <li><a href="http://www.fotolia.com/partner/114283"><strong>Fotolia</strong></a> <br /> Free stock images or from $1</li>\r
+                               <li><a href="http://www.dreamstime.com/res338619"><strong>Dreamstime</strong></a> <br /> Lowest Price for High Quality Stock Photos</li>\r
+                               <li><a href="http://www.dreamhost.com/r.cgi?287326"><strong>Dreamhost</strong></a> <br /> Premium webhosting</li>\r
+                       </ul>\r
+                               \r
+                       <h2>Wise Words</h2>\r
+                               \r
+                       <p>&quot;To have a quiet mind is to possess one's mind wholly; to have a calm spirit is to \r
+                       possess one's self.&quot; </p>\r
+                                       \r
+                       <p class="align-right">- Hamilton Mabie</p>\r
+                       \r
+                       <h2>Support Styleshout</h2>\r
+                       <p>If you are interested in supporting my work and would like to contribute, you are\r
+                       welcome to make a small donation through the \r
+                       <a href="http://www.styleshout.com/">donate link</a> on my website - it will \r
+                       be a great help and will surely be appreciated.</p>\r
+                               \r
+                                       \r
+               </div>\r
+                               \r
+       <!-- content-wrap ends here --> \r
+       </div>\r
+                                       \r
+       <!--footer starts here-->\r
+       <div id="footer">\r
+                       \r
+               <p>\r
+               &copy; 2006 <strong>Your Company</strong> | \r
+               Design by: <a href="http://www.styleshout.com/">styleshout</a> | \r
+               Valid <a href="http://validator.w3.org/check?uri=referer">XHTML</a> | \r
+               <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a>              \r
+       </p>\r
+                               \r
+       </div>  \r
+\r
+<!-- wrap ends here -->\r
+</div>\r
+\r
+</body>\r
+</html>\r
diff --git a/public/stylesheets/CoolWater.css b/public/stylesheets/CoolWater.css
new file mode 100644 (file)
index 0000000..21e95f1
--- /dev/null
@@ -0,0 +1,398 @@
+/********************************************\r
+   AUTHOR:                     Erwin Aligam \r
+   WEBSITE:                    http://www.styleshout.com/\r
+       TEMPLATE NAME:          CoolWater\r
+   TEMPLATE CODE:      S-0019\r
+   VERSION:          1.0     \r
+       DATE:                                   November-07-2007        \r
+ *******************************************/\r
\r
+/********************************************\r
+   HTML ELEMENTS\r
+********************************************/ \r
+\r
+/* top elements */\r
+* { margin: 0; padding: 0; outline: 0; }\r
+\r
+body {\r
+       background: #caced1;\r
+       font: 70%/1.5em Verdana, Tahoma, arial, sans-serif;\r
+       color: #777;\r
+       text-align: center;\r
+       margin: 15px 0;\r
+}\r
+\r
+/* links */\r
+a, a:visited {\r
+       text-decoration: none;\r
+       background: inherit;\r
+       color: #FB9233; \r
+}\r
+a:hover {\r
+       text-decoration: underline;\r
+       background: inherit;\r
+       color: #93C600;\r
+}\r
+\r
+/* headers */\r
+h1, h2, h3 { font-family: 'Trebuchet MS', Tahoma, Sans-serif;  }\r
+h1 {\r
+       font-size: 180%;        \r
+       font-weight: normal;    \r
+       color: #555;\r
+}\r
+h2 {\r
+       font-size: 160%;\r
+       color: #88ac0b;\r
+       font-weight: normal;\r
+}\r
+h3 {\r
+       font-size: 135%;         \r
+       color: #666666;\r
+}\r
+\r
+/* images */\r
+img {\r
+       background: #fff;\r
+   border: 1px solid #E5E5E5;\r
+       padding: 5px;\r
+}\r
+img.float-right { margin: 5px 0px 10px 10px;  }\r
+img.float-left { margin: 5px 10px 10px 0px; }\r
+\r
+h1, h2, h3, p {\r
+       margin: 10px 15px;\r
+       padding: 0;\r
+}\r
+ul, ol {\r
+       margin: 5px 15px;\r
+       padding: 0 25px;\r
+}\r
+\r
+code {\r
+  margin: 5px 0;\r
+  padding: 15px;\r
+  text-align: left;\r
+  display: block;\r
+  overflow: auto;  \r
+  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;\r
+  /* white-space: pre; */\r
+  border: 1px solid #E5F0FB;  \r
+  background: #F4F8FD;\r
+}\r
+acronym {\r
+  cursor: help;\r
+  border-bottom: 1px dotted #777;\r
+}\r
+blockquote {\r
+  margin: 10px 15px;\r
+  padding: 0 0 0 25px;  \r
+  font: bold 1.3em/1.5em "Trebuchet MS", Tahoma, arial, Sans-serif; \r
+  color: #2361BA;\r
+  border: 1px solid #E5F0FB;   \r
+  background: #F4F8FD url(/images/quote.jpg) no-repeat 8px 6px;\r
+}\r
+\r
+/* start - table */\r
+table {\r
+       border-collapse: collapse;\r
+       margin: 10px 15px;      \r
+}\r
+th strong {\r
+       color: #fff;\r
+}\r
+th {\r
+       background: #306bc1 url(/images/button-bg.jpg) repeat-x 0 0; \r
+       height: 35px;\r
+       padding-left: 12px;\r
+       padding-right: 12px;\r
+       color: #fff;\r
+       text-align: left;\r
+       border: 1px solid #306bc1;\r
+       border-bottom-width: 2px;\r
+}\r
+tr {\r
+       height: 32px;\r
+       background: #fff;       \r
+}\r
+td {\r
+       padding-left: 12px;\r
+       padding-right: 12px;\r
+       border: 1px solid #E5F0FB; \r
+}\r
+/* end - table */\r
+\r
+/* form elements */\r
+form {\r
+       margin:10px 15px; \r
+       padding: 10px 0;\r
+       border: 1px solid #E5F0FB; \r
+       background: #F4F8FD;\r
+}\r
+fieldset {\r
+       margin: 0;      padding: 0;\r
+       border: none;\r
+}\r
+legend {\r
+       display: none;\r
+}\r
+label {\r
+       display:block;\r
+       font-weight:bold;\r
+       margin: 7px 0;\r
+}\r
+input {\r
+       padding:3px;\r
+       border: 1px solid #E5F0FB; \r
+       font: normal 1em Verdana, sans-serif;\r
+       color:#777;     \r
+}\r
+textarea {\r
+       width:400px;\r
+       padding:3px;\r
+       font: normal 1em Verdana, sans-serif;\r
+       border: 1px solid #E5F0FB; \r
+       height:100px;\r
+       display:block;\r
+       color:#777;\r
+}\r
+input.button { \r
+       font: bold 12px Arial, Sans-serif; \r
+       height: 28px;\r
+       margin: 0;\r
+       padding: 2px 3px; \r
+       color: #fff;\r
+       background: #306bc1 url(/images/button-bg.jpg) repeat-x 0 0; \r
+       border: 1px solid #306bc1;\r
+}\r
+\r
+/* search form */\r
+.searchform {\r
+       background-color: transparent;\r
+       border: none;   \r
+       margin: 0; \r
+       padding: 5px 0 5px 0;   \r
+       width: 180px;   \r
+}\r
+.searchform p { margin: 0; padding: 0; }\r
+.searchform input.textbox { \r
+       width: 110px;\r
+       color: #777; \r
+       height: 20px;\r
+       padding: 2px;   \r
+       border: 1px solid #D2E8F7; \r
+       vertical-align: top;\r
+}\r
+.searchform input.button { \r
+       width: 55px;\r
+       height: 26px;\r
+       padding: 2px 5px;\r
+       vertical-align: top;\r
+}\r
+\r
+/********************************************\r
+   LAYOUT\r
+********************************************/ \r
+#wrap {\r
+       width: 790px;\r
+       background: #CCC url(/images/content.jpg) repeat-y center top;\r
+       margin: 0 auto;\r
+       text-align: left;\r
+}\r
+#content-wrap {\r
+       clear: both;\r
+       width: 760px;   \r
+       margin: 5px auto;\r
+       padding: 0;     \r
+}\r
+#header {\r
+       position: relative;\r
+       height: 131px;\r
+       background: #caced1 url(/images/header.jpg) no-repeat center top;\r
+       padding: 0;     \r
+       color: #fff;    \r
+}\r
+#header h1#logo-text a {\r
+       position: absolute;\r
+       margin: 0; padding: 0;\r
+       font: bolder 55px 'Trebuchet MS', Arial, Sans-serif;\r
+       letter-spacing: -3px;\r
+       color: #fff;\r
+       text-transform: none;\r
+       text-decoration: none;\r
+       background: transparent;\r
+       \r
+       /* change the values of top and left to adjust the position of the logo*/\r
+       top: 18px; left: 35px;  \r
+}\r
+#header p#slogan {\r
+       position: absolute;\r
+       margin: 0; padding: 0;\r
+       font: bold 13px 'Trebuchet MS', Arial, Sans-serif;\r
+       text-transform: none;\r
+       color: #FFF;\r
+       \r
+       /* change the values of top and left to adjust the position of the slogan*/\r
+       top: 80px; left: 50px;          \r
+}\r
+\r
+/* header links */\r
+#header #header-links {\r
+       position: absolute;\r
+       color: #C6DDEE;\r
+       font: bold 14px"Trebuchet MS", Arial, Tahoma, Sans-serif;\r
+       top: 20px; right: 20px; \r
+}\r
+#header #header-links a {      \r
+       color: #fff;\r
+       text-decoration: none;  \r
+}\r
+#header #header-links a:hover {\r
+       color: #D4FF55; \r
+}\r
+\r
+/* navigation */\r
+#menu {\r
+       clear: both;    \r
+       margin: 0 auto; padding: 0;\r
+       background: #81C524 url(/images/menu.jpg) no-repeat;    \r
+       font: bold 16px/40px "trebuchet MS", Arial, Tahoma, Sans-serif;\r
+       height: 40px;\r
+       width: 790px;   \r
+}\r
+#menu ul {\r
+       float: left;\r
+       list-style: none;\r
+       margin:0; padding: 0 0 0 20px;\r
+}\r
+#menu ul li {\r
+       display: inline;\r
+}\r
+#menu ul li a {\r
+       display: block;\r
+       float: left;\r
+       padding: 0 12px;\r
+       color: #fff;    \r
+       text-decoration: none;\r
+       background: url(/images/sep.jpg) no-repeat 100% 100%;\r
+}\r
+#menu ul li a:hover {\r
+       color: #3b5e0b; \r
+}\r
+#menu ul li#current a {        \r
+       color: #3b5e0b;\r
+}\r
+\r
+/* Main Column */\r
+#main {\r
+       float: left;\r
+       width: 555px;\r
+       margin: 0; padding: 20px 0 0 0; \r
+       display: inline;\r
+       background: url(/images/box.jpg) no-repeat;     \r
+}\r
+#main h2 {\r
+       font: normal 180% 'Trebuchet MS', Tahoma, Arial, Sans-serif;\r
+       padding: 0;     \r
+       margin-bottom: 0;               \r
+       color: #2666c3;\r
+}\r
+#main h2 a {\r
+       color: #2666c3;\r
+       text-decoration: none;  \r
+}\r
+\r
+#main p, #main h1, #main h2, #main h3, #main ol, #main ul,\r
+#main blockquote, #main table, #main form {\r
+       margin-left: 20px;\r
+       margin-right: 25px;\r
+}\r
+#main ul li {\r
+       list-style-image: url(/images/bullet.gif); \r
+}\r
+\r
+/* Sidebar */  \r
+#sidebar {\r
+       float: right;\r
+       width: 195px;\r
+       padding: 0; margin: 10px 0 0 0; \r
+       color: #777;    \r
+}      \r
+#sidebar h2 {\r
+       margin: 15px 5px 10px 5px;\r
+       font: bold 1.4em 'Trebuchet MS', Tahoma, Sans-serif;\r
+       color: #555;    \r
+}\r
+#sidebar p {\r
+       margin-left: 5px;\r
+}\r
+\r
+#sidebar ul.sidemenu {\r
+       list-style: none;\r
+       text-align: left;\r
+       margin: 7px 10px 8px 0; padding: 0;\r
+       text-decoration: none;  \r
+       border-top: 1px solid #A9D4EF;  \r
+}\r
+#sidebar ul.sidemenu li {\r
+       list-style: none;\r
+       padding: 4px 0 4px 5px;\r
+       margin: 0 2px;  \r
+       color: #777;    \r
+       border-bottom: 1px solid #D2E8F7; \r
+}\r
+* html body #sidebar ul.sidemenu li {\r
+       height: 1%;\r
+}\r
+#sidebar ul.sidemenu li a {\r
+       text-decoration: none;  \r
+       color: #1773BC;                         \r
+}\r
+#sidebar ul.sidemenu li a:hover {      \r
+       color: #333;\r
+}\r
+#sidebar ul.sidemenu ul { margin: 0 0 0 5px; padding: 0; }\r
+#sidebar ul.sidemenu ul li { border: none; }\r
+\r
+/* Footer */   \r
+#footer {\r
+       color: #C6DDEE;\r
+       background: #caced1 url(/images/footer.jpg) no-repeat center top;\r
+       clear: both;\r
+       width: 790px;\r
+       height: 57px;\r
+       text-align: center;     \r
+       font-size: 90%; \r
+}\r
+#footer p { \r
+       padding: 10px 0;\r
+       margin: 0;\r
+}\r
+#footer a { \r
+       color: #fff;\r
+       text-decoration: none; \r
+}\r
+\r
+/* post footer */\r
+.post-footer {\r
+       background: #F4F8FD;\r
+       padding: 5px; margin: 20px 25px 0 25px;\r
+       border: 1px solid #E5F0FB; \r
+       font-size: 95%; \r
+}\r
+.post-footer .date {   padding-left: 0px; margin: 0 5px; }\r
+.post-footer .comments { padding-left: 0px; margin: 0 5px; }\r
+.post-footer .readmore { padding-left: 0px; margin: 0 5px; }\r
+\r
+.post-by { font-size: .95em;   margin-top: 0;  }\r
+\r
+/* alignment classes */\r
+.float-left  { float: left; }\r
+.float-right { float: right; }\r
+.align-left  { text-align: left; }\r
+.align-right { text-align: right; }\r
+\r
+/* display and additional classes */\r
+.clear { clear: both; }\r
+\r
+\r
diff --git a/test/functional/panel_controller_test.rb b/test/functional/panel_controller_test.rb
new file mode 100644 (file)
index 0000000..90375bd
--- /dev/null
@@ -0,0 +1,18 @@
+require File.dirname(__FILE__) + '/../test_helper'
+require 'panel_controller'
+
+# Re-raise errors caught by the controller.
+class PanelController; def rescue_action(e) raise e end; end
+
+class PanelControllerTest < Test::Unit::TestCase
+  def setup
+    @controller = PanelController.new
+    @request    = ActionController::TestRequest.new
+    @response   = ActionController::TestResponse.new
+  end
+
+  # Replace this with your real tests.
+  def test_truth
+    assert true
+  end
+end
diff --git a/test/functional/users_controller_test.rb b/test/functional/users_controller_test.rb
new file mode 100644 (file)
index 0000000..57a3fc8
--- /dev/null
@@ -0,0 +1,18 @@
+require File.dirname(__FILE__) + '/../test_helper'
+require 'users_controller'
+
+# Re-raise errors caught by the controller.
+class UsersController; def rescue_action(e) raise e end; end
+
+class UsersControllerTest < Test::Unit::TestCase
+  def setup
+    @controller = UsersController.new
+    @request    = ActionController::TestRequest.new
+    @response   = ActionController::TestResponse.new
+  end
+
+  # Replace this with your real tests.
+  def test_truth
+    assert true
+  end
+end