Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
venjob_nth
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
3
Merge Requests
3
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ngô Trung Hưng
venjob_nth
Commits
c4382f23
Commit
c4382f23
authored
Aug 03, 2020
by
Ngô Trung Hưng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix top page
parent
4b00c948
Pipeline
#771
canceled with stages
in 0 seconds
Changes
6
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
27 deletions
+23
-27
app/helpers/application_helper.rb
+3
-6
app/views/home/_box_five_job.html.erb
+4
-6
app/views/home/_box_nine_city.html.erb
+3
-3
app/views/home/_box_nine_industries.html.erb
+3
-3
app/views/home/index.html.erb
+8
-7
app/views/layouts/_header.html.erb
+2
-2
No files found.
app/helpers/application_helper.rb
View file @
c4382f23
# frozen_string_literal
# frozen_string_literal
: true
# Application Helper
module
ApplicationHelper
module
ApplicationHelper
def
full_title
(
page_title
)
def
full_title
(
page_title
)
base_title
=
'VenJob'
base_title
=
'VenJob'
if
page_title
.
empty?
page_title
.
empty?
?
base_title
:
"
#{
base_title
}
|
#{
page_title
}
"
base_title
else
"
#{
base_title
}
|
#{
page_title
}
"
end
end
end
end
end
app/views/home/_box_five_job.html.erb
View file @
c4382f23
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
<div
class=
"col-sm-12 d-block d-sm-none"
>
<div
class=
"col-sm-12 d-block d-sm-none"
>
<%
if
cru
==
1
%>
<%
if
cru
==
1
%>
<div
class=
"link_favorite_top block_link_favorite md"
>
<div
class=
"link_favorite_top block_link_favorite md"
>
<span>
<%=
link_to
'<i class="far fa-heart"></i>'
.
html_safe
,
'#'
,
class:
'link_favorite'
%>
<span>
<span>
<%=
link_to
'<i class="far fa-heart"></i>'
.
html_safe
,
'#'
,
class:
'link_favorite'
%>
<span>
</div>
</div>
<%
else
%>
<%
else
%>
<div
class=
"block_click_favorite link_favorite_top "
>
<div
class=
"block_click_favorite link_favorite_top "
>
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
<div
class=
"col-sm-10 col-md-9 col-lg-10"
>
<div
class=
"col-sm-10 col-md-9 col-lg-10"
>
<div
class=
"box_info"
>
<div
class=
"box_info"
>
<div
class=
"lol"
>
<div
class=
"lol"
>
<%=
link_to
val
.
name
,
"/detail/
#{
val
.
id
}
"
,
class:
'job_name'
%>
<%=
link_to
val
.
name
,
'#'
,
class:
'job_name'
%>
</div>
</div>
<div
class=
"cop"
>
<div
class=
"cop"
>
<h5
class=
"box_info_copany_name"
><i
class=
"far fa-building"
></i>
<%=
val
.
company
.
name
%>
</h5>
<h5
class=
"box_info_copany_name"
><i
class=
"far fa-building"
></i>
<%=
val
.
company
.
name
%>
</h5>
...
@@ -44,10 +44,10 @@
...
@@ -44,10 +44,10 @@
<%
if
cru
==
1
%>
<%
if
cru
==
1
%>
<div
class=
"box_link_favotite"
>
<div
class=
"box_link_favotite"
>
<div
class=
"block_link_favorite lg"
>
<div
class=
"block_link_favorite lg"
>
<span><i
class=
"far fa-heart"
></i>
<%=
link_to
'Yêu thích'
.
html_safe
,
'#'
,
class:
'link_favorite'
%>
<span>
<span><i
class=
"far fa-heart"
></i>
<%=
link_to
'Yêu thích'
.
html_safe
,
'#'
,
class:
'link_favorite'
%>
<span>
</div>
</div>
<div
class=
"block_link_favorite md"
>
<div
class=
"block_link_favorite md"
>
<span>
<%=
link_to
'<i class="far fa-heart"></i>'
.
html_safe
,
'#'
,
class:
'link_favorite'
%>
<span>
<span>
<%=
link_to
'<i class="far fa-heart"></i>'
.
html_safe
,
'#'
,
class:
'link_favorite'
%>
<span>
</div>
</div>
</div>
</div>
<%
else
%>
<%
else
%>
...
@@ -67,5 +67,3 @@
...
@@ -67,5 +67,3 @@
</div>
</div>
</div>
</div>
</div>
</div>
app/views/home/_box_nine_city.html.erb
View file @
c4382f23
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
<div
class=
"col-lg-4 col-md-4 col-sm-6 col-xs-12"
>
<div
class=
"col-lg-4 col-md-4 col-sm-6 col-xs-12"
>
<div
class=
"box_info_city"
>
<div
class=
"box_info_city"
>
<div
class=
"ct_name"
>
<div
class=
"ct_name"
>
<%=
link_to
city
.
name
,
'#'
,
class:
'link_ct'
%>
<%=
link_to
city
.
name
,
'#'
,
class:
'link_ct'
%>
</div>
</div>
<div
class=
"ct_jobs_count"
>
<div
class=
"ct_jobs_count"
>
<%=
link_to
"
#{
city
.
jobs
.
count
}
công việc"
,
'#'
,
class:
'link_ct'
%>
<%=
link_to
"
#{
city
.
jobs
.
count
}
công việc"
,
'#'
,
class:
'link_ct'
%>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<div
class=
"col-lg-12"
>
<div
class=
"col-lg-12"
>
<div
class=
"box_info_city"
>
<div
class=
"box_info_city"
>
<div
class=
"ct_name"
>
<div
class=
"ct_name"
>
<%=
link_to
'Xem Thêm'
,
'#'
,
class:
'link_ct'
%>
<%=
link_to
'Xem Thêm'
,
'#'
,
class:
'link_ct'
%>
</div>
</div>
<div
class=
"ct_jobs_count"
>
<div
class=
"ct_jobs_count"
>
<i
class=
"fas fa-ellipsis-h"
></i>
<i
class=
"fas fa-ellipsis-h"
></i>
...
...
app/views/home/_box_nine_industries.html.erb
View file @
c4382f23
...
@@ -8,10 +8,10 @@
...
@@ -8,10 +8,10 @@
<div
class=
"col-lg-4 col-md-4 col-sm-6 col-xs-12"
>
<div
class=
"col-lg-4 col-md-4 col-sm-6 col-xs-12"
>
<div
class=
"box_info_city"
>
<div
class=
"box_info_city"
>
<div
class=
"ct_name"
>
<div
class=
"ct_name"
>
<%=
link_to
industry
.
name
,
'#'
,
class:
'link_ct'
%>
<%=
link_to
industry
.
name
,
'#'
,
class:
'link_ct'
%>
</div>
</div>
<div
class=
"ct_jobs_count"
>
<div
class=
"ct_jobs_count"
>
<%=
link_to
"
#{
industry
.
jobs
.
count
}
công việc"
,
'#'
,
class:
'link_ct'
%>
<%=
link_to
"
#{
industry
.
jobs
.
count
}
công việc"
,
'#'
,
class:
'link_ct'
%>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
<div
class=
"col-lg-12"
>
<div
class=
"col-lg-12"
>
<div
class=
"box_info_city"
>
<div
class=
"box_info_city"
>
<div
class=
"ct_name"
>
<div
class=
"ct_name"
>
<%=
link_to
'Xem Thêm'
,
'#'
,
class:
'link_ct'
%>
<%=
link_to
'Xem Thêm'
,
'#'
,
class:
'link_ct'
%>
</div>
</div>
<div
class=
"ct_jobs_count"
>
<div
class=
"ct_jobs_count"
>
<i
class=
"fas fa-ellipsis-h"
></i>
<i
class=
"fas fa-ellipsis-h"
></i>
...
...
app/views/home/index.html.erb
View file @
c4382f23
<%
provide
(
:title
,
'Trang chủ'
)
%>
<%
provide
(
:title
,
'Trang chủ'
)
%>
<%=
render
'home/banner_and_search'
%>
<%=
render
'home/banner_and_search'
%>
<div
class=
"padding_index"
></div>
<div
class=
"padding_index"
></div>
<div
class=
"box_text_five_jobs"
>
<%
unless
@job_count
.
nil?
%>
<div
class=
"box_text_five_jobs"
>
<span>
Năm công việc mới nhất dành cho bạn
</span>
<span>
Năm công việc mới nhất dành cho bạn
</span>
</div>
</div>
<%=
render
'box_five_job'
%>
<%=
render
'box_five_job'
%>
<%=
render
'box_nine_city'
%>
<%=
render
'box_nine_city'
%>
<%=
render
'box_nine_industries'
%>
<%=
render
'box_nine_industries'
%>
<%=
render
'shared/scroll_top'
%>
<%=
render
'shared/scroll_top'
%>
\ No newline at end of file
<%
end
%>
app/views/layouts/_header.html.erb
View file @
c4382f23
<header
class=
"cus_header"
>
<header
class=
"cus_header"
>
<div
class=
"header_top"
>
<div
class=
"header_top"
>
<div
class=
"header_top_logo"
>
<div
class=
"header_top_logo"
>
<%=
link_to
image_tag
(
"logo.png"
,
alt:
"logo"
,
class:
"logo_header"
),
'/'
%>
<%=
link_to
image_tag
(
'logo.png'
,
alt:
'logo'
,
class:
'logo_header'
),
'/'
%>
</div>
</div>
<input
class=
"check-nav-mobile"
type=
"checkbox"
name=
""
id=
"mobile-nav"
hidden
>
<input
class=
"check-nav-mobile"
type=
"checkbox"
name=
""
id=
"mobile-nav"
hidden
>
<label
for=
"mobile-nav"
class=
"lbn-nav"
>
&
#9776
</label>
<label
for=
"mobile-nav"
class=
"lbn-nav"
>
&
#9776
</label>
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
<%# mobile %>
<%# mobile %>
<div class = "menu__mobile">
<div class = "menu__mobile">
<div class = "content_menu_mobile">
<div class = "content_menu_mobile">
<%= link_to image_tag(
"avatar.png", alt: "avatar", class: "avatar_manu"
), '#' %>
<%= link_to image_tag(
'avatar.png', alt: 'avatar', class: 'avatar_manu'
), '#' %>
<div class = "menu_mobile_vertical">
<div class = "menu_mobile_vertical">
<ul class = "list_menu_mobile_vertical">
<ul class = "list_menu_mobile_vertical">
<li class = "item_menu_mobile_vertical">
<li class = "item_menu_mobile_vertical">
...
...
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