Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <style>
- #account-settings {
- float: right;
- background: linear-gradient(270deg, rgba(241,255,0,0.35) 0%, rgba(170,0,255,0.8) 82%);
- padding: 0px 20px 0px 10px;
- z-index:-1;
- }
- #account-settings a {
- position: relative;
- z-index: 5;
- text-decoration: none;
- font-size:x-large;
- color:#ffffff;
- padding-right:5px;
- }
- #main-background{
- padding:15px;
- }
- </style>
- <div id="account-settings">
- @{
- if (!Context.User.Identity.IsAuthenticated)
- {
- @Html.ActionLink("Sign up", "Login", "Account")
- }
- else
- {
- @Html.ActionLink("Welcome " + Context.User.Identity.Name, "Details", "ApplicationUsers", new { id = Context.User.Identity.Name })
- @Html.ActionLink("Log out", "LogOff", "Account")
- }
- }
- </div>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement