Source

WM2MVC / after / after / after / Views / Shared / _Layout.cshtml

Full commit
<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="utf-8" />
        <title>@ViewBag.Title</title> @* Edit Here *@
        <link href="@Href("~/Content/Site.css")" rel="stylesheet" />
        <link href="@Href("~/favicon.ico")" rel="shortcut icon" type="image/x-icon" />
    </head>
    <body>
    <div id="banner">
            <p class="site-title"><a href="@Url.Action("Default", "Gallery")">Photo Gallery</a></p>
            <ul id="menu">
                <li class="galleries"><a href="@Url.Action("Default", "Gallery")">Galleries</a></li>
                <li class="tags"><a href="@Url.Action("Default", "Tags")">Tags</a></li>
                <li class="account"><a href="@Url.Action("Default", "User")">Account</a></li>
                <li class="login">
                    @if (WebSecurity.IsAuthenticated)
                    {
                        <text>Welcome <strong>@WebSecurity.CurrentUserName</strong>!
                        <a href="@Url.Action("Logout", "Account")">Logout</a></text>
                    }
                    else
                    {
                        <text><a href="@Url.Action("Login", "Account")">Login</a></text>
                    }
                </li>
            </ul>
        </div>        
        <div id="page">
            @RenderBody()
            
            @UserVoice.FeedbackTab()
        </div>
        <div id="footer">
            &copy; @DateTime.Now.Year - Photo Gallery 
        </div>
    </body>
</html>