Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @{
- if (User.Identity.IsAuthenticated)
- {
- string theme = "";
- if (Request.Cookies["theme"] != null)
- {
- theme = Request.Cookies["theme"].Value.ToString();
- }
- if (theme == "Cyborg")
- {
- <link rel="stylesheet" href="~/Content/bootstrap-cyborg.css" />
- }
- else if (theme == "Sandstone")
- {
- <link rel="stylesheet" href="~/Content/bootstrap-sandstone.css" />
- }
- else if (theme == "Simplex")
- {
- <link rel="stylesheet" href="~/Content/bootstrap-simplex.css" />
- }
- else
- {
- <link rel="stylesheet" href="~/Content/bootstrap.css" />
- }
- }
- else
- {
- <link rel="stylesheet" href="~/Content/bootstrap.css" />
- }
- }
- @Styles.Render("~/Content/css")
- @Scripts.Render("~/bundles/modernizr")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement