03.12.2015 Views

laravel4cookbook

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

E-Commerce 253<br />

184 <br />

185 <br />

186 <br />

187 <br />

188 <br />

189 <br />

193 <br />

194 <br />

.<br />

This file should be saved as app/views/index.blade.php.<br />

You’ll notice that we also reference a shared.css file:<br />

1 .products {<br />

2 margin-top: 20px;<br />

3 }<br />

4 .basket td {<br />

5 vertical-align: middle !important;<br />

6 }<br />

7 .basket .quantity input {<br />

8 width: 50px;<br />

9 }<br />

.<br />

This file should be saved as public/css/shared.css.<br />

These changes to the view coincide with a modified IndexController:

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!