Commit ab36fe82 authored by zakMSIpanic's avatar zakMSIpanic

Avery

parent 64f50994
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -6,6 +6,10 @@
<select name="color">
<option value="White">White</option>
<option value="Black">Black</option>
<option value="Silver">Silver</option>
<option value="Red">Red</option>
<option value="Blue">Blue</option>
<option value="Yellow">Yellow</option>
</select><br>
<select name="brand">
<option value="Honda">Honda</option>
......@@ -20,5 +24,5 @@
<input type="submit" class="submit" value="SAVE"/>
<% end %><br>
<a href="/">back to home</a>
<a class="button" href="/cars">go to parking lot</a>
\ No newline at end of file
<a href="/">Back to Home</a>
<a class="button" href="/logs">Go to Parking Lot</a>
\ No newline at end of file
......@@ -5,9 +5,18 @@
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'application', 'data-turbolinks-track' => true %>
<%= csrf_meta_tags %>
<link rel="stylesheet" type="text/css" href="app/assets/stylesheets/bootstrap.css">
</head>
<body>
<style>
body {
margin: 50px;
}
.button:hover {
border: 2px solid;
}
</style>
<%= yield %>
</body>
......
<h1>car logs</h1>
<h1>Car Logs</h1><br>
<a href="/">Back to Home</a>
<a href="/add">Add Car</a>
<ul>
<% @CarLogs.each do |car| %>
<div class="col-md-3 well">
<li>
<%= "#{car.plate_number}" %><br>
<%= "#{car.time_in}" %><br>
<%= "#{car.time_out}" %><br>
<%= "#{car.color}" %><br>
<%= "#{car.brand}" %><br>
<a href="/logs/delete/<%= car.id%>">delete</a>
</li><br>
<a href="/logs/delete/<%= car.id%>">Delete</a>
</li>
</div>
<% end %>
</ul>
<a href="/">Back to Home</a>
<a href="/add">Add Car</a>
<h1>The Parking Lot</h1>
<a class="button" href="/members">view group members</a>
<a class="button" href="/logs">go to parking lot</a>
<center>
<h1>You Park</h1>
<a class="button" href="/members">View Group Members</a>
<a class="button" href="/logs">Go to Parking Lot</a>
</center>
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