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
c4e59d22
Commit
c4e59d22
authored
Jul 19, 2016
by
Wills Gomez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
navigation bar WIP
parent
c241defd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
_navbar.html.erb
Halalan/app/views/layouts/_navbar.html.erb
+13
-5
cd
Halalan/cd
+0
-0
final_project
Halalan/final_project
+1
-0
No files found.
Halalan/app/views/layouts/_navbar.html.erb
View file @
c4e59d22
...
@@ -7,21 +7,29 @@
...
@@ -7,21 +7,29 @@
<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>
<span
class=
"icon-bar"
></span>
</button>
</button>
<a
class=
"navbar-brand"
><b>
HalalanPH
</b></a>
<a
class=
"navbar-brand"
><b>
Halalan
PH
</b></a>
</div>
</div>
<!-- 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
class=
"active"
>
<%=
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>
<%
if
user_signed_in?
%>
<%
if
user_signed_in?
%>
<li>
<%=
link_to
"Logout"
,
destroy_user_session_path
,
method: :delete
%>
</li>
<li
class=
"dropdown"
>
<li>
Hello,
<%=
current_user
.
first_name
%>
!
</li>
<a
href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
>
Hello,
<%=
current_user
.
first_name
%>
!
<b
class=
"caret"
></b></a>
<li>
<a
href=
"/profile"
>
My Profile
</a>
</li>
<ul
class=
"dropdown-menu"
>
<li>
<a
href=
"/profile"
>
My Profile
</a>
</li>
<li>
<%=
link_to
"Logout"
,
destroy_user_session_path
,
method: :delete
%>
</li>
</u1>
</li>
<%
else
%>
<%
else
%>
<li>
<%=
link_to
"Log-in"
,
new_user_session_path
%>
</li>
<li>
<%=
link_to
"Log-in"
,
new_user_session_path
%>
</li>
<li>
<%=
link_to
"Register"
,
new_user_registration_path
%>
</li>
<li>
<%=
link_to
"Register"
,
new_user_registration_path
%>
</li>
...
...
Halalan/cd
0 → 100644
View file @
c4e59d22
final_project
@
c241defd
Subproject commit c241defdc6f70a4a33df309c2e1cc91982c37d1a
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