Commit 8a407556 by Ngô Trung Hưng

delete test

parent 34942df5
Pipeline #888 canceled with stages
in 0 seconds
...@@ -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.
......
...@@ -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: 80%; width: 100%;
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
<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" %>
...@@ -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 %>
......
require 'test_helper'
class CityControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get city_index_url
assert_response :success
end
end
require 'test_helper'
class ErrorControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
require 'test_helper'
class HomeControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get home_index_url
assert_response :success
end
end
require 'test_helper'
class IndustryControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get industry_index_url
assert_response :success
end
end
require 'test_helper'
class JobControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
require 'test_helper'
class RegistrationsControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
require 'test_helper'
class UsersControllerTest < ActionDispatch::IntegrationTest
# test "the truth" do
# assert true
# end
end
require 'test_helper'
class JobDecoratorTest < Draper::TestCase
end
require 'test_helper'
class RegistrationDecoratorTest < Draper::TestCase
end
require 'test_helper'
class UserDecoratorTest < Draper::TestCase
end
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment