-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4 from GSA/ESCxxxx_change_navigation_header
Add Login form
- Loading branch information
Showing
4 changed files
with
57 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
19 changes: 19 additions & 0 deletions
19
ASP Core MVC Template/ASP Core MVC Template/Controllers/LoginController.cs
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,19 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
using System.Threading.Tasks; | ||
using Microsoft.AspNetCore.Mvc; | ||
|
||
// For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 | ||
|
||
namespace ASPCoreMVCTemplate.Controllers | ||
{ | ||
public class LoginController : Controller | ||
{ | ||
// GET: /<controller>/ | ||
public IActionResult Index() | ||
{ | ||
return View(); | ||
} | ||
} | ||
} |
34 changes: 34 additions & 0 deletions
34
ASP Core MVC Template/ASP Core MVC Template/Views/Login/Index.cshtml
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,34 @@ | ||
@* | ||
For more information on enabling MVC for empty projects, visit https://go.microsoft.com/fwlink/?LinkID=397860 | ||
*@ | ||
@{ | ||
ViewData["Title"] = "WebBill"; | ||
} | ||
<div class="usa-grid"> | ||
<form class="usa-form"> | ||
<fieldset> | ||
<legend class="usa-legend usa-drop_text">Sign in</legend> | ||
<span>or <a href="javascript:void(0);">create an account</a></span> | ||
<label class="usa-label" for="username">Email address</label> | ||
<input class="usa-input" id="username" name="username" type="text" autocapitalize="off" autocorrect="off"> | ||
<label class="usa-label" for="password-sign-in">Password</label> | ||
<input class="usa-input" id="password-sign-in" name="password" type="password"> | ||
<p class="usa-form-note"> | ||
<a title="Show password" href="javascript:void(0);" | ||
class="usa-show_password" | ||
aria-controls="password-sign-in">Show password</a> | ||
</p> | ||
<input class="usa-button" type="submit" value="Sign in"> | ||
<p> | ||
<a href="javascript:void(0);" title="Forgot username"> | ||
Forgot username? | ||
</a> | ||
</p> | ||
<p> | ||
<a href="javascript:void(0);" title="Forgot password"> | ||
Forgot password? | ||
</a> | ||
</p> | ||
</fieldset> | ||
</form> | ||
</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