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
8a407556
Commit
8a407556
authored
Aug 12, 2020
by
Ngô Trung Hưng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete test
parent
34942df5
Pipeline
#888
canceled with stages
in 0 seconds
Changes
14
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
41 additions
and
84 deletions
+41
-84
.gitignore
+1
-0
app/assets/stylesheets/custom.scss
+9
-5
app/views/devise/passwords/new.html.erb
+28
-12
app/views/devise/sessions/new.html.erb
+3
-0
test/controllers/city_controller_test.rb
+0
-9
test/controllers/error_controller_test.rb
+0
-7
test/controllers/home_controller_test.rb
+0
-9
test/controllers/industry_controller_test.rb
+0
-9
test/controllers/job_controller_test.rb
+0
-7
test/controllers/registrations_controller_test.rb
+0
-7
test/controllers/users_controller_test.rb
+0
-7
test/decorators/job_decorator_test.rb
+0
-4
test/decorators/registration_decorator_test.rb
+0
-4
test/decorators/user_decorator_test.rb
+0
-4
No files found.
.gitignore
View file @
8a407556
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
/yarn-error.log
/yarn-error.log
/public/assets
/public/assets
/public/uploads
.byebug_history
.byebug_history
.env
.env
# Ignore master key for decrypting credentials and more.
# Ignore master key for decrypting credentials and more.
...
...
app/assets/stylesheets/custom.scss
View file @
8a407556
...
@@ -603,9 +603,7 @@ $main-color: #23303D;
...
@@ -603,9 +603,7 @@ $main-color: #23303D;
transform
:
scale
(
1
.2
);
transform
:
scale
(
1
.2
);
font-weight
:
500
;
font-weight
:
500
;
}
}
// .box-search-tablet {
// display: block;
// }
}
}
@media
only
screen
and
(
max-width
:
660px
)
{
@media
only
screen
and
(
max-width
:
660px
)
{
...
@@ -1352,8 +1350,13 @@ $main-color: #23303D;
...
@@ -1352,8 +1350,13 @@ $main-color: #23303D;
.new_user
{
.new_user
{
width
:
100%
;
width
:
100%
;
}
}
@media
only
screen
and
(
min-width
:
992px
)
{
.box_form
{
width
:
80%
!
important
;
}
}
.box_form
{
.box_form
{
width
:
8
0%
;
width
:
10
0%
;
margin
:
auto
;
margin
:
auto
;
margin-top
:
10vh
;
margin-top
:
10vh
;
margin-bottom
:
35vh
;
margin-bottom
:
35vh
;
...
@@ -1515,6 +1518,6 @@ $main-color: #23303D;
...
@@ -1515,6 +1518,6 @@ $main-color: #23303D;
.link_ct.pdf
{
.link_ct.pdf
{
color
:
rgb
(
134
,
94
,
18
);
color
:
rgb
(
134
,
94
,
18
);
}
}
#edit_user
{
#edit_user
{
margin
:
auto
;
margin
:
auto
;
}
}
\ No newline at end of file
app/views/devise/passwords/new.html.erb
View file @
8a407556
<h2>
Forgot your password?
</h2>
<div
class=
"container"
>
<div
class=
"box_form"
>
<%=
form_for
(
resource
,
as:
resource_name
,
url:
password_path
(
resource_name
),
html:
{
method: :post
})
do
|
f
|
%>
<div
class=
"row"
>
<div
class=
"col-lg-12"
>
<h2
style=
"text-align: center"
>
Forgot your password?
</h2><hr>
</div>
<%=
form_for
(
resource
,
as:
resource_name
,
url:
password_path
(
resource_name
),
html:
{
method: :post
})
do
|
f
|
%>
<div
class=
"row"
>
<div
class=
"col-md-3"
></div>
<div
class=
"col-md-9"
>
<%=
render
"devise/shared/error_messages"
,
resource:
resource
%>
<%=
render
"devise/shared/error_messages"
,
resource:
resource
%>
<div
class=
"field"
>
<%=
f
.
label
:email
%>
<br
/>
<%=
f
.
email_field
:email
,
autofocus:
true
,
autocomplete:
"email"
%>
</div>
</div>
</div><br>
<div
class=
"actions"
>
<div
class=
"row"
>
<%=
f
.
submit
"Send me reset password instructions"
%>
<div
class=
"col-md-2"
>
<%=
f
.
label
:email
%>
</div>
<div
class=
"col-md-10"
>
<%=
f
.
email_field
:email
,
autofocus:
true
,
autocomplete:
'email'
,
class:
'form-control'
%>
</div>
</div><br>
<div
class=
"row"
>
<div
class=
"col-lg-6"
></div>
<div
class=
"col-lg-6"
>
<%=
f
.
submit
"Send me reset password instructions"
,
class:
'btn btn-info btn-info-custom'
%>
</div>
</div><br>
<%
end
%>
</div>
</div>
</div>
<
%
end
%
>
<
/div
>
<%=
render
"devise/shared/links"
%>
app/views/devise/sessions/new.html.erb
View file @
8a407556
...
@@ -40,6 +40,9 @@
...
@@ -40,6 +40,9 @@
</div>
</div>
<div
class=
"col-lg-6"
>
<div
class=
"col-lg-6"
>
<%=
f
.
submit
'Login'
,
class:
'btn btn-info btn-info-custom'
%>
<%=
f
.
submit
'Login'
,
class:
'btn btn-info btn-info-custom'
%>
<div
style=
"text-align: center; margin-top: 10px"
>
<%=
link_to
"Forgot your password?"
,
new_password_path
(
resource_name
),
class:
'link_ct'
%>
<br
/>
</div>
</div>
</div>
</div><br>
</div><br>
<%
end
%>
<%
end
%>
...
...
test/controllers/city_controller_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
CityControllerTest
<
ActionDispatch
::
IntegrationTest
test
"should get index"
do
get
city_index_url
assert_response
:success
end
end
test/controllers/error_controller_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
ErrorControllerTest
<
ActionDispatch
::
IntegrationTest
# test "the truth" do
# assert true
# end
end
test/controllers/home_controller_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
HomeControllerTest
<
ActionDispatch
::
IntegrationTest
test
"should get index"
do
get
home_index_url
assert_response
:success
end
end
test/controllers/industry_controller_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
IndustryControllerTest
<
ActionDispatch
::
IntegrationTest
test
"should get index"
do
get
industry_index_url
assert_response
:success
end
end
test/controllers/job_controller_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
JobControllerTest
<
ActionDispatch
::
IntegrationTest
# test "the truth" do
# assert true
# end
end
test/controllers/registrations_controller_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
RegistrationsControllerTest
<
ActionDispatch
::
IntegrationTest
# test "the truth" do
# assert true
# end
end
test/controllers/users_controller_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
UsersControllerTest
<
ActionDispatch
::
IntegrationTest
# test "the truth" do
# assert true
# end
end
test/decorators/job_decorator_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
JobDecoratorTest
<
Draper
::
TestCase
end
test/decorators/registration_decorator_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
RegistrationDecoratorTest
<
Draper
::
TestCase
end
test/decorators/user_decorator_test.rb
deleted
100644 → 0
View file @
34942df5
require
'test_helper'
class
UserDecoratorTest
<
Draper
::
TestCase
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