added member page

parent 1a9a0d6e
...@@ -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
...@@ -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
<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
...@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment