Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
parkinglot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MiiikoLang
parkinglot
Commits
1f8e17fb
Commit
1f8e17fb
authored
Jul 06, 2016
by
Francesco Martin Mamaradlo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed a few stuff but overall it's okay na!
parent
7ca50b4c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
7 deletions
+18
-7
car_logs_controller.rb
parkinglot/app/controllers/car_logs_controller.rb
+2
-0
add_cars.html.erb
parkinglot/app/views/car_logs/add_cars.html.erb
+2
-2
creators.html.erb
parkinglot/app/views/pages/creators.html.erb
+14
-5
No files found.
parkinglot/app/controllers/car_logs_controller.rb
View file @
1f8e17fb
...
...
@@ -8,12 +8,14 @@ class CarLogsController < ApplicationController
def
add
render
"car_logs/add_cars.html.erb"
end
def
delete
id
=
params
[
:id
]
@car
=
CarLog
.
find
(
id
.
to_i
)
@car
.
destroy
redirect_to
'/car_logs'
end
def
create
car_log
=
CarLog
.
new
car_log
.
plate_number
=
params
[
:plate_number
]
...
...
parkinglot/app/views/car_logs/add_cars.html.erb
View file @
1f8e17fb
...
...
@@ -35,7 +35,7 @@
</select>
<input
type=
"submit"
value=
"Save to Car Log"
>
<%
end
%>
<a
href=
"/pages"
style=
"padding:3px; margin:10px; border:solid 1px;color: white"
>
Park Lot Home
</a>
<h2>
</h2>
<a
href=
"/pages"
style=
"padding:3px; margin:10px; border:solid 1px;color: white
; font-size: 14pt;
"
>
Park Lot Home
</a>
</div>
</div>
\ No newline at end of file
parkinglot/app/views/pages/creators.html.erb
View file @
1f8e17fb
<div>
<div
style=
"height:100vh; width:100vw; background-size:cover; position:absolute;overflow:scroll; margin-bottom:10px"
>
<div
style=
"padding:30px; text-align:center; border:solid 1px; background-color:rgba(20,20,20,0.9); color:rgba(255,255,255,0.8)"
>
<h1>
Meet the Creators
</h1>
<body>
<li>
Miko
</li>
<li>
Chesco
</li>
<li>
Manny
</li>
<li>
Miko Estrella
</li>
<li>
Francesco Mamaradlo
</li>
<li>
Manny Samaniego III
</li>
<h2>
</h2>
<a
href=
"/car_logs"
style=
"padding:5px; margin:30px; border:solid 1px;font-size:12pt"
>
Park Lot Home
</a>
</body>
<a
href=
"/car_logs/add"
style=
"padding:5px; margin:20px; border:solid 1px;color: black"
>
Park Lot Home
</a>
</div>
</div>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment