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
b5e99c92
Commit
b5e99c92
authored
Jul 20, 2016
by
Jasmine Principe
Browse files
Options
Browse Files
Download
Plain Diff
c and p index
parents
439dbf3e
3a7c9976
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
ver1.css.scss
Halalan-trial/app/assets/stylesheets/ver1.css.scss
+0
-8
index.html.erb
Halalan-trial/app/views/admin/candidates/index.html.erb
+8
-0
_navbar.html.erb
Halalan-trial/app/views/layouts/_navbar.html.erb
+1
-1
index.html.erb
Halalan-trial/app/views/pages/index.html.erb
+1
-0
No files found.
Halalan-trial/app/assets/stylesheets/ver1.css.scss
View file @
b5e99c92
.box
{
width
:
400px
;
height
:
300px
;
background-color
:
white
;
border
:
none
;
padding
:
10px
;
float
:
left
;
}
table
{
width
:
100%
;
...
...
Halalan-trial/app/views/admin/candidates/index.html.erb
View file @
b5e99c92
...
...
@@ -11,7 +11,15 @@
<%
@positions
.
each
do
|
p
|
%>
<hr>
<h3><center>
<%=
p
.
name
%>
</center></h3>
<
<<<<<<
HEAD
<
table
>
=======
<table
class=
"table table-hover"
>
<thead>
<th
witdth =
"40%"
><center>
Name
</center></th>
<th><center>
Slogan
</center></th>
</thead>
>>>>>>> 3a7c99764459a08d3b3963ee6e918b827b0e4445
<%
p
.
candidates
.
each
do
|
c
|
%>
<tr>
<td>
...
...
Halalan-trial/app/views/layouts/_navbar.html.erb
View file @
b5e99c92
...
...
@@ -14,9 +14,9 @@
<div
class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul
class=
"nav navbar-nav"
>
<li
class=
"
<%=
yield
(
:home
)
%>
"
>
<%=
link_to
"Home"
,
root_path
%>
</li>
<li
class=
"
<%=
yield
(
:about
)
%>
"
>
<%=
link_to
"About"
,
about_path
%>
</li>
<li
class=
"
<%=
yield
(
:candidate
)
%>
"
>
<%=
link_to
"Candidates"
,
admin_candidates_path
%>
</li>
<li
class=
"
<%=
yield
(
:position
)
%>
"
>
<%=
link_to
"Positions"
,
admin_positions_path
%>
</li>
<li
class=
"
<%=
yield
(
:about
)
%>
"
>
<%=
link_to
"About"
,
about_path
%>
</li>
</ul>
<ul
class=
"nav navbar-nav navbar-right"
>
<%
if
user_signed_in?
%>
...
...
Halalan-trial/app/views/pages/index.html.erb
View file @
b5e99c92
...
...
@@ -32,6 +32,7 @@
</tr>
<%
end
%>
</table>
<hr>
<%
end
%>
</div>
</div>
...
...
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