@{ ViewBag.Title = "Index"; } <h2>Index</h2> <script src="~/Scripts/bootstrap-datepicker.js"></script> <link href="~/Content/bootstrap-datepicker.css" rel="stylesheet" /> <input type="text" class="dp" /> <script type="text/javascript"> $(function () { $('.dp').datepicker();; }); </script>
<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <script src="~/Scripts/modernizr-2.6.2.js"></script> <script src="~/Scripts/jquery-1.10.2.min.js"></script> <link href="~/Content/themes/ui-lightness/jquery-ui.css" rel="stylesheet" /> <title>@ViewBag.Title - My ASP.NET Application</title> @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") </head> <body> <div class="navbar navbar-inverse navbar-fixed-top"> @Html.Partial("_LoginPartial") </div> <div class="container body-content"> @RenderBody() <hr /> <footer> <p>© @DateTime.Now.Year - My ASP.NET Application</p> </footer> </div> @Scripts.Render("~/bundles/jquery") @Scripts.Render("~/bundles/bootstrap") @RenderSection("scripts", required: false) </body> </html>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)