#pragma warning disable 1591 //------------------------------------------------------------------------------ // // This code was generated by a tool. // Runtime Version:4.0.30319.18033 // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. // //------------------------------------------------------------------------------ namespace Disco.Web.Views.User { using System; using System.Collections.Generic; using System.IO; using System.Linq; using System.Net; using System.Text; using System.Web; using System.Web.Helpers; using System.Web.Mvc; using System.Web.Mvc.Ajax; using System.Web.Mvc.Html; using System.Web.Routing; using System.Web.Security; using System.Web.UI; using System.Web.WebPages; using Disco.BI.Extensions; using Disco.Models.Repository; using Disco.Web; using Disco.Web.Extensions; [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")] [System.Web.WebPages.PageVirtualPathAttribute("~/Views/User/Show.cshtml")] public partial class Show : System.Web.Mvc.WebViewPage { public Show() { } public override void Execute() { #line 2 "..\..\Views\User\Show.cshtml" ViewBag.Title = Html.ToBreadcrumb("Users", MVC.User.Index(), string.Format("User: {0} ({1})", Model.User.DisplayName, Model.User.Id)); #line default #line hidden WriteLiteral("\r\n\r\n"); WriteLiteral(" "); #line 6 "..\..\Views\User\Show.cshtml" Write(Html.Partial(MVC.User.Views.UserParts._Subject, Model)); #line default #line hidden WriteLiteral("\r\n $(function () { var $tabs = $('#UserDetailTabs'); $tabs.tabs({ activate: function (event, ui) { window.setTimeout(function () { var $window = $(window); var tabHeight = $tabs.height(); var tabOffset = $tabs.offset(); var windowScrollTop = $window.scrollTop(); var windowHeight = $window.height(); var tabTopNotShown = windowScrollTop - tabOffset.top; if (tabTopNotShown > 0) { $('html').animate({ scrollTop: tabOffset.top }, 125); } else { var tabBottomNotShown = ((windowScrollTop + windowHeight) - (tabHeight + tabOffset.top)) * -1; if (tabBottomNotShown > 0) { if (tabHeight > windowHeight) $('html').animate({ scrollTop: tabOffset.top }, 125); else $('html').animate({ scrollTop: windowScrollTop + tabBottomNotShown }, 125); } } }, 1); } }); }); \r\n \r\n"); WriteLiteral(" "); #line 38 "..\..\Views\User\Show.cshtml" Write(Html.Partial(MVC.User.Views.UserParts._Jobs, Model)); #line default #line hidden WriteLiteral("\r\n"); WriteLiteral(" "); #line 39 "..\..\Views\User\Show.cshtml" Write(Html.Partial(MVC.User.Views.UserParts._AssignmentHistory, Model)); #line default #line hidden WriteLiteral("\r\n"); WriteLiteral(" "); #line 40 "..\..\Views\User\Show.cshtml" Write(Html.Partial(MVC.User.Views.UserParts._Resources, Model)); #line default #line hidden WriteLiteral("\r\n \r\n"); } } } #pragma warning restore 1591