Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VeNJob
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
1
Merge Requests
1
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
Tô Ngọc Ánh
VeNJob
Commits
5d771739
Commit
5d771739
authored
Aug 18, 2020
by
Tô Ngọc Ánh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
split file ribbon view
parent
9e1d5776
Pipeline
#947
canceled with stages
in 0 seconds
Changes
5
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
21 additions
and
48 deletions
+21
-48
app/views/applied_jobs/_ribbon_active.html.erb
+6
-0
app/views/applied_jobs/_ribbon_disable.html.erb
+6
-0
app/views/applied_jobs/confirm.html.erb
+3
-16
app/views/applied_jobs/finish.html.erb
+3
-16
app/views/applied_jobs/new.html.erb
+3
-16
No files found.
app/views/applied_jobs/_ribbon_active.html.erb
0 → 100644
View file @
5d771739
<div
class=
"col bg-success text-center ribbon"
>
<h5
class=
"text-white my-2"
>
<span
class=
"badge badge-light"
>
<%=
stt
%>
</span>
<%=
name
%>
</h5>
</div>
app/views/applied_jobs/_ribbon_disable.html.erb
0 → 100644
View file @
5d771739
<div
class=
"col bg-light text-center"
>
<h5
class=
"text-muted my-2"
>
<span
class=
"badge badge-success"
>
<%=
stt
%>
</span>
<%=
name
%>
</h5>
</div>
app/views/applied_jobs/confirm.html.erb
View file @
5d771739
<div
class=
"row my-5 border-top border-bottom"
>
<div
class=
"col bg-light text-center"
>
<h5
class=
"text-muted my-2"
>
<span
class=
"badge badge-success"
>
1
</span>
New
</h5>
</div>
<div
class=
"col bg-success text-center ribbon"
>
<h5
class=
"text-white my-2"
>
<span
class=
"badge badge-light"
>
2
</span>
Confirm
</h5>
</div>
<div
class=
"col bg-light text-center"
>
<h5
class=
"text-muted my-2"
>
<span
class=
"badge badge-success"
>
3
</span>
Finish
</h5>
</div>
<%=
render
partial:
'applied_jobs/ribbon_disable'
,
locals:
{
stt:
1
,
name:
'New'
}
%>
<%=
render
partial:
'applied_jobs/ribbon_active'
,
locals:
{
stt:
2
,
name:
'Confirm'
}
%>
<%=
render
partial:
'applied_jobs/ribbon_disable'
,
locals:
{
stt:
3
,
name:
'Finish'
}
%>
</div>
<div
class=
"row"
>
<div
class=
"col-md-7 col-sm-12 mx-auto"
>
...
...
app/views/applied_jobs/finish.html.erb
View file @
5d771739
<div
class=
"row my-5 border-top border-bottom"
>
<div
class=
"col bg-light text-center"
>
<h5
class=
"text-muted my-2"
>
<span
class=
"badge badge-success"
>
1
</span>
New
</h5>
</div>
<div
class=
"col bg-light text-center"
>
<h5
class=
"text-muted my-2"
>
<span
class=
"badge badge-success"
>
2
</span>
Confirm
</h5>
</div>
<div
class=
"col bg-success text-center ribbon"
>
<h5
class=
"text-white my-2"
>
<span
class=
"badge badge-light"
>
3
</span>
Finish
</h5>
</div>
<%=
render
partial:
'applied_jobs/ribbon_disable'
,
locals:
{
stt:
1
,
name:
'New'
}
%>
<%=
render
partial:
'applied_jobs/ribbon_disable'
,
locals:
{
stt:
2
,
name:
'Confirm'
}
%>
<%=
render
partial:
'applied_jobs/ribbon_active'
,
locals:
{
stt:
3
,
name:
'Finish'
}
%>
</div>
<h3
class=
"text-center mt-5"
>
Thank you for apply.
</h3>
<br>
...
...
app/views/applied_jobs/new.html.erb
View file @
5d771739
<div
class=
"row my-5 border-top border-bottom"
>
<div
class=
"col bg-success text-center ribbon"
>
<h5
class=
"text-white my-2"
>
<span
class=
"badge badge-light"
>
1
</span>
New
</h5>
</div>
<div
class=
"col bg-light text-center"
>
<h5
class=
"text-muted my-2"
>
<span
class=
"badge badge-success"
>
2
</span>
Confirm
</h5>
</div>
<div
class=
"col bg-light text-center"
>
<h5
class=
"text-muted my-2"
>
<span
class=
"badge badge-success"
>
3
</span>
Finish
</h5>
</div>
<%=
render
partial:
'applied_jobs/ribbon_active'
,
locals:
{
stt:
1
,
name:
'New'
}
%>
<%=
render
partial:
'applied_jobs/ribbon_disable'
,
locals:
{
stt:
2
,
name:
'Confirm'
}
%>
<%=
render
partial:
'applied_jobs/ribbon_disable'
,
locals:
{
stt:
3
,
name:
'Finish'
}
%>
</div>
<%=
render
'applied_jobs/errors'
if
flash
[
:error
].
present?
%>
<div
class=
"apply-form mx-5 px-5"
>
...
...
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