Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
final_project
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
final_project
Commits
e955b633
Commit
e955b633
authored
Jul 19, 2016
by
Jasmine Principe
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
https://gitlab.discs.ateneo.edu/evilla_gomez_guian_principe/final_project
parents
25f2162f
6a870e05
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
341 additions
and
5 deletions
+341
-5
evilla.jpg
Halalan/app/assets/images/evilla.jpg
+0
-0
gomez.jpg
Halalan/app/assets/images/gomez.jpg
+0
-0
guian.jpeg
Halalan/app/assets/images/guian.jpeg
+0
-0
principe.jpeg
Halalan/app/assets/images/principe.jpeg
+0
-0
about_controller.rb
Halalan/app/controllers/about_controller.rb
+24
-0
evilla.html.erb
Halalan/app/views/about/evilla.html.erb
+72
-0
gomez.html.erb
Halalan/app/views/about/gomez.html.erb
+72
-0
guian.html.erb
Halalan/app/views/about/guian.html.erb
+72
-0
principe.html.erb
Halalan/app/views/about/principe.html.erb
+71
-0
_navbar.html.erb
Halalan/app/views/layouts/_navbar.html.erb
+2
-3
application.html.erb
Halalan/app/views/layouts/application.html.erb
+1
-1
about.html.erb
Halalan/app/views/pages/about.html.erb
+19
-0
index.html.erb
Halalan/app/views/pages/index.html.erb
+1
-1
routes.rb
Halalan/config/routes.rb
+7
-0
No files found.
Halalan/app/assets/images/evilla.jpg
0 → 100644
View file @
e955b633
35 KB
Halalan/app/assets/images/gomez.jpg
0 → 100644
View file @
e955b633
35.6 KB
Halalan/app/assets/images/guian.jpeg
0 → 100644
View file @
e955b633
40.5 KB
Halalan/app/assets/images/principe.jpeg
0 → 100644
View file @
e955b633
49.3 KB
Halalan/app/controllers/about_controller.rb
0 → 100644
View file @
e955b633
class
AboutController
<
ApplicationController
def
index
render
"pages/about.html.erb"
end
def
evilla
render
"/about/evilla.html.erb"
end
def
gomez
render
"/about/gomez.html.erb"
end
def
guian
render
"/about/guian.html.erb"
end
def
principe
render
"/about/principe.html.erb"
end
end
Halalan/app/views/about/evilla.html.erb
0 → 100644
View file @
e955b633
<%
provide
(
:about
,
"active"
)
%>
<%
provide
(
:title
,
"About"
)
%>
<div
class=
"container"
>
<div
class=
"row"
>
</div>
<div
class=
"col-md-2"
>
</div>
<div
class=
"col-md-4"
>
<h1
class=
"heading"
>
Galen Solo E. Evilla
</h1>
<div
class=
"row"
>
<p>
 
<b>
What do you want to be when you grow up?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Happy ka ba kay Sir Happy?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Kapag nagluto si Sir Happy, Happy Meal ba tawag dun?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Expected grade sa MIS21?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Ano ang favorite final fantasy mo?
</b>
<br>
<i>
  
Insert Answer Here)
</i>
<br>
 
<b>
(For the purposes of being in this institution, the question was censored)
</b>
<br>
<i>
  
Insert Answer Here
</i>
</p>
</div>
</div>
<div
class=
"col-md-4"
>
<%=
image_tag
(
"evilla.jpg"
)
%>
</div>
<div
class=
"col-md-2"
>
</div>
</div>
</div>
</div>
</div>
<hr>
<div
class=
"about"
>
<div
class =
"row"
>
<center>
<h3>
The Developers
</h3>
<h5>
<a
href=
"/about/evilla"
>
Evilla, Galen Solo E.
</a>
•
<a
href=
"/about/gomez"
>
Gomez, Feliz Marie B.
</a>
•
<a
href=
"/about/guian"
>
Guian, April D.
</a>
•
<a
href=
"/about/principe"
>
Principe, Jasmine Nicole G.
</a>
</h5>
</center>
<hr>
</div>
</div>
</div>
</div>
<footer>
<p>
©
2016 ParkingLotMIS21 Inc.
</p>
</footer>
</div>
Halalan/app/views/about/gomez.html.erb
0 → 100644
View file @
e955b633
<%
provide
(
:about
,
"active"
)
%>
<%
provide
(
:title
,
"About"
)
%>
<div
class=
"container"
>
<div
class=
"row"
>
</div>
<div
class=
"col-md-2"
>
</div>
<div
class=
"col-md-4"
>
<h1
class=
"heading"
>
Feliz Marie B. Gomez
</h1>
<div
class=
"row"
>
<p>
 
<b>
What do you want to be when you grow up?
</b>
<br>
<i>
  
Tall
</i>
<br>
 
<b>
Happy ka ba kay Sir Happy?
</b>
<br>
<i>
  
Yes!
</i>
<br>
 
<b>
Kapag nagluto si Sir Happy, Happy Meal ba tawag dun?
</b>
<br>
<i>
  
Eyyyy, witty
</i>
<br>
 
<b>
Expected grade sa MIS21?
</b>
<br>
<i>
  
D (basta kapag major subjects, i wants the D hehe)
</i>
<br>
 
<b>
Ano ang favorite final fantasy mo?
</b>
<br>
<i>
  
<strike>
69
</strike>
. Final Fantasy 6 at Final Fantasy 9 ;)
</i>
<br>
 
<b>
(For the purposes of being in this institution, the question was censored)
</b>
<br>
<i>
  
AY GRABE SIYA HAHAHAHA
</i>
</p>
</div>
</div>
<div
class=
"col-md-4"
>
<%=
image_tag
(
"gomez.jpg"
)
%>
</div>
<div
class=
"col-md-2"
>
</div>
</div>
</div>
</div>
</div>
<hr>
<div
class=
"about"
>
<div
class =
"row"
>
<center>
<h3>
The Developers
</h3>
<h5>
<a
href=
"/about/evilla"
>
Evilla, Galen Solo E.
</a>
•
<a
href=
"/about/gomez"
>
Gomez, Feliz Marie B.
</a>
•
<a
href=
"/about/guian"
>
Guian, April D.
</a>
•
<a
href=
"/about/principe"
>
Principe, Jasmine Nicole G.
</a>
</h5>
</center>
<hr>
</div>
</div>
</div>
</div>
<footer>
<p>
©
2016 ParkingLotMIS21 Inc.
</p>
</footer>
</div>
Halalan/app/views/about/guian.html.erb
0 → 100644
View file @
e955b633
<%
provide
(
:about
,
"active"
)
%>
<%
provide
(
:title
,
"About"
)
%>
<div
class=
"container"
>
<div
class=
"row"
>
</div>
<div
class=
"col-md-2"
>
</div>
<div
class=
"col-md-4"
>
<h1
class=
"heading"
>
April D. Guian
</h1>
<div
class=
"row"
>
<p>
 
<b>
What do you want to be when you grow up?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Happy ka ba kay Sir Happy?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Kapag nagluto si Sir Happy, Happy Meal ba tawag dun?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Expected grade sa MIS21?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Ano ang favorite final fantasy mo?
</b>
<br>
<i>
  
Insert Answer Here)
</i>
<br>
 
<b>
(For the purposes of being in this institution, the question was censored)
</b>
<br>
<i>
  
Insert Answer Here
</i>
</p>
</div>
</div>
<div
class=
"col-md-4"
>
<%=
image_tag
(
"guian.jpeg"
)
%>
</div>
<div
class=
"col-md-2"
>
</div>
</div>
</div>
</div>
</div>
<hr>
<div
class=
"about"
>
<div
class =
"row"
>
<center>
<h3>
The Developers
</h3>
<h5>
<a
href=
"/about/evilla"
>
Evilla, Galen Solo E.
</a>
•
<a
href=
"/about/gomez"
>
Gomez, Feliz Marie B.
</a>
•
<a
href=
"/about/guian"
>
Guian, April D.
</a>
•
<a
href=
"/about/principe"
>
Principe, Jasmine Nicole G.
</a>
</h5>
</center>
<hr>
</div>
</div>
</div>
</div>
<footer>
<p>
©
2016 ParkingLotMIS21 Inc.
</p>
</footer>
</div>
Halalan/app/views/about/principe.html.erb
0 → 100644
View file @
e955b633
<%
provide
(
:about
,
"active"
)
%>
<%
provide
(
:title
,
"About"
)
%>
<div
class=
"container"
>
<div
class=
"row"
>
</div>
<div
class=
"col-md-2"
>
</div>
<div
class=
"col-md-4"
>
<h1
class=
"heading"
>
Jasmine Nicole G. Principe
</h1>
<div
class=
"row"
>
<p>
 
<b>
What do you want to be when you grow up?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Happy ka ba kay Sir Happy?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Kapag nagluto si Sir Happy, Happy Meal ba tawag dun?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Expected grade sa MIS21?
</b>
<br>
<i>
  
Insert Answer Here
</i>
<br>
 
<b>
Ano ang favorite final fantasy mo?
</b>
<br>
<i>
  
Insert Answer Here)
</i>
<br>
 
<b>
(For the purposes of being in this institution, the question was censored)
</b>
<br>
<i>
  
Insert Answer Here
</i>
</p>
</div>
</div>
<div
class=
"col-md-4"
>
<%=
image_tag
(
"principe.jpg"
)
%>
</div>
<div
class=
"col-md-2"
>
</div>
</div>
</div>
</div>
</div>
<hr>
<div
class=
"about"
>
<div
class =
"row"
>
<center>
<h3>
The Developers
</h3>
<h5>
<a
href=
"/about/evilla"
>
Evilla, Galen Solo E.
</a>
•
<a
href=
"/about/gomez"
>
Gomez, Feliz Marie B.
</a>
•
<a
href=
"/about/guian"
>
Guian, April D.
</a>
•
<a
href=
"/about/principe"
>
Principe, Jasmine Nicole G.
</a>
</h5>
</center>
<hr>
</div>
</div>
</div>
</div>
<footer>
<p>
©
2016 ParkingLotMIS21 Inc.
</p>
</footer>
</div>
Halalan/app/views/layouts/_navbar.html.erb
View file @
e955b633
...
@@ -6,9 +6,6 @@
...
@@ -6,9 +6,6 @@
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"sr-only"
>
Toggle navigation
</span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
<span
class=
"icon-bar"
></span>
</button>
</button>
<a
class=
"navbar-brand"
><b>
Halalan PH
</b></a>
<a
class=
"navbar-brand"
><b>
Halalan PH
</b></a>
</div>
</div>
...
@@ -16,10 +13,12 @@
...
@@ -16,10 +13,12 @@
<!-- Collect the nav links, forms, and other content for toggling -->
<!-- Collect the nav links, forms, and other content for toggling -->
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav navbar-right"
>
<ul
class=
"nav navbar-nav navbar-right"
>
<li>
<%=
link_to
"Home"
,
root_path
%>
</li>
<li>
<%=
link_to
"Home"
,
root_path
%>
</li>
<li>
<%=
link_to
"Candidates"
,
admin_candidates_path
%>
</li>
<li>
<%=
link_to
"Candidates"
,
admin_candidates_path
%>
</li>
<li>
<%=
link_to
"Positions"
,
admin_positions_path
%>
</li>
<li>
<%=
link_to
"Positions"
,
admin_positions_path
%>
</li>
<li><a
href=
"/voting/votes"
>
Vote now
</li>
<li><a
href=
"/voting/votes"
>
Vote now
</li>
<li>
<a
href=
"/about"
>
About
</a>
</li>
<%
if
user_signed_in?
%>
<%
if
user_signed_in?
%>
<li
class=
"dropdown"
>
<li
class=
"dropdown"
>
...
...
Halalan/app/views/layouts/application.html.erb
View file @
e955b633
<!DOCTYPE html>
<!DOCTYPE html>
<html>
<html>
<head>
<head>
<title>
HalalanPH
</title>
<title>
Halalan
PH
</title>
<%=
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
%>
...
...
Halalan/app/views/pages/about.html.erb
0 → 100644
View file @
e955b633
<%
provide
(
:about
,
"active"
)
%>
<%
provide
(
:title
,
"About"
)
%>
<div
class=
"container"
>
<div
class=
"row"
>
<div
class=
"col-md-7"
>
<h1
class=
"heading"
>
About The Developers
</h1>
<h3><a
href=
"/about/evilla"
>
Evilla, Galen Solo E.
</a></h3>
<h3><a
href=
"/about/gomez"
>
Gomez, Feliz Marie B.
</a></h3>
<h3><a
href=
"/about/guian"
>
Guian, April D.
</a></h3>
<h3><a
href=
"/about/principe"
>
Principe, Jasmine Nicole G.
</a></h3>
<hr>
<footer>
<p>
©
2016 ParkingLotMIS21 Inc.
</p>
</footer>
</div>
Halalan/app/views/pages/index.html.erb
View file @
e955b633
<h1>
HalalanPH
</h1>
<h1>
Halalan
PH
</h1>
<%
if
user_signed_in?
%>
<%
if
user_signed_in?
%>
<%
case
current_user
.
role
%>
<%
case
current_user
.
role
%>
...
...
Halalan/config/routes.rb
View file @
e955b633
...
@@ -8,6 +8,13 @@ Rails.application.routes.draw do
...
@@ -8,6 +8,13 @@ Rails.application.routes.draw do
get
"/profile"
,
to:
"users/profile#index"
get
"/profile"
,
to:
"users/profile#index"
get
"/voting/new/:id"
,
to:
"voting/votes#new"
get
"/voting/new/:id"
,
to:
"voting/votes#new"
get
"/about"
=>
"pages#about"
,
as: :about
get
"/about/evilla"
,
to:
"about#evilla"
get
"/about/gomez"
,
to:
"about#gomez"
get
"/about/guian"
,
to:
"about#guian"
get
"/about/principe"
,
to:
"about#principe"
namespace
:voting
do
namespace
:voting
do
resources
:votes
resources
:votes
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