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
a0bb74ec
Commit
a0bb74ec
authored
Jul 05, 2016
by
Dean Krisitan Bardeloza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added member page
parent
1a9a0d6e
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
1 deletion
+19
-1
pages_controller.rb
parkinglot/app/controllers/pages_controller.rb
+3
-0
index.html.erb
parkinglot/app/views/pages/index.html.erb
+2
-1
names.html.erb
parkinglot/app/views/pages/names.html.erb
+13
-0
routes.rb
parkinglot/config/routes.rb
+1
-0
No files found.
parkinglot/app/controllers/pages_controller.rb
View file @
a0bb74ec
...
@@ -4,4 +4,7 @@ class PagesController < ApplicationController
...
@@ -4,4 +4,7 @@ class PagesController < ApplicationController
render
"pages/index.html.erb"
render
"pages/index.html.erb"
end
end
def
names
render
"pages/names.html.erb"
end
end
end
\ No newline at end of file
parkinglot/app/views/pages/index.html.erb
View file @
a0bb74ec
...
@@ -4,7 +4,8 @@
...
@@ -4,7 +4,8 @@
<h4
class=
"text-center"
>
Press the button below to Check on your Car!
</h4>
<h4
class=
"text-center"
>
Press the button below to Check on your Car!
</h4>
<div
class=
"do"
>
<div
class=
"do"
>
<a
href=
"/car_logs"
><button
type=
"button"
class=
"btn btn-success"
>
Check out your Cars!
</button></a>
<a
href=
"/car_logs"
><button
type=
"button"
class=
"btn btn-success"
>
Check out your Cars!
</button></a>
<br>
<a
href=
"/membernames"
><button
type=
"button"
class=
"btn btn-success btn-xs"
>
Project Members
</button></a>
</div>
</div>
<h6
class=
"text-center"
>
Created by: Alfonso Arvisu, Dean Bardeloza and Bianca Tarun
</h6>
</div>
</div>
\ No newline at end of file
parkinglot/app/views/pages/names.html.erb
0 → 100644
View file @
a0bb74ec
<div
class=
"bg"
>
<h1
class=
"text-center"
>
Project Members
</h1>
<h3
class=
"text-center"
>
Alfonso Arvisu
<br>
Dean Bardeloza
<br>
Bianca Tarun
</h3>
<h4
class=
"text-center"
>
Enjoy your stay.
</h4>
<div
class=
"do"
>
<a
href=
"/"
><button
type=
"button"
class=
"btn btn-success"
>
Back to Homepage
</button></a>
</div>
</div>
\ No newline at end of file
parkinglot/config/routes.rb
View file @
a0bb74ec
...
@@ -5,4 +5,5 @@ Rails.application.routes.draw do
...
@@ -5,4 +5,5 @@ Rails.application.routes.draw do
get
"/car_logs/delete"
,
to:
"car_logs#delete"
get
"/car_logs/delete"
,
to:
"car_logs#delete"
post
"/car_logs/add"
,
to:
"car_logs#add"
post
"/car_logs/add"
,
to:
"car_logs#add"
delete
"/car_logs"
,
to:
"car_logs#delete"
delete
"/car_logs"
,
to:
"car_logs#delete"
get
"/membernames"
,
to:
"pages#names"
end
end
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