Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
MIS21MidtermsParkingLot
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
Dean Krisitan Bardeloza
MIS21MidtermsParkingLot
Commits
f69bd777
Commit
f69bd777
authored
Jul 05, 2016
by
Alfonso Gabriel R. Arvisu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited CSS of the whole website.
parent
014deb77
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
96 additions
and
68 deletions
+96
-68
car-bus-truck-vectors.jpg
parkinglot/app/assets/images/car-bus-truck-vectors.jpg
+0
-0
carbg.jpg
parkinglot/app/assets/images/carbg.jpg
+0
-0
bootstrap-theme.css
parkinglot/app/assets/stylesheets/bootstrap-theme.css
+10
-0
bootstrap.css
parkinglot/app/assets/stylesheets/bootstrap.css
+5
-0
index.html.erb
parkinglot/app/views/car_logs/index.html.erb
+29
-27
new.html.erb
parkinglot/app/views/car_logs/new.html.erb
+42
-39
index.html.erb
parkinglot/app/views/pages/index.html.erb
+10
-2
No files found.
parkinglot/app/assets/images/car-bus-truck-vectors.jpg
0 → 100644
View file @
f69bd777
161 KB
parkinglot/app/assets/images/carbg.jpg
0 → 100644
View file @
f69bd777
9.76 KB
parkinglot/app/assets/stylesheets/bootstrap-theme.css
View file @
f69bd777
...
...
@@ -584,4 +584,14 @@ fieldset[disabled] .btn-danger.active {
-webkit-box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
.05
),
0
1px
0
rgba
(
255
,
255
,
255
,
.1
);
box-shadow
:
inset
0
1px
3px
rgba
(
0
,
0
,
0
,
.05
),
0
1px
0
rgba
(
255
,
255
,
255
,
.1
);
}
.do
{
margin
:
0
;
background-color
:
transparent
;
text-align
:
center
;
}
.bg
{
font-weight
:
20px
;
background-color
:
white
;
padding
:
2em
;
}
/*# sourceMappingURL=bootstrap-theme.css.map */
parkinglot/app/assets/stylesheets/bootstrap.css
View file @
f69bd777
...
...
@@ -11,6 +11,10 @@ html {
}
body
{
margin
:
0
;
background-image
:
url(carbg.jpg)
;
background-size
:
auto
auto
;
background-opacity
:
0.1
;
}
article
,
aside
,
...
...
@@ -6757,4 +6761,5 @@ button.close {
display
:
none
!important
;
}
}
/*# sourceMappingURL=bootstrap.css.map */
parkinglot/app/views/car_logs/index.html.erb
View file @
f69bd777
<table
class=
"table table-hover"
>
<thead>
<tr>
<th>
Plate Number
</th>
<div
class=
"bg"
>
<table
class=
"table table-hover"
>
<thead>
<tr>
<th>
Plate Number
</th>
<th>
Time In
</th>
<th>
Time In
</th>
<th>
Time Out
</th>
<th>
Time Out
</th>
<th>
Color
</th>
<th>
Color
</th>
<th>
Brand
</th>
</tr>
</thead>
<tbody>
<%
@car_logs
.
each
do
|
car
|
%>
<tr>
<td>
<%=
car
.
plate_number
%>
</td>
<th>
Brand
</th>
</tr>
</thead>
<tbody>
<%
@car_logs
.
each
do
|
car
|
%>
<tr>
<td>
<%=
car
.
plate_number
%>
</td>
<td>
<%=
car
.
time_in
%>
</td>
<td>
<%=
car
.
time_in
%>
</td>
<td>
<%=
car
.
time_out
%>
</td>
<td>
<%=
car
.
time_out
%>
</td>
<td>
<%=
car
.
color
%>
</td>
<td>
<%=
car
.
color
%>
</td>
<td>
<%=
car
.
brand
%>
</td>
<td>
<%=
car
.
brand
%>
</td>
<td>
<%=
button_to
"Remove Car"
,
{
id:
car
.
id
},
<td>
<%=
button_to
"Remove Car"
,
{
id:
car
.
id
},
method: :delete
,
data:
{
confirm:
"Are you sure?"
}
%>
</td>
</tr>
<%
end
%>
</tbody>
</table>
<hr>
<a
href=
"/car_logs/new"
><button>
Add New Car
</button></a>
<hr>
<a
href=
"/"
>
Go back to Homepage
</a>
\ No newline at end of file
</tr>
<%
end
%>
</tbody>
</table>
<hr>
<a
href=
"/car_logs/new"
><button
type=
"button"
class=
"btn btn-primary"
>
Add New Car
</button></a>
<hr>
<a
href=
"/"
><button
type=
"button"
class=
"btn btn-secondary"
>
Go back to Homepage
</button></a>
</div>
\ No newline at end of file
parkinglot/app/views/car_logs/new.html.erb
View file @
f69bd777
<h1>
Add Car
</h1>
<%=
form_tag
(
"/car_logs/add"
,
method:
"post"
)
do
%>
<label>
Plate Number:
</label>
<input
type=
"text"
name=
"plate_number"
/>
<div
class=
"bg"
>
<h1>
New Car Details
</h1>
<%=
form_tag
(
"/car_logs/add"
,
method:
"post"
)
do
%>
<label>
Plate Number:
</label>
<input
type=
"text"
name=
"plate_number"
/>
<hr>
<label>
Time In:
</label>
<input
type=
"datetime"
name=
"time_in"
/>
<hr>
<label>
Time Out:
</label>
<input
type=
"datetime"
name=
"time_out"
/>
<hr>
<label>
Color:
</label>
<select
name=
"color"
>
<option
value =
"Red"
>
Red
</option>
<option
value =
"White"
>
White
</option>
<option
value =
"Blue"
>
Blue
</option>
<option
value =
"Green"
>
Green
</option>
<option
value =
"Orange"
>
Orange
</option>
<option
value =
"Pink"
>
Pink
</option>
<option
value =
"Black"
>
Black
</option>
<option
value =
"Others"
>
Others
</option>
</select>
<hr>
<label>
Brand:
</label>
<select
name=
"brand"
>
<option
value =
"Honda"
>
Honda
</option>
<option
value =
"Toyota"
>
Toyota
</option>
<option
value =
"Ford"
>
Ford
</option>
<option
value =
"Suzuki"
>
Suzuki
</option>
<option
value =
"Chevrolet"
>
Chevrolet
</option>
<option
value =
"Mitsubishi"
>
Mitsubishi
</option>
<option
value =
"Subaru"
>
Subaru
</option>
<option
value =
"Nissan"
>
Nissan
</option>
<option
value =
"Others"
>
Others
</option>
</select>
<hr>
<input
type=
"submit"
class=
"btn btn-primary"
value=
"Add Car"
/>
<%
end
%>
<hr>
<label>
Time In:
</label>
<input
type=
"datetime"
name=
"time_in"
/>
<hr>
<label>
Time Out:
</label>
<input
type=
"datetime"
name=
"time_out"
/>
<hr>
<label>
Color:
</label>
<select
name=
"color"
>
<option
value =
"Red"
>
Red
</option>
<option
value =
"White"
>
White
</option>
<option
value =
"Blue"
>
Blue
</option>
<option
value =
"Green"
>
Green
</option>
<option
value =
"Orange"
>
Orange
</option>
<option
value =
"Pink"
>
Pink
</option>
<option
value =
"Black"
>
Black
</option>
<option
value =
"Others"
>
Others
</option>
</select>
<hr>
<label>
Brand:
</label>
<select
name=
"brand"
>
<option
value =
"Honda"
>
Honda
</option>
<option
value =
"Toyota"
>
Toyota
</option>
<option
value =
"Ford"
>
Ford
</option>
<option
value =
"Suzuki"
>
Suzuki
</option>
<option
value =
"Chevrolet"
>
Chevrolet
</option>
<option
value =
"Mitsubishi"
>
Mitsubishi
</option>
<option
value =
"Subaru"
>
Subaru
</option>
<option
value =
"Nissan"
>
Nissan
</option>
<option
value =
"Others"
>
Others
</option>
</select>
<hr>
<input
type=
"submit"
value=
"Add Car"
/>
<%
end
%>
<hr>
<a
href=
"/car_logs"
>
View All Cars
</a>
\ No newline at end of file
<a
href=
"/car_logs"
><button
type=
"button"
class=
"btn btn-secondary"
>
View All Cars
</button></a>
</div>
\ No newline at end of file
parkinglot/app/views/pages/index.html.erb
View file @
f69bd777
<h1>
Moshi Moshi Parking
</h1>
<a
href=
"/car_logs"
>
Check out your Cars!
</a>
\ No newline at end of file
<div
class=
"bg"
>
<h1
class=
"text-center"
>
Moshi Moshi Parking
</h1>
<h3
class=
"text-center"
>
This is the Moshi Moshi Parking Lot Tracker!
</h3>
<h4
class=
"text-center"
>
Press the button below to Check on your Car!
</h4>
<div
class=
"do"
>
<a
href=
"/car_logs"
><button
type=
"button"
class=
"btn btn-success"
>
Check out your Cars!
</button></a>
</div>
<h6
class=
"text-center"
>
Created by: Alfonso Arvisu, Dean Bardeloza and Bianca Tarun
</h6>
</div>
\ No newline at end of file
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