-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add sessions controller and login form
- Loading branch information
Showing
5 changed files
with
50 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
// Place all the styles related to the sessions controller here. | ||
// They will automatically be included in application.css. | ||
// You can use Sass (SCSS) here: https://sass-lang.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
class SessionsController < ApplicationController | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
module SessionsHelper | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,36 @@ | ||
<h3>Welcome to Pretro!</h3> | ||
<h2 class="ui centered header">Welcome to Pretro!</h2> | ||
|
||
<div class="ui container"> | ||
<div class="ui placeholder segment"> | ||
<div class="ui two column very relaxed stackable grid"> | ||
<div class="column"> | ||
<div class="ui form"> | ||
<div class="field"> | ||
<label>Username</label> | ||
<div class="ui left icon input"> | ||
<input type="text" placeholder="Username"> | ||
<i class="user icon"></i> | ||
</div> | ||
</div> | ||
<div class="field"> | ||
<label>Password</label> | ||
<div class="ui left icon input"> | ||
<input type="password"> | ||
<i class="lock icon"></i> | ||
</div> | ||
</div> | ||
<div class="ui blue submit button">Login</div> | ||
</div> | ||
</div> | ||
<div class="middle aligned column"> | ||
<div class="ui big button"> | ||
<i class="signup icon"></i> | ||
Sign Up | ||
</div> | ||
</div> | ||
</div> | ||
<div class="ui vertical divider"> | ||
Or | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
require 'test_helper' | ||
|
||
class SessionsControllerTest < ActionDispatch::IntegrationTest | ||
# test "the truth" do | ||
# assert true | ||
# end | ||
end |