Skip to content

Commit

Permalink
10 commit
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi committed Apr 17, 2011
1 parent 51a711e commit f3ae4a5
Show file tree
Hide file tree
Showing 4 changed files with 70 additions and 43 deletions.
7 changes: 0 additions & 7 deletions app/views/layouts/products.html.erb
Expand Up @@ -8,13 +8,6 @@
<center>
<h1>SV Groceries</h1>
</center>
<div id = 'name'>
<a id = login href="login">Login</a>
<a id = register href="register">Register</a>
<img id ="twitter" src ="/images/twitter.gif">
<img id= namaste src="/images/namaste.gif">
</div>




Expand Down
41 changes: 7 additions & 34 deletions app/views/products/index.html.erb
@@ -1,45 +1,18 @@
<html>
<head>
<center>
<img id=image src="/images/swamy.jpg">

</center>
<div id = 'tab_bar'>
<table id = 'links'>
<tr>
<td>
<a id = home href="home">Home</a>
</td>
<td>
<a id = products href="products">Products</a>
</td>
<td>
<a id = new_stuff href="new_stuff">New Arrivals</a>
</td>
<td>
<a id = Contact href="contact">Contact Us</a>
</td></tr></table>
</div>


<div id = 'image_gallery'>
<marquee behavior="scroll" direction="down"><img src="images/boost.jpg" scrollamount="1" width="200" height="200" alt="1" /></marquee>
</div>


<div id = 'section_middle'>
<div id="text">
The essence of the Indian culture is deeply rooted in time-honored family traditions, a sense of community and home cooked meals. The beauty of our culture and our cuisine brings us together. We consider it our social responsibility to keep our traditions alive and share them with family and friends. We is committed to bringing our customers the best in traditions and food, the best of India
<h2>
Please Check back our website for opening date, promotions & offers.
</h2>
</div>
</div>

<div id = 'section_down'>

</div>

<div id = 'section_right'>
<img id='signup' src="images/signup.gif"></img>
<img id='discount' src="images/discount.png"></img>
</div>


</body>
</html>
</html>

57 changes: 57 additions & 0 deletions app/views/products/index1.erb
@@ -0,0 +1,57 @@
<html>
<head>
<center>
<img id=image src="/images/swamy.jpg">
</center>
<div id = 'tab_bar'>
<table id = 'links'>
<tr>
<td>
<a id = home href="home">Home</a>
</td>
<td>
<a id = products href="products">Products</a>
</td>
<td>
<a id = new_stuff href="new_stuff">New Arrivals</a>
</td>
<td>
<a id = Contact href="contact">Contact Us</a>
</td></tr></table>
</div>


<div id = 'image_gallery'>
<marquee behavior="scroll" direction="down"><img src="images/boost.jpg" scrollamount="1" width="200" height="200" alt="1" /></marquee>
</div>


<div id = 'section_middle'>
<div id="text">
The essence of the Indian culture is deeply rooted in time-honored family traditions, a sense of community and home cooked meals. The beauty of our culture and our cuisine brings us together. We consider it our social responsibility to keep our traditions alive and share them with family and friends. We is committed to bringing our customers the best in traditions and food, the best of India
</div>
</div>

<div id = 'section_down'>

</div>

<div id = 'section_right'>
<img id='signup' src="images/signup.gif"></img>
<img id='discount' src="images/discount.png"></img>
</div>

</body>
</html>





<div id = 'name'>
<a id = login href="login">Login</a>
<a id = register href="register">Register</a>
<img id ="twitter" src ="/images/twitter.gif">
<img id= namaste src="/images/namaste.gif">
</div>

8 changes: 6 additions & 2 deletions public/stylesheets/style.css
Expand Up @@ -52,7 +52,10 @@ td {
h1 {
color:white;
}

h2{
position:center;
color:blue;
}
#image_gallery{
position:absolute;
top:350px;
Expand Down Expand Up @@ -100,10 +103,11 @@ h1 {
#text{
position:absolute;
left:400px;
top:400px;
top:350px;
text-align:justify;
font-family:"cursive",Zapf Chancery, cursive;
line-height:2em;
height:40px;
width:600px;

}

0 comments on commit f3ae4a5

Please sign in to comment.