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
batanghackers
ParkingLot
Commits
ab36fe82
Commit
ab36fe82
authored
Jul 05, 2016
by
zakMSIpanic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Avery
parent
64f50994
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
13552 additions
and
31 deletions
+13552
-31
application.css
app/assets/stylesheets/application.css
+6759
-14
bootstrap.css
app/assets/stylesheets/bootstrap.css
+6760
-0
index.html.erb
app/views/add/index.html.erb
+6
-2
application.html.erb
app/views/layouts/application.html.erb
+9
-0
index.html.erb
app/views/logs/index.html.erb
+13
-12
index.html.erb
app/views/pages/index.html.erb
+5
-3
No files found.
app/assets/stylesheets/application.css
View file @
ab36fe82
This diff is collapsed.
Click to expand it.
app/assets/stylesheets/bootstrap.css
0 → 100644
View file @
ab36fe82
This diff is collapsed.
Click to expand it.
app/views/add/index.html.erb
View file @
ab36fe82
...
@@ -6,6 +6,10 @@
...
@@ -6,6 +6,10 @@
<select
name=
"color"
>
<select
name=
"color"
>
<option
value=
"White"
>
White
</option>
<option
value=
"White"
>
White
</option>
<option
value=
"Black"
>
Black
</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><br>
<select
name=
"brand"
>
<select
name=
"brand"
>
<option
value=
"Honda"
>
Honda
</option>
<option
value=
"Honda"
>
Honda
</option>
...
@@ -20,5 +24,5 @@
...
@@ -20,5 +24,5 @@
<input
type=
"submit"
class=
"submit"
value=
"SAVE"
/>
<input
type=
"submit"
class=
"submit"
value=
"SAVE"
/>
<%
end
%>
<br>
<%
end
%>
<br>
<a
href=
"/"
>
back to home
</a>
<a
href=
"/"
>
Back to Home
</a>
<a
class=
"button"
href=
"/cars"
>
go to parking lot
</a>
<a
class=
"button"
href=
"/logs"
>
Go to Parking Lot
</a>
\ No newline at end of file
\ No newline at end of file
app/views/layouts/application.html.erb
View file @
ab36fe82
...
@@ -5,9 +5,18 @@
...
@@ -5,9 +5,18 @@
<%=
stylesheet_link_tag
'application'
,
media:
'all'
,
'data-turbolinks-track'
=>
true
%>
<%=
stylesheet_link_tag
'application'
,
media:
'all'
,
'data-turbolinks-track'
=>
true
%>
<%=
javascript_include_tag
'application'
,
'data-turbolinks-track'
=>
true
%>
<%=
javascript_include_tag
'application'
,
'data-turbolinks-track'
=>
true
%>
<%=
csrf_meta_tags
%>
<%=
csrf_meta_tags
%>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"app/assets/stylesheets/bootstrap.css"
>
</head>
</head>
<body>
<body>
<style>
body
{
margin
:
50px
;
}
.button
:hover
{
border
:
2px
solid
;
}
</style>
<%=
yield
%>
<%=
yield
%>
</body>
</body>
...
...
app/views/logs/index.html.erb
View file @
ab36fe82
<h1>
car logs
</h1>
<h1>
Car Logs
</h1><br>
<a
href=
"/"
>
Back to Home
</a>
<a
href=
"/add"
>
Add Car
</a>
<ul>
<ul>
<%
@CarLogs
.
each
do
|
car
|
%>
<%
@CarLogs
.
each
do
|
car
|
%>
<div
class=
"col-md-3 well"
>
<li>
<li>
<%=
"
#{
car
.
plate_number
}
"
%>
<br>
<%=
"
#{
car
.
plate_number
}
"
%>
<br>
<%=
"
#{
car
.
time_in
}
"
%>
<br>
<%=
"
#{
car
.
time_in
}
"
%>
<br>
<%=
"
#{
car
.
time_out
}
"
%>
<br>
<%=
"
#{
car
.
time_out
}
"
%>
<br>
<%=
"
#{
car
.
color
}
"
%>
<br>
<%=
"
#{
car
.
color
}
"
%>
<br>
<%=
"
#{
car
.
brand
}
"
%>
<br>
<%=
"
#{
car
.
brand
}
"
%>
<br>
<a
href=
"/logs/delete/
<%=
car
.
id
%>
"
>
delete
</a>
<a
href=
"/logs/delete/
<%=
car
.
id
%>
"
>
Delete
</a>
</li><br>
</li>
</div>
<%
end
%>
<%
end
%>
</ul>
</ul>
<a
href=
"/"
>
Back to Home
</a>
<a
href=
"/add"
>
Add Car
</a>
app/views/pages/index.html.erb
View file @
ab36fe82
<h1>
The Parking Lot
</h1>
<center>
<a
class=
"button"
href=
"/members"
>
view group members
</a>
<h1>
You Park
</h1>
<a
class=
"button"
href=
"/logs"
>
go to parking lot
</a>
<a
class=
"button"
href=
"/members"
>
View Group Members
</a>
<a
class=
"button"
href=
"/logs"
>
Go to Parking Lot
</a>
</center>
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