Defining Eloquent model (will assume that DB table named is set as plural of class name and primary key named "id"):
class Shop extends Eloquent {}
Using custom table name
protected $table = 'my_shops';
| <?php namespace Illuminate\Database\Connectors; | |
| class MySqlConnector extends Connector implements ConnectorInterface { | |
| /** | |
| * Establish a database connection. | |
| * | |
| * @param array $options | |
| * @return PDO | |
| */ |
Recreated http://imgur.com/GqdaY5F in one element. I don't take credit for the original (nor do I know where it's from)
There are some pretty cool tricks I came up with in order to do so:
All of the big rings are done using box shadows, as are three of the small circles
One of the small circles is done using :before, the other rotating counter clockwise is :before's box shadow
CSS version of No Vacancy 404 http://codepen.io/rileyjshaw/pen/ufEIH by Riley Shaw
A Pen by Chris Coyier on CodePen.
| Copyright (c) 2011 ZURB, http://www.zurb.com/ |