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
evilla_gomez_guian_principe
parkinglot
Commits
1b51e303
Commit
1b51e303
authored
Jul 04, 2016
by
Wills Gomez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated table
parent
4b441d39
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
19 deletions
+19
-19
create_page.html.erb
draft3/app/views/car_logs/create_page.html.erb
+8
-8
index.html.erb
draft3/app/views/car_logs/index.html.erb
+11
-11
No files found.
draft3/app/views/car_logs/create_page.html.erb
View file @
1b51e303
...
@@ -11,14 +11,14 @@
...
@@ -11,14 +11,14 @@
<label>
Color:
</label>
<label>
Color:
</label>
<select
name=
"color"
class=
"u-full-width"
>
<select
name=
"color"
class=
"u-full-width"
>
<option
value=
""
disabled=
"disabled"
selected=
"selected"
>
Select..
</option>
<option
value=
""
disabled=
"disabled"
selected=
"selected"
>
Select..
</option>
<option
value=
"
red"
>
r
ed
</option>
<option
value=
"
Red"
>
R
ed
</option>
<option
value=
"
white"
>
w
hite
</option>
<option
value=
"
White"
>
W
hite
</option>
<option
value=
"
blue"
>
b
lue
</option>
<option
value=
"
Blue"
>
B
lue
</option>
<option
value=
"
green"
>
g
reen
</option>
<option
value=
"
Green"
>
G
reen
</option>
<option
value=
"
orange"
>
o
range
</option>
<option
value=
"
Orange"
>
O
range
</option>
<option
value=
"
pink"
>
p
ink
</option>
<option
value=
"
Pink"
>
P
ink
</option>
<option
value=
"
black"
>
b
lack
</option>
<option
value=
"
Black"
>
B
lack
</option>
<option
value=
"
others"
>
others
</option>
<option
value=
"
Other Color"
>
Other Color
</option>
</select>
</select>
<label>
Brand:
</label>
<label>
Brand:
</label>
<select
name=
"brand"
class=
"u-full-width"
>
<select
name=
"brand"
class=
"u-full-width"
>
...
...
draft3/app/views/car_logs/index.html.erb
View file @
1b51e303
...
@@ -9,18 +9,18 @@
...
@@ -9,18 +9,18 @@
<hr>
<hr>
<table
cellpadding=
"50"
>
<table
cellpadding=
"50"
>
<t
head
>
<t
r
>
<th>
ID
</th>
<th>
ID
</th>
<th>
Plate Number
</th>
<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>
<th>
Brand
</th>
</t
head
>
</t
r
>
<%
@records
.
each
do
|
record
|
%>
<%
@records
.
each
do
|
record
|
%>
<tr>
<tr>
<td>
<%=
record
.
id
%>
</td>
<td>
<%=
record
.
id
%>
</td>
<td>
<%=
record
.
plate_number
%>
</td>
<td>
<%=
record
.
plate_number
%>
</td>
<td>
<%=
record
.
time_in
%>
</td>
<td>
<%=
record
.
time_in
%>
</td>
<td>
<%=
record
.
time_out
%>
</td>
<td>
<%=
record
.
time_out
%>
</td>
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
<td>
<%=
record
.
brand
%>
</td>
<td>
<%=
record
.
brand
%>
</td>
</tr>
</tr>
<%
end
%>
<%
end
%>
</table>
</table>
</center>
</center>
<hr>
<hr>
<a
href=
"/create_new"
>
Add New Record
</a>
<a
href=
"/create_new"
>
Add New Record
</a>
...
...
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