Skip to content

Commit

Permalink
Layout
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagourias committed Feb 8, 2019
1 parent 76aabda commit 1178ed4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 36 deletions.
8 changes: 7 additions & 1 deletion app/assets/stylesheets/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,13 @@ form[role=login] > div {
.form-links a {
color: #fff;
}

.customRow{
display: flex;
width: 100%;
}
.displaybck{
display: block !important;
}



Expand Down
44 changes: 9 additions & 35 deletions app/views/sessions/new.html.erb
Original file line number Diff line number Diff line change
@@ -1,35 +1,10 @@
<%= form_with url: sessions_path, scope: :user, local: true do |f| %>







<!-- Material Design Bootstrap -->
<link href="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.7.1/css/mdb.min.css" rel="stylesheet">

<!-- Bootstrap tooltips -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.4/umd/popper.min.js"></script>
<!-- Bootstrap core JavaScript -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.2.1/js/bootstrap.min.js"></script>
<!-- MDB core JavaScript -->
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mdbootstrap/4.7.1/js/mdb.min.js"></script>















<header class="business-header bg-overlay ">
<div class="container animated fadeIn ">
<div class="row">
Expand Down Expand Up @@ -70,20 +45,19 @@
<a href="#">Esqueceu sua senha?</a>
</div>

<div class="spacing_buttons">
<%= f.submit 'Entrar', class: 'btn btn-success btn-block block' %>
</div>

<div class="spacing_buttons">
<%= link_to "", auth_at_provider_path(:provider => :facebook), class: "btn btn-block btn-social btn-facebook fab fa-facebook whitef" %>
<div class="spacing_buttons" style="width: 100%">
<%= f.submit 'Entrar', class: 'btn btn-success btn-block block displaybck'%>
</div>
<div class="customRow spacing_buttons">
<div class="" style="width: 50%; padding-right: 1%;">
<%= link_to "", auth_at_provider_path(:provider => :facebook), class: "btn btn-block btn-social btn-facebook fab fa-facebook whitef" %>
</div>

<div class="spacing_buttons">
<%= link_to "", auth_at_provider_path(:provider => :google), class: "btn btn-block btn-social btn-google fab fa-google whitef" %>
<div class="" style="width: 50%; padding-left: 1%;">
<%= link_to "", auth_at_provider_path(:provider => :google), class: "btn btn-block btn-social btn-google fab fa-google whitef" %>
</div>
</div>



<hr class="two">
<div class="d-flex justify-content-center links" style="margin-top: 3%;">
<%= link_to 'Registrar', new_user_path, class: 'btn btn-danger btn-block' %>
Expand Down
Binary file added messenger.deb
Binary file not shown.

0 comments on commit 1178ed4

Please sign in to comment.