Commit 25bae92a authored by Joshua Pabalan's avatar Joshua Pabalan

parkinglot

parent 8b3e75f8
File added
GEM
remote: https://rubygems.org/
specs:
actionmailer (4.2.5.1)
actionpack (= 4.2.5.1)
actionview (= 4.2.5.1)
activejob (= 4.2.5.1)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.5.1)
actionview (= 4.2.5.1)
activesupport (= 4.2.5.1)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.5.1)
activesupport (= 4.2.5.1)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.5.1)
activesupport (= 4.2.5.1)
globalid (>= 0.3.0)
activemodel (4.2.5.1)
activesupport (= 4.2.5.1)
builder (~> 3.1)
activerecord (4.2.5.1)
activemodel (= 4.2.5.1)
activesupport (= 4.2.5.1)
arel (~> 6.0)
activesupport (4.2.5.1)
i18n (~> 0.7)
json (~> 1.7, >= 1.7.7)
minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1)
arel (6.0.3)
binding_of_caller (0.7.2)
debug_inspector (>= 0.0.1)
builder (3.2.2)
byebug (9.0.5)
coffee-rails (4.1.1)
coffee-script (>= 2.2.0)
railties (>= 4.0.0, < 5.1.x)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.10.0)
concurrent-ruby (1.0.2)
debug_inspector (0.0.2)
erubis (2.7.0)
execjs (2.7.0)
globalid (0.3.6)
activesupport (>= 4.1.0)
i18n (0.7.0)
jbuilder (2.5.0)
activesupport (>= 3.0.0, < 5.1)
multi_json (~> 1.2)
jquery-rails (4.1.1)
rails-dom-testing (>= 1, < 3)
railties (>= 4.2.0)
thor (>= 0.14, < 2.0)
json (1.8.3)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.4)
mime-types (>= 1.16, < 4)
mime-types (3.1)
mime-types-data (~> 3.2015)
mime-types-data (3.2016.0521)
mini_portile2 (2.1.0)
minitest (5.9.0)
multi_json (1.12.1)
nokogiri (1.6.8)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
nokogiri (1.6.8-x86-mingw32)
mini_portile2 (~> 2.1.0)
pkg-config (~> 1.1.7)
pkg-config (1.1.7)
rack (1.6.4)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.5.1)
actionmailer (= 4.2.5.1)
actionpack (= 4.2.5.1)
actionview (= 4.2.5.1)
activejob (= 4.2.5.1)
activemodel (= 4.2.5.1)
activerecord (= 4.2.5.1)
activesupport (= 4.2.5.1)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.5.1)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
railties (4.2.5.1)
actionpack (= 4.2.5.1)
activesupport (= 4.2.5.1)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (11.2.2)
rdoc (4.2.2)
json (~> 1.4)
sass (3.4.22)
sass-rails (5.0.5)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sdoc (0.4.1)
json (~> 1.7, >= 1.7.7)
rdoc (~> 4.0)
sprockets (3.6.3)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.1.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.11)
sqlite3 (1.3.11-x86-mingw32)
thor (0.19.1)
thread_safe (0.3.5)
tilt (2.0.5)
turbolinks (5.0.0)
turbolinks-source (~> 5)
turbolinks-source (5.0.0)
tzinfo (1.2.2)
thread_safe (~> 0.1)
tzinfo-data (1.2016.5)
tzinfo (>= 1.0.0)
uglifier (3.0.0)
execjs (>= 0.3.0, < 3)
web-console (2.3.0)
activemodel (>= 4.0)
binding_of_caller (>= 0.7.2)
railties (>= 4.0)
sprockets-rails (>= 2.0, < 4.0)
PLATFORMS
ruby
x86-mingw32
DEPENDENCIES
byebug
coffee-rails (~> 4.1.0)
jbuilder (~> 2.0)
jquery-rails
rails (= 4.2.5.1)
sass-rails (~> 5.0)
sdoc (~> 0.4.0)
sqlite3
turbolinks
tzinfo-data
uglifier (>= 1.3.0)
web-console (~> 2.0)
BUNDLED WITH
1.12.5
This diff is collapsed.
This diff is collapsed.
This source diff could not be displayed because it is too large. You can view the blob instead.
class CarLogsController < ApplicationController
def index #list
@car_logs = CarLog.all
render "car_logs/recordofcarlogs.html.erb"
end
def add #form
render "car_logs/createcarlog.html.erb"
end
def create
x = CarLog.new
x.plate_number = params[:plate_number]
x.brand = params[:brand]
x.slot_number = params[:slot_number]
x.is_taken = params[:is_taken]
x.save
redirect_to "/parkinglot"
end
def delete
id = params[:id]
@car_logs = CarLog.find(id.to_i)
@car_logs.destroy
redirect_to "/parkinglot"
end
end
\ No newline at end of file
class PagesController < ApplicationController
def index
render "car_logs/parkinglot.html.erb"
end
end
\ No newline at end of file
class CarLog < ActiveRecord::Base
end
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by TEMPLATED
http://templated.co
Released for free under the Creative Commons Attribution License
Name : Veridical
Description: A two-column, fixed-width design with dark color scheme.
Version : 1.0
Released : 20131203
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet" />
<link href="default.css" rel="stylesheet" type="text/css" media="all" />
<link href="fonts.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<div id="header-wrapper">
<div id="header" class="container">
<div id="menu">
<ul>
<li><a href="/" accesskey="1" title="">Homepage</a></li>
<li><a href="/record" accesskey="2" title="">Create new carlog</a></li>
<li><a href="/parkinglot" accesskey="3" title="">All Logs</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="/">Create New Carlog</a></h1>
<div align="center">
<%= form_tag("/carlog", method:"post") do %>
<br>
<font color=white> Plate Number: </font> <input align="center" type="text" placeholder="" name="plate_number" /><br>
<font color=white> Brand:</font> <select name="brand">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select><br>
<font color=white> Slot Number: </font> <input align="center" type="text" placeholder="" name="slot_number"/><br>
<font color=white> Is Taken: </font> <input align="center" type="checkbox" name="is_taken" /><br>
<input type="submit" value="Submit" >
<%end%>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html >
<body>
<div id="header-wrapper">
<div id="header" class="container">
<div id="menu">
<ul>
<li class="current_page_item"><a href="/" accesskey="1" title="">Homepage</a></li>
<li><a href="/record" accesskey="2" title="">Create new carlog</a></li>
<li><a href="/parkinglot" accesskey="3" title="">All Logs</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="#">ParkingLot</a></h1>
<font size="2" color="#FFFFFF"> Created by: Joshua Pabalan, Eldric Chua </font>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by TEMPLATED
http://templated.co
Released for free under the Creative Commons Attribution License
Name : Veridical
Description: A two-column, fixed-width design with dark color scheme.
Version : 1.0
Released : 20131203
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet" />
<link href="default.css" rel="stylesheet" type="text/css" media="all" />
<link href="fonts.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<div id="header-wrapper">
<div id="header" class="container">
<div id="menu">
<ul>
<li><a href="/" accesskey="1" title="">Homepage</a></li>
<li ><a href="/record" accesskey="2" title="">Create new carlog</a></li>
<li ><a href="/parkinglot" accesskey="3" title="">All Logs</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="/parkinglot">All Logs</a></h1>
<br>
<table>
<thead>
<tr>
<th>Plate Number</th>
<th>Brand</th>
<th>Slot Number</th>
<th> Is Taken? </th>
</tr>
</thead>
<tbody>
<% @car_logs.each do |car_log| %>
<tr>
<td><%= car_log.plate_number %></td>
<td><%= car_log.brand %></td>
<td><%= car_log.slot_number %></td>
<td><%= car_log.is_taken %></td>
</tr>
<% end %>
</tbody>
</table>
</div>
</div>
<div id="copyright">
<p>&copy; Untitled. All rights reserved. | Photos by <a href="http://fotogrph.com/">Fotogrph</a> | Design by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>.</p>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by TEMPLATED
http://templated.co
Released for free under the Creative Commons Attribution License
Name : Veridical
Description: A two-column, fixed-width design with dark color scheme.
Version : 1.0
Released : 20131203
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet" />
<link href="default.css" rel="stylesheet" type="text/css" media="all" />
<link href="fonts.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<div id="header-wrapper">
<div id="header" class="container">
<div id="menu">
<ul>
<li><a href="/" accesskey="1" title="">Homepage</a></li>
<li><a href="/record" accesskey="2" title="">Create new carlog</a></li>
<li><a href="/parkinglot" accesskey="3" title="">All Logs</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="/record">Create New Carlog</a></h1>
<%= form_tag("/make", method: "post") do %>
<br>
<font color=black> <label>Plate Number: </label></font>
<input align="center" type="text" placeholder="" name="plate_number" /><br>
<font color=black> <label>Brand:</label></font>
<select name="brand">
<option value="volvo">Volvo</option>
<option value="saab">Saab</option>
<option value="mercedes">Mercedes</option>
<option value="audi">Audi</option>
</select><br>
<font color=black> <label> Slot Number:</label> </font>
<input align="center" type="text" placeholder="" name="slot_number"/><br>
<font color=black><label> Is Taken: </label></font>
<input align="center" type="checkbox" name="is_taken" /><br>
<input type="submit" value="Submit" >
<% end %>
</div>
</div>
</div>
</body>
</html>
<!DOCTYPE html >
<body>
<div id="header-wrapper">
<div id="header" class="container">
<div id="menu">
<ul>
<li><a href="/" accesskey="1" title="">Homepage</a></li>
<li><a href="/record" accesskey="2" title="">Create new carlog</a></li>
<li><a href="/parkinglot" accesskey="3" title="">All Logs</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="/parkinglot">ParkingLot</a></h1>
<font size="2" color="#FFFFFF"> Created by: Joshua Pabalan, Eldric Chua </font>
</div>
</div>
</body>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<!--
Design by TEMPLATED
http://templated.co
Released for free under the Creative Commons Attribution License
Name : Veridical
Description: A two-column, fixed-width design with dark color scheme.
Version : 1.0
Released : 20131203
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<meta name="keywords" content="" />
<meta name="description" content="" />
<link href="http://fonts.googleapis.com/css?family=Source+Sans+Pro:200,300,400,600,700,900" rel="stylesheet" />
<link href="default.css" rel="stylesheet" type="text/css" media="all" />
<link href="fonts.css" rel="stylesheet" type="text/css" media="all" />
</head>
<body>
<div id="header-wrapper">
<div id="header" class="container">
<div id="menu">
<ul>
<li><a href="/" accesskey="1" title="">Homepage</a></li>
<li ><a href="/record" accesskey="2" title="">Create new carlog</a></li>
<li ><a href="/parkinglot" accesskey="3" title="">All Logs</a></li>
</ul>
</div>
<div id="logo">
<h1><a href="/parkinglot">All Logs</a></h1>
<br>
<table border="2" width="80%">
<thead>
<tr>
<th>Plate Number</th>
<th>Brand</th>
<th>Slot Number</th>
<th> Is Taken? </th>
<th>Delete</th>
</tr>
</thead>
<tbody>
<% @car_logs.each do |car_log| %>
<tr>
<td><%= car_log.plate_number %></td>
<td><%= car_log.brand %></td>
<td><%= car_log.slot_number %></td>
<td><%= car_log.is_taken %></td>
<td><a href = "/delete/<%= car_log.id%>">Delete</a></td>
</tr>
<% end %>
</tbody>
</table>
</div>
</div>
</div>
</body>
</html>
Rails.application.routes.draw do Rails.application.routes.draw do
# The priority is based upon order of creation: first created -> highest priority. root to:"pages#index"
# See how all your routes lay out with "rake routes". get "/parkinglot", to:"car_logs#index"
get "/record", to:"car_logs#add"
# You can have the root of your site routed with "root" post "/make", to:"car_logs#create"
# root 'welcome#index' get "/delete/:id", to: "car_logs#delete"
# Example of regular route:
# get 'products/:id' => 'catalog#view'
# Example of named route that can be invoked with purchase_url(id: product.id)
# get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
# Example resource route (maps HTTP verbs to controller actions automatically):
# resources :products
# Example resource route with options:
# resources :products do
# member do
# get 'short'
# post 'toggle'
# end
#
# collection do
# get 'sold'
# end
# end
# Example resource route with sub-resources:
# resources :products do
# resources :comments, :sales
# resource :seller
# end
# Example resource route with more complex sub-resources:
# resources :products do
# resources :comments
# resources :sales do
# get 'recent', on: :collection
# end
# end
# Example resource route with concerns:
# concern :toggleable do
# post 'toggle'
# end
# resources :posts, concerns: :toggleable
# resources :photos, concerns: :toggleable
# Example resource route within a namespace:
# namespace :admin do
# # Directs /admin/products/* to Admin::ProductsController
# # (app/controllers/admin/products_controller.rb)
# resources :products
# end
end end
class CreateCarLogs < ActiveRecord::Migration
def change
create_table :car_logs do |t|
t.string :plate_number
t.string :brand
t.string :slot_number
t.boolean :is_taken
t.timestamps null: false
end
end
end
# encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 20160705102132) do
create_table "car_logs", force: :cascade do |t|
t.string "plate_number"
t.string "brand"
t.string "slot_number"
t.boolean "is_taken"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
end
end
This diff is collapsed.
...@@ -4,10 +4,10 @@ Design by TEMPLATED ...@@ -4,10 +4,10 @@ Design by TEMPLATED
http://templated.co http://templated.co
Released for free under the Creative Commons Attribution License Released for free under the Creative Commons Attribution License
Name : Veridical Name : Plushiness
Description: A two-column, fixed-width design with dark color scheme. Description: A two-column, fixed-width design with dark color scheme.
Version : 1.0 Version : 1.0
Released : 20131203 Released : 20131117
--> -->
<html xmlns="http://www.w3.org/1999/xhtml"> <html xmlns="http://www.w3.org/1999/xhtml">
...@@ -26,6 +26,15 @@ Released : 20131203 ...@@ -26,6 +26,15 @@ Released : 20131203
<body> <body>
<div id="header-wrapper"> <div id="header-wrapper">
<div id="header" class="container"> <div id="header" class="container">
<div id="logo">
<span class="icon icon-group"></span>
<h1><a href="#">Plushiness</a></h1>
<span>Design by <a href="http://templated.co" rel="nofollow">TEMPLATED</a></span>
</div>
<div id="triangle-up"></div>
</div>
</div>
<div id="menu-wrapper">
<div id="menu"> <div id="menu">
<ul> <ul>
<li class="current_page_item"><a href="#" accesskey="1" title="">Homepage</a></li> <li class="current_page_item"><a href="#" accesskey="1" title="">Homepage</a></li>
...@@ -35,103 +44,39 @@ Released : 20131203 ...@@ -35,103 +44,39 @@ Released : 20131203
<li><a href="#" accesskey="5" title="">Contact Us</a></li> <li><a href="#" accesskey="5" title="">Contact Us</a></li>
</ul> </ul>
</div> </div>
<div id="logo">
<h1><a href="#">Veridical</a></h1>
<span>Design by <a href="http://templated.co" rel="nofollow">TEMPLATED</a></span> </div>
</div>
</div>
<div id="wrapper1">
<div id="welcome" class="container">
<div class="title">
<h2>Welcome to our website</h2>
<span class="byline">Mauris vulputate dolor sit amet nibh</span> </div>
<div class="content">
<p>This is <strong>Veridical</strong>, a free, fully standards-compliant CSS template designed by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>. The photos in this template are from <a href="http://fotogrph.com/"> Fotogrph</a>. This free template is released under the <a href="http://templated.co/license">Creative Commons Attribution</a> license, so you're pretty much free to do whatever you want with it (even use it commercially) provided you give us credit for it. Have fun :) </p>
<a href="#" class="button">Etiam posuere</a> </div>
</div>
</div> </div>
<div id="wrapper3"> <div id="wrapper">
<div id="portfolio" class="container"> <div id="featured-wrapper">
<div class="extra2 container">
<div class="ebox1">
<div class="hexagon"><span class="icon icon-lightbulb"></span></div>
<div class="title"> <div class="title">
<h2>Design Portfolio</h2> <h2>Fusce ultrices fringilla</h2>
<span class="byline">Integer sit amet pede vel arcu aliquet pretium</span> </div> <span class="byline">Integer sit amet pede vel arcu aliquet pretium</span>
<div class="pbox1">
<div class="column1">
<div class="box"> <span class="icon icon-comments"></span>
<h3>Vestibulum venenatis</h3>
<p>Fermentum nibh augue praesent a lacus at urna congue rutrum.</p>
</div>
</div>
<div class="column2">
<div class="box"> <span class="icon icon-cogs"></span>
<h3>Praesent scelerisque</h3>
<p>Vivamus fermentum nibh in augue praesent urna congue rutrum.</p>
</div>
</div>
<div class="column3">
<div class="box"> <span class="icon icon-coffee"></span>
<h3>Donec dictum metus</h3>
<p>Vivamus fermentum nibh in augue praesent urna congue rutrum.</p>
</div>
</div>
<div class="column4">
<div class="box"> <span class="icon icon-cloud"></span>
<h3>Mauris vulputate dolor</h3>
<p>Rutrum fermentum nibh in augue praesent urna congue rutrum.</p>
</div> </div>
<p>This is <strong>Plushiness</strong>, a free, fully standards-compliant CSS template designed by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>. The photos in this template are from <a href="http://fotogrph.com/"> Fotogrph</a>. This free template is released under the <a href="http://templated.co/license">Creative Commons Attribution</a> license, so you're pretty much free to do whatever you want with it (even use it commercially) provided you give us credit for it. Have fun :) </p>
<a href="#" class="button">Etiam posuere</a>
</div> </div>
<div class="ebox2">
<div class="hexagon"><span class="icon icon-bullhorn"></span></div>
<div class="title">
<h2>Donec dictum metus</h2>
<span class="byline">Integer sit amet pede vel arcu aliquet pretium</span>
</div> </div>
<div class="pbox2"> <p>In posuere eleifend odio. Quisque semper augue mattis wisi. Maecenas ligula. Pellentesque viverra vulputate enim. Aliquam erat volutpat. Pellentesque tristique ante ut risus. Quisque dictum. Integer nisl risus, sagittis convallis, rutrum id, elementum congue, nibh. Suspendisse dictum porta lectus. Donec placerat odio vel elit. Nullam ante orci, pellentesque eget, tempus quis, ultrices in, est. Curabitur sit amet nulla. Nam in massa. Sed vel tellus. Curabitur sem urna, consequat vel, suscipit in, mattis placerat, nulla. Sed ac leo. Pellentesque imperdiet.</p>
<div class="column1"> <a href="#" class="button">Etiam posuere</a>
<div class="box"> <span class="icon icon-asterisk"></span>
<h3>Rhoncus volutpat</h3>
<p>Fermentum nibh augue praesent a lacus at urna congue rutrum.</p>
</div>
</div>
<div class="column2">
<div class="box"> <span class="icon icon-headphones"></span>
<h3>Sed odio sagittis</h3>
<p>Vivamus fermentum nibh in augue praesent urna congue rutrum.</p>
</div>
</div>
<div class="column3">
<div class="box"> <span class="icon icon-user"></span>
<h3>Aenean elementum</h3>
<p>Vivamus fermentum nibh in augue praesent urna congue rutrum.</p>
</div>
</div>
<div class="column4">
<div class="box"> <span class="icon icon-signal"></span>
<h3>Etiam posuere augue</h3>
<p>Rutrum fermentum nibh in augue praesent urna congue rutrum.</p>
</div>
</div> </div>
</div> </div>
</div> </div>
</div> </div>
<div id="wrapper2"> <div id="stamp" class="container">
<div id="featured" class="container"> <div class="hexagon"><span class="icon icon-wrench"></span></div>
<div class="box1">
<h2><span class="icon icon-group"></span>Fusce ultrices fringilla</h2>
<p>Aliquam erat volutpat. Pellentesque tristique ante ut risus. Quisque dictum. Integer nisl risus, sagittis convallis, rutrum id, elementum congue, nibh. Suspendisse dictum porta lectus. Donec placerat odio vel elit. Nullam ante orci, pellentesque eget, tempus quis, ultrices in, est. Curabitur sit amet nulla. Donec leo, vivamus fermentum nibh in augue praesent a lacus at urna congue rutrum.</p>
</div>
<div class="box2">
<h2><span class="icon icon-briefcase"></span>Etiam posuere augue</h2>
<p>Aliquam erat volutpat. Pellentesque tristique ante ut risus. Quisque dictum. Integer nisl risus, sagittis convallis, rutrum id, elementum congue, nibh. Suspendisse dictum porta lectus. Donec placerat odio vel elit. Nullam ante orci, pellentesque eget, tempus quis, ultrices in, est. Curabitur sit amet nulla. Donec leo, vivamus fermentum nibh in augue praesent a lacus at urna congue rutrum.</p>
</div>
</div>
</div> </div>
<div id="copyright"> <div id="copyright" class="container">
<div class="title">
<h2>Get in touch</h2>
<span class="byline">Phasellus nec erat sit amet nibh pellentesque congue</span> </div>
<ul class="contact">
<li><a href="#" class="icon icon-twitter"><span>Twitter</span></a></li>
<li><a href="#" class="icon icon-facebook"><span></span></a></li>
<li><a href="#" class="icon icon-dribbble"><span>Pinterest</span></a></li>
<li><a href="#" class="icon icon-tumblr"><span>Google+</span></a></li>
<li><a href="#" class="icon icon-rss"><span>Pinterest</span></a></li>
</ul>
<p>&copy; Untitled. All rights reserved. | Photos by <a href="http://fotogrph.com/">Fotogrph</a> | Design by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>.</p> <p>&copy; Untitled. All rights reserved. | Photos by <a href="http://fotogrph.com/">Fotogrph</a> | Design by <a href="http://templated.co" rel="nofollow">TEMPLATED</a>.</p>
</div> </div>
</body> </body>
......
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
one:
plate_number: MyString
brand: MyString
slot_number: MyString
is_taken: false
two:
plate_number: MyString
brand: MyString
slot_number: MyString
is_taken: false
require 'test_helper'
class CarLogTest < ActiveSupport::TestCase
# test "the truth" do
# assert true
# end
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment