diff --git a/IISExpress/AppServer/applicationhost.config b/IISExpress/AppServer/applicationhost.config index 5f57e13ec..cef5c1125 100644 --- a/IISExpress/AppServer/applicationhost.config +++ b/IISExpress/AppServer/applicationhost.config @@ -145,7 +145,7 @@ - + diff --git a/Libraries/Telerik/Telerik.Web.Mvc.dll b/Libraries/Telerik/Telerik.Web.Mvc.dll new file mode 100644 index 000000000..90715390b Binary files /dev/null and b/Libraries/Telerik/Telerik.Web.Mvc.dll differ diff --git a/Libraries/Telerik/Telerik.Web.Mvc.xml b/Libraries/Telerik/Telerik.Web.Mvc.xml new file mode 100644 index 000000000..9ec4fa879 --- /dev/null +++ b/Libraries/Telerik/Telerik.Web.Mvc.xml @@ -0,0 +1,19118 @@ + + + + Telerik.Web.Mvc + + + + + Contains the extension methods of . + + + + + Create Nullable instance of the passed . + + + + + Contains extension methods of . + + + + + Get the Application root path. + + The instance. + + + + + Determines whether this instance can compress the specified instance. + + The instance. + + true if this instance can compress the specified instance; otherwise, false. + + + + + + + + + + + + + + + + + + + + + Basic building block to locate the correct virtual path. + + + + + Returns the correct virtual path based upon the debug mode and version. + + The virtual path. + The version. + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to Bold. + + + + + Looks up a localized string similar to Insert hyperlink. + + + + + Looks up a localized string similar to Are you sure you want to delete "{0}"?. + + + + + Looks up a localized string similar to A directory with this name was not found.. + + + + + Looks up a localized string similar to Empty Folder. + + + + + Looks up a localized string similar to Select font family. + + + + + Looks up a localized string similar to (inherited font). + + + + + Looks up a localized string similar to Select font size. + + + + + Looks up a localized string similar to (inherited size). + + + + + Looks up a localized string similar to Select block type. + + + + + Looks up a localized string similar to Indent. + + + + + Looks up a localized string similar to Insert HTML. + + + + + Looks up a localized string similar to Insert image. + + + + + Looks up a localized string similar to Insert ordered list. + + + + + Looks up a localized string similar to Insert unordered list. + + + + + Looks up a localized string similar to The selected file \"{0}\" is not valid. Supported file types are {1}.. + + + + + Looks up a localized string similar to Italic. + + + + + Looks up a localized string similar to Center text. + + + + + Looks up a localized string similar to Justify. + + + + + Looks up a localized string similar to Align text left. + + + + + Looks up a localized string similar to Align text right. + + + + + Looks up a localized string similar to Arrange by:. + + + + + Looks up a localized string similar to Name. + + + + + Looks up a localized string similar to Size. + + + + + Looks up a localized string similar to Outdent. + + + + + Looks up a localized string similar to 'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?. + + + + + Looks up a localized string similar to Strikethrough. + + + + + Looks up a localized string similar to Styles. + + + + + Looks up a localized string similar to Underline. + + + + + Looks up a localized string similar to Remove hyperlink. + + + + + Looks up a localized string similar to Upload. + + + + + View component base class. + + + + + Defines the basic building block of scriptable component. + + + + + Writes the initialization script. + + The writer. + + + + Writes the cleanup script. + + The writer. + + + + Gets or sets the asset key. + + The asset key. + + + + Gets or sets the script files path. Path must be a virtual path. + + The script files path. + + + + Gets or sets the script file names. + + The script file names. + + + + Gets the client side object writer factory. + + The client side object writer factory. + + + + Defines whether one navigation item can have content output immediately + + + + + The HtmlAttributes applied to objects which can have child items + + + + + Initializes a new instance of the class. + + The view context. + The client side object writer factory. + + + + Renders the component. + + + + + Writes the initialization script. + + The writer. + + + + Writes the cleanup script. + + The writer. + + + + Writes the HTML. + + + + + Gets or sets the name. + + The name. + + + + Gets the id. + + The id. + + + + Gets the HTML attributes. + + The HTML attributes. + + + + Gets or sets the asset key. + + The asset key. + + + + Gets or sets the script files path. Path must be a virtual path. + + The script files path. + + + + Gets or sets the script file names. + + The script file names. + + + + Gets the client side object writer factory. + + The client side object writer factory. + + + + Gets or sets the view context to rendering a view. + + The view context. + + + + Defines the fluent interface for configuring the component. + + + + + View component Builder base class. + + + + + Helper interface used to hide the base + members from the fluent API to make it much cleaner + in Visual Studio intellisense. + + + + + Equalses the specified value. + + The value. + + + + + Gets the hash code. + + + + + + Gets the type. + + + + + + Toes the string. + + + + + + Initializes a new instance of the class. + + The component. + + + + Performs an implicit conversion from to TViewComponent. + + The builder. + The result of the conversion. + + + + Returns the internal view component. + + + + + + Sets the name of the component. + + The name. + + + + + Sets the web asset key for the component. + + The key. + + + + + Sets the Scripts files path.. Path must be a virtual path. + + The path. + + + + + Sets the Script file names. + + The names. + + + + + Sets the HTML attributes. + + The HTML attributes. + + + + + Sets the HTML attributes. + + The HTML attributes. + + + + + Renders the component. + + + + + Gets the view component. + + The component. + + + + Initializes a new instance of the class. + + The component. + + + + Use it to enable filling the first matched item text. + + + + <%= Html.Telerik().AutoComplete() + .Name("AutoComplete") + .AutoFill(true) + %> + + + + + + + Use it to configure Data binding. + + Action that configures the data binding options. + + + <%= Html.Telerik().AutoComplete() + .Name("AutoComplete") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "ComboBox") + ); + %> + + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => + events.OnLoad("onLoad") + ) + %> + + + + + + Configures the effects of the AutoComplete. + + The action which configures the effects. + + + <%= Html.Telerik().AutoComplete() + .Name("AutoComplete") + .Effects(fx => + { + fx.Slide() + .OpenDuration(AnimationDuration.Normal) + .CloseDuration(AnimationDuration.Normal); + }) + + + + + + Use it to configure filtering settings. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => filtering.Enabled(true) + .FilterMode(AutoCompleteFilterMode.Contains)); + %> + + + + + + Use it to enable multiple values. + + + + <%= Html.Telerik().AutoComplete() + .Name("AutoComplete") + .Multiple(); + %> + + + + + + Use it to configure autocompleting multiple values. + + + + <%= Html.Telerik().AutoComplete() + .Name("AutoComplete") + .Multiple(multi => multi.Enabled(true) + .Separator(" ")); + %> + + + + + + Use it to enable highlighting of first matched item. + + + + <%= Html.Telerik().AutoComplete() + .Name("AutoComplete") + .HighlightFirstMatch(true) + %> + + + + + + Enables or disables the autocomplete. + + + + + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Enable or disable autocompleting multiple values into a single field + + + + <%= Html.Telerik().AutoComplete() + .Name("AutoComplete") + .Multiple(multi => + { + multi.Enabled((bool)ViewData["multiple"]); + }) + %> + + + + + + Set multiple values separator. + + + + <%= Html.Telerik().AutoComplete() + .Name("AutoComplete") + .Multiple(multi => + { + multi.Separator(", "); + }) + %> + + + + + + Gets the id. + + The id. + + + + Gets the items of the ComboBox. + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables filtering. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => + { + filtering.Enabled((bool)ViewData["filtering"]); + }) + %> + + + + The Enabled method is useful when you need to enable/disable filtering based on certain conditions. + + + + + Defines filter mode. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => + { + filtering.FilterMode(AutoCompleteFilterMode.StartsWith); + }) + %> + + + + + + Set minimum chars number needed to start filtering. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => + { + filtering.MinimumChars(2); + }) + %> + + + + + + Defines the fluent interface for configuring the component. + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => + events.OnLoad("onLoad") + ) + %> + + + + + + Configures the effects of the dropdownlist. + + The action which configures the effects. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Effects(fx => + { + fx.Slide() + .OpenDuration(AnimationDuration.Normal) + .CloseDuration(AnimationDuration.Normal); + }) + + + + + + Defines the items in the DropDownList + + The add action. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + %> + + + + + + + + + + Initializes a new instance of the class. + + The component. + + + + Use it to enable filtering of items. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(); + %> + + + + + + Use it to configure filtering settings. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => filtering.Enabled(true) + .FilterMode(AutoCompleteFilterMode.Contains)); + %> + + + + + + Use it to enable filling the first matched item text. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .AutoFill(true) + %> + + + + + + Use it to configure Data binding. + + Action that configures the data binding options. + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "ComboBox") + ); + %> + + + + + + Use it to enable highlighting of first matched item. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .HighlightFirstMatch(true) + %> + + + + + + Use it to set selected item index + + Item index. + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .SelectedIndex(0); + %> + + + + + + Enables or disables the combobox. + + + + + Sets whether to open items list on focus. + + + + + Defines the fluent interface for building + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables binding. + + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); + }) + %> + + + + The Enabled method is useful when you need to enable binding based on certain conditions. + + + + + Sets the action, controller and route values for the select operation + + The route values of the Action method. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select(MVC.Home.Indec(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new { {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home"); + }) + %> + + + + + + Sets the route and values for the select operation + + Name of the route. + The route values. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for the select operation + + Name of the route. + The route values. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for the select operation + + Name of the route. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default"); + }) + %> + + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables cache of items. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home").Cache((bool)ViewData["cache"]); + }) + %> + + + + The Cache method is useful when you need to enable/disable caching based on certain conditions. + Default value is true. + + + + + Specifies delay of the Ajax/WebServer request. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home").Delay(400); + }) + %> + + + + The Delay method is useful when you need to postpone request to the server for some time. + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Defines filter mode. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => + { + filtering.FilterMode(AutoCompleteFilterMode.StartsWith); + }) + %> + + + + + + Set minimum chars number needed to start filtering. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Filterable(filtering => + { + filtering.MinimumChars(2); + }) + %> + + + + + + Defines the fluent interface for configuring the data binding. + + + + + Initializes a new instance of the class. + + The configuration. + + + + Use it to configure Ajax binding. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "TreeView") + ) + %> + + + + + + Use it to configure web service binding. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => dataBinding + .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") + ) + %> + + + + + + Defines the fluent interface for building + + + + + Defines the fluent interface for configuring the treeview webservice. + + + + + Initializes a new instance of the class. + + The settings. + + + + Specify the web service url for loading data + + The web service url + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") + ) + %> + + + + + + Enables / disables web service functionality. + + Whether to enable or to disable the web service. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .Ajax().Enabled(true).Select("_AjaxLoading", "DropDownList") + ) + %> + + + + The Enabled method is useful when you need to enable ajax based on certain conditions. + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables cache of items. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => + { + dataBinding.WebService().Select("~/Models/Product.asmx/GetProducts").Cache((bool)ViewData["cache"]); + }) + %> + + + + The Cache method is useful when you need to enable/disable caching based on certain conditions. + Default value is true. + + + + + Specifies delay of the Ajax/WebServer request. + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .DataBinding(dataBinding => + { + dataBinding.WebService().Select("~/Models/Product.asmx/GetProducts").Delay(400); + }) + %> + + + + The Delay method is useful when you need to postpone request to the server for some time. + + + + + Represents a client-side event of a view component + + + + + An action that renders the code of the client-side handler upon execution. + + + + + An action that renders the code of the client-side handler upon execution. + + + + + A function that returns the code of the client-side handler. + + + + + The name of the client-side handler function. + + + + + Gets the id. + + The id. + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Configures the effects of the datepicker. + + The action which configures the effects. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .Effects(fx => + { + fx.Height() + .Opacity() + .OpenDuration(AnimationDuration.Normal) + .CloseDuration(AnimationDuration.Normal); + }) + + + + + + Sets whether calendar should open on focus. + + + + + Sets the date format, which will be used to parse and format the machine date. + + + + + Sets the minimal date, which can be selected in DatePicker. + + + + + Sets the maximal date, which can be selected in DatePicker. + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => + events.OnLoad("onLoad").OnSelect("onSelect") + ) + %> + + + + + + Sets the Input HTML attributes. + + The HTML attributes. + + + + Sets the Input HTML attributes. + + The HTML attributes. + + + + Enables or disables the datepicker. + + + + + Defines the fluent interface for configuring datepicker client events. + + + + + Initializes a new instance of the class. + + Datepicker client-side events. + The context of the View. + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnOpen(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnOpen( + @<text> + %> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the OnOpen client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnOpen("onOpen")) + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnClose(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnClose( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the OnClose client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnClose("onClose")) + %> + + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Sets the value of the dateTimePicker input + + + + + Sets the value of the dateTimePicker input + + + + + Sets the minimal date, which can be selected in DateTimePicker. + + + + + Sets the maximal date, which can be selected in DateTimePicker. + + + + + Sets the minimal time, which can be selected in DateTimePicker. + + + + + Sets the minimal time, which can be selected in DateTimePicker. + + + + + Sets the maximal time, which can be selected in DateTimePicker. + + + + + Sets the maximal time, which can be selected in DateTimePicker. + + + + + Sets the interval between hours. + + + + + Sets the title of the DateTimePicker button. + + + + + Sets the title of the DateTimePicker button. + + + + + Defines the fluent interface for configuring timepicker client events. + + + + + Initializes a new instance of the class. + + Timepicker client-side events. + The context of the View. + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnOpen(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnOpen( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnOpen client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnOpen("onOpen")) + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnClose(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnClose( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnClose client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + .ClientEvents(events => events.OnClose("onClose")) + %> + + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Defines the fluent interface for configuring the treeview webservice. + + + + + Initializes a new instance of the class. + + The settings. + + + + Represent item in the DropDownList/ComboBox items. + + + + + Gets the items of the treeview. + + + + + Use it to set selected item index + + Item index. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .SelectedIndex(0); + %> + + + + + + Use it to configure Data binding. + + Action that configures the data binding options. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "DropDownList") + ); + %> + + + + + + Enables or disables the dropdownlist. + + + + + + + Initializes a new instance of the class. + + The client events. + The view context. + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnOpen(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnOpen client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnOpen("onOpen")) + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnClose(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnClose( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnClose client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnClose("onClose")) + %> + + + + + + Defines the inline handler of the OnDataBinding client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBinding(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnDataBinding client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBinding( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDataBinding client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBinding("OnDataBinding")) + %> + + + + + + Defines the inline handler of the OnDataBound client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBound(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnDataBound client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBound( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDataBound client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnDataBound("onDataBound")) + %> + + + + + + Defines the inline handler of the OnError client-side event + + The action defining the inline handler. + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Defines the fluent interface for configuring the data binding. + + + + + Initializes a new instance of the class. + + The configuration. + + + + Use it to configure Ajax binding. + + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "TreeView") + ) + %> + + + + + + Use it to configure web service binding. + + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .DataBinding(dataBinding => dataBinding + .WebService().Select("~/Models/ProductDDI.asmx/GetProducts") + ) + %> + + + + + + Defines the fluent interface for configuring child DropDonwList items. + + + + + Initializes a new instance of the class. + + The item. + + + + Sets the value for the item. + + The value. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Items(items => items.Add().Text("First item.")) + %> + + + + + + Sets the value for the item. + + The value. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Items(items => items.Add().Value("1")) + %> + + + + + + Define when the item will be expanded on intial render. + + If true the item will be selected. + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Items(items => + { + items.Add().Text("First Item").Selected(true); + }) + %> + + + + + + Creates items for the . + + + + + Initializes a new instance of the class. + + The settings. + + + + Defines a item. + + + + + + Determines if content of a given path can be browsed. + + The path which will be browsed. + true if browsing is allowed, otherwise false. + + + + Retrieves the content of a given folder. + + The folder's path, which content will be served. + A containing folder's files and child folders. + Throws 403 Forbidden if the supplied is outside of the valid paths. + Throws 404 File Not Found if refered folder does not exist. + + + + Determines if a file can be uploaded to a given path. + + The path to which the file should be uploaded. + The file which should be uploaded. + true if the upload is allowed, otherwise false. + + + + Uploads a file to a given path. + + The path to which the file should be uploaded. + The file which should be uploaded. + A containing the uploaded file's size and name. + Forbidden + + + + Determines if an image's thumbnail should be served. + + The path to image's thumbnail. + true if image's thumbnail should be served, otherwise false. + + + + Serves an image's thumbnail by given path. + + The path to the image. + Thumbnail of an image. + Throws 403 Forbidden if the is outside of the valid paths. + Throws 404 File Not Found if the refers to a non existant image. + + + + Determines if a file can be deleted. + + The path to the file. + true if file can be deleted, otherwise false. + + + + Deletes a file. + + The path to the file. + An empty . + Forbidden + + + + Determines if a folder can be deleted. + + The path to the folder. + true if folder can be deleted, otherwise false. + + + + Deletes a folder. + + The path to the folder. + An empty . + Forbidden + + + + Determines if a folder can be created. + + The path to the parent folder in which the folder should be created. + Name of the folder. + true if folder can be created, otherwise false. + + + + Creates a folder with a given name. + + The path to the parent folder in which the folder should be created. + Name of the folder. + An empty . + Forbidden + + + + Gets the base paths from which content will be served. + + + + + Gets the valid file extensions by which served files will be filtered. + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The client events. + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnExecute client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnExecute(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnExecute client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnExecute( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnExecute client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnExecute("onExecute")) + %> + + + + + + Defines the inline handler of the OnSelectionChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnSelectionChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSelectionChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnSelectionChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSelectionChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnSelectionChange("onSelectionChange")) + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnError client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Sets the HTML content that will show initially in the editor. + + The action which renders the HTML content. + + <% Html.Telerik().Editor() + .Name("Editor") + .Value(() => { %> + <blockquote> + According to Deep Thought, the answer to the ultimate question of + life, the universe and everything is <strong>42</strong>. + </blockquote> + <% }) + .Render(); + %> + + + + + Sets the HTML content which the item should display as a string. + + An HTML string. + + <%= Html.Telerik().Editor() + .Name("Editor") + .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") + %> + + + + + Encode HTML content. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") + .Encode(true) + %> + + + + + Sets the localization culture of the editor. + + The culture. + + + <%= Html.Telerik().Editor() + .Name("Editor") + .Value("<blockquote>A towel has <strong>immense</strong> psychological value</blockquote>") + .Localizable("de-DE") + %> + + + + + + Enables toggle animation. + + + + + Enables opacity animation. + + + + + Enables opacity animation. + + Builder, which sets different opacity properties. + + + + Enables expand animation. + + + + + Enables expand animation. + + Builder, which sets different expand properties. + + + + Enables slide animation. + + + + + Enables slide animation. + + Builder, which sets different slide properties. + + + + Sets the button type. + + The button type. + + + + + Sets the HTML attributes. + + The HTML attributes. + + + + + Sets the HTML attributes. + + The HTML attributes. + + + + + Sets the image HTML attributes. + + The Image HTML attributes. + + + + + Sets the image HTML attributes. + + The Image HTML attributes. + + + + + + + + + + + + + + + + Simple wrapper used to trick the Grid's generic DataSource when custom binding is used + + + + + + Defines the fluent interface for configuring grid editing. + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables grid editing. + + + + <%= Html.Telerik().Grid<Order>() + .Name("Orders") + .Editable(settings => settings.Enabled(true)) + %> + + + + The Enabled method is useful when you need to enable grid editing on certain conditions. + + + + + Specify an editor template which to be used for InForm or PopUp modes + + name of the editor template + This settings is applicable only when Mode is + or + + + + Enables or disables delete confirmation. + + + + <%= Html.Telerik().Grid<Order>() + .Name("Orders") + .Editable(settings => settings.DisplayDeleteConfirmation(true)) + %> + + + + + + Gets the HTML attributes of the form rendered during editing + + The attributes. + + + + Gets the HTML attributes of the form rendered during editing + + The attributes. + + + + Defines the fluent interface for configuring template columns + + + + + Defines the fluent interface for configuring columns. + + + The type of the column builder. + + + + Initializes a new instance of the class. + + The column. + + + + Sets the title displayed in the header of the column. + + The text. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Title("ID")) + %> + + + + + + Sets the HTML attributes applied to the header cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).HeaderHtmlAttributes(new {@class="order-header"})) + %> + + + + + + Sets the HTML attributes applied to the header cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).HeaderHtmlAttributes(new {@class="order-header"})) + %> + + + + + + Sets the HTML attributes applied to the footer cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"})) + %> + + + + + + Sets the HTML attributes applied to the footer cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).FooterHtmlAttributes(new {@class="order-footer"})) + %> + + + + + + Sets the HTML attributes applied to the content cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).HtmlAttributes(new {@class="order-cell"})) + %> + + + + + + Sets the HTML attributes applied to the content cell of the column. + + The attributes. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).HtmlAttributes(new {@class="order-cell"})) + %> + + + + + + Sets the width of the column in pixels. + + The width in pixels. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Width(100)) + %> + + + + + + Sets the width of the column. + + The width to set. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => + { + %> + <%= Html.ActionLink("Edit", "Home", new { id = o.OrderID}) %> + <% + }) + .Render(); + %> + + + + + + Makes the column visible or not. By default all columns are visible. Invisible columns are not rendered in the output HTML. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Visible((bool)ViewData["visible"])) + %> + + + + + + Makes the column hidden or not. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Hidden((bool)ViewData["hidden"])) + %> + + + + + + Hides a column. By default all columns are not hidden. Hidden columns are rendered in the output HTML but are hidden. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderID).Hidden()) + %> + + + + + + Sets the header template for the column. + + The action defining the template. + + + + Sets the header template for the column. + + The string defining the template. + + + + Sets the header template for the column. + + The action defining the template. + + + + Sets the footer template for the column. + + The action defining the template. + + + + Sets the footer template for the column. + + The string defining the template. + + + + Sets the footer template for the column. + + The action defining the template. + + + + Gets or sets the column. + + The column. + + + + Defines an interface that supports navigation. + + + + + Gets or sets the name of the route. + + The name of the route. + + + + Gets or sets the name of the controller. + + The name of the controller. + + + + Gets or sets the name of the action. + + The name of the action. + + + + Gets the route values. + + The route values. + + + + Gets or sets the URL. + + The URL. + + + + Determines if group header should be shown. + + true if visible, otherwise false. + + + + Gets or sets a value indicating whether member access expression used + by this builder should be lifted to null. The default value is true; + + + true if member access should be lifted to null; otherwise, false. + + + + Provided expression should have string type + + + ArgumentException. + + + ArgumentException. + + + + Provided 's is not + + + + Provided type is not + + + + Provided 's is not + + + + + Provided 's is not + + + + + + + + ArgumentException. + + + did not implement . + + + + Invalid name for property or field; or indexer with the specified arguments. + + + + InvalidOperationException. + + + InvalidCastException. + + + + Holds extension methods for . + + + + + Child element with name specified by does not exists. + + + + + Represents a filtering descriptor which serves as a container for one or more child filtering descriptors. + + + + + Base class for all used for + handling the logic for property changed notifications. + + + + + Represents a filtering abstraction that knows how to create predicate filtering expression. + + + + + Creates a predicate filter expression used for collection filtering. + + The instance expression, which will be used for filtering. + A predicate filter expression. + + + + Creates a filter expression by delegating its creation to + , if + is , otherwise throws + + The instance expression, which will be used for filtering. + A predicate filter expression. + Parameter should be of type + + + + Creates a predicate filter expression used for collection filtering. + + The parameter expression, which will be used for filtering. + A predicate filter expression. + + + + Creates a predicate filter expression combining + expressions with . + + The parameter expression, which will be used for filtering. + A predicate filter expression. + + + + Gets or sets the logical operator used for composing of . + + The logical operator used for composition. + + + + Gets or sets the filter descriptors that will be used for composition. + + The filter descriptors used for composition. + + + + Logical operator used for filter descriptor composition. + + + + + Combines filters with logical AND. + + + + + Combines filters with logical OR. + + + + + The class enables implementation of custom filtering logic. + + + + + The method checks whether the passed parameter satisfies filter criteria. + + + + + Creates a predicate filter expression that calls . + + The parameter expression, which parameter + will be passed to method. + + + + If false will not execute. + + + + + Represents declarative filtering. + + + + + Initializes a new instance of the class. + + + + + Initializes a new instance of the class. + + The member. + The filter operator. + The filter value. + + + + Creates a predicate filter expression. + + The parameter expression, which will be used for filtering. + A predicate filter expression. + + + + Determines whether the specified descriptor + is equal to the current one. + + The other filter descriptor. + + True if all members of the current descriptor are + equal to the ones of , otherwise false. + + + + + Determines whether the specified + is equal to the current descriptor. + + + + + Serves as a hash function for a particular type. + + + A hash code for the current filter descriptor. + + + + + Gets or sets the member name which will be used for filtering. + + The member that will be used for filtering. + + + + Gets or sets the type of the member that is used for filtering. + Set this property if the member type cannot be resolved automatically. + Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow. + Changing this property did not raise + event. + + The type of the member used for filtering. + + + + Gets or sets the filter operator. + + The filter operator. + + + + Gets or sets the target filter value. + + The filter value. + + + + Represents collection of . + + + + + Operator used in + + + + + Left operand must be smaller than the right one. + + + + + Left operand must be smaller than or equal to the right one. + + + + + Left operand must be equal to the right one. + + + + + Left operand must be different from the right one. + + + + + Left operand must be larger than the right one. + + + + + Left operand must be larger than or equal to the right one. + + + + + Left operand must start with the right one. + + + + + Left operand must end with the right one. + + + + + Left operand must contain the right one. + + + + + Left operand must be contained in the right one. + + + + InvalidOperationException. + + + + Gets the key for this group. + + The key for this group. + + + + Gets the items in this groups. + + The items in this group. + + + + Gets a value indicating whether this instance has sub groups. + + + true if this instance has sub groups; otherwise, false. + + + + + Gets the count. + + The count. + + + + Gets the subgroups, if is true, otherwise empty collection. + + The subgroups. + + + + Gets a value indicating whether this instance has any sub groups. + + + true if this instance has sub groups; otherwise, false. + + + + + Gets the number of items in this group. + + The items count. + + + + Gets the subgroups, if is true, otherwise empty collection. + + The subgroups. + + + + Gets the items in this groups. + + The items in this group. + + + + Gets the key for this group. + + The key for this group. + + + + Gets the aggregate results generated for the given aggregate functions. + + The aggregate results for the provided aggregate functions. + functions is null. + + + + Gets or sets the aggregate functions projection for this group. + This projection is used to generate aggregate functions results for this group. + + The aggregate functions projection. + + + + Creates the aggregate expression that is used for constructing expression + tree that will calculate the aggregate result. + + The grouping expression. + + + + + + Generates default name for this function using this type's name. + + + Function name generated with the following pattern: + {.}_{} + + + + + Gets or sets the informative message to display as an illustration of the aggregate function. + + The caption to display as an illustration of the aggregate function. + + + + Gets or sets the name of the field, of the item from the set of items, which value is used as the argument of the aggregate function. + + The name of the field to get the argument value from. + + + + Gets or sets the name of the aggregate function, which appears as a property of the group record on which records the function works. + + The name of the function as visible from the group record. + + + + Gets or sets a string that is used to format the result value. + + The format string. + + + + Represents a collection of items. + + + + + Gets the with the specified function name. + + + First with the specified function name + if any, otherwise null. + + + + + Initializes a new instance of the class. + + The value of the result. + The number of arguments used for the calculation of the result. + Function that generated the result. + function is null. + + + + Initializes a new instance of the class. + + that generated the result. + function is null. + + + + Initializes a new instance of the class. + + The value of the result. + that generated the result. + + + + Returns a that represents the current . + + + A that represents the current . + + + + + Gets or sets the value of the result. + + The value of the result. + + + + Gets the formatted value of the result. + + The formatted value of the result. + + + + Gets or sets the number of arguments used for the calulation of the result. + + The number of arguments used for the calulation of the result. + + + + Gets or sets the text which serves as a caption for the result in a user interface.. + + The text which serves as a caption for the result in a user interface. + + + + Gets the name of the function. + + The name of the function. + + + + Gets the first which + is equal to . + + + The for the specified function if any, otherwise null. + + + + + Represents a function that returns the arithmetic mean of a set of arguments. + + + + + Represents an that uses aggregate extension + methods provided in using + as a member selector. + + + + + Base class for all aggregate functions that will use extension + methods in for aggregation. + + + + + Gets the type of the extension methods that holds the extension methods for + aggregation. For example or . + + + The type of that holds the extension methods. The default value is . + + + + + Creates the aggregate expression using . + + The grouping expression. + + + + + + Initializes a new instance of the class. + + + + + Gets the the Average method name. + + Average. + + + + Represents a function that returns the number of items in a set of items, including nested sets. + + + + + Represents an that uses aggregate extension + methods provided in . + + + + + Creates the aggregate expression using . + + The grouping expression. + + + + + + Initializes a new instance of the class. + + + + + Gets the the Count method name. + + Count. + + + + Gets the the First method name. + + First. + + + + Represents a function that returns the last item from a set of items. + + + + + Initializes a new instance of the class. + + + + + Gets the the Last method name. + + Last. + + + + Represents a function that returns the greatest item from a set of items. + + + + + Initializes a new instance of the class. + + + + + Gets the the Max method name. + + Max. + + + + Represents a function that returns the least item from a set of items. + + + + + Initializes a new instance of the class. + + + + + Gets the the Min method name. + + Min. + + + + Represents a function that returns the sum of all items from a set of items. + + + + + Initializes a new instance of the class. + + + + + Gets the the Min method name. + + Min. + + + + Represents grouping criteria. + + + + + Represents declarative sorting. + + + + + Gets or sets the member name which will be used for sorting. + + The member that will be used for sorting. + + + + Gets or sets the sort direction for this sort descriptor. If the value is null + no sorting will be applied. + + The sort direction. The default value is null. + + + + Changes the to the next logical value. + + + + + Gets or sets the type of the member that is used for grouping. + Set this property if the member type cannot be resolved automatically. + Such cases are: items with ICustomTypeDescriptor, XmlNode or DataRow. + Changing this property did not raise + event. + + The type of the member used for grouping. + + + + Gets or sets the content which will be used from UI. + + The content that will be used from UI. + + + + Gets or sets the aggregate functions used when grouping is executed. + + The aggregate functions that will be used in grouping. + + + + Calculates unique int for given group in a group sequence, + taking into account groups order, each group key and groups' count. + + + + Gets or sets the format for displaying the value in the tooltip. + The value. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .Tooltip(tooltip => tooltip.Format("{0:P")) + %> + + + + + Display tooltip while drag. + The value. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .Tooltip(tooltip => tooltip.Enable(false)) + %> + + + + + Defines the fluent interface for configuring the . + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnSlide client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnSlide(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSlide client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => events.OnSlide("OnSlide")) + %> + + + + + Defines the fluent interface for configuring the . + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnSlide client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnSlide(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSlide client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => events.OnSlide("OnSlide")) + %> + + + + + Defines the fluent interface for configuring the component. + + + Initializes a new instance of the class. + The component. + + + Sets the value of the range slider. + + + Sets the value of the range slider. + + + Sets orientation of the range slider. + + + Sets a value indicating how to display the tick marks on the range slider. + + + Sets the minimum value of the range slider. + + + Sets the maximum value of the range slider. + + + Sets the step with which the range slider value will change. + + + Sets the delta with which the value will change when user click on the track. + + + Display tooltip while drag. + + + + Use it to configure tooltip while drag. + + Use builder to set different tooltip options. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .Tooltip(tooltip => tooltip + .Enable(true) + .Format("{0:P}") + ); + %> + + + + + Configures the client-side events. + The client events action. + + + <%= Html.Telerik().RangeSlider() + .Name("RangeSlider") + .ClientEvents(events => + events.OnLoad("onLoad").OnChange("onChange")) + %> + + + + + Sets a value indicating whether the range slider can respond to user interaction. + + + Defines the fluent interface for configuring the component. + + + Initializes a new instance of the class. + The component. + + + Sets the value of the slider. + + + Sets the title of the slider increase button. + + + Sets whether slider to be rendered with increase/decrease button. + + + Sets the title of the slider decrease button. + + + Sets orientation of the slider. + + + Sets a value indicating how to display the tick marks on the slider. + + + Sets the minimum value of the slider. + + + Sets the maximum value of the slider. + + + Sets the step with which the slider value will change. + + + Sets the delta with which the value will change when user click on the slider. + + + Display tooltip while drag. + + + + Use it to configure tooltip. + + Use builder to set different tooltip options. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .Tooltip(tooltip => tooltip + .Enable(true) + .Format("{0:P}") + ); + %> + + + + + Configures the client-side events. + The client events action. + + + <%= Html.Telerik().Slider() + .Name("Slider") + .ClientEvents(events => + events.OnLoad("onLoad").OnChange("onChange")) + %> + + + + + Sets a value indicating whether the slider can respond to user interaction. + + + Specifies the general layout of the slider. + + + The slider is oriented horizontally. + + + The slider is oriented vertically. + + + Specifies the location of tick marks in a component. + + + No tick marks appear in the component. + + + + Tick marks are located on the top of a horizontal component or on the + left of a vertical component. + + + + + Tick marks are located on the bottom of a horizontal component or on the + right side of a vertical component. + + + + Tick marks are located on both sides of the component. + + + + Sets the pane size. + + The desired size. Only sizes in pixels and percentages are allowed. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Size("220px"); + }) + %> + + + + + + Sets the minimum pane size. + + The desired minimum size. Only sizes in pixels and percentages are allowed. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().MinSize("220px"); + }) + %> + + + + + + Sets the maximum pane size. + + The desired maximum size. Only sizes in pixels and percentages are allowed. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().MaxSize("220px"); + }) + %> + + + + + + Sets whether the pane shows a scrollbar when its content overflows. + + Whether the pane will be scrollable. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Scrollable(false); + }) + %> + + + + + + Sets whether the pane can be resized by the user. + + Whether the pane will be resizable. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Resizable(true); + }) + %> + + + + + + Sets whether the pane is initially collapsed. + + Whether the pane will be initially collapsed. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Collapsed(true); + }) + %> + + + + + + Sets whether the pane can be collapsed by the user. + + Whether the pane can be collapsed by the user. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().Collapsible(true); + }) + %> + + + + + + Sets the HTML attributes applied to the outer HTML element rendered for the item + + The attributes. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add().HtmlAttributes(new { style = "background: red" }); + }) + %> + + + + + + Sets the HTML attributes applied to the outer HTML element rendered for the item + + The attributes. + + + + Sets the HTML content of the pane. + + The action which renders the HTML content. + + <% Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add() + .Content(() => { >% + <p>Content</p> + %<}); + }) + .Render(); + %> + + + + + Sets the HTML content of the pane. + + The Razor template for the HTML content. + + @(Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add() + .Content(@<p>Content</p>); + }) + .Render();) + + + + + Sets the HTML content of the pane. + + The HTML content. + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => + { + panes.Add() + .Content("<p>Content</p>"); + }) + %> + + + + + Sets the Url which will be requested to return the pane content. + + The route values of the Action method. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add() + .LoadContentFrom(MVC.Home.Index().GetRouteValueDictionary()); + }) + %> + + + + + + Sets the Url, which will be requested to return the pane content. + + The action name. + The controller name. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add() + .LoadContentFrom("AjaxView_OpenSource", "Splitter"); + }) + %> + + + + + + Sets the Url, which will be requested to return the content. + + The action name. + The controller name. + Route values. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add() + .LoadContentFrom("AjaxView_OpenSource", "Splitter", new { id = 10 }); + }) + %> + + + + + + Sets the Url, which will be requested to return the pane content. + + The url. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add() + .LoadContentFrom(Url.Action("AjaxView_OpenSource", "Splitter")); + }) + %> + + + + + + Defines the fluent interface for configuring the . + + + + + The fluent interface that configures the . + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnResize client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnResize(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnResize client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnResize( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnResize client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnResize("onResize")) + %> + + + + + + Defines the inline handler of the OnExpand client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnExpand(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnExpand client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnExpand( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnExpand client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnExpand("onExpand")) + %> + + + + + + Defines the inline handler of the OnCollapse client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnCollapse(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnCollapse client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnCollapse( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnCollapse client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnCollapse("onCollapse")) + %> + + + + + + Defines the inline handler of the OnContentLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnContentLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnContentLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnContentLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnContentLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events.OnContentLoad("onContentLoad")) + %> + + + + + + Specifies the orientation in which the splitter panes will be ordered + + + + + Panes are oredered horizontally + + + + + Panes are oredered vertically + + + + + Sets the splitter orientation. + + The desired orientation. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Orientation(SplitterOrientation.Vertical) + %> + + + + + + Defines the panes in the splitter. + + The action that configures the panes. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .Panes(panes => { + panes.Add().LoadContentFrom("Navigation", "Shared"); + panes.Add().LoadContentFrom("Index", "Home"); + }) + %> + + + + + + Configures the client events for the splitter. + + The action that configures the client events. + + + <%= Html.Telerik().Splitter() + .Name("Splitter") + .ClientEvents(events => events + .OnLoad("onLoad") + ) + %> + + + + + + Defines properties for a content pane. + + + + + Defines whether one navigation item can have content loaded asynchroniously. + + + + + Url, which will be used as a destination for the Ajax request. + + + + + Specifies the size of the pane + + + + + Specifies the minimum size of the pane + + + + + Specifies the maximum size of the pane + + + + + Specifies whether the pane is initially collapsed + + + + + Specifies whether the pane can be collapsed by the user + + + + + Specifies whether the pane can be resized by the user + + + + + Specifies whether the pane shows a scrollbar when its content overflows + + + + + Specifies URL from which to load the pane content + + + + + Specifies HTML attributes for the pane + + + + + Specifies the pane contents + + + + + Gets the id. + + The id. + + + + Defines the fluent interface for configuring the component. + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Sets the initial value of the textbox. + + + + + Sets the step, used ti increment/decrement the value of the textbox. + + + + + Sets the minimal possible value allowed to the user. + + + + + Sets the maximal possible value allowed to the user. + + + + + Sets the group size of the number. + + + + + Sets the group separator of the number. + + + + + Sets the index of the negative pattern. + + + + + Sets the text which will be displayed if the textbox is empty. + + + + + Enables or disables the spin buttons. + + + + + + + Define the tooltip text of the up button. + + + + + Define the tooltip text of the down button. + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().NumericTextBox() + .Name("NumericTextBox") + .ClientEvents(events => + events.OnLoad("onLoad").OnChange("onChange") + ) + %> + + + + + + Sets the Input HTML attributes. + + The HTML attributes. + + + + Sets the Input HTML attributes. + + The HTML attributes. + + + + Enables or disables the textbox. + + + + + + + + Defines the fluent interface for configuring the component. + + + + + + Defines the number of the decimal digits. + + + + + Sets the decimal separator. + + + + + Sets the index of the positive pattern. + + + + + Sets the percent symbol. + + + + + Defines the fluent interface for configuring the component. + + + + + + Defines the number of the decimal digits. + + + + + Sets the decimal separator. + + + + + Sets the index of the positive pattern. + + + + + Sets the currency symbol. + + + + source is null. + + + ReSharper disable UnusedParameter.Local + + + + Executes the provided delegate for each item. + + + The instance. + The action to be applied. + + + index is out of range. + + + first is null. + second is null. + resultSelector is null. + + + + Initializes a new instance of the class. + + The source. + + + + Sorts the elements of a sequence using the specified sort descriptors. + + A sequence of values to sort. + The sort descriptors used for sorting. + + An whose elements are sorted according to a . + + + + + Pages through the elements of a sequence until the specified + using . + + A sequence of values to page. + Index of the page. + Size of the page. + + An whose elements are at the specified . + + + + + Projects each element of a sequence into a new form. + + + An whose elements are the result of invoking a + projection selector on each element of . + + A sequence of values to project. + A projection function to apply to each element. + + + + Groups the elements of a sequence according to a specified key selector function. + + An whose elements to group. + A function to extract the key for each element. + + An with items, + whose elements contains a sequence of objects and a key. + + + + + Sorts the elements of a sequence in ascending order according to a key. + + + An whose elements are sorted according to a key. + + + A sequence of values to order. + + + A function to extract a key from an element. + + + + + Sorts the elements of a sequence in descending order according to a key. + + + An whose elements are sorted in descending order according to a key. + + + A sequence of values to order. + + + A function to extract a key from an element. + + + + + Calls + or depending on the . + + The source. + The key selector. + The sort direction. + + An whose elements are sorted according to a key. + + + + + Groups the elements of a sequence according to a specified . + + An whose elements to group. + The group descriptors used for grouping. + + An with items, + whose elements contains a sequence of objects and a key. + + + + + Calculates the results of given aggregates functions on a sequence of elements. + + An whose elements will + be used for aggregate calculation. + The aggregate functions. + Collection of s calculated for each function. + + + + Filters a sequence of values based on a predicate. + + + An that contains elements from the input sequence + that satisfy the condition specified by . + + An to filter. + A function to test each element for a condition. + + + + Filters a sequence of values based on a collection of . + + The source. + The filter descriptors. + + An that contains elements from the input sequence + that satisfy the conditions specified by each filter descriptor in . + + + + + Returns a specified number of contiguous elements from the start of a sequence. + + + An that contains the specified number + of elements from the start of . + + The sequence to return elements from. + The number of elements to return. + is null. + + + + Bypasses a specified number of elements in a sequence + and then returns the remaining elements. + + + An that contains elements that occur + after the specified index in the input sequence. + + + An to return elements from. + + + The number of elements to skip before returning the remaining elements. + + is null. + + + Returns the number of elements in a sequence. + The number of elements in the input sequence. + + The that contains the elements to be counted. + + is null. + + + Returns the element at a specified index in a sequence. + The element at the specified position in . + An to return an element from. + The zero-based index of the element to retrieve. + is null. + is less than zero. + + + + Creates a from an where T is . + + + A that contains elements from the input sequence. + + + The to create a from. + + + is null. + + + + + Represents an attribute that is used to populate in view data. + + + + + Initializes a new instance of the class. + + The site maps. + + + + Initializes a new instance of the class. + + + + + Called before an action result executes. + + The filter context. + + + + Called after an action result executes. + + The filter context. + + + + Gets or sets the default view data key. + + The default view data key. + + + + Gets or sets the name of the site map. + + The name of the site map. + + + + Gets or sets the view data key. + + The view data key. + + + + Gets or sets the site maps. + + The site maps. + + + + Defines a base class that represents site map. + + + + + Initializes a new instance of the class. + + + + + Performs an implicit conversion from to . + + The site map. + The result of the conversion. + + + + Returns a new builder. + + + + + + Resets this instance. + + + + + Gets or sets the default cache duration in minutes. + + The default cache duration in minutes. + + + + Gets or sets a value indicating whether [default compress]. + + true if [default compress]; otherwise, false. + + + + Gets or sets a value indicating whether [default generate search engine map]. + + + true if [default generate search engine map]; otherwise, false. + + + + + Gets or sets the root node. + + The root node. + + + + Gets or sets the cache duration in minutes. + + The cache duration in minutes. + + + + Gets or sets a value indicating whether this is compress. + + true if compress; otherwise, false. + + + + Gets or sets a value indicating whether [generate search engine map]. + + + true if [generate search engine map]; otherwise, false. + + + + + The builder to fluently configuring . + + + + + Initializes a new instance of the class. + + The site map. + + + + Performs an implicit conversion from to . + + The builder. + The result of the conversion. + + + + Returns the internal sitemap. + + + + + + Caches the duration in minutes. + + The value. + + + + + Compresses the specified value. + + if set to true [value]. + + + + + Generates the search engine map. + + if set to true [value]. + + + + + Gets the root node. + + The root node. + + + + Sitemap change frequency + + + + + Automatic + + + + + Daily + + + + + Always + + + + + Hourly + + + + + Weekly + + + + + Monthly + + + + + Yearly + + + + + Never + + + + + Defines a class that is used to store against a key. + + + + + Registers the specified name. + + The type of the site map. + The name. + The configure. + + + + + Adds an item to the . + + The object to add to the . + + The is read-only. + + + + + Adds an element with the provided key and value to the . + + The object to use as the key of the element to add. + The object to use as the value of the element to add. + + is null. + + + An element with the same key already exists in the . + + + The is read-only. + + + + + Removes all items from the . + + + The is read-only. + + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Determines whether the contains an element with the specified key. + + The key to locate in the . + + true if the contains an element with the key; otherwise, false. + + + is null. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in at which copying begins. + + is null. + + + is less than 0. + + + is multidimensional. + -or- + is equal to or greater than the length of . + -or- + The number of elements in the source is greater than the available space from to the end of the destination . + -or- + Type cannot be cast automatically to the type of the destination + + + + + Returns an enumerator that iterates through the collection. + + + A that can be used to iterate through the collection. + + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + + The is read-only. + + + + + Removes the element with the specified key from the . + + The key of the element to remove. + + true if the element is successfully removed; otherwise, false. This method also returns false if was not found in the original . + + + is null. + + + The is read-only. + + + + + Gets the value associated with the specified key. + + The key whose value to get. + When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the parameter. This parameter is passed uninitialized. + + true if the object that implements contains an element with the specified key; otherwise, false. + + + is null. + + + + + Returns an enumerator that iterates through a collection. + + + An object that can be used to iterate through the collection. + + + + + Gets or sets the default site map factory. + + The default site map factory. + + + + Gets or sets the default site map. + + The default site map. + + + + Gets the number of elements contained in the . + + + + The number of elements contained in the . + + + + + Gets a value indicating whether the is read-only. + + + true if the is read-only; otherwise, false. + + + + + Gets an containing the keys of the . + + + + An containing the keys of the object that implements . + + + + + Gets an containing the values in the . + + + + An containing the values in the object that implements . + + + + + Gets or sets the with the specified key. + + + + + + Defines a class that is used to generate searach engine sitemap xml. + + + + + Provides a common base set of functionality for IHttpHandler implementations. + + + + + Enables processing of HTTP Web requests by a custom HttpHandler that implements the interface. + + An object that provides references to the intrinsic server objects (for example, Request, Response, Session, and Server) used to service HTTP requests. + + + + Processes the request. + + The context. + + + + Gets a value indicating whether another request can use the instance. + + + true if the instance is reusable; otherwise, false. + + + + Initializes a new instance of the class. + + The site maps. + The HTTP response compressor. + The HTTP response cacher. + The URL generator. + + + + Initializes a new instance of the class. + + + + + Processes the request. + + The context. + + + + Gets or sets the default path. + + The default path. + + + + Defines a class that is used to store global sitemaps. + + + + + Gets the site maps. + + The site maps. + + + + Defines a class that is used to store single url. + + + + + Serves as the base class for classes that provides linked object information. + + + + + Gets or sets the T object that is the parent of the current node. + + The parent. + + + + Gets the previous T object on the same level as the current one, relative to the T.ParentNode object (if one exists). + + The previous sibling. + + + + Gets the next T node on the same hierarchical level as the current one, relative to the T.ParentNode property (if one exists). + + The next sibling. + + + + Initializes a new instance of the class. + + + + + Performs an implicit conversion from to . + + The node. + The result of the conversion. + + + + Gets or sets the title. + + The title. + + + + Gets or sets a value indicating whether this is visible. + + true if visible; otherwise, false. + + + + Gets or sets the last modified at. + + The last modified at. + + + + Gets or sets the name of the route. + + The name of the route. + + + + Gets or sets the name of the controller. + + The name of the controller. + + + + Gets or sets the name of the action. + + The name of the action. + + + + Gets or sets the route values. + + The route values. + + + + Gets or sets the URL. + + The URL. + + + + Gets or sets the change frequency. + + The change frequency. + + + + Gets or sets the update priority. + + The update priority. + + + + Gets or sets a value indicating whether [include in search engine index]. + + + true if [include in search engine index]; otherwise, false. + + + + + Gets or sets the attributes. + + The attributes. + + + + Gets or sets the child nodes. + + The child nodes. + + + + Builder class for fluently configuring . + + + + + Initializes a new instance of the class. + + The site map node. + + + + Performs an implicit conversion from to . + + The builder. + The result of the conversion. + + + + Returns the internal node. + + + + + + Sets the title. + + The value. + + + + + Sets the visibility. + + if set to true [value]. + + + + + Sets the Lasts the modified date.. + + The value. + + + + + Sets the route. + + Name of the route. + The route values. + + + + + Sets the route. + + Name of the route. + The route values. + + + + + Sets the route. + + Name of the route. + + + + + Sets the action to which the date should navigate + + The route values of the Action method. + + + + Sets the action, controller and route values. + + Name of the action. + Name of the controller. + The route values. + + + + + Sets the action, controller and route values. + + Name of the action. + Name of the controller. + The route values. + + + + + Sets the action and controller. + + Name of the action. + Name of the controller. + + + + + Expression based controllerAction. + + The type of the controller. + The action. + + + + + Sets the url. + + The value. + + + + + Sets the change frequency. + + The value. + + + + + Sets the update priority. + + The value. + + + + + Marks an item that it would be included in the search engine index. + + if set to true [value]. + + + + + Sets the attributes + + The value. + + + + + Sets the attributes + + The value. + + + + + Executes the provided delegate to configure the child node. + + The add actions. + + + + + Defines a factory that is used to create . + + + + + Initializes a new instance of the class. + + The parent. + + + + Adds this instance. + + + + + + Sitemap update priority. + + + + + Automatic + + + + + Low + + + + + Normal + + + + + High + + + + + Critical + + + + + Xml file based sitemap. + + + + + Initializes a new instance of the class. + + + + + Loads from the default path. + + + + + Loads from the specified path. + + The relative virtual path. + + + + Gets or sets the default path. + + The default path. + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The component. + + + + Sets selected date. + + DateTime object represents the selected date. + + + + Sets selected date. + + Date passed as string. + + + + Sets the smallest possible date, which user can choose. + + + + + Sets the smallest possible date, which user can choose. + + + + + Sets the biggest possible date, which user can choose. + + + + + Sets the smallest possible date, which user can choose. + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => + events.OnLoad("onLoad") + ) + %> + + + + + + Configures the selection settings of the calendar. + + SelectAction settings, which includes Action name and IEnumerable of DateTime objects. + + + + + Defines fluent interface for configuring calendar client events. + + + + + Initializes a new instance of the class. + + Client events of the calendar. + The context of the View. + + + + Defines the inline handler of the OnSelect client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the OnDateSelect client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Calendar() + .Name("Calendar") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Contains constants for CSS class names, used across all UI extensions + + + + + Next navigation link + + + + + Previous navigavtion link + + + + + Previous navigavtion link + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The selection settings. + The view context. + + + + Defines list of dates. This list determines which dates to be rendered with action link. + + List of objects + + + + Sets the action to which the date should navigate + + The route values of the Action method. + + + + Sets the action to which the date should navigate + + Name of the action. + The route values. + + + + Sets the action to which the item should navigate + + Name of the action. + Name of the controller. + The route values. + + + + Defines the fluent interface for configuring delete action command. + + + + + + Defines the fluent interface for configuring command. + + The type of the model + The type of the command. + The type of the builder. + + + + Initializes a new instance of the class. + + The column. + + + + Sets the button type. + + The button type. + + + + + Sets the HTML attributes. + + The HTML attributes. + + + + + Sets the HTML attributes. + + The HTML attributes. + + + + + Sets the image HTML attributes. + + The Image HTML attributes. + + + + + Sets the image HTML attributes. + + The Image HTML attributes. + + + + + Initializes a new instance of the class. + + The command. + + + + Represents a column in the component + + The type of the data item + + + + Gets or sets the grid. + + The grid. + + + + Gets the member of the column. + + The member. + + + + Gets the template of the column. + + + + + Gets the header template of the column. + + + + + Gets the footer template of the column. + + + + + Gets or sets the title of the column. + + The title. + + + + Gets or sets the width of the column. + + The width. + + + + Gets or sets a value indicating whether this column is hidden. + + true if hidden; otherwise, false. + + Hidden columns are output as HTML but are not visible by the end-user. + + + + + Gets the header HTML attributes. + + The header HTML attributes. + + + + Gets the footer HTML attributes. + + The footer HTML attributes. + + + + Gets or sets a value indicating whether this column is visible. + + true if visible; otherwise, false. The default value is true. + + Invisible columns are not output in the HTML. + + + + + Gets the HTML attributes of the cell rendered for the column + + The HTML attributes. + + + + Defines the fluent interface for configuring the edit action command. + + + + + + Initializes a new instance of the class. + + The command. + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables binding. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); + }) + %> + + + + The Enabled method is useful when you need to enable binding based on certain conditions. + + + + + Sets the action, controller and route values for the select operation + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select(MVC.Home.Index().GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new { id = 1 }); + }) + %> + + + + + + Sets the action and controller for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home"); + }) + %> + + + + + + Sets the route and values for the select operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for the select operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for the select operation + + Name of the route. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default"); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select<HomeController>(controller => controller.Index())); + }) + %> + + + + + + Sets the action, controller and route values for the insert operation + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert(MVC.Home.Index(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for insert operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for insert operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert("Index", "Home", new { id = 1 }); + }) + %> + + + + + + Sets the action and controller for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert("Index", "Home"); + }) + %> + + + + + + Sets the route and values for insert operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for insert operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for insert operation + + Name of the route. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert("Default"); + }) + %> + + + + + + Sets the action, controller and route values for insert operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Insert<HomeController>(controller => controller.Index())); + }) + %> + + + + + + Sets the action, controller and route values for the update operation + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update(MVC.Home.Index(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for update operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update(MVC.Home.Index(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for update operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Index", "Home", new { id = 1 }); + }) + %> + + + + + + Sets the action and controller for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Index", "Home"); + }) + %> + + + + + + Sets the route and values for update operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for update operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for update operation + + Name of the route. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update("Default"); + }) + %> + + + + + + Sets the action, controller and route values for update operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Update<HomeController>(controller => controller.Index())); + }) + %> + + + + + + Sets the action, controller and route values for the delete operation + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete(MVC.Home.Index(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for delete operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Index", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for delete operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Index", "Home", new { id = 1 }); + }) + %> + + + + + + Sets the action and controller for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Index", "Home"); + }) + %> + + + + + + Sets the route and values for delete operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for delete operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for delete operation + + Name of the route. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete("Default"); + }) + %> + + + + + + Sets the action, controller and route values for delete operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Delete<HomeController>(controller => controller.Index())); + }) + %> + + + + + + Defines the fluent interface for configuring the data binding. + + + + + Initializes a new instance of the class. + + The configuration. + + + + Use it to configure Server binding. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Server().Select("FirstLook", "Grid"}); + }) + .Pagealbe() + .Sortable(); + %> + + + + + + Use it to configure Ajax binding. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("_FirstLook", "Grid").Enabled((bool)ViewData["ajax"]); + }) + .Pagealbe() + .Sortable(); + %> + + + + + + Use it to configure web service binding. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.WebService().Select("~/Models/Orders.asmx/GetOrders") + }) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + %> + + + + + + Defines the fluent interface for configuring the data key. + + The type of the model + + + + Initializes a new instance of the class. + + The dataKey. + + + + Sets the RouteKey. + + The value. + + + + + Gets the HTML attributes of the form rendered during editing + + The HTML attributes. + + + + Creates data key for the . + + The type of the data item + + + + Initializes a new instance of the class. + + The grid. + + + + Defines a data key. + + + + + + + + Defines which objects can have child items. + + + + + + Child items collection. + + + + + Defines the fluent interface for configuring the component. + + + + + + Defines the number of the decimal digits. + + + + + Sets the decimal separator. + + + + + Defines the fluent interface for configuring the . + + + + + Defines the inline handler of the OnChange client-side event + + The action defining the inline handler. + + + <% Html.Telerik().IntegerTextBox() + .Name("IntegerTextBox") + .ClientEvents(events => events.OnChange(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnChange client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().IntegerTextBox() + .Name("IntegerTextBox") + .ClientEvents(events => events.OnChange( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChange client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().IntegerTextBox() + .Name("IntegerTextBox") + .ClientEvents(events => events.OnChange("onChange")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().IntegerTextBox() + .Name("IntegerTextBox") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().IntegerTextBox() + .Name("IntegerTextBox") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().IntegerTextBox() + .Name("IntegerTextBox") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Sets the value of the timepicker input + + + + + Sets the value of the timepicker input + + + + + Sets the value of the timepicker input + + + + + Sets the minimum time, which can be selected in timepicker + + + + + Sets the minimum time, which can be selected in timepicker + + + + + Sets the maximum time, which can be selected in timepicker + + + + + Sets the maximum time, which can be selected in timepicker + + + + + Sets the interval between hours. + + + + + Sets whether timepicker to be rendered with button, which shows timeview on click. + + + + + Sets the title of the timepicker button. + + + + + Defines the fluent interface for configuring TreeView drag&drop. + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables / disables drag&drop functionality. + + Whether to enable or to disable the drag&drop. + + + + Allows elements to be dropped on arbitrary HTML elements + + jQuery selector that specifies the elements that qualify as drop targets. + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables binding. + + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home").Enabled((bool)ViewData["ajax"]); + }) + %> + + + + The Enabled method is useful when you need to enable binding based on certain conditions. + + + + + Sets the action, controller and route values + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select(MVC.Home.Index(1).GetRouteValueDictionary()); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home", new { {"id", 1} }); + }) + %> + + + + + + Sets the action, controller and route values for the select operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Index", "Home"); + }) + %> + + + + + + Sets the route and values for the select operation + + Name of the route. + The route values. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + }) + %> + + + + + + Sets the route and values for the select operation + + Name of the route. + The route values. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default", new {id=1}); + }) + %> + + + + + + Sets the route name for the select operation + + Name of the route. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => + { + dataBinding.Ajax().Select("Default"); + }) + %> + + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Defines the items in the TreeView + + The add action. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + %> + + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => + .OnDataBinding("onDataBinding") + .OnItemDataBound("onItemDataBound") + ) + %> + + + + + + Binds the TreeView to a sitemap + + The view data key. + The action to configure the item. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .BindTo("examples", (item, siteMapNode) => + { + }) + %> + + + + + + Binds the TreeView to a sitemap. + + The view data key. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .BindTo("examples") + %> + + + + + + Binds the TreeView to a list of objects. The TreeView will be "flat" which means a TreeView item will be created for + every item in the data source. + + The type of the data item + The data source. + The action executed for every data bound item. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .BindTo(new []{"First", "Second"}, (item, value) + { + item.Text = value; + }) + %> + + + + + + Binds the TreeView to a list of objects. The TreeView will create a hierarchy of items using the specified mappings. + + The type of the data item + The data source. + The action which will configure the mappings + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .BindTo(Model, mapping => mapping + .For<Customer>(binding => binding + .Children(c => c.Orders) // The "child" items will be bound to the the "Orders" property + .ItemDataBound((item, c) => item.Text = c.ContactName) // Map "Customer" properties to TreeViewItem properties + ) + .For<Order<(binding => binding + .Children(o => null) // "Orders" do not have child objects so return "null" + .ItemDataBound((item, o) => item.Text = o.OrderID.ToString()) // Map "Order" properties to TreeViewItem properties + ) + ) + %> + + + + + + Use it to configure Data binding. + + Action that configures the data binding options. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "TreeView") + ); + %> + + + + + + Callback for each item. + + Action, which will be executed for each item. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ItemAction(item => + { + item + .Text(...) + .HtmlAttributes(...); + }) + %> + + + + + + Select item depending on the current URL. + + If true the item will be highlighted. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .HighlightPath(true) + %> + + + + + + Configures the effects of the TreeView. + + The action which configures the effects. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Effects(fx => + { + fx.Slide() + .Opacity() + .OpenDuration(AnimationDuration.Normal) + .CloseDuration(AnimationDuration.Normal); + }) + + + + + + Expand all the items. + + If true all the items will be expanded. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ExpandAll(true) + %> + + + + + + ShowLines indicates if lines connecting child nodes to parent nodes are displayed. + + If true lines connecting child nodes to parent nodes are displayed. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ShowLines(true) + %> + + + + + + ShowCheckBox indicates if checkbox displayed before node. + + If true checkbox will be displayed for every node. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ShowCheckBox(true) + %> + + + + + + Enables drag & drop between treeview nodes. + + If true, drag & drop is enabled. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + .DragAndDrop(true) + %> + + + + + + Enables drag & drop between treeview nodes. + + Action that configures the drag and drop options. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + .DragAndDrop(settings => + { + + }) + %> + + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The client events. + The view context. + + + + Defines the inline handler of the OnExpand client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnExpand(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnExpand client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnExpand( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnExpand client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnExpand("onExpand")) + %> + + + + + + Defines the inline handler of the OnCollapse client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnCollapse(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnCollapse client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnCollapse( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnCollapse client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnCollapse("onCollapse")) + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnSelect(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnSelect( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSelect client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnSelect("onSelect")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnError client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Defines the inline handler of the OnNodeDragStart client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDragStart(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnNodeDragStart client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDragStart( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnNodeDragStart client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDragStart("onNodeDragStrat")) + %> + + + + + + Defines the inline handler of the OnNodeDrop client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDrop(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnNodeDrop client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDrop( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnNodeDrop client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDrop("OnNodeDrop")) + %> + + + + + + Defines the inline handler of the OnNodeDropped client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDropped(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnNodeDropped client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDropped( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnNodeDropped client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDropped("OnNodeDropped")) + %> + + + + + + Defines the inline handler of the OnNodeDragCancelled client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDragCancelled(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnNodeDragCancelled client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDragCancelled( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnNodeDragCancelled client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDragCancelled("OnNodeDragCancelled")) + %> + + + + + + Defines the inline handler of the OnNodeDragging client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDragging(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnNodeDragging client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDragging( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnNodeDragging client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnNodeDragging("OnNodeDragging")) + %> + + + + + + Defines the inline handler of the OnDataBinding client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnDataBinding(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnDataBinding client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnDataBinding( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDataBinding client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnDataBinding("OnDataBinding")) + %> + + + + + + Defines the inline handler of the OnDataBound client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnDataBound(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnDataBound client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnDataBound( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDataBound client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnDataBound("OnDataBound")) + %> + + + + + + Defines the inline handler of the OnChecked client-side event. Requires ShowCheckBox to be true. + + The action defining the inline handler. + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnChecked(() => + { + %> + function(e) { + // event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnChecked client-side event. Requires ShowCheckBox to be true. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnChecked( + @<text> + function(e) { + // event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnChecked client-side event. Requires ShowCheckBox to be true. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .ClientEvents(events => events.OnChecked("onChecked")) + %> + + + + + + Defines the fluent interface for configuring the data binding. + + + + + Initializes a new instance of the class. + + The configuration. + + + + Use it to configure Ajax binding. + + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => dataBinding + .Ajax().Select("_AjaxLoading", "TreeView") + ) + %> + + + + + + Use it to configure web service binding. + + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => dataBinding + .WebService().Select("~/Models/Employees.asmx/GetEmployees") + ) + %> + + + + + + Defines the fluent interface for configuring child TreeView items. + + + + + Defines the fluent interface for configuring navigation items + + The type of the item. + The type of the builder. + + + + Initializes a new instance of the class. + + The item. + + + + Returns the inner navigation item + + + + + + Sets the HTML attributes applied to the outer HTML element rendered for the item + + The attributes. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Attributes(new {@class="first-item"})) + %> + + + + + + Sets the HTML attributes applied to the outer HTML element rendered for the item + + The attributes. + + + + Sets the text displayed by the item. + + The value. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("First Item")) + %> + + + + + + Makes the item visible or not. Invisible items are not rendered in the output HTML. + + + Sets the text displayed by the item. + + The value. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("First Item").Visible((bool)ViewData["visible"]) + %> + + + + + + Enables or disables the item. Disabled item cannot be clicked, expanded or open (depending on the item type - menu, tabstrip, panelbar). + + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("First Item").Enabled((bool)ViewData["enabled"]) + %> + + + + + + Selects or unselects the item. By default items are not selected. + + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("First Item").Selected(true)) + %> + + + + + + Sets the route to which the item should navigate. + + Name of the route. + The route values. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("First Item").Route("Default", new RouteValueDictionary{{"id", 1}})) + %> + + + + + + Sets the route to which the item should navigate. + + Name of the route. + The route values. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("First Item").Route("Default", new {id, 1})) + %> + + + + + + Sets the route to which the item should navigate. + + Name of the route. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("First Item").Route("Default")) + %> + + + + + + Sets the action to which the item should navigate + + The route values of the Action method. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("Index").Action(MVC.Home.Index(3).GetRouteValueDictionary())) + %> + + + + + + Sets the action to which the item should navigate + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("Index").Action("Index", "Home", new RouteValueDictionary{{"id", 1}})) + %> + + + + + + Sets the action to which the item should navigate + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("Index").Action("Index", "Home", new {id, 1})) + %> + + + + + + Sets the action to which the item should navigate + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("Index").Action("Index", "Home")) + %> + + + + + + Sets the URL to which the item should navigate + + The value. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("www.example.com").Url("http://www.example.com")) + %> + + + + + + Sets the URL of the image that should be displayed by the item. + + The value. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("First Item").ImageUrl("~/Content/first.png")) + %> + + + + + + Sets the HTML attributes for the item image. + + The attributes. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items + .Add().Text("First Item") + .ImageUrl("~/Content/first.png") + .ImageHtmlAttributes(new {@class="first-item-image"})) + %> + + + + + + Sets the HTML attributes for the item image. + + The attributes. + + + + Sets the sprite CSS class names. + + The CSS classes. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items + .Add().Text("First Item") + .SpriteCssClasses("icon", "first-item") + %> + + + + + + Sets the HTML content which the item should display. + + The action which renders the content. + + <% Html.Telerik().Menu() + .Name("Menu") + .Items(items => items + .Add() + .Text("First Item") + .Content(() => + { + %> + <strong> First Item Content</strong> + <% + });) + .Render(); + %> + + + + + Sets the HTML content which the item should display. + + The content wrapped in a regular HTML tag or text tag (Razor syntax). + + @(Html.Telerik().Menu() + .Name("Menu") + .Items(items => items + .Add() + .Text("First Item") + .Content( + @<text> + Some text + <strong> First Item Content</strong> + </text> + ); + ) + ) + + + + + Sets the HTML content which the item should display as a string. + + The action which renders the content. + + <% Html.Telerik().Menu() + .Name("Menu") + .Items(items => items + .Add() + .Text("First Item") + .Content("<strong> First Item Content</strong>"); + ) + .Render(); + %> + + + + + Sets the HTML attributes of the content element of the item. + + The attributes. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items + .Add().Text("First Item") + .Content(() => { %> <strong>First Item Content</strong> <% }) + .ContentHtmlAttributes(new {@class="first-item-content"}) + %> + + + + + + Sets the HTML attributes of the content element of the item. + + The attributes. + + + + Makes the item navigate to the specified controllerAction method. + + The type of the controller. + The action. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items + .Add().Text("First Item") + .Action<HomeController>(controller => controller.Index())) + + %> + + + + + + Sets whether the Text property should be encoded when the item is rendered. + + Whether the property should be encoded. Default: true. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => items.Add().Text("<strong>First Item</strong>").Encoded(false)) + %> + + + + + + Initializes a new instance of the class. + + The item. + + + + Configures the child items of a . + + The add action. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => + { + items.Add().Text("First Item").Items(firstItemChildren => + { + firstItemChildren.Add().Text("Child Item 1"); + firstItemChildren.Add().Text("Child Item 2"); + }); + }) + %> + + + + + + Sets the value for the item. + + The value. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => items.Add().Value("1")) + %> + + + + + + Define when the item will be expanded on intial render. + + If true the item will be expanded. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => + { + items.Add().Text("First Item").Items(firstItemChildren => + { + firstItemChildren.Add().Text("Child Item 1"); + firstItemChildren.Add().Text("Child Item 2"); + }) + .Expanded(true); + }) + %> + + + + + + Define when the item will be checked on intial render. + + If true the item will be checked. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => + { + items.Add().Text("First Item").Items(firstItemChildren => + { + firstItemChildren.Add().Text("Child Item 1"); + firstItemChildren.Add().Text("Child Item 2"); + }) + .Checked(true); + }) + %> + + + + + + Enables/disables the rendering of a checkbox for this item. + + If false, no checkbox will be rendered. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => + { + items.Add().Text("First Item").Items(firstItemChildren => + { + firstItemChildren.Add().Text("Child Item 1"); + firstItemChildren.Add().Text("Child Item 2"); + }) + .Checkable(false); + }) + %> + + + + + + Sets the expand mode of the treeview item. + + If true then item will be load on demand from client side. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => + { + items.Add().Text("First Item").Items(firstItemChildren => + { + firstItemChildren.Add().Text("Child Item 1"); + firstItemChildren.Add().Text("Child Item 2"); + }) + .LoadOnDemand(true); + }) + %> + + + + + + Creates items for the . + + + + + Initializes a new instance of the class. + + The settings. + + + + Defines a item. + + + + + + Defines the fluent interface for configuring the treeview webservice. + + + + + Initializes a new instance of the class. + + The settings. + + + + Specify the web service url for loading data + + The web service url + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => dataBinding + .WebService().Select("~/Models/Employees.asmx/GetEmployees") + ) + %> + + + + + + Enables / disables web service functionality. + + Whether to enable or to disable the web service. + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .DataBinding(dataBinding => dataBinding + .Ajax().Enabled(true).Select("_AjaxLoading", "TreeView") + ) + %> + + + + The Enabled method is useful when you need to enable ajax based on certain conditions. + + + + + Telerik Treeview for ASP.NET MVC is a view component for presenting hierarchical data. + + + + + Initializes a new instance of the class. + + The view context. + The client side object writer factory. + The URL generator. + The navigation item authorization. + The builder factory. + + + + Gets the client events of the treeview. + + The client events. + + + + Gets the items of the treeview. + + + + + Gets or sets the item action. + + + + + Gets or sets the effects. + + + + + Gets or sets a value indicating whether all the item is expanded. + + true if expand all is enabled; otherwise, false. The default value is false + + + + Gets or sets a value indicating whether all the item is expanded. + + true if expand all is enabled; otherwise, false. The default value is false + + + + Gets or sets a value indicating whether all the item is expanded. + + true if expand all is enabled; otherwise, false. The default value is false + + + + Gets the ajax configuration. + + + + + Gets the web service configuration + + + + + + Defines whether one navigation item can have content output immediately + + + + + The HtmlAttributes which will be added to the wrapper of the content. + + + + + The action which will output the content. + + + + + Gets the id. + + The id. + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Sets whether datepicker to be rendered with button, which shows calendar on click. + + + + + Sets the title of the datepicker button. + + + + + Sets the value of the datepicker input + + + + + Sets the value of the datepicker input + + + + + Sets the minimal date, which can be selected in DatePicker. + + + + + Sets the maximal date, which can be selected in DatePicker. + + + + + Sets the Url, which will be requested to return the content. + + The route values of the Action method. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Items(parent => { + + parent.Add() + .LoadContentFrom(MVC.Home.Index().GetRouteValueDictionary()); + }) + %> + + + + + + Sets the Url, which will be requested to return the content. + + The action name. + The controller name. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Items(parent => { + + parent.Add() + .Text("Completely Open Source") + .LoadContentFrom("AjaxView_OpenSource", "PanelBar"); + }) + %> + + + + + + Sets the Url, which will be requested to return the content. + + The action name. + The controller name. + Route values. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Items(parent => { + + parent.Add() + .Text("Completely Open Source") + .LoadContentFrom("AjaxView_OpenSource", "PanelBar", new { id = 10}); + }) + %> + + + + + + Sets the Url, which will be requested to return the content. + + The url. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Items(parent => { + + parent.Add() + .Text("Completely Open Source") + .LoadContentFrom(Url.Action("AjaxView_OpenSource", "PanelBar")); + }) + %> + + + + + + Defines the fluent interface for configuring the ajax settings + + + + + Defines the fluent interface for building + + + + + Initializes a new instance of the class. + + The settings. + + + + Sets the route and values + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Ajax(ajax => ajax.Route("Default", new {id=1})) + %> + + + + + + Sets the route and values + + Name of the route. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Ajax(ajax => ajax.Route("Default", new RouteValueDictionary{{"id",1}})) + %> + + + + + + Sets the route name + + Name of the route. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Ajax(ajax => ajax.Route("Default")) + %> + + + + + + Sets the action, controller and route values + + The route values of the Action method. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Ajax(ajax => ajax.Action(MVC.Home.Index(1).GetRouteValueDictionary())) + %> + + + + + + Sets the action, controller and route values + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Ajax(ajax => ajax.Action("Index", "Home", new {id = 1})) + %> + + + + + + Sets the action, controller and route values + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Ajax(ajax => ajax.Action("Index", "Home", new RouteValueDictionary{ {"id", 1} })) + %> + + + + + + Sets the action, controller and route values + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Ajax(ajax => ajax.Action("Index", "Home")) + %> + + + + + + Gets or sets the settings. + + The settings. + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables Ajax binding. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Ajax(ajax => ajax.Enabled((bool)ViewData["enableAjax"])) + %> + + + + The Enabled method is useful when you need to enable ajax based on certain conditions. + + + + + Initializes a new instance of the class. + + The property to which the column is bound to. + + + + Gets type of the property to which the column is bound to. + + + + + Gets or sets a value indicating whether this column is groupable. + + true if groupable; otherwise, false. + + + + Gets the name of the column + + + + + Gets a function which returns the value of the property to which the column is bound to. + + + + + Gets or sets a value indicating whether this is sortable. + + true if sortable; otherwise, false. The default value is true. + + + + Gets or sets a value indicating whether this is filterable. + + true if filterable; otherwise, false. The default value is true. + + + + Defines the fluent interface for configuring bound columns + + The type of the data item + + + + Initializes a new instance of the class. + + The column. + + + + Gets or sets the format for displaying the data. + + The value. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderDate).Format("{0:dd/MM/yyyy}")) + %> + + + + + + Makes the column read-only or not. By default bound columns are not read-only. + + + If a column is read-only it cannot be modified during editing. + + true if the column should be read-only;otherwise false + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderDate).ReadOnly(true)) + %> + + + + + + Makes the column read-only. + + + If a column is read-only it cannot be modified during editing. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderDate).ReadOnly()) + %> + + + + + + Specify which editor template should be used for the column + + name of the editor template + + + + Enables or disables sorting the column. All bound columns are sortable by default. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderDate).Sortable(false)) + %> + + + + + + Enables or disables grouping by that column. All bound columns are groupable by default. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderDate).Groupable(false)) + %> + + + + + + Enables or disables filtering the column. All bound columns are filterable by default. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderDate).Filterable(false)) + %> + + + + + + Enables or disables HTML encoding the data of the column. All bound columns are encoded by default. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns.Bound(o => o.OrderDate).Encoded(false)) + %> + + + + + + Sets the template for the column. + + The action defining the template. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .Columns(columns => columns + .Add(c => c.CustomerID) + .Template(() => + { + %> + >img + alt="<%= c.CustomerID %>" + src="<%= Url.Content("~/Content/Grid/Customers/" + c.CustomerID + ".jpg") %>" + /> + <% + }).Title("Picture");) + .Render(); + %> + + + + + + Sets the footer template for the column. + + The action defining the template. + + + + Sets the footer template for the column. + + The action defining the template. + + + + Sets the group footer template for the column. + + The action defining the template. + + + + Sets the group footer template for the column. + + The action defining the template. + + + + Sets the group footer template for the column. + + The action defining the template. + + + + Sets the group footer template for the column. + + The action defining the template. + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The events. + + + + Defines the inline handler of the OnLoad client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //Load handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //Load handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnSubmitChanges client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnSubmitChanges(() => + { + %> + function(e) { + //handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSubmitChanges client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnSubmitChanges( + @<text> + function(e) { + //handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSubmitChanges client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnSubmitChanges("onSubmitChanges")) + %> + + + + + + Defines the inline handler of the OnEdit client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnEdit(() => + { + %> + function(e) { + //edit handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnEdit client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnEdit( + @<text> + function(e) { + //edit handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnEdit client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnEdit("onEdit")) + %> + + + + + + Defines the inline handler of the OnSave client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnSave(() => + { + %> + function(e) { + //edit handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSave client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnSave( + @<text> + function(e) { + //edit handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSave client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnSave("onSave")) + %> + + + + + + Defines the inline handler of the OnDetailViewExpand client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDetailViewExpand(() => + { + %> + function(e) { + //edit handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnDetailViewExpand client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDetailViewExpand( + @<text> + function(e) { + //edit handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDetailViewExpand client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDetailViewExpand("onDetailViewExpand")) + %> + + + + + + Defines the inline handler of the OnDetailViewCollapse client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDetailViewCollapse(() => + { + %> + function(e) { + //edit handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnDetailViewCollapse client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDetailViewCollapse( + @<text> + function(e) { + //edit handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDetailViewCollapse client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDetailViewCollapse("onDetailViewCollapse")) + %> + + + + + + Defines the inline handler of the OnSave client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnSave(() => + { + %> + function(e) { + //edit handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSave client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnSave( + @<text> + function(e) { + //edit handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDelete client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnSave("onDelete")) + %> + + + + + + Defines the inline handler of the OnColumnResize client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnColumnResize(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnColumnResize client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnColumnResize( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnColumnResize client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnColumnResize("onColumnResize")) + %> + + + + + + Defines the inline handler of the OnColumnReorder client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnColumnReorder(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnColumnReorder client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnColumnReorder( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnColumnResize client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnColumnReorder("onColumnReorder")) + %> + + + + + + Defines the inline handler of the OnRowSelect client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnRowSelect(() => + { + %> + function(e) { + //Error handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnRowSelect client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnRowSelect( + @<text> + function(e) { + //Error handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnRowSelect client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnRowSelect("onRowSelect")) + %> + + + + + + Defines the inline handler of the OnError client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + //Error handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + //Error handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Defines the inline error handler of the OnDataBound client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDataBound(() => + { + %> + function(e) { + //data bound handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline error handler of the OnDataBound client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDataBound( + @<text> + function(e) { + //data bound handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDataBound client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDataBound("onDataBound")) + %> + + + + + + Defines the inline error handler of the OnDataBinding client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDataBinding(() => + { + %> + function(e) { + //data binding handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline error handler of the OnDataBinding client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDataBinding( + @<text> + function(e) { + //data binding handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnDataBinding client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnDataBinding("onDataBinding")) + %> + + + + + + Defines the inline error handler of the OnRowDataBound client-side event. + + The action defining the inline handler. + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnRowDataBound(() => + { + %> + function(e) { + var row = e.row; + var dataItem = e.dataItem; + } + <% + })) + .Render(); + %> + + + + + + Defines the inline error handler of the OnRowDataBound client-side event. + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnRowDataBound( + @<text> + function(e) { + var row = e.row; + var dataItem = e.dataItem; + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnRowDataBound client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .ClientEvents(events => events.OnRowDataBound("onRowDataBound")) + %> + + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The column. + + + + Creates command for the . + + The type of the data item + + + + Initializes a new instance of the class. + + The column. + + + + Defines a edit command. + + + + + + Defines a delete command. + + + + + + Defines a select command. + + + + + + Defines the fluent interface for configuring . + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables filtering + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Filterable(filtering => filtering.Enabled((bool)ViewData["enableFiltering"])) + %> + + + + The Enabled method is useful when you need to enable filtering based on certain conditions. + + + + + Defines the fluent interface for configuring + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables scrolling. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Scrolling(scrolling => scrolling.Enabled((bool)ViewData["enableScrolling"])) + %> + + + + The Enabled method is useful when you need to enable scrolling based on certain conditions. + + + + + Sets the height of the scrollable area in pixels. + + The height in pixels. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Scrolling(scrolling => scrolling.Height(400)) + %> + + + + + + Sets the height of the scrollable. + + The height in pixels. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Scrolling(scrolling => scrolling.Height("20em")) + %> + + + + + + Defines the fluent interface for configuring the + + + + + Initializes a new instance of the class. + + The settings. + + + The pager will display only a status message + + + The pager will display first/previous/next/last links + + + The pager will display page numbers as link buttons. + + + The pager will display an input field and the total number of pages. + + + The pager will display a dropdown and the total number of pages. + + + (first) (previous) (page numbers) (next) (last) + + + (first) (previous) (page input field) (next) (last) + + + (first) (previous) (page size drop down) (next) (last) + + + + Defines the fluent interface for configuring + + + + + Enables or disables selection. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Selectable(selection => selection.Enabled((bool)ViewData["enableSelection"])) + %> + + + + The Enabled method is useful when you need to enable scrolling based on certain conditions. + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The settings. + + + + Enables or disables sorting. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Sorting(sorting => sorting.Enabled((bool)ViewData["enableSorting"])) + %> + + + + The Enabled method is useful when you need to enable sorting based on certain conditions. + + + + + Sets the sort mode of the grid. + + The value. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Sorting(sorting => sorting.SortMode(GridSortMode.MultipleColumns)) + %> + + + + + + Configures the initial sort order. + + The configurator. + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The settings. + + + + Sets the url of the web service which the will request for data. + + The value. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .WebService(webService => webService.Url("~/Models/Orders.asmx/GetOrders"))) + %> + + + + + + Enables or disables web service binding. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .WebService(webService => webService.Enabled((bool)ViewData["enableWebServiceBinding"])) + %> + + + + The Enabled method is useful when you need to enable web service binding based on certain conditions. + + + + + Specifies the animation duration of item. + + + + + Fast animation, duration is set to 200. + + + + + Normal animation, duration is set to 400. + + + + + Slow animation, duration is set to 600. + + + + + Helper class to convert jQuery Animation Duration. + + + + + Converts specified duration in jQuery equivalent value. + + The duration. + + + + + Defines the basic building block of creating client side object. + + + + + Starts writing this instance. + + + + + + Appends the specified key value pair to the end of this instance. + + The key value pair. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and nullable value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + The default value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + if set to true [value]. + + + + + Appends the specified name and value to the end of this instance. + + The name. + if set to true [value]. + if set to true [default value]. + + + + + Appends the specified name and only the date of the passed . + + The name. + The value. + + + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The action. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The action. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The HtmlTemplate. + + + + + Appends the object. + + The name. + The value. + + + + + Appends the specified name and Action or String specified in the ClientEvent object. + + The name. + Client event of the component. + + + + + Appends the specified name and value to the end of this instance. + + The type of the enum. + The name. + The value. + The default value. + + + + + Completes this instance. + + + + + Defines the factory to create . + + + + + Creates a writer. + + The id. + The type. + The text writer. + + + + + Defines the sort modes supported by + + + + + The user can sort only by one column at the same time. + + + + + The user can sort by more than one column at the same time. + + + + + Telerik Grid for ASP.NET MVC is a view component for presenting tabular data. + It supports the following features: + + Flexible databinding - server, ajax and web service + Paging, sorting and filtering + Light HTML and JavaScript footprint + + + The type of the data item which the grid is bound to. + + + + Initializes a new instance of the class. + + The view context. + The client side object writer factory. + The URL generator. + The builder factory. + + + + Gets the selection configuration + + + + + Gets the client events of the grid. + + The client events. + + + + Gets the filtering configuration. + + + + + Gets the web service configuration + + + + + Gets the server binding configuration. + + + + + Gets the scrolling configuration. + + + + + Gets the ajax configuration. + + + + + Gets or sets a value indicating whether custom binding is enabled. + + true if custom binding is enabled; otherwise, false. The default value is false + + + + Gets the paging configuration. + + + + + Gets the columns of the grid. + + + + + Gets or sets the data source. + + The data source. + + + + Gets the page size of the grid. + + + + + Gets the sorting configuration. + + The sorting. + + + + Gets or sets a value indicating whether to add the property of the grid as a prefix in url parameters. + + true if prefixing is enabled; otherwise, false. The default value is true + + + + Gets or sets the action executed when rendering a row. + + + + + Gets or sets the action executed when rendering a cell. + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Configures the grid resizing settings + + Resizing settings configurator method + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Resizable(resizing => resizing.Columns(true)) + %> + + + + + + Configures the grid reordering settings + + Resizing settings configurator method + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Reorderable(reordering => reordering.Columns(true)) + %> + + + + + + Sets the localization culture of the grid. + + The culture. + + + <%= Html.Telerik().Grid<Order>() + .Name("Orders") + .Localizable("de-DE") + %> + + + + + + Configures the grid editing settings. + + Configurator for the edit settings. + + + <%= Html.Telerik().Grid<Order>() + .Name("Orders") + .Editable(settings => settings.Enabled(true)) + %> + + + + + + Configures the toolbar of the grid. + + ToolBar configurator. + + + <%= Html.Telerik().Grid<Order>() + .Name("Orders") + .ToolBar(commands => commands.Insert()) + %> + + + + + + Defines a list of the private keys. + + DataKeys configurator. + + + <%= Html.Telerik().Grid<Order>() + .Name("Orders") + .DataKeys(keys => + { + keys.Add(c => c.CustomerID); + }) + %> + + + + + + Configure when to show footer of the grid. + + If it is true, the feature is visible. + + + + Binds the grid to a list of objects + + The type of the data item + The data source. + + + <%= Html.Telerik().Grid<Order>() + .Name("Orders") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]); + %> + + + + + + Callback for each row. + + Action, which will be executed for each row. + You can format the entire row + + + <%= Html.Telerik().Grid() + .Name("Grid") + .RowAction(row => + { + // "DataItem" is the Order object to which the current row is bound to + if (row.DataItem.Freight > 10) + { + //Set the background of the entire row + row.HtmlAttributes["style"] = "background:red;"; + } + }); + %> + + + + + + Callback for each cell. + + Action, which will be executed for each cell. + You can format a concrete cell. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .CellAction(cell => + { + if (cell.Column.Name == "Freight") + { + if (cell.DataItem.Freight > 10) + { + //Set the background of this cell only + cell.HtmlAttributes["style"] = "background:red;"; + } + } + }); + %> + + + + + + Enables or disables the custom binding of the grid. + + If true enables custom binding. + + + + + Defines the columns of the grid. + + The add action. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]); + %> + + + + + + Allows sorting of the columns. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Sortable(); + %> + + + + + + Allows sorting of the columns. + + Use builder to define sort settings. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Sortable(sorting => sorting.SortMode(GridSortMode.MultipleColumn) + %> + + + + + + Enables row selection. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Selectable() + %> + + + + + + Enables row selection. + + Use builder to define the selection settings. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Selectable(selection => selection.Enabled(true)) + %> + + + + + + Put grid name as a prefix. + + + + + Allows paging of the data. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Pageable(); + %> + + + + + + Allows paging of the data. + + Use builder to define paging settings. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Pageable(paging => + paging.PageSize(20) + .Style(GridPagerStyles.NextPreviousAndNumeric) + .Position(GridPagerPosition.Bottom) + ) + %> + + + + + + Use it to configure Server binding. + + Use builder to set different server binding settings. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .ServerBinding(serverBinding => serverBinding + .Action("Index", "Home", new {id = (string)ViewData["id"]}) + ) + .Pagealbe() + .Sortable(); + %> + + + + + + Use it to configure binding option when performing data operations - paging, sorting and filtering. + + Use builder to set different data binding options. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .DataBinding(dataBinding => + { + dataBinding.Server().Select("FirstLook", "Grid"}); + dataBinding.Ajax().Select("_FirstLook", "Grid").Enabled((bool)ViewData["ajax"]); + }) + .Pagealbe() + .Sortable(); + %> + + + + + + Use it to configure Ajax binding. + + Use builder to set different ajax binding settings. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_AjaxBinding", "Home")) + .Pagealbe() + .Sortable(); + %> + + + + + + Allows filtering of the columns. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Filterable(); + %> + + + + + + Allows filtering of the columns. + + Use builder to define filtering settings. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Filterable(filtering => filtering.Enabled(true); + %> + + + + + + Show scrollbar if there are many items. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Scrollable(); + %> + + + + + + Show scrollbar if there are many items. + + Use builder to define scrolling settings. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Scrollable(scrolling => scrolling.Enabled(true); + %> + + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .ClientEvents(events => events + .OnDataBinding("onDataBinding") + .OnRowDataBound("onRowDataBound") + ) + %> + + + + + + Use it to configure grouping. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Groupable(grouping => grouping.Enabled(true); + %> + + + + + + Allows grouping. + + + + <%= Html.Telerik().Grid() + .Name("Grid") + .Ajax(ajax => ajax.Action("_RelatedGrids_Orders", "Grid", new { customerID = "ALFKI" })) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + .BindTo((IEnumerable<Order>)ViewData["Orders"]) + .Groupable(); + %> + + + + + + Use it to configure web service binding. + + Use builder to set different web service binding settings. + + + <%= Html.Telerik().Grid() + .Name("Grid") + .WebService(webService => webService.Url("~/Models/Orders.asmx/GetOrders")) + .Columns(columns=> + { + columns.Add(c => c.OrderID).Width(100); + columns.Add(c => c.OrderDate).Width(200).Format("{0:dd/MM/yyyy}"); + columns.Add(c => c.ShipAddress); + columns.Add(c => c.ShipCity).Width(200); + }) + %> + + + + + + Sets the HTML content which the grid should display. + + The action which renders the message when grid has no data. + + + <% Html.Telerik().Grid() + .Name("Grid") + .NoRecordsTemplate(() => + { + %> + <strong> Hello World!!!;/strong> + <% + }) + %> + + + + + + Sets the empty message template which will be display if the grid has no data. + + The Razor inline message. + + + @(Html.Telerik().Grid() + .Name("Grid") + .NoRecordsTemplate(@<strong> Hello World!!!</strong>)) + + + + + + + Sets the empty message template which will be display if the grid has no data. + + The action which renders the message when grid has no data. + + <%= Html.Telerik().Grid() + .Name("Grid") + .NoRecordsTemplate("<strong> Hello World!!!</strong>") + %> + + + + + Creates columns for the . + + The type of the data item to which the grid is bound to + + + + Initializes a new instance of the class. + + The container. + + + + Defines a bound column. + + + + + + + + Defines a bound column. + + + + + + + + Defines a bound column. + + + + + Defines a bound column. + + + + + Determines if columns should be automatically generated. + + If true columns should be generated, otherwise false. + + + + Determines if columns should be automatically generated. + + Action which will be executed for each generated column. + + + + Defines a template column. + + + + + + + Defines a template column. + + + + + + + Defines a command column. + + + + + + + Used for action methods when using Ajax or Custom binding + + + + + Initializes a new instance of the class. + + + + + Gets or sets the name of the action parameter. The default value is "command". + + The name of the action parameter. + + + [GridAction(ActionParameterName="param")] + public ActionResult Index(GridCommand param) + { + } + + + + + + Gets or sets the name of the Grid that is populated by the associated action method. Required + when custom server binding is enabled and the grid query string parameters are prefixed. + + + + [GridAction(EnableCustomBinding=true, GridName="Employees")] + public ActionResult Index(GridCommand param) + { + } + + + + + + Gets or sets a value indicating whether custom binding is enabled. Used when implementing custom ajax binding. + + true if custom binding is enabled; otherwise, false. The default value is false. + + + [GridAction(EnableCustomBinding=true)] + public ActionResult Index(GridCommand param) + { + } + + + + + + Defines the fluent interface for configuring + + + + + Initializes a new instance of the class. + + The pager. + + + + Sets the position at which to display the pager. + + The pager position. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Pageable(paging => paging.Position(GridPagerPosition.Bottom)) + %> + + + + + + Sets the page size of the grid. + + The number of items to display in a single page. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Pageable(paging => paging.PageSize(20)) + %> + + + + + + Sets the page size of the grid. + + The number of items to display in a single page. + The values shown in the pageSize dropdown + + + + + Sets the current page of the grid. + + The page which the grid should display initially. Must be greater than zero. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Pageable(paging => paging.PageTo(2)) + %> + + + + + + Sets the pager style. + + The pager style to set. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Pageable(paging => paging.Style(GridPagerStyles.PageInput | GridPagerStyles.Numeric)) + %> + + + + + + Sets the total number of items in the data source. Required during Custom binding. + + The value. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Pageable(paging => paging.Total((int)ViewData["total"])) + %> + + + + + + Enables or disables paging. + + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + .Pageable(paging => paging.Enabled((bool)ViewData["enablePaging"])) + %> + + + + The Enabled method is useful when you need to enable paging based on certain conditions. + + + + + Defines methods to manipulate generic link object collections. + + + + + + Initializes a new instance of the class. + + The parent. + + + + Adds an item to the . + + The object to add to the . + The is read-only. + + + + Removes all items from the . + + The is read-only. + + + + Determines whether the contains a specific value. + + The object to locate in the . + + true if is found in the ; otherwise, false. + + + + + Copies the elements of the to an , starting at a particular index. + + The one-dimensional that is the destination of the elements copied from . The must have zero-based indexing. + The zero-based index in at which copying begins. + + is null. + + + is less than 0. + + + is multidimensional. + -or- + is equal to or greater than the length of . + -or- + The number of elements in the source is greater than the available space from to the end of the destination . + -or- + Type cannot be cast automatically to the type of the destination . + + + + + Returns an enumerator that iterates through the collection. + + + A that can be used to iterate through the collection. + + + + + Determines the index of a specific item in the . + + The object to locate in the . + + The index of if found in the list; otherwise, -1. + + + + + Inserts an item to the at the specified index. + + The zero-based index at which should be inserted. + The object to insert into the . + + is not a valid index in the . + The is read-only. + + + + Removes the first occurrence of a specific object from the . + + The object to remove from the . + + true if was successfully removed from the ; otherwise, false. This method also returns false if is not found in the original . + + The is read-only. + + + + Removes the item at the specified index. + + The zero-based index of the item to remove. + + is not a valid index in the . + The is read-only. + + + + Gets or sets the T object that is the parent of the current node. + + The parent. + + + + Gets the number of elements contained in the . + + + The number of elements contained in the . + + + + Gets a value indicating whether the is read-only. + + + true if the is read-only; otherwise, false. + + + + Gets or sets the at the specified index. + + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Defines the items in the menu + + The add action. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + %> + + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => + events.OnOpen("onOpen").OnClose("onClose") + ) + %> + + + + + + Sets the menu orientation. + + The desired orientation. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Orientation(MenuOrientation.Vertical) + %> + + + + + + Enables or disables the "open-on-click" feature. + + + + <%= Html.Telerik().Menu() + .Name("Menu") + .OpenOnClick(true) + %> + + + + + + Binds the menu to a sitemap + + The view data key. + The action to configure the item. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .BindTo("examples", (item, siteMapNode) => + { + }) + %> + + + + + + Binds the menu to a sitemap. + + The view data key. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .BindTo("examples") + %> + + + + + + Binds the menu to a list of objects. The menu will be "flat" which means a menu item will be created for + every item in the data source. + + The type of the data item + The data source. + The action executed for every data bound item. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .BindTo(new []{"First", "Second"}, (item, value) + { + item.Text = value; + }) + %> + + + + + + Binds the menu to a list of objects. The menu will create a hierarchy of items using the specified mappings. + + The type of the data item + The data source. + The action which will configure the mappings + + + <%= Html.Telerik().Menu() + .Name("Menu") + .BindTo(Model, mapping => mapping + .For<Customer>(binding => binding + .Children(c => c.Orders) // The "child" items will be bound to the the "Orders" property + .ItemDataBound((item, c) => item.Text = c.ContactName) // Map "Customer" properties to MenuItem properties + ) + .For<Order<(binding => binding + .Children(o => null) // "Orders" do not have child objects so return "null" + .ItemDataBound((item, o) => item.Text = o.OrderID.ToString()) // Map "Order" properties to MenuItem properties + ) + ) + %> + + + + + + Configures the effects of the menu. + + The action which configures the effects. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Effects(fx => + { + fx.Slide() + .Opacity() + .OpenDuration(AnimationDuration.Normal) + .CloseDuration(AnimationDuration.Normal); + }) + + + + + + Selects the item at the specified index. + + The index. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + .SelectedIndex(1) + %> + + + + + + Callback for each item. + + Action, which will be executed for each item. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .ItemAction(item => + { + item + .Text(...) + .HtmlAttributes(...); + }) + %> + + + + + + Select item depending on the current URL. + + If true the item will be highlighted. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .HighlightPath(true) + %> + + + + + + Defines the fluent interface for configuring child menu items. + + + + + Initializes a new instance of the class. + + The item. + + + + Configures the child items of a . + + The add action. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => + { + items.Add().Text("First Item").Items(firstItemChildren => + { + firstItemChildren.Add().Text("Child Item 1"); + firstItemChildren.Add().Text("Child Item 2"); + }); + }) + %> + + + + + + Specifies the orientation in which the menu items will be ordered + + + + + Items are oredered horizontally + + + + + Items are oredered vertically + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The client events. + The view context. + + + + Defines the inline handler of the OnOpen client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnOpen(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnOpen( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnOpen client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnOpen("onOpen")) + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnClose(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnClose( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnClose client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnClose("onClose")) + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnSelect(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnSelect( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSelect client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnSelect("onSelect")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSelect client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Menu() + .Name("Menu") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + INavigatable extension for providing access to . + + + + + Sets the action, controller name and route values of object. + + The object. + The route values of the Action method. + + + + Sets the action and controller name, along with Route values of object. + + The object. + Action name. + Controller name. + Route values as an object + + + + Sets the action, controller name and route values of object. + + The object. + Action name. + Controller name. + Route values as + + + + Sets the action and route values of object. + + The object. + The controller action. + + + + Sets the url property of object. + + The object. + The Url. + + + + Sets the route name and route values of object. + + The object. + Route name. + Route values as an object. + + + + Sets the route name and route values of object. + + The object. + Route name. + Route values as . + + + + Generating url depending on the ViewContext and the generator. + + The object. + The object + The generator. + + + + Determines whether the specified navigatable matches the current request URL. + + The object. + The object. + The generator. + + + + + Generating url depending on the ViewContext and the generator. + + The object. + The object + The generator. + + + + Verify whether the object is accessible. + + The object. + The object. + The object + + + + Verifies whether collection of objects is accessible. + + Object of type. + The object. + The object. + The object + + + + Determines whether this instance has value. + + true if either ActionName and ControllerName, RouteName or Url are set; false otherwise + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Defines the items in the panelbar + + The add action. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + %> + + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => + events.OnExpand("onExpand").OnCollapse("onCollapse") + ) + %> + + + + + + Binds the panelbar to a sitemap + + The view data key. + The action to configure the item. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .BindTo("examples", (item, siteMapNode) => + { + }) + %> + + + + + + Binds the panelbar to a sitemap. + + The view data key. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .BindTo("examples") + %> + + + + + + Binds the panelbar to a list of objects + + The type of the data item + The data source. + The action executed for every data bound item. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .BindTo(new []{"First", "Second"}, (item, value) + { + item.Text = value; + }) + %> + + + + + + Binds the panelbar to a list of objects. The panelbar will create a hierarchy of items using the specified mappings. + + The type of the data item + The data source. + The action which will configure the mappings + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .BindTo(Model, mapping => mapping + .For<Customer>(binding => binding + .Children(c => c.Orders) // The "child" items will be bound to the the "Orders" property + .ItemDataBound((item, c) => item.Text = c.ContactName) // Map "Customer" properties to PanelBarItem properties + ) + .For<Order<(binding => binding + .Children(o => null) // "Orders" do not have child objects so return "null" + .ItemDataBound((item, o) => item.Text = o.OrderID.ToString()) // Map "Order" properties to PanelBarItem properties + ) + ) + %> + + + + + + Configures the effects of the panelbar. + + The action which configures the effects. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Effects(fx => + { + fx.Height() + .Opacity() + .OpenDuration(AnimationDuration.Normal) + .CloseDuration(AnimationDuration.Normal); + }) + + + + + + Callback for each item. + + Action, which will be executed for each item. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .ItemAction(item => + { + item + .Text(...) + .HtmlAttributes(...); + }) + %> + + + + + + Select item depending on the current URL. + + If true the item will be highlighted. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .HighlightPath(true) + %> + + + + + + Renders the panelbar with expanded items. + + If true the panelbar will be expanded. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .ExpandAll(true) + %> + + + + + + Sets the expand mode of the panelbar. + + The desired expand mode. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .ExpandMode(PanelBarExpandMode.Multiple) + %> + + + + + + Selects the item at the specified index. + + The index. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + .SelectedIndex(1) + %> + + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The client events. + The view context. + + + + Defines the inline handler of the OnExpand client-side event + + The action defining the inline handler. + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnExpand(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnExpand client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnExpand( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnExpand client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnExpand("onExpand")) + %> + + + + + + Defines the inline handler of the OnCollapse client-side event + + The action defining the inline handler. + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnCollapse(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnCollapse client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnCollapse( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnCollapse client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnCollapse("onCollapse")) + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The action defining the inline handler. + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnSelect(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnSelect( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSelect client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnSelect("onSelect")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnError client-side event + + The action defining the inline handler. + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Specifies the expand mode in which the panelbar will expand its items + + + + + Only one item can be expanded. + + + + + All items can be expanded + + + + + Defines the fluent interface for configuring child panelbar items. + + + + + Initializes a new instance of the class. + + The item. + The context of the View. + + + + Configures the child items of a . + + The add action. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Items(items => + { + items.Add().Text("First Item").Items(firstItemChildren => + { + firstItemChildren.Add().Text("Child Item 1"); + firstItemChildren.Add().Text("Child Item 2"); + }); + }) + %> + + + + + + Define when the item will be expanded on intial render. + + If true the item will be expanded. + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Items(items => + { + items.Add().Text("First Item").Items(firstItemChildren => + { + firstItemChildren.Add().Text("Child Item 1"); + firstItemChildren.Add().Text("Child Item 2"); + }) + .Expanded(true); + }) + %> + + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The client events. + The view context. + + + + Defines the inline handler of the OnSelect client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnSelect(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnSelect( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSelect client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnSelect("onSelect")) + %> + + + + + + Defines the inline handler of the OnContentLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnContentLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnContentLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnContentLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnContentLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnContentLoad("onContentLoad")) + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnError client-side event + + The action defining the inline handler. + + + <% Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Defines the items in the tabstrip + + The add action. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + %> + + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .ClientEvents(events => + events.OnSelect("onSelect").OnLoad("onLoad") + ) + %> + + + + + + Binds the tabstrip to a sitemap + + The view data key. + The action to configure the item. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .BindTo("examples", (item, siteMapNode) => + { + }) + %> + + + + + + Binds the tabstrip to a sitemap. + + The view data key. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .BindTo("examples") + %> + + + + + + Binds the tabstrip to a list of objects + + The type of the data item + The data source. + The action executed for every data bound item. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .BindTo(new []{"First", "Second"}, (item, value) + { + item.Text = value; + }) + %> + + + + + + Configures the effects of the tabstrip. + + The action which configures the effects. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .Effects(fx => + { + fx.Slide() + .Opacity() + .OpenDuration(AnimationDuration.Normal) + .CloseDuration(AnimationDuration.Normal); + }) + + + + + + Selects the item at the specified index. + + The index. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + .SelectedIndex(1) + %> + + + + + + Callback for each item. + + Action, which will be executed for each item. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .ItemAction(item => + { + item + .Text(...) + .HtmlAttributes(...); + }) + %> + + + + + + Select item depending on the current URL. + + If true the item will be highlighted. + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .HighlightPath(true) + %> + + + + + + Defines the fluent interface for configuring child tabstrip items. + + + + + Initializes a new instance of the class. + + The item. + The context of the View. + + + + Contains constants for CSS class names + + + + + Active state of items + + + + + Button with plain text content + + + + + Button with an icon and text content + + + + + Button with an icon only + + + + + Bare button with an icon only (no background and borders) + + + + + Content - rendered around custom content + + + + + Default state of items + + + + + Disabled state of items + + + + + Group - rendered around grouped items (children) + + + + + Header - rendered on headers or header items + + + + + Hovered state of items + + + + + Icon - icon from default icon set + + + + + Image - image rendered through ImageUrl + + + + + Item - rendered on items + + + + + First in list of items + + + + + Last in list of items + + + + + Top in list of items + + + + + Bottom in list of items + + + + + Middle in list of items + + + + + Last in list of headers + + + + + Link - rendered on all links + + + + + Reset - removes inherited styles + + + + + Selected state of items + + + + + Sprite - sprite rendered in the begging of the item. + + + + + Widget - rendered always on the outmost HTML element of a UI component + + + + + Input - input rendered in the div wrapper + + + + + CheckBox - rendered on all checkbox + + + + + ToolBar - rendered on all toolbars + + + + + Alternating class for zebra stripes + + + + + Scrollable - rendered on all elements that wish to be scrollable on touch devices + + + + + Contains CSS classes for icons + + + + + "Delete" icon + + + + + "Delete Group" icon + + + + + "Minimize" icon + + + + + "Maximize" icon + + + + + "Close" icon + + + + + Contains CSS classes, used in the grid + + + + + Grid action + + + + + Container element for editing / inserting form + + + + + Container element for editing / inserting form + + + + + Toolbar which contains different commands + + + + + Contains CSS classes, used in the treeview + + + + + Class that shows treeview lines + + + + + Contains CSS classes, used in the editor + + + + + Button in editor toolbar + + + + + Color picker in editor toolbar + + + + + Editor tool icon + + + + + Editor custom tool + + + + + Editor textarea element + + + + Slider increase button. + + + Slider decrease button. + + + Horizontal splitter + + + Vertical splitter + + + Splitter pane + + + + UI primitives for Upload + + + + + Upload button + + + + + Contains CSS classes, used in the window + + + + + Window buttons class + + + + + Window content area + + + + + Window icon + + + + + Window title bar + + + + + A builder class for + + + + + Initializes a new instance of the class. + + The async settings. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save("Save", "Home", new RouteValueDictionary{ {"id", 1} }) + ) + %> + + + + + + Sets a value indicating whether to start the upload immediately after selecting a file + + true if the upload should start immediately after selecting a file, false otherwise; true by default + + + + + + + Sets the action, controller and route values for the save operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save("Save", "Home", new RouteValueDictionary{ {"id", 1} }); + ) + %> + + + + + + Sets the action, controller and route values for the save operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save("Save", "Home", new { id = 1 }); + ) + %> + + + + + + Sets the action and controller for the save operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save("Save", "Home"); + ) + %> + + + + + + Sets the route name for the save operation + + Name of the route. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save("Default"); + ) + %> + + + + + + Sets the route values for the save operation + + The route values of the action method. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save(MVC.Home.Save(1).GetRouteValueDictionary()); + ) + %> + + + + + + Sets the route and values for the save operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + ) + %> + + + + + + Sets the route and values for the save operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save("Default", new { id = 1 }); + ) + %> + + + + + + Sets the action for the save operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save<HomeController>(controller => controller.Save())); + ) + %> + + + + + + Sets the action, controller and route values for the remove operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Remove("Remove", "Home", new RouteValueDictionary{ {"id", 1} }); + ) + %> + + + + + + Sets the action, controller and route values for the remove operation + + Name of the action. + Name of the controller. + The route values. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Remove("Remove", "Home", new { id = 1 }); + ) + %> + + + + + + Sets the action and controller for the remove operation + + Name of the action. + Name of the controller. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Remove("Remove", "Home"); + ) + %> + + + + + + Sets the route name for the remove operation + + Name of the route. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Remove("Default"); + ) + %> + + + + + + Sets the route values for the remove operation + + The route values of the action method. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Remove(MVC.Home.Remove(1).GetRouteValueDictionary()); + ) + %> + + + + + + Sets the route and values for the remove operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Remove("Default", "Home", new RouteValueDictionary{ {"id", 1} }); + ) + %> + + + + + + Sets the route and values for the remove operation + + Name of the route. + The route values. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Remove("Default", new { id = 1 }); + ) + %> + + + + + + Sets the action for the remove operation + + The type of the controller. + The action. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Remove<HomeController>(controller => controller.Remove())); + ) + %> + + + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The component. + + + + Configures the client-side events. + + The client events configuration action. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events + .OnLoad("onLoad") + .OnUpload("onUpload") + ) + %> + + + + + + Enables or disables the component. + + true if the component should be enabled, false otherwise; the default is true. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Enable(false) + %> + + + + + + Enables or disables multiple file selection. + + true if multiple file selection should be enabled, false otherwise; the default is true. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Multiple(false) + %> + + + + + + Sets a value indicating whether to show the list of uploaded files + + true if the list of uploaded files should be visible, false otherwise; true by default + + + + Use it to configure asynchronous uploading. + + Use builder to set different asynchronous uploading options. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Async(async => async + .Save("Save", "Compose") + .Remove("Remove", "Compose") + ); + %> + + + + + + Sets the localization culture of the upload. + + The culture. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .Localizable("de-DE") + %> + + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The client events. + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnSelect(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSelect client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnSelect( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSelect client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnSelect("onSelect")) + %> + + + + + + Defines the inline handler of the OnUpload client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnUpload(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnUpload client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnUpload( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnUpload client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnUpload("onUpload")) + %> + + + + + + Defines the inline handler of the OnSuccess client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnSuccess(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnSuccess client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnSuccess( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnSuccess client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnSuccess("onSuccess")) + %> + + + + + + Defines the inline handler of the OnError client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Defines the inline handler of the OnComplete client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnComplete(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnComplete client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnComplete( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnComplete client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnComplete("onComplete")) + %> + + + + + + Defines the inline handler of the OnCancel client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnCancel(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnCancel client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnCancel( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnCancel client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnCancel("onCancel")) + %> + + + + + + Defines the inline handler of the OnRemove client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnRemove(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnRemove client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnRemove( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnRemove client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Upload() + .Name("Upload") + .ClientEvents(events => events.OnRemove("onRemove")) + %> + + + + + + An HTML Builder for the Upload component + + + + + Initializes a new instance of the class. + + The Upload component. + + + + Creates the upload top-level div. + + + + + + Creates the button text element. + + + + + + Creates the file input element. + + + + + + Builds the Upload component markup. + + + + + + Defines an interface for asynchronous upload settings + + + + + Defines the Save action + + + + + Defines the Remove action + + + + + Gets or sets a value indicating whether to start the upload immediately after selecting a file + + + + + Defines the asynchronous uploading settings + + + + + Initializes a new instance of the class. + + + + + Serializes the asynchronous uploading settings to the writer. + + The writer object. + + + + Defines the Save action + + + + + Defines the Remove action + + + + + Gets or sets a value indicating whether to start the upload immediately after selecting a file + + + true if the upload should start immediately after selecting a file, false otherwise; true by default + + + + + Telerik Upload for ASP.NET MVC is a view component for uploading files. + It supports the following features: + + Asynchronous uploading + Progress tracking + Multiple file selection + Drag & drop + + Note that some of the features depend on browser capabilities. + For more information, see the online documentation. + + + + + Initializes a new instance of the class. + + The view context. + The client side object writer factory. + + + + Writes the initialization script. + + The writer object. + + + + Writes the Upload HTML. + + The writer object. + + + + Represents the client-side event handlers for the component + + + + + Gets or sets a value indicating if the component is enabled. + + + true if the component should be enabled, false otherwise; the default is true. + + + + + Gets or sets a value indicating if multiple file selection is enabled. + + + true if multiple file selection should be enabled, false otherwise; the default is true. + + + + + Gets or sets a value indicating whether to show the list of uploaded files + + + true if the list of uploaded files should be visible, false otherwise; true by default + + + + + Defines the asynchronous uploading settings + + + + + Gets or sets the URL generator. + + The URL generator. + + + + The localization strings for the component + + + + + Represents the client-side events of the component. + + + + + Initializes a new instance of the class. + + + + + Serializes the client-side events. + + The writer object to serialize to. + + + + Defines the Load client-side event handler + + + + + Defines the Select client-side event handler + + + + + Defines the Upload client-side event handler + + + + + Defines the Success client-side event handler + + + + + Defines the Error client-side event handler + + + + + Defines the Complete client-side event handler + + + + + Defines the Cancel client-side event handler + + + + + Defines the Remove client-side event handler + + + + + Localization strings for the Upload component + + + + + Initializes a new instance of the class. + + The localization service. + The culture. + + + + Serializes the localization strings. + + The key. + The writer. + + + + Gets the Select string. + + The default value is "Select...". + + + + Gets the Cancel string. + + The default value is "Cancel". + + + + Gets the Retry string. + + The default value is "Retry". + + + + Gets the Remove string. + + The default value is "Remove". + + + + Gets the UploadSelectedFiles string. + + The default value is "Upload files". + + + + Gets the DropFilesHere string. + + The default value is "drop files here to upload". + + + + Gets the "uploading" status string. + + The default value is "uploading". + + + + Gets the "uploaded" status string. + + The default value is "uploaded". + + + + Gets the "failed" status string. + + The default value is "failed". + + + + Provides the factory methods for creating Telerik View Components. + + + + + Creates a + + + + <%= Html.Telerik().StyleSheetRegistrar() + .DefaultGroup(group => group + group.Add("Site.css") + .Add("telerik.common.css") + .Add("telerik.vista.css") + .Compressed(true) + ) + %> + + + + + + Creates a + + + + <%= Html.Telerik().ScriptRegistrar() + %> + + + + + + Creates a + + + + <%= Html.Telerik().Menu() + .Name("Menu") + .Items(items => { /* add items here */ }); + %> + + + + + + Creates a + + + + <%= Html.Telerik().Editor() + .Name("Editor"); + %> + + + + + + Creates a new bound to the specified data item type. + + + The type of the data item + + <%= Html.Telerik().Grid<Order>() + .Name("Grid") + .BindTo(Model) + %> + + + + Do not forget to bind the grid using the method when using this overload. + + + + + Creates a new bound to the specified data source. + + The type of the data item + The data source. + + + <%= Html.Telerik().Grid(Model) + .Name("Grid") + %> + + + + + + Creates a new bound to a DataTable. + + DataTable from which the grid instance will be bound + + + + Creates a new bound to a DataView. + + DataView from which the grid instance will be bound + + + + Creates a new bound an item in ViewData. + + Type of the data item + The data source view data key. + + + <%= Html.Telerik().Grid<Order>("orders") + .Name("Grid") + %> + + + + + + Creates a + + + + <%= Html.Telerik().Splitter() + .Name("Splitter"); + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().TabStrip() + .Name("TabStrip") + .Items(items => + { + items.Add().Text("First"); + items.Add().Text("Second"); + }) + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().DateTimePicker() + .Name("DateTimePicker") + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().DatePicker() + .Name("DatePicker") + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().TimePicker() + .Name("TimePicker") + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().Calendar() + .Name("Calendar") + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().PanelBar() + .Name("PanelBar") + .Items(items => + { + items.Add().Text("First"); + items.Add().Text("Second"); + }) + %> + + + + + + Creates a + + + + <%= Html.Telerik().TreeView() + .Name("TreeView") + .Items(items => { /* add items here */ }); + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().NumericTextBox() + .Name("NumericTextBox") + %> + + + Returns . + + + + + Creates a new . + + + + <%= Html.Telerik().CurrencyTextBox() + .Name("CurrencyTextBox") + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().PercentTextBox() + .Name("PercentTextBox") + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().IntegerTextBox() + .Name("IntegerTextBox") + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().Window() + .Name("Window") + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().DropDownList() + .Name("DropDownList") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().ComboBox() + .Name("ComboBox") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().AutoComplete() + .Name("AutoComplete") + .Items(items => + { + items.Add().Text("First Item"); + items.Add().Text("Second Item"); + }) + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().Slider() + .Name("Slider") + %> + + + + + + Creates a new . + + + + <%= Html.Telerik().RangeSlider() + .Name("RangeSlider") + %> + + + + + + Creates a + + + + <%= Html.Telerik().Upload() + .Upload("Upload") + .Async(async => async + .Save("ProcessAttachments", "Home") + .Remove("RemoveAttachment", "Home") + ); + %> + + + + + + Creates a new UI component. + + + + + Creates a new . + + + + <%= Html.Telerik().NumericTextBoxFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().NumericTextBoxFor(m=>m.NullableProperty) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().IntegerTextBoxFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().IntegerTextBoxFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().CurrencyTextBoxFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().CurrencyTextBoxFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().PercentTextBoxFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().PercentTextBoxFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().DateTimePickerFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().DateTimePickerFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().DatePickerFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().DatePickerFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().TimePickerFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().TimePickerFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().TimePickerFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().TimePickerFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().DropDownListFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().ComboBoxFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().AutoCompleteFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().SliderFor(m=>m.Property) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().SliderFor(m=>m.NullableProperty) %> + + + + + + Creates a new . + + + + <%= Html.Telerik().RangeSliderFor(m=>m.Property) %> + + + + + + Enables zoom animation. + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The instance that is to be configured + + + + Configures the window to show a close button + + + + <%= Html.Telerik().Window() + .Name("Window") + .Buttons(buttons => buttons.Close()) + %> + + + + + + Configures the window to show a close button and sets a fallback URL for environments where JavaScript is turned off. + + The fallback URL + + + <%= Html.Telerik().Window() + .Name("Window") + .Buttons(buttons => buttons.Close(Url.Action("Home", "Index"))) + %> + + + + + + Configures the window to show a minimize button + + + + <%= Html.Telerik().Window() + .Name("Window") + .Buttons(buttons => buttons.Maximize()) + %> + + + + + + Configures the window to show a minimize button and sets a fallback URL for environments where JavaScript is turned off. + + The fallback URL + + + <%= Html.Telerik().Window() + .Name("Window") + .Buttons(buttons => buttons.Maximize(Url.Action("Home", "Index"))) + %> + + + + + + Configures the window to show a refresh button + + + + <%= Html.Telerik().Window() + .Name("Window") + .Buttons(buttons => buttons.Refresh()) + %> + + + + + + Configures the window to show a refresh button and sets a fallback URL for environments where JavaScript is turned off. + + The fallback URL + + + <%= Html.Telerik().Window() + .Name("Window") + .Buttons(buttons => buttons.Refresh(Url.Action("Home", "Index"))) + %> + + + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The client events. + The view context. + + + + Defines the inline handler of the OnLoad client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnLoad(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnLoad client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnLoad( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnLoad client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnLoad("onLoad")) + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnOpen(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnOpen client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnOpen( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnOpen client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnOpen("onOpen")) + %> + + + + + + Defines the inline handler of the OnActivate client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnActivate(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnActivate client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnActivate( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnActivate client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnActivate("onActivate")) + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnClose(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnClose client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnClose( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnClose client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnClose("onClose")) + %> + + + + + + Defines the inline handler of the OnMove client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnMove(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnMove client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnMove( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnMove client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnMove("onMove")) + %> + + + + + + Defines the inline handler of the OnResize client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnResize(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnResize client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnResize( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnResize client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnResize("onResize")) + %> + + + + + + Defines the inline handler of the OnRefresh client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnRefresh(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnRefresh client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnRefresh( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnRefresh client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnRefresh("onRefresh")) + %> + + + + + + Defines the inline handler of the OnError client-side event + + The action defining the inline handler. + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnError(() => + { + %> + function(e) { + //event handling code + } + <% + })) + .Render(); + %> + + + + + + Defines the inline handler of the OnError client-side event + + The handler code wrapped in a text tag (Razor syntax). + + + <% Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnError( + @<text> + function(e) { + //event handling code + } + </text> + )) + .Render(); + %> + + + + + + Defines the name of the JavaScript function that will handle the the OnError client-side event. + + The name of the JavaScript function that will handle the event. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => events.OnError("onError")) + %> + + + + + + Sets path to the icon. + + Path to the icon. + + + <%= Html.Telerik().Window() + .Name("Window") + .Icon(Url.Content("~/Content/Icons/WindowIcon.png")) + %> + + + + + + Sets path and alternative text to the icon. + + Path to the icon. + Alternative text to the icon. + + + <%= Html.Telerik().Window() + .Name("Window") + .Icon(Url.Content("~/Content/Icons/WindowIcon.png"), "icon") + %> + + + + + + Sets title, which appears in the header of the window. + + + + + Sets the HTML content which the window should display. + + The action which renders the content. + + + <% Html.Telerik().Window() + .Name("Window") + .Content(() => + { + %> + <strong> First Item Content</strong> + <% + }) + %> + + + + + + Sets the HTML content which the window should display + + The Razor inline template + + + @(Html.Telerik().Window() + .Name("Window") + .Content(@<strong> Hello World!!!</strong>)) + + + + + + + Sets the HTML content which the item should display as a string. + + The action which renders the content. + + <%= Html.Telerik().Window() + .Name("Window") + .Content("<strong> First Item Content</strong>") + %> + + + + + Sets the HTML attributes of the content element of the item. + + The attributes. + + + <%= Html.Telerik().Window() + .Name("Window") + .Content(() => { %> <strong>First Item Content</strong> <% }) + .ContentHtmlAttributes(new {@class="first-item-content"}) + %> + + + + + + Sets the HTML attributes of the content element of the item. + + The attributes. + + + + Sets the Url, which will be requested to return the content. + + The route values of the Action method. + + + <%= Html.Telerik().Window() + .Name("Window") + .LoadContentFrom(MVC.Home.Index().GetRouteValueDictionary()); + %> + + + + + + Sets the Url, which will be requested to return the content. + + The action name. + The controller name. + + + <%= Html.Telerik().Window() + .Name("Window") + .LoadContentFrom("AjaxView_OpenSource", "Window") + %> + + + + + + Sets the Url, which will be requested to return the content. + + The action name. + The controller name. + Route values. + + + <%= Html.Telerik().Window() + .Name("Window") + .LoadContentFrom("AjaxView_OpenSource", "Window", new { id = 10}) + %> + + + + + + Sets the Url, which will be requested to return the content. + + The url. + + + <%= Html.Telerik().Window() + .Name("Window") + .LoadContentFrom(Url.Action("AjaxView_OpenSource", "Window")) + %> + + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => + events.OnOpen("onOpen").OnClose("onClose") + ) + %> + + + + + + Enables windows resizing. + + + + <%= Html.Telerik().Window() + .Name("Window") + .Resizable() + %> + + + + + + Configures the resizing ability of the window. + + Resizing settings action. + + + <%= Html.Telerik().Window() + .Name("Window") + .Resizable(settings => + settings.Enabled(true).MaxHeight(500).MaxWidth(500) + ) + %> + + + + + + Configures the client-side events. + + The client events action. + + + <%= Html.Telerik().Window() + .Name("Window") + .ClientEvents(events => + events.OnOpen("onOpen").OnClose("onClose") + ) + %> + + + + + + Sets the width of the window. + + + + + Sets the height of the window. + + + + + Sets whether the window should be rendered visible. + + + + + Sets whether the window should have scrollbars. + + + + + Configures the effects of the window. + + The action which configures the effects. + + + <%= Html.Telerik().Window() + .Name("Window") + .Effects(fx => + { + fx.Zoom() + .Opacity() + .OpenDuration(AnimationDuration.Fast) + .CloseDuration(AnimationDuration.Fast); + }) + + + + + + Sets whether the window should be modal or not. + + + + + Sets whether the window can be moved. + + + + + Builder class for fluently configuring the shared group. + + + + + Initializes a new instance of the class. + + The default path. + The assets. + + + + Adds the group. + + The name. + The configure action. + + + + + Gets the group. + + The name. + The configure action. + + + + + + + + + + Executes the provided delegate that is used to configure stylesheets. + + The configure action. + + + + Executes the provided delegate that is used to configure scripts. + + The configure action. + + + + The web asset Configuration. + + + + + Gets the name of the section. + + The name of the section. + + + + Gets or sets a value indicating whether to use telerik content delivery network. + + + true if [use telerik content delivery network]; otherwise, false. + + + + + Gets the style sheets. + + The style sheets. + + + + Gets the scripts. + + The scripts. + + + + Web asset item configuration element. + + + + + Gets or sets the source. + + The source. + + + + Web asset item configuration collection. + + + + + Adds the specified element. + + The element. + + + + When overridden in a derived class, creates a new . + + + A new . + + + + + Gets the element key for a specified configuration element when overridden in a derived class. + + The to return the key for. + + An that acts as the key for the specified . + + + + + Gets the with the specified source. + + + + + + Web asset group configuration element. + + + + + Gets or sets the name. + + The name. + + + + Gets or sets the default path. + + The default path. + + + + Gets or sets a value indicating whether to use telerik content delivery network. + + + true if [use telerik content delivery network]; otherwise, false. + + + + + Gets or sets the content delivery network URL. + + The content delivery network URL. + + + + Gets or sets a value indicating whether this is enabled. + + true if enabled; otherwise, false. + + + + Gets or sets the version. + + The version. + + + + Gets or sets a value indicating whether this is compress. + + true if compress; otherwise, false. + + + + Gets or sets the cache duration in days. + + The cache duration in days. + + + + Gets or sets a value indicating whether this is combined. + + true if combined; otherwise, false. + + + + Gets the items. + + The items. + + + + Web asset group configuration collection + + + + + Adds the specified element. + + The element. + + + + When overridden in a derived class, creates a new . + + + A new . + + + + + Gets the element key for a specified configuration element when overridden in a derived class. + + The to return the key for. + + An that acts as the key for the specified . + + + + + Gets the with the specified name. + + + + + + The HttpHandler to compress, cache and combine web assets. + + + + + Initializes a new instance of the class. + + The asset registry. + The HTTP response compressor. + The HTTP response cacher. + + + + Initializes a new instance of the class. + + + + + Enables a WebAssetHttpHandler object to process of requests. + + The context. + + + + Gets or sets the default path of the asset. + + The default path. + + + + Gets or sets the name of the id parameter. + + The name of the id parameter. + + + + Contains default asset settings. + + + + + Gets or sets the style sheet files path. Path must be a virtual path. + + The style sheet files path. + + + + Gets or sets the script files path. Path must be a virtual path. + + The script files path. + + + + Gets or sets the version. + + The version. + + + + Gets or sets a value indicating whether assets should be served as compressed. + + true if compress; otherwise, false. + + + + Gets or sets a value indicating whether assets shoule be combined. + + true if combined; otherwise, false. + + + + Gets or sets the cache duration in days. + + The cache duration in days. + + + + Gets or sets a value indicating whether [use telerik content delivery network]. + + + true if [use telerik content delivery network]; otherwise, false. + + + + + Defines members that a class must implement in order to provide helper methods for resolving virtual path. + + + + + Returns the physical path for the specified virtual path. + + The virtual path. + + + + + Defines members that a class must implement in order to compress the response. + + + + + Compresses the response. + + The context. + + + + Defines members that must be implemented for cache the http response + + + + + Caches the response for the specified duration. + + The context. + The duration. + + + + Defines the read operaations of configuration. + + + + + Gets the section with the specified name. + + + Name of the section. + + + + + Defines the factory to create . + + + + + Creates a writer. + + The id. + The type. + The text writer. + + + + + Provides an attribute to change the enum value for client side. + + + + + Initializes a new instance of the class with the specified value for the client side. + + The value. + + + + Gets or sets the value for client side. + + The value. + + + + Encapsulates the ConfigurationManager object that contains methods for accessing System.Web.HttpRuntime.Cache object. + + + + + Gets the section with the specified name. + + + Name of the section. + + + + + Contains extension methods of IDictionary<string, objectT>. + + + + + Merges the specified instance. + + The instance. + The key. + The value. + if set to true [replace existing]. + + + + Appends the in value. + + The instance. + The key. + The separator. + The value. + + + + Appends the specified value at the beginning of the existing value + + + + + + + + + Toes the attribute string. + + The instance. + + + + + Merges the specified instance. + + The instance. + From. + if set to true [replace existing]. + + + + Merges the specified instance. + + The instance. + From. + + + + Merges the specified instance. + + The instance. + The values. + if set to true [replace existing]. + + + + Merges the specified instance. + + The instance. + The values. + + + + Contains extension methods of . + + + + + Requests the context. + + The instance. + + + + + Gets a value indicating whether we're running under Mono. + + true if Mono; otherwise, false. + + + + Gets a value indicating whether we're running under Linux or a Unix variant. + + true if Linux/Unix; otherwise, false. + + + + Encapsulates the HTTP intrinsic object that compress the response + + + + + Compresses the response. + + The context. + + + + Class use to resolve physical path for virtual path. + + + + + Returns the physical path for the specified virtual path. + + The virtual path. + + + + + Helper class for argument validation. + + + + + Ensures the specified argument is not null. + + The parameter. + Name of the parameter. + + + + Ensures the specified string is not blank. + + The parameter. + Name of the parameter. + + + + Ensures the specified array is not null or empty. + + + The parameter. + Name of the parameter. + + + + Ensures the specified collection is not null or empty. + + + The parameter. + Name of the parameter. + + + + Ensures the specified value is a positive integer. + + The parameter. + Name of the parameter. + + + + Ensures the specified value is not a negative integer. + + The parameter. + Name of the parameter. + + + + Ensures the specified value is not a negative float. + + The parameter. + Name of the parameter. + + + + Ensures the specified path is a virtual path which starts with ~/. + + The parameter. + Name of the parameter. + + + + Contains extension methods of . + + + + + Starts thread safe read write code block. + + The instance. + + + + + Starts thread safe read code block. + + The instance. + + + + + Starts thread safe write code block. + + The instance. + + + + + Contains the extension methods of . + + + + + Replaces the format item in a specified System.String with the text equivalent of the value of a corresponding System.Object instance in a specified array. + + A string to format. + An System.Object array containing zero or more objects to format. + A copy of format in which the format items have been replaced by the System.String equivalent of the corresponding instances of System.Object in args. + + + + Determines whether this instance and another specified System.String object have the same value. + + The string to check equality. + The comparing with string. + + true if the value of the comparing parameter is the same as this string; otherwise, false. + + + + + Determines whether this instance and another specified System.String object have the same value. + + The string to check equality. + The comparing with string. + + true if the value of the comparing parameter is the same as this string; otherwise, false. + + + + + Compresses the specified instance. + + The instance. + + + + + Decompresses the specified instance. + + The instance. + + + + + A strongly-typed resource class, for looking up localized strings, etc. + + + + + Returns the cached ResourceManager instance used by this class. + + + + + Overrides the current thread's CurrentUICulture property for all + resource lookups using this strongly typed resource class. + + + + + Looks up a localized string similar to "{0}" array cannot be empty.. + + + + + Looks up a localized string similar to You must use InCell edit mode for batch updates.. + + + + + Looks up a localized string similar to The Update data binding setting is required for batch updates. Please specify the Update action or url in the DataBinding configuration.. + + + + + Looks up a localized string similar to "{0}" cannot be negative.. + + + + + Looks up a localized string similar to "{0}" cannot be negative or zero.. + + + + + Looks up a localized string similar to "{0}" cannot be null.. + + + + + Looks up a localized string similar to "{0}" cannot be null or empty.. + + + + + Looks up a localized string similar to Cannot find a public property of primitive type to sort by.. + + + + + Looks up a localized string similar to Cannot have more one column in order when sort mode is set to single column.. + + + + + Looks up a localized string similar to Cannot route to class named 'Controller'.. + + + + + Looks up a localized string similar to Cannot use Ajax and WebService binding at the same time.. + + + + + Looks up a localized string similar to Cannot use only server templates in Ajax or WebService binding mode. Please specify a client template as well.. + + + + + Looks up a localized string similar to "{0}" collection cannot be empty.. + + + + + Looks up a localized string similar to Multiple types were found that match the controller named '{0}'. This can happen if the route that services this request does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' parameter. + + The request for '{0}' has found the following matching controllers:{1}. + + + + + Looks up a localized string similar to Multiple types were found that match the controller named '{0}'. This can happen if the route that services this request ('{1}') does not specify namespaces to search for a controller that matches the request. If this is the case, register this route by calling an overload of the 'MapRoute' method that takes a 'namespaces' parameter. + + The request for '{0}' has found the following matching controllers:{2}. + + + + + Looks up a localized string similar to Controller name must end with 'Controller'.. + + + + + Looks up a localized string similar to The DataKeys collection is empty. Please specify a data key.. + + + + + Looks up a localized string similar to DataTable InLine editing and custom EditorTemplate per column is not supported. + + + + + Looks up a localized string similar to The Delete data binding setting is required by the delete command. Please specify the Delete action or url in the DataBinding configuration.. + + + + + Looks up a localized string similar to The Update data binding setting is required by the edit command. Please specify the Update action or url in the DataBinding configuration.. + + + + + Looks up a localized string similar to {0} should not be bigger then {1}.. + + + + + Looks up a localized string similar to Group with specified name already exists.. + + + + + Looks up a localized string similar to Group with specified name "{0}" already exists. Please specify a different name.. + + + + + Looks up a localized string similar to Group with "{0}" does not exist in {1} SharedWebAssets.. + + + + + Looks up a localized string similar to Group with specified name "{0}" does not exist. Please make sure you have specified a correct name.. + + + + + Looks up a localized string similar to InCell editing mode is not supported in server binding mode. + + + + + Looks up a localized string similar to Provided index is out of range.. + + + + + Looks up a localized string similar to The Insert data binding setting is required by the insert command. Please specify the Insert action or url in the DataBinding configuration.. + + + + + Looks up a localized string similar to Item with specified source already exists.. + + + + + Looks up a localized string similar to Local group with name "{0}" already exists.. + + + + + Looks up a localized string similar to The key with the following name "{0}" was not found. Please update all localization files.. + + + + + Looks up a localized string similar to Bound columns require a field or property access expression.. + + + + + Looks up a localized string similar to {0} should be less than {1}.. + + + + + Looks up a localized string similar to Name cannot be blank.. + + + + + Looks up a localized string similar to "None" is only used for internal purpose.. + + + + + Looks up a localized string similar to Only one ScriptRegistrar is allowed in a single request.. + + + + + Looks up a localized string similar to Only one StyleSheetRegistrar is allowed in a single request.. + + + + + Looks up a localized string similar to Only property and field expressions are supported. + + + + + Looks up a localized string similar to The {0} must be begger then 0.. + + + + + Looks up a localized string similar to {0} must be positive number.. + + + + + Looks up a localized string similar to {0} should be bigger than {1} and less then {2}. + + + + + Looks up a localized string similar to The "{0}" class is no longer supported. To enable RTL support you must include telerik.rtl.css and apply the "t-rtl" class to a parent HTML element or the <body>.. + + + + + Looks up a localized string similar to You must have SiteMap defined with key "{0}" in ViewData dictionary.. + + + + + Looks up a localized string similar to Source must be a virtual path which should starts with "~/". + + + + + Looks up a localized string similar to Specified file does not exist: "{0}".. + + + + + Looks up a localized string similar to Passed string cannot be parsed to DateTime object.. + + + + + Looks up a localized string similar to Passed string cannot be parsed to TimeSpan object.. + + + + + Looks up a localized string similar to The specified method is not an action method.. + + + + + Looks up a localized string similar to Time should be bigger than MinTime and less than MaxTime.. + + + + + Looks up a localized string similar to You cannot set Url and ContentUrl at the same time.. + + + + + Looks up a localized string similar to The value '{0}' is invalid.. + + + + + Looks up a localized string similar to The Url of the WebService must be set. + + + + + Looks up a localized string similar to You cannot add more than once column when sort mode is set to single column.. + + + + + Looks up a localized string similar to You cannot use non generic BindTo overload without EnableCustomBinding set to true. + + + + + Looks up a localized string similar to You cannot call render more than once.. + + + + + Looks up a localized string similar to You cannot call Start more than once.. + + + + + Looks up a localized string similar to You cannot configure a shared web asset group.. + + + + + Looks up a localized string similar to You must have to call Start prior calling this method.. + + + + + Initializes a new instance of the class. + + The default path. + + + + Finds the group with the specified name. + + The name. + + + + + Finds the item with the specified source. + + The source. + + + + + Adds the specified source as . + + The item source. + + + + Adds the specified source as in the specified . + + Name of the group. + The item source. + + + + Inserts the specified source as at the specified index. + + The index. + The item source. + + + + Inserts the specified source as at the specified index in the specified . + + The index. + Name of the group. + The item source. + + + + Inserts an element into the at the specified index. + + The zero-based index at which should be inserted. + The object to insert. The value can be null for reference types. + + is less than zero. + -or- + is greater than . + + + + + Replaces the element at the specified index. + + The zero-based index of the element to replace. + The new value for the element at the specified index. The value can be null for reference types. + + is less than zero. + -or- + is greater than . + + + + + Gets or sets the default path. + + The default path. + + + + Gets the asset groups. + + The asset groups. + + + + Gets the asset items. + + The asset items. + + + + Defines the fluent interface for configuring web assets. + + + + + Initializes a new instance of the class. + + Type of the asset. + The assets. + + + + Performs an implicit conversion from to . + + The builder. + The result of the conversion. + + + + Returns the internal collection. + + + + + + Adds a new web asset + + The source. + + + <%= Html.Telerik().ScriptRegistrar() + .Scripts(scripts => scripts.Add("script1.js")) + %> + + + + + + Adds a new web asset group. + + The name. + The configure action. + + + <%= Html.Telerik().ScriptRegistrar() + .Scripts(scripts => scripts.AddGroup("Group1", group => + { + group.Add("script1.js"); + } + )) + %> + + + + + + Adds the specified shared group. + + The name. + + + <%= Html.Telerik().ScriptRegistrar() + .Scripts(scripts => scripts.AddShareGroup("SharedGroup1")) + %> + + + + + + Executes the provided delegate that is used to configure the group fluently. + + The name. + The configure action. + + + + Initializes a new instance of the class. + + The name. + if set to true [is shared]. + + + + Gets or sets the name. + + The name. + + + + Gets or sets a value indicating whether this instance is shared. + + true if this instance is shared; otherwise, false. + + + + Gets or sets the default path. + + The default path. + + + + Gets or sets a value indicating whether Telerik content delivery network would be used. + + + true if [use Telerik content delivery network]; otherwise, false. + + + + + Gets or sets the content delivery network URL. + + The content delivery network URL. + + + + Gets or sets a value indicating whether this is disabled. + + true if disabled; otherwise, false. + + + + Gets or sets the version. + + The version. + + + + Gets or sets a value indicating whether this is compress. + + true if compress; otherwise, false. + + + + Gets or sets the cache duration in days. + + The cache duration in days. + + + + Gets or sets a value indicating whether this is combined. + + true if combined; otherwise, false. + + + + Gets the items. + + The items. + + + + Class used to build initialization script of jQuery plugin. + + + + + Initializes a new instance of the class. + + The id. + The type. + The text writer. + + + + Starts writing this instance. + + + + + + Appends the specified key value pair to the end of this instance. + + The key value pair. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and nullable value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + The default value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + if set to true [value]. + + + + + Appends the specified name and value to the end of this instance. + + The name. + if set to true [value]. + if set to true [default value]. + + + + + Appends the specified name and only the date of the passed . + + The name. + The value. + + + + + Appends the specified name and only the date of the passed . + + The name. + The value. + + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The action. + + + + + Appends the specified name and value to the end of this instance. + + The name. + The action. + + + + + Appends the specified name and value to the end of this instance. + + The type of the enum. + The name. + The value. + + + + + Appends the specified name and value to the end of this instance. + + The type of the enum. + The name. + The value. + The default value. + + + + + + Completes this instance. + + + + + Defines members that a class must implement in order to provide helper methods for resolving relative path. + + + + + Returns the relative path for the specified virtual path. + + The URL. + + + + + HTMLHelper extension for providing access to . + + + + + Gets the Telerik View Component Factory + + The helper. + The Factory + + + + Gets the Telerik View Component Factory + + The helper. + The Factory + + + + Container of scriptable component. + + + + + Registers the specified component. + + The component. + + + + Defines members that a class must implement in order to act as wrapper for script, + + + + + Gets the on page load start. + + The on page load start. + + + + Gets the on page load end. + + The on page load end. + + + + Gets the on page unload start. + + The on page unload start. + + + + Gets the on page unload end. + + The on page unload end. + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The style sheet registrar. + + + + Performs an implicit conversion from to . + + The builder. + The result of the conversion. + + + + Returns the internal style sheet registrar. + + + + + + Sets the asset handler path. Path must be a virtual path. + + The value. + + + <%= Html.Telerik().StyleSheetRegistrar() + .AssetHandlerPath("~/asset.axd") + %> + + + + + + Configures the . + + The configure action. + + + <%= Html.Telerik().StyleSheetRegistrar() + .DefaultGroup(group => group + .Add("style1.css") + .Add("style2.css") + .Combined(true) + ) + %> + + + + + + Executes the provided delegate that is used to register the stylesheet files fluently. + + The configure action. + + + + + Renders the + + + + <% Html.Telerik().StyleSheetRegistrar() + .Render(); + %> + + + + + + Manages ASP.NET MVC views style sheet files. + + + + + Used to ensure that the same instance is used for the same HttpContext. + + + + + Initializes a new instance of the class. + + The style sheets. + The view context. + The asset merger. + + + + Writes the stylesheets in the response. + + + + + Writes all stylesheet source. + + The writer. + + + + Gets or sets the asset handler path. Path must be a virtual path. The default value is set to WebAssetHttpHandler.DefaultPath. + + The asset handler path. + + + + Gets or sets the default group. + + The default group. + + + + Gets the stylesheets that will be rendered in the view. + + The style sheets. + + + + Gets or sets the view context. + + The view context. + + + + Class used to resolve relative path for virtual path. + + + + + Returns the relative path for the specified virtual path. + + The URL. + + + + + Wrap the script for the jQuery ready/unload events. + + + + + Gets the on page load start. + + The on page load start. + + + + Gets the on page load end. + + The on page load end. + + + + Gets the on page unload start. + + The on page unload start. + + + + Gets the on page unload end. + + The on page unload end. + + + + Defines the fluent interface for configuring the . + + + + + Initializes a new instance of the class. + + The asset item group. + + + + Performs an implicit conversion from to . + + The builder. + The result of the conversion. + + + + Returns the internal group. + + + + + + Sets whether Telerik content delivery network would be used. + + if set to true [value]. + + + + + Sets the content delivery network URL. + + The value. + + + <%= Html.Telerik().ScriptRegistrar() + .DefaultGroup(group => group.ContentDeliveryNetworkUrl("http://www.example.com")) + %> + + + + + + Enables or disables the group + + + + <%= Html.Telerik().ScriptRegistrar() + .DefaultGroup(group => group.Enabled((bool)ViewData["enabled"])) + %> + + + + + + Sets the version. + + The value. + + + <%= Html.Telerik().ScriptRegistrar() + .DefaultGroup(group => group.Version("1.1")) + %> + + + + + + Sets whether the groups will be served as compressed. By default asset groups are not compressed. + + + + <%= Html.Telerik().ScriptRegistrar() + .DefaultGroup(group => group.Compress(true)) + %> + + + + + + Sets the caches the duration of this group. + + The value. + + + <%= Html.Telerik().ScriptRegistrar() + .DefaultGroup(group => group.CacheDurationInDays(365)) + %> + + + + + + Sets whether the groups items will be served as combined. + + + + <%= Html.Telerik().ScriptRegistrar() + .DefaultGroup(group => group.Combined(true)) + %> + + + + + + Sets the defaults path of the containing . + + The path. + + + + + Adds the specified source as . + + The value. + + + <%= Html.Telerik().ScriptRegistrar() + .DefaultGroup(group => group.Add("script1.js")) + %> + + + + + + Manages ASP.NET MVC javascript files and statements. + + + + + Used to ensure that the same instance is used for the same HttpContext. + + + + + Initializes a new instance of the class. + + The scripts. + The scriptable components. + The view context. + The asset merger. + The script wrapper. + + + + Registers the scriptable component. + + The component. + + + + Writes the scripts in the response. + + + + + Writes all script source and script statements. + + The writer. + + + + Gets the framework script file names. + + The framework script file names. + + + + Gets or sets a value indicating whether [exclude framework scripts]. + + + true if [exclude framework scripts]; otherwise, false. + + + + + Gets or sets the asset handler path. Path must be a virtual path. The default value is set to . + + The asset handler path. + + + + Gets the default script group. + + The default group. + + + + Gets or sets a value indicating whether [enable globalization]. + + true if [enable globalization]; otherwise, false. + + + + Gets the scripts that will be rendered in the view. + + The scripts. + + + + Gets the on document ready actions. + + The on page load actions. + + + + Gets the on document ready statements that is used in RenderAction. + + The on page load actions. + + + + Gets the on window unload actions. + + The on page unload actions. + + + + Gets the on window unload statements.that is used in RenderAction. + + The on page load actions. + + + + Gets the view context. + + The view context. + + + + Gets the script wrapper that is used to write the script statements. + + The script wrapper. + + + + Defines the fluent interface for configuring the component. + + + + + Initializes a new instance of the class. + + The script registrar. + + + + Performs an implicit conversion from to . + + The builder. + The result of the conversion. + + + + Returns the internal script registrar. + + + + + + Sets the asset handler path. Path must be a virtual path. + + The value. + + + <%= Html.Telerik().ScriptRegistrar() + .AssetHandlerPath("~/asset.axd") + %> + + + + + + Configures the . + + The configure action. + + + <%= Html.Telerik().ScriptRegistrar() + .DefaultGroup(group => group + .Add("script1.js") + .Add("script2.js") + .Combined(true) + ) + %> + + + + + + Enables globalization support. + + if set to true [enable]. + + + <%= Html.Telerik().ScriptRegistrar() + .Globalization(true) + %> + + + + + + Includes the jQuery script files. By default jQuery JavaScript is included. + + + Telerik Extensions for ASP.NET MVC require jQuery so make sure you manually include the JavaScrip file + if you disable the automatic including. + + if set to true [enable]. + + + <%= Html.Telerik().ScriptRegistrar() + .jQuery(false) + %> + + + + + + Executes the provided delegate that is used to register the script files fluently in different groups. + + The configure action. + + + + + Defines the inline handler executed when the DOM document is ready (using the $(document).ready jQuery event) + + The action defining the inline handler + + + <% Html.Telerik().ScriptRegistrar() + .OnDocumentReady(() => + { + %> + function() { + alert("Document is ready"); + } + <% + }) + .Render(); + %> + + + + + + Defines the inline handler executed when the DOM document is ready (using the $(document).ready jQuery event) + + The code of the inline handler wrapped in a text tag (Razor syntax) + + + @(Html.Telerik().ScriptRegistrar() + .OnDocumentReady( + @<text> + alert("Document is ready"); + </text> + }) + ) + + + + + + Appends the specified statement in $(document).ready jQuery event. This method should be + used in Html.RenderAction(). + + The statements. + + + + + Defines the inline handler executed when the DOM window object is unloaded. + + The action defining the inline handler + + + <% Html.Telerik().ScriptRegistrar() + .OnWindowUnload(() => + { + %> + function() { + // event handler code + } + <% + }) + .Render(); + %> + + + + + + Appends the specified statement window unload event. This method should be + used in Html.RenderAction(). + + The statements. + + + + + Renders the + + + + <% Html.Telerik().ScriptRegistrar() + .Render(); + %> + + + + + + Web asset types. + + + + + None, used for internal purpose. + + + + + Stylesheet + + + + + Javascript + + + + diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.bg-BG.designer.cs b/NzbDrone.Web/App_GlobalResources/EditorLocalization.bg-BG.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.bg-BG.resx b/NzbDrone.Web/App_GlobalResources/EditorLocalization.bg-BG.resx deleted file mode 100644 index 99ad06488..000000000 --- a/NzbDrone.Web/App_GlobalResources/EditorLocalization.bg-BG.resx +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Получер - - - Направи препратка - - - Сигурни ли сте че искате да изтриете "{0}"? - - - Директория с посоченото име не бе открита. - - - Празна папка - - - Шрифт - - - (наследен шрифт) - - - Размер на шрифта - - - (наследен размер) - - - Избери формат - - - Добави отстъп - - - Вмъкни HTML - - - Вмъкни картина - - - Вмъкни номериран списък - - - Вмъкни списък - - - Избраният файл "{0}" не е валиден. Поддържаните файлови формати са {1}. - - - Курсив - - - Центрирай - - - Подравни - - - Подравни отляво - - - Подравни отдясно - - - Подреди по: - - - Име - - - Големина - - - Премахни отстъп - - - Файл с име "{0}" вече съществува в тази папка. Искате ли да го презапишете? - - - Зачертай - - - Стилове - - - Подчертай - - - Премахни препратка - - - Качи файл - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.de-DE.designer.cs b/NzbDrone.Web/App_GlobalResources/EditorLocalization.de-DE.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.de-DE.resx b/NzbDrone.Web/App_GlobalResources/EditorLocalization.de-DE.resx deleted file mode 100644 index b9d1f9882..000000000 --- a/NzbDrone.Web/App_GlobalResources/EditorLocalization.de-DE.resx +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Fett - - - Hyperlink einfügen - - - Are you sure you want to delete "{0}"? - - - A directory with this name was not found. - - - Empty Folder - - - Schriftfamilie - - - (Schrift übernehmen) - - - Größe - - - (Größe übernehmen) - - - Absatzstil - - - Einzug vergrößern - - - HTML einfügen - - - Einfügen Bild - - - Numerierte Liste - - - Aufzählliste - - - The selected file "{0}" is not valid. Supported file types are {1}. - - - Kursiv - - - Zentriert - - - Ausrichten - - - Linksbündig - - - Rechtsbündig - - - Arrange by: - - - Name - - - Size - - - Einzug verkleinern - - - A file with name "{0}" already exists in the current directory. Do you want to overwrite it? - - - Durchgestrichen - - - Stil - - - Unterstrichen - - - Hyperlink entfernen - - - Upload - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.en-US.designer.cs b/NzbDrone.Web/App_GlobalResources/EditorLocalization.en-US.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.en-US.resx b/NzbDrone.Web/App_GlobalResources/EditorLocalization.en-US.resx deleted file mode 100644 index 46048b826..000000000 --- a/NzbDrone.Web/App_GlobalResources/EditorLocalization.en-US.resx +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Bold - - - Insert hyperlink - - - Are you sure you want to delete "{0}"? - - - A directory with this name was not found. - - - Empty Folder - - - Select font family - - - (inherited font) - - - Select font size - - - (inherited size) - - - Select block type - - - Indent - - - Insert HTML - - - Insert image - - - Insert ordered list - - - Insert unordered list - - - The selected file \"{0}\" is not valid. Supported file types are {1}. - - - Italic - - - Center text - - - Justify - - - Align text left - - - Align text right - - - Arrange by: - - - Name - - - Size - - - Outdent - - - 'A file with name "{0}" already exists in the current directory. Do you want to overwrite it? - - - Strikethrough - - - Styles - - - Underline - - - Remove hyperlink - - - Upload - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.fr-FR.designer.cs b/NzbDrone.Web/App_GlobalResources/EditorLocalization.fr-FR.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.fr-FR.resx b/NzbDrone.Web/App_GlobalResources/EditorLocalization.fr-FR.resx deleted file mode 100644 index 43eee6158..000000000 --- a/NzbDrone.Web/App_GlobalResources/EditorLocalization.fr-FR.resx +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Gras - - - Insérer un lien hypertexte - - - Are you sure you want to delete "{0}"? - - - A directory with this name was not found. - - - Empty Folder - - - Famille de polices - - - Dimension - - - Style du paragraphe - - - Augmenter le retrait - - - Insèrer HTML - - - Insèrer Image - - - Liste numérotée - - - Liste à puces - - - The selected file "{0}" is not valid. Supported file types are {1}. - - - Italique - - - Centrer - - - Justifier - - - Alignement à gauche - - - Alignement à droite - - - Arrange by: - - - Name - - - Size - - - Réduire le retrait - - - A file with name "{0}" already exists in the current directory. Do you want to overwrite it? - - - Texte barré - - - Style - - - Souligné - - - Supprimer hyperlien - - - Upload - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.pl-PL.designer.cs b/NzbDrone.Web/App_GlobalResources/EditorLocalization.pl-PL.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.pl-PL.resx b/NzbDrone.Web/App_GlobalResources/EditorLocalization.pl-PL.resx deleted file mode 100644 index f56e8581d..000000000 --- a/NzbDrone.Web/App_GlobalResources/EditorLocalization.pl-PL.resx +++ /dev/null @@ -1,213 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Wytłuszczenie - - - Wstaw link - - - Are you sure you want to delete "{0}"? - - - A directory with this name was not found. - - - Empty Folder - - - Wybierz czcionkę - - - (czcionka odziedziczona) - - - Wybierz rozmiar czcionki - - - (inherited size) - - - Wybierz rozmiar bloku - - - Wcięcie - - - Wstaw HTML - - - Wstaw obraz - - - Wstaw listę numerowaną - - - Wstaw listę wypunktowaną - - - The selected file "{0}" is not valid. Supported file types are {1}. - - - Kursywa - - - Centruj tekst - - - Wyrównaj tekst - - - Wyrównaj tekst do lewej - - - Wyrównaj tekst do prawej - - - Arrange by: - - - Name - - - Size - - - Zmniejsz wcięcie - - - A file with name "{0}" already exists in the current directory. Do you want to overwrite it? - - - Przekreślenie - - - Style - - - Podkreślenie - - - Usuń link - - - Upload - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.pt-BR.designer.cs b/NzbDrone.Web/App_GlobalResources/EditorLocalization.pt-BR.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.pt-BR.resx b/NzbDrone.Web/App_GlobalResources/EditorLocalization.pt-BR.resx deleted file mode 100644 index 1cd97aa06..000000000 --- a/NzbDrone.Web/App_GlobalResources/EditorLocalization.pt-BR.resx +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Negrito - - - Adicionar Link - - - Are you sure you want to delete "{0}"? - - - A directory with this name was not found. - - - Empty Folder - - - Fonte - - - Tamanho - - - Formatar Bloco - - - Aumentar Recuo - - - Inserir HTML - - - Inserir Imagem - - - Inserir Lista Ordenada - - - Inserir Lista Aleatória - - - The selected file "{0}" is not valid. Supported file types are {1}. - - - Itálico - - - Alinhar Centro - - - Justificar - - - Alinhar à Esquerda - - - Alinhar à Direita - - - Arrange by: - - - Name - - - Size - - - Diminuir Recuo - - - A file with name "{0}" already exists in the current directory. Do you want to overwrite it? - - - Tachado - - - Estilo - - - Sublinhado - - - Remover Link - - - Upload - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.ru-RU.designer.cs b/NzbDrone.Web/App_GlobalResources/EditorLocalization.ru-RU.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.ru-RU.resx b/NzbDrone.Web/App_GlobalResources/EditorLocalization.ru-RU.resx deleted file mode 100644 index 7ebc8e125..000000000 --- a/NzbDrone.Web/App_GlobalResources/EditorLocalization.ru-RU.resx +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Полужирный - - - Вставить гиперссылку - - - Are you sure you want to delete "{0}"? - - - A directory with this name was not found. - - - Empty Folder - - - Выбрать шрифт - - - Выбрать размер шрифта - - - Форматирование - - - Увеличить отступ - - - Вставить HTML - - - Вставить изображение - - - Вставить нумерованный список - - - Вставить маркированныйсписок - - - The selected file "{0}" is not valid. Supported file types are {1}. - - - Курсив - - - Выровнять по центру - - - Выровнять по ширине - - - Выровнять по левому краю - - - Выровнять по правому краю - - - Arrange by: - - - Name - - - Size - - - Уменьшить отступ - - - A file with name "{0}" already exists in the current directory. Do you want to overwrite it? - - - Зачеркнутый - - - Стиль - - - Подчеркнутый - - - Удалить гиперссылку - - - Upload - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.uk-UA.designer.cs b/NzbDrone.Web/App_GlobalResources/EditorLocalization.uk-UA.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/EditorLocalization.uk-UA.resx b/NzbDrone.Web/App_GlobalResources/EditorLocalization.uk-UA.resx deleted file mode 100644 index 0fcb3fe94..000000000 --- a/NzbDrone.Web/App_GlobalResources/EditorLocalization.uk-UA.resx +++ /dev/null @@ -1,207 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Жирний - - - Додати посилання - - - Are you sure you want to delete "{0}"? - - - A directory with this name was not found. - - - Empty Folder - - - Шрифт - - - Розмір шрифта - - - Форматування - - - Збільшити відступ - - - Додати HTML - - - Додати зображення - - - Нумерований список - - - Маркований список - - - The selected file "{0}" is not valid. Supported file types are {1}. - - - Курсив - - - По центру - - - По ширині - - - По лівому краю - - - По правому краю - - - Arrange by: - - - Name - - - Size - - - Зменшити відступ - - - A file with name "{0}" already exists in the current directory. Do you want to overwrite it? - - - Закреслений - - - Стиль - - - Підкреслений - - - Видалити посилання - - - Upload - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.bg-BG.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.bg-BG.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.bg-BG.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.bg-BG.resx deleted file mode 100644 index 6880e5e4e..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.bg-BG.resx +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Добави нов запис - - - Изтриване - - - Отказ - - - Запази - - - Добави - - - Редактиране - - - Избери - - - Страница - - - Записи {0} - {1} от {2} - - - от {0} - - - Филтрирай - - - и - - - Премахни филтър - - - Е равно на - - - Е след или равно на - - - Е след - - - Е преди или равно на - - - Е преди - - - Не е равно на - - - Е равно на - - - Е по-голяма или равно на - - - Е по-голямо от - - - Е по-малко или равно на - - - Е по-малко от - - - Не е равно на - - - Покажи записи със стойност, която - - - Завършва на - - - Е равно на - - - Не е равно на - - - Започва с - - - Съдържа - - - Дръпни колона и я пусни тук, за да групираш - - - E равно на - - - Не е равно на - - - -Избери стойност- - - - Сигурни ли сте, че искате да изтриете записа? - - - не е вярно - - - е вярно - - - Няма записи за показване! - - - Откажи промените - - - Запази промените - - - Опресни - - - сортиране в нарастващ ред - - - сортиране в намаляващ ред - - - премахни групирането - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.de-DE.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.de-DE.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.de-DE.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.de-DE.resx deleted file mode 100644 index 72fe972f3..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.de-DE.resx +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Neuen Datensatz hinzufügen - - - Löschen - - - Abbrechen - - - Aktualisiere - - - Einfügen - - - Bearbeiten - - - Wähle - - - Seite - - - Anzeigen der Elemente {0} - {1} von {2} - - - von {0} - - - Filter - - - Und - - - Filter löschen - - - Ist gleich - - - Ist nach oder gleich - - - Ist nach - - - Ist vor oder gleich - - - Ist vor - - - Ist nicht gleich - - - Ist gleich - - - Ist größer als oder gleich - - - Ist größer als - - - Ist kleiner als oder gleich - - - Ist kleiner - - - Ist nicht gleich - - - Zeigt Zeilen mit Werten, die - - - Endet mit - - - Ist gleich - - - Ist nicht gleich - - - Beginnt mit - - - Beinhaltet - - - Ziehen Sie eine Spaltenüberschrift hierher, um nach dieser Spalte zu gruppieren - - - Ist gleich - - - Ist nicht gleich - - - -wählen Sie- - - - Sind Sie sicher, dass Sie diesen Datensatz löschen wollen? - - - ist falsch - - - ist richtig - - - keine Daten - - - Änderungen verwerfen - - - Änderungen speichern - - - Aktualisieren - - - aufsteigend sortiert - - - absteigend sortiert - - - Gruppierung aufheben - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.en-US.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.en-US.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.en-US.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.en-US.resx deleted file mode 100644 index 99d7e63fb..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.en-US.resx +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Add new record - - - Delete - - - Cancel - - - Update - - - Insert - - - Edit - - - Select - - - Page - - - Displaying items {0} - {1} of {2} - - - of {0} - - - Filter - - - And - - - Clear Filter - - - Is equal to - - - Is after or equal to - - - Is after - - - Is before or equal to - - - Is before - - - Is not equal to - - - Is equal to - - - Is greater than or equal to - - - Is greater than - - - Is less than or equal to - - - Is less than - - - Is not equal to - - - Show rows with value that - - - Ends with - - - Is equal to - - - Is not equal to - - - Starts with - - - Contains - - - Drag a column header and drop it here to group by that column - - - Is equal to - - - Is not equal to - - - Are you sure you want to delete this record? - - - -Select value- - - - is false - - - is true - - - No records to display. - - - Cancel changes - - - Save changes - - - Refresh - - - sorted ascending - - - sorted descending - - - ungroup - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.es-ES.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.es-ES.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.es-ES.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.es-ES.resx deleted file mode 100644 index d332f18da..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.es-ES.resx +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Añadir nuevo registro - - - Eliminar - - - Cancelar - - - Actualizar - - - Añadir - - - Editar - - - Seleccionar - - - Página - - - Elementos mostrados {0} - {1} de {2} - - - de {0} - - - Filtrar - - - Y - - - Limpiar filtro - - - Es igual a - - - Es posterior o igual a - - - Es posterior - - - Es anterior o igual a - - - Es anterior - - - No es igual a - - - Es igual a - - - Es mayor o igual que - - - Es mayor que - - - Es menor o igual que - - - Es menor que - - - No es igual a - - - Mostrar filas con valor que - - - Termina en - - - Es igual a - - - No es igual a - - - Comienza con - - - Contiene - - - Arrastre un encabezado de columna y póngalo aquí para agrupar por ella - - - Es igual a - - - No es igual a - - - ¿Está seguro de que quiere eliminar este registro? - - - No records to display. - - - No - - - Si - - - Cancel Changes - - - Save Changes - - - Actualizar - - - ordenados ascendente - - - ordenados descendente - - - desagrupar - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.fr-FR.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.fr-FR.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.fr-FR.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.fr-FR.resx deleted file mode 100644 index 97e9f5172..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.fr-FR.resx +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Ajouter un contenu - - - Effacer - - - Annuler - - - Rafraîchir - - - Insérer - - - Edition - - - Sélectionner - - - Page - - - Afficher les items {0} - {1} of {2} - - - de {0} - - - Filtrer - - - et - - - Annuler Filtrer - - - égal à - - - est postérieur ou égal à - - - est postérieur - - - est antérieur ou égal à - - - est antérieur - - - n’est pas égal à - - - égal à - - - est supérieur ou égal à - - - est supérieur à - - - est moins ou égal à - - - est moins de - - - n’est pas égal à - - - Montrer les lignes avec la valeur de - - - Finit par - - - égal à - - - n’est pas égal à - - - Commence par - - - contient - - - Faites glisser la tête de colonne et posez-la ici pour la grouper avec cette colonne. - - - égal à - - - n’est pas égal à - - - -Sélectionner- - - - Etes-vous surs de vouloir effacer le contenu ? - - - est fausse - - - est vrai - - - No records to display. - - - Cancel Changes - - - Save Changes - - - Actualiser - - - triés croissant - - - triés décroissant - - - supprimer groupement - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.pl-PL.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.pl-PL.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.pl-PL.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.pl-PL.resx deleted file mode 100644 index b568345f8..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.pl-PL.resx +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Dodaj nowy rekord - - - Usuń - - - Anuluj - - - Aktualizuj - - - Wstaw - - - Edycja - - - Zaznacz - - - Strona - - - Wyświetlanie elementów {0} - {1} z {2} - - - z {0} - - - Filtr - - - Oraz - - - Wyczyść filtr - - - jest równe - - - jest późniejsze lub równe - - - jest późniejsze - - - jest wcześniejsze lub równe - - - jest wcześniejsze - - - jest inne niż - - - jest równe - - - jest większe lub równe - - - jest większe - - - jest mniejsze lub równe - - - jest mniejsze niż - - - jest inne niż - - - Pokaż wiersze o wartościach które - - - Kończy się na - - - jest równe - - - jest inne niż - - - Zaczyna się od - - - Zawiera - - - Przeciągnij nagłówek kolumny i upuść go tutaj aby pogrupować według tej kolumny - - - jest równe - - - jest inne niż - - - Czy na pewno chcesz usunąć ten rekord? - - - -Wybierz wartość- - - - fałsz - - - prawda - - - Brak danych - - - Cancel Changes - - - Save Changes - - - Odśwież - - - posortowane rosnąco - - - posortowane malejąco - - - rozgrupować - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-BR.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-BR.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-BR.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-BR.resx deleted file mode 100644 index 646b7b7db..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-BR.resx +++ /dev/null @@ -1,252 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Adicionar novo registro - - - Excluir - - - Cancelar - - - Atualizar - - - Inserir - - - Editar - - - Selecionar - - - Página - - - Exibindo itens {0} - {1} de {2} - - - de {0} - - - Filtro - - - E - - - Limpar Filtro - - - É igual a - - - É posterior ou igual a - - - É posterior a - - - É anterior ou igual a - - - É anterior a - - - Não é igual a - - - É igual a - - - É maior que ou igual a - - - É maior que - - - É menor que ou igual a - - - É menor que - - - Não é igual a - - - Exibir linhas com valores que - - - Termina com - - - É igual a - - - Não é igual a - - - Começa com - - - Contem - - - Arraste aqui o cabeçalho de uma coluna para agrupar por esta coluna - - - É igual a - - - Não é igual a - - - Você tem certeza que deseja excluir este registro? - - - É falsa - - - É verdade - - - No records to display. - - - Cancel Changes - - - Save Changes - - - Atualizar - - - ordenadas crescente - - - ordenadas descendente - - - desagrupar - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-PT.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-PT.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-PT.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-PT.resx deleted file mode 100644 index c61481321..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.pt-PT.resx +++ /dev/null @@ -1,249 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Novo - - - Cancelar - - - Apagar - - - Pretende remover o registo? - - - Registos {0} - {1} de {2} - - - Editar - - - No records to display. - - - Filtro - - - e - - - Limpar - - - Igual - - - Maior ou igual que - - - Maior que - - - Menor ou igual que - - - Menor que - - - Diferente - - - Igual - - - Diferente - - - Igual - - - Maior ou igual que - - - Maior que - - - Menor ou igual que - - - Menor que - - - Diferente - - - -Seleccione um item- - - - Motrar as linhas com o valor - - - A acabar em - - - Igual - - - Diferente - - - A comecar com - - - Contem - - - Arraste uma coluna para este espaco para agrupar pelo valor da mesma... - - - Inserir - - - Pagina - - - de {0} - - - Seleccionar - - - Actualizar - - - Cancel Changes - - - Save Changes - - - Actualizar - - - ordenadas crescente - - - ordenadas descendente - - - desagrupar - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.ru-RU.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.ru-RU.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.ru-RU.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.ru-RU.resx deleted file mode 100644 index a3d482c20..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.ru-RU.resx +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Создать новую запись - - - Удалить - - - Отмена - - - Обновить - - - Добавить - - - Изменить - - - Выбрать - - - Страница - - - Отображены записи {0} - {1} из {2} - - - из {0} - - - фильтровать - - - И - - - очистить фильтр - - - равна - - - после или равна - - - после - - - до или равна - - - до - - - не равна - - - равно - - - больше или равно - - - больше - - - меньше или равно - - - меньше - - - не равно - - - Строки со значениями - - - оканчивающимися на - - - равными - - - не равными - - - начинающимися на - - - содержащими - - - Переместите сюда заголовок колонки, чтобы сгрупировать записи из этой колонки - - - равно - - - не равно - - - Вы уверены, что хотите удалить эту запись? - - - -выберите- - - - ложь - - - истина - - - NoRecords - - - Cancel Changes - - - Save Changes - - - Обновить - - - отсортировано по возрастанию - - - отсортировано по убыванию - - - разгруппировать - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.uk-UA.designer.cs b/NzbDrone.Web/App_GlobalResources/GridLocalization.uk-UA.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/GridLocalization.uk-UA.resx b/NzbDrone.Web/App_GlobalResources/GridLocalization.uk-UA.resx deleted file mode 100644 index 59f26f01c..000000000 --- a/NzbDrone.Web/App_GlobalResources/GridLocalization.uk-UA.resx +++ /dev/null @@ -1,255 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Створити новий запис - - - Видалити - - - Скасувати - - - Оновити - - - Додати - - - Редагувати - - - Вибрати - - - Сторінка - - - Зображено записи {0} - {1} з {2} - - - з {0} - - - фільтрувати - - - І - - - очистити фільтр - - - рівними - - - після або рівна - - - після - - - до або рівними - - - до - - - не рівна - - - рівне - - - більше або рівними - - - більше - - - менше або рівними - - - менше - - - не рівними - - - Рядки із записами - - - закінчуються на - - - рівні - - - не рівні - - - починаються на - - - містять - - - Перетягніть сюди заголовок стовпця, щоб згрупувати записи з цього стовпця - - - рівними - - - не рівними - - - Ви впевнені, що бажаєте видалити даний запис? - - - -виберіть- - - - хиба - - - істина - - - немає записів - - - Cancel Changes - - - Save Changes - - - Оновити - - - відсортовано за зростанням - - - відсортовано за зменьшенням - - - розгрупувати - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/UploadLocalization.bg-BG.designer.cs b/NzbDrone.Web/App_GlobalResources/UploadLocalization.bg-BG.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/UploadLocalization.bg-BG.resx b/NzbDrone.Web/App_GlobalResources/UploadLocalization.bg-BG.resx deleted file mode 100644 index 02a4fd69d..000000000 --- a/NzbDrone.Web/App_GlobalResources/UploadLocalization.bg-BG.resx +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Спри - Cancel button text - - - Опитай отново - Retry button text - - - Избери... - Select button text - - - Премахни - Remove button text - - - Качи файловете - Upload button (visible when AutoUpload is set to false) - - - преместете с мишката файлове тук за да ги качите - Drag & Drop hint text - - - грешка - "failed" status text accessible by screen readers - - - качен - "uploaded" status text accessible by screen readers - - - качва се - "uploading" status text accessible by screen readers - - \ No newline at end of file diff --git a/NzbDrone.Web/App_GlobalResources/UploadLocalization.en-US.designer.cs b/NzbDrone.Web/App_GlobalResources/UploadLocalization.en-US.designer.cs deleted file mode 100644 index e69de29bb..000000000 diff --git a/NzbDrone.Web/App_GlobalResources/UploadLocalization.en-US.resx b/NzbDrone.Web/App_GlobalResources/UploadLocalization.en-US.resx deleted file mode 100644 index 0380e024d..000000000 --- a/NzbDrone.Web/App_GlobalResources/UploadLocalization.en-US.resx +++ /dev/null @@ -1,156 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - text/microsoft-resx - - - 2.0 - - - System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 - - - Cancel - Cancel button text - - - Retry - Retry button text - - - Select... - Select button text - - - Remove - Remove button text - - - Upload files - Upload button (visible when AutoUpload is set to false) - - - drop files here to upload - Drag & Drop hint text - - - failed - "failed" status text accessible by screen readers - - - uploaded - "uploaded" status text accessible by screen readers - - - uploading - "uploading" status text accessible by screen readers - - \ No newline at end of file diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.common.min.css b/NzbDrone.Web/Content/2011.1.315/telerik.common.min.css deleted file mode 100644 index c64783389..000000000 --- a/NzbDrone.Web/Content/2011.1.315/telerik.common.min.css +++ /dev/null @@ -1 +0,0 @@ -.t-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none;}.t-floatwrap:after{content:"";display:block;clear:both;visibility:hidden;height:0;overflow:hidden;}.t-floatwrap{display:inline-block;}.t-floatwrap{display:block;}.t-widget,.t-widget .t-input,.t-widget .text-box,.t-button{font-size:100%;}.t-widget{border-width:1px;border-style:solid;}.t-link{cursor:pointer;outline:none;}html body .t-button{text-decoration:none;}.t-button{display:inline-block;margin:0;padding:2px 6px;border-width:1px;border-style:solid;font-family:inherit;font-size:100%;line-height:1.435;text-align:center;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}*+html .t-button{display:inline;zoom:1;}* html .t-button{display:inline;zoom:1;}*+html .t-button{overflow:visible;margin-right:4px;}* html .t-button{overflow:visible;margin-right:4px;}*+html .t-button-expand{margin-right:0;}* html .t-button-expand{margin-right:0;}*+html a.t-button{line-height:1.6;padding-left:7px;padding-right:7px;}* html a.t-button{line-height:1.6;padding-left:7px;padding-right:7px;}.t-button-icontext{line-height:1.453;}a.t-button{-moz-padding-start:9px;-moz-padding-end:9px;}a.t-button-expand{display:block;}button.t-button-expand{width:100%;}body .t-button-icon{padding-left:4px;padding-right:4px;}button.t-button-icon{-moz-padding-start:1px;-moz-padding-end:1px;}*+html a.t-button-icon{padding-left:5px;padding-right:5px;}* html a.t-button-icon{padding-left:5px;padding-right:5px;}.t-button-icontext{padding-right:8px;overflow:visible;}a.t-button-icontext{-moz-padding-end:11px;}.t-button-icontext .t-icon{margin:0 3px 0 -3px;vertical-align:top;}*+html .t-button-icontext .t-icon{margin-right:4px;}* html .t-button-icontext .t-icon{margin-right:4px;}html body .t-button-bare{background:none!important;border-width:0;}.t-icon,.t-editor-button .t-tool-icon{background-color:transparent;background-repeat:no-repeat;}.t-header .t-link{text-decoration:none;}.t-state-disabled,.t-state-disabled .t-link{cursor:default;outline:none;}.t-icon,.t-sprite,.t-editor-button .t-tool-icon{display:inline-block;width:16px;height:16px;overflow:hidden;font-size:0;line-height:0;text-indent:-3333px;text-align:center;vertical-align:middle;}* html .t-icon,* html .t-sprite,* html .t-editor-button .t-tool-icon{display:inline;zoom:1;}* html .t-icon,.t-sprite{text-indent:0;}*+html .t-icon,.t-sprite{text-indent:0;}.t-image{border:0;}.t-state-empty{font-style:italic;}div.t-window{display:inline-block;*display:inline;zoom:1;z-index:10001;position:absolute;border-width:0;border-width:5px\9;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 0 5px 2px #aaa;-webkit-box-shadow:0 0 5px 2px #aaa;box-shadow:0 0 5px 2px #aaa;}:root .t-window{border-width:0;}.t-window-titlebar{padding:.4em 0;font-size:1.2em;line-height:1.2em;white-space:nowrap;border-bottom-width:1px;border-bottom-style:solid;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;border-top-left-radius:5px;border-top-right-radius:5px;}.t-window-title{cursor:default;position:absolute;text-overflow:ellipsis;overflow:hidden;left:.5em;right:.5em;}.t-window-title .t-image{margin:0 5px 0 0;vertical-align:middle;}div.t-window-content{padding:.4em .5em;overflow:auto;position:relative;-moz-border-radius-bottomleft:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-left-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;}.t-window-titlebar .t-window-actions{position:absolute;right:.5em;top:0;padding-top:.3em;white-space:nowrap;}.t-window-titlebar .t-window-action{width:16px;height:16px;padding:2px;text-decoration:none;vertical-align:middle;display:inline-block;*display:inline;zoom:1;opacity:.7;filter:alpha(opacity=70);}.t-window-titlebar .t-state-hover{border-width:1px;border-style:solid;padding:1px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;opacity:1;filter:alpha(opacity=100);}.t-window-action .t-icon{margin:0;vertical-align:top;}.t-window .t-resize-handle{position:absolute;z-index:1;background-color:#fff;opacity:0;filter:alpha(opacity=0);zoom:1;line-height:6px;font-size:0;}.t-resize-n{top:-3px;left:0;width:100%;height:6px;cursor:n-resize;}.t-resize-e{top:0;right:-3px;width:6px;height:100%;cursor:e-resize;}.t-resize-s{bottom:-3px;left:0;width:100%;height:6px;cursor:s-resize;}.t-resize-w{top:0;left:-3px;width:6px;height:100%;cursor:w-resize;}.t-resize-se{bottom:-3px;right:-3px;width:16px;height:16px;cursor:se-resize;}.t-resize-sw{bottom:-3px;left:-3px;width:6px;height:6px;cursor:sw-resize;}.t-resize-ne{top:-3px;right:-3px;width:6px;height:6px;cursor:ne-resize;}.t-resize-nw{top:-3px;left:-3px;width:6px;height:6px;cursor:nw-resize;}.t-overlay{width:100%;height:100%;position:fixed;top:0;left:0;background-color:#000;filter:alpha(opacity=50);opacity:.5;z-index:10000;}.t-window .t-overlay{background-color:#fff;opacity:0;filter:alpha(opacity=0);position:absolute;width:100%;height:100%;}.t-window .t-widget{z-index:10002;}.t-tabstrip{margin:0;padding:0;zoom:1;}.t-tabstrip .t-tabstrip-items{padding:0 .3em;}.t-tabstrip-items .t-item,.t-panelbar .t-tabstrip-items .t-item{list-style-type:none;vertical-align:top;display:inline-block;*display:inline;zoom:1;border-width:1px 1px 0;border-style:solid;margin:.1em .3em 0 0;padding:0;position:relative;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;border-top-left-radius:5px;border-top-right-radius:5px;}.t-tabstrip-items .t-state-active,.t-panelbar .t-tabstrip-items .t-state-active{padding-bottom:1px;margin-bottom:-1px;}.t-tabstrip-items .t-link,.t-panelbar .t-tabstrip-items .t-link{padding:.3em .9em;display:inline-block;*display:inline;zoom:1;border-bottom-width:0;outline:0;}.t-tabstrip-items .t-icon,.t-panelbar .t-tabstrip-items .t-icon{margin:-1px 4px 0 -3px;vertical-align:top;}.t-tabstrip-items .t-item .t-image,.t-tabstrip-items .t-item .t-sprite,.t-panelbar .t-tabstrip-items .t-item .t-image,.t-panelbar .t-tabstrip-items .t-item .t-sprite{vertical-align:middle;margin:-3px 3px 0 -6px;}* html .t-tabstrip-items .t-item .t-image,* html .t-tabstrip-items .t-item .t-sprite{vertical-align:top;margin-top:-1px;}*+html .t-tabstrip-items .t-item .t-image,*+html .t-tabstrip-items .t-item .t-sprite{vertical-align:top;margin-top:-1px;}.t-tabstrip .t-content,.t-panelbar .t-tabstrip .t-content{border-width:1px;border-style:solid;margin:0 .3em .3em;padding:.3em 1em;display:none;position:static;zoom:1;}.t-panelbar{zoom:1;}.t-panelbar .t-item{list-style-type:none;display:block;zoom:1;margin:0;top:0;border-width:0;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;}.t-panelbar .t-image,.t-panelbar .t-sprite{vertical-align:middle;margin-right:5px;margin-top:4px;float:left;}.t-panelbar .t-group .t-image,.t-panelbar .t-group .t-sprite{margin-top:1px;}.t-panelbar .t-link{line-height:2.05em;padding:0 1em;border-bottom:1px solid;display:block;position:relative;text-decoration:none;zoom:1;}.t-panelbar-expand,.t-panelbar-collapse{position:absolute;top:5px;right:2px;}.t-panelbar .t-group,.t-panelbar .t-content{position:relative;zoom:1;padding:0;margin:0;border-bottom-width:1px;border-bottom-style:solid;}.t-panelbar .t-group .t-link{line-height:1.7em;border-bottom:0;font-size:.95em;}.t-panelbar .t-group .t-arrow-up,.t-panelbar .t-group .t-arrow-down{top:2px;}.t-panelbar .t-group .t-group .t-link{padding-left:2em;}.t-panelbar .t-last .t-link{border-bottom:0;}.t-panelbar .t-group .t-group{border-bottom:0;}.t-tabstrip .t-panelbar .t-content{display:block;}.t-menu{cursor:default;}.t-menu,.t-menu .t-group{list-style:none;padding:0;margin:0;zoom:1;}.t-menu .t-group .t-link{padding-right:2em;}.t-menu .t-item{position:relative;display:inline-block;*display:inline;zoom:1;border-width:0 1px 0 0;border-style:solid;vertical-align:top;}.t-menu-vertical .t-item{display:block;border-width:0;}.t-menu .t-image,.t-menu .t-sprite{margin:0 4px 0 -4px;vertical-align:top;}.t-menu .t-link{text-decoration:none;padding:.25em .97em;display:block;}.t-menu .t-group{display:none;white-space:nowrap;border-style:solid;border-width:1px;overflow:visible;-moz-box-shadow:2px 2px 2px #aaa;-webkit-box-shadow:2px 2px 2px #aaa;box-shadow:2px 2px 2px #aaa;}.t-menu .t-group .t-item{display:block;border-width:0;}.t-menu .t-group .t-link{zoom:1;}.t-menu .t-arrow-down{margin-left:2px;margin-right:-10px;vertical-align:top;}.t-menu .t-arrow-next{position:absolute;right:0;top:3px;}.t-menu .t-animation-container,.t-menu .t-group{left:-1px;position:absolute;}.t-menu .t-animation-container .t-animation-container,.t-menu .t-group .t-group{left:100%;top:-1px;}.t-menu-vertical .t-animation-container,.t-menu-vertical .t-group{left:100%;top:-1px;}.t-menu .t-animation-container .t-group{left:auto;top:auto;}.t-grid{position:relative;zoom:1;}.t-grid table{width:100%;border-collapse:separate;empty-cells:show;border:0;}.t-grid-header .t-header{text-align:left;}.t-grid-header .t-header,.t-grid-header .t-last-header{padding:.3em .6em;border-width:0 1px 1px 0;border-style:solid;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.t-grid-header .t-last-header{border-right-width:0;}.t-grid-header .t-header .t-link{line-height:18px;height:18px;display:block;margin:-.3em -.6em;padding:.3em 2.4em .3em .6em;border:0;}.t-grid-header .t-header .t-icon{position:static;}.t-grid .t-state-hover{cursor:pointer;}.t-grid td{padding:.25em .6em;border:0;vertical-align:middle;line-height:1.6em;overflow:hidden;text-overflow:ellipsis;}.t-grid .t-last{border-right-width:0;border-bottom-width:0;}.t-grid-header-wrap,.t-grid-footer-wrap{position:relative;overflow:hidden;width:100%;zoom:1;}div.t-grid-header,div.t-grid-footer{padding-right:17px;zoom:1;border-bottom-width:1px;border-bottom-style:solid;}div.t-grid-header .t-header,div.t-grid-header .t-last-header{border-bottom-width:0;}div.t-grid-header .t-last-header{border-right-width:1px;}.t-grid-content{position:relative;overflow:auto;overflow-x:auto;overflow-y:scroll;width:100%;zoom:1;}.t-grid-header table,.t-grid-content table,.t-grid-footer table{table-layout:fixed;}* html .t-grid-content table{width:auto;}*+html .t-grid-content table{width:auto;}.t-grid-pager{padding:.2em .6em;line-height:1.8em;overflow:auto;}.t-grid-top{border-width:0 0 1px;border-style:solid;}.t-grid-bottom{border-width:1px 0 0;border-style:solid;}* html .t-grid-pager input{vertical-align:middle;}*+html .t-grid-pager input{vertical-align:middle;}.t-grid .t-pager,.t-grid .t-status,.t-grid .t-status-text,.t-pager .t-numeric,.t-pager .t-page-i-of-n,.t-pager .t-link,.t-pager span,.t-pager input,.t-pager .t-page-size,.t-grouping-row p{display:inline-block;*display:inline;zoom:1;vertical-align:middle;}.t-pager .t-page-size{line-height:1.2em;}.t-footer-template td{border-width:1px 1px 0 0;border-style:solid;}.t-group-footer td,.t-group-footer .t-last{border-width:1px 0;border-style:solid;}.t-grid-footer{border-style:solid;border-width:1px 0 0;}.t-grid-footer td{border-top-width:0;}.t-grid .t-status{float:left;margin:-.2em .6em -.2em -.6em;padding:.2em .6em;height:1.85em;border-right-width:1px;border-right-style:solid;}.t-grid .t-pager{float:left;cursor:default;}.t-grid .t-status-text{float:right;margin-right:.2em;}.t-pager .t-link{text-decoration:none;padding:1px;margin-top:.2em;border:0;line-height:16px;}.t-pager .t-state-active,.t-pager .t-state-hover{padding:0;border-width:1px;border-style:solid;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}.t-pager span,.t-pager .t-link{vertical-align:top;}.t-pager .t-numeric,.t-pager .t-page-i-of-n{margin:0 7px;vertical-align:top;}.t-numeric .t-link,.t-numeric .t-state-active{margin-top:0;padding:0 5px;line-height:22px;vertical-align:top;}.t-numeric .t-state-active,.t-numeric .t-state-hover{padding:0 4px;line-height:20px;}.t-page-i-of-n input{width:2em;vertical-align:baseline;font-size:1em;}.t-grid-pager .t-status .t-icon{vertical-align:top;margin-top:3px;}.t-grid-filter{float:right;height:18px;padding:.3em .2em;position:relative;display:inline-block;*display:inline;zoom:1;margin:-1.8em -.6em -.3em 3px;margin-top:-.3em\9;}.t-link+.t-grid-filter{margin-top:-1.8em\9;}*+html .t-grid .t-grid-filter{margin-top:-1.8em;}.t-grid-filter .t-icon{vertical-align:top;}.t-grid .t-animation-container{position:absolute;}.t-filter-options{position:absolute;border-width:1px;border-style:solid;padding:3px;width:148px;-moz-box-shadow:2px 2px 2px #aaa;-webkit-box-shadow:2px 2px 2px #aaa;box-shadow:2px 2px 2px #aaa;}.t-filter-options .t-filter-help-text,.t-filter-options select,.t-filter-options input,.t-filter-options .t-button,.t-filter-options .t-datepicker{display:block;margin-bottom:4px;}.t-filter-options .t-button{width:145px;}.t-filter-options select{width:148px;}.t-filter-options input{width:142px;}.t-filter-options .t-datepicker{width:100%;}.t-filter-options .t-filter-button{margin-bottom:0;}.t-grouping-row .t-icon{margin:0 4px;}.t-grouping-row p{padding:0 .6em;margin-left:-.6em;}.t-grid td.t-group-cell,.t-grid td.t-hierarchy-cell{border-right:0;}.t-grid .t-group-col,.t-grid .t-hierarchy-col{width:30px;}.t-grouping-header,.t-grouping-dropclue{height:24px;line-height:24px;}.t-grouping-dropclue{position:absolute;width:6px;}.t-grouping-header .t-group-indicator{display:inline-block;*display:inline;zoom:1;border-width:1px;border-style:solid;line-height:1.5em;padding:.15em .15em .15em .4em;margin:0 3px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.t-grouping-header .t-link{text-decoration:none;display:inline-block;*display:inline;zoom:1;line-height:normal;padding:0;border-style:none;}.t-grouping-header .t-button{padding:0;border:0;background:transparent;line-height:1;}.t-grouping-header .t-link .t-icon{margin:0 0 0 -3px;}.t-grouping-header .t-button .t-icon{margin:0 0 0 3px;}.t-grouping-header a,.t-grouping-header .t-button{display:inline-block;*display:inline;zoom:1;vertical-align:middle;}.t-dirty{width:0;height:0;vertical-align:top;position:absolute;padding:0;margin:-0.45em 0 0 -0.6em;overflow:hidden;border-width:3px;border-style:solid;border-color:#f00 transparent transparent #f00;}* html .t-dirty{border-color:#f00 pink pink #f00;filter:chroma(color=pink);}.t-grouping-header,.t-grid-toolbar{cursor:default;margin:0;padding:.25em;}.t-grouping-header{border-bottom-width:1px;border-bottom-style:solid;}.t-grid .t-edit-container{padding:0;border-right:0;}.t-edit-form{padding:0;margin:0;}.t-edit-form td{border-top:0;border-bottom:0;}.t-grid-edit-row .text-box,.t-grid-edit-row .t-numerictextbox,.t-grid-edit-row .t-datepicker{vertical-align:middle;width:5em;max-width:90%;min-width:90%;margin:-.4em -.3em -.15em;}.t-grid-edit-row .t-dropdown,.t-grid-edit-row .t-combobox{width:5em;max-width:90%;min-width:90%;line-height:normal;margin:-.1em -.3em -.45em;}* html .t-grid .text-box{width:90%;}.t-edit-form-container{position:relative;}.t-grid .field-validation-error{display:block;}.t-grid .input-validation-error{border-style:ridge;border-color:#f00;background-color:#ffc0cb;}.t-grid-toolbar .t-button{vertical-align:middle;}.t-grid-actions{display:inline-block;}* html .t-grid-actions{display:inline;zoom:1;vertical-align:bottom;}*+html .t-grid-actions{display:inline;zoom:1;vertical-align:bottom;}.t-grid .t-button,.t-edit-form .t-button{margin:0 .2em;}.t-grid tbody .t-button{min-width:64px;}.t-grid tbody button.t-button,#ie8#skips{min-width:78px;}*+html .t-grid tbody a.t-button{min-width:62px;}.t-grid tbody a.t-button{-moz-padding-start:6px;-moz-padding-end:6px;}.t-grid tbody a.t-button-icon{-moz-padding-start:4px;-moz-padding-end:4px;}html body .t-grid tbody .t-button-icon{min-width:0;width:auto;}.t-detail-row{position:relative;}.t-grid .t-detail-cell{overflow:visible;}.t-grid-resize-indicator{position:absolute;width:2px;background-color:#aaa;}.t-grid .t-resize-handle{cursor:col-resize;position:absolute;height:25px;}.t-autocomplete{background-position:100% 50%!important;}.t-combobox,.t-dropdown,.t-selectbox{display:inline-block;*display:inline;zoom:1;position:relative;overflow:hidden;white-space:nowrap;width:150px;border-width:0;}*+html .t-combobox{overflow:visible;}* html .t-combobox{overflow:visible;}.t-dropdown-wrap,.t-picker-wrap{position:relative;display:block;cursor:default;}.t-picker-wrap{padding:0 25px 0 0;}.t-dropdown-wrap{padding-right:16px;border-width:1px;border-style:solid;}.t-combobox>.t-dropdown-wrap{padding-right:22px;}* html .t-combobox .t-dropdown-wrap{height:20px;}* html .t-picker-wrap{height:20px;padding-right:20px;}.t-picker-wrap .t-input,.t-combobox .t-input{vertical-align:top;width:100%;}.t-combobox .t-input{outline:0;border:0;}*+html .t-combobox .t-input{margin:-1px 0;}* html .t-combobox .t-input{margin:-1px 0;}* html{position:absolute;top:0;}.t-picker-wrap .t-select,.t-dropdown-wrap .t-select{text-decoration:none;vertical-align:top;display:inline-block;*display:inline;zoom:1;cursor:default;position:absolute;top:0;right:0;}* html .t-picker-wrap .t-select,* html .t-dropdown-wrap .t-select{top:1px;right:1px;}.t-combobox .t-select{border-width:0 0 0 1px;border-style:solid;border-color:inherit;}.t-combobox .t-icon{margin-top:1px;}.t-dropdown .t-select,.t-selectbox .t-select{border:0;text-decoration:none;font:inherit;color:inherit;overflow:hidden;cursor:default;}.t-dropdown .t-input,.t-selectbox .t-input{overflow:hidden;display:block;text-overflow:ellipsis;padding:.2em 0 .2em 3px;}.t-picker-wrap .t-select,.t-dropdown-wrap .t-select{position:absolute;right:0;top:0;}.t-picker-wrap .t-icon,.t-dropdown-wrap .t-icon{vertical-align:top;margin-top:2px;}.t-combobox .t-input{height:18px;line-height:18px;padding:1px 3px;border:0;margin:0;}.t-picker-wrap .t-select,.t-dropdown-wrap .t-select{height:20px;line-height:20px;}.t-popup{border-width:1px;border-style:solid;}.t-popup .t-item{padding:1px 5px 1px 3px;cursor:default;}.t-calendar{display:inline-block;*display:inline;zoom:1;width:203px;position:relative;overflow:hidden;}.t-calendar .t-link{text-decoration:none;}.t-calendar .t-action-link{text-decoration:underline;}.t-calendar .t-header{padding:.4em 0;text-align:center;position:relative;zoom:1;}.t-calendar .t-nav-prev,.t-calendar .t-nav-next{position:absolute;top:.3em;}.t-calendar .t-nav-prev{left:1%;}.t-calendar .t-nav-next{right:1%;}.t-calendar .t-content{text-align:right;display:table;width:100%;height:169px;table-layout:fixed;border-style:none;margin:0;padding:0;}.t-calendar .t-animation-container .t-content{height:100%;}.t-calendar .t-nav-fast{display:inline-block;*display:inline;zoom:1;width:75%;}.t-calendar .t-nav-fast .t-icon{vertical-align:top;}.t-calendar th{border-bottom-style:solid;border-bottom-width:1px;font-weight:normal;cursor:default;}.t-calendar td{cursor:pointer;padding:1px;}.t-calendar .t-state-focus{border-width:1px;border-style:dotted;padding:0;}.t-calendar .t-content .t-link{display:block;overflow:hidden;position:relative;}.t-calendar th,.t-calendar .t-content .t-link{padding:.25em .45em .3em .1em;}.t-calendar .t-meta-view .t-link{padding:.25em 0 .3em;text-align:center;}.t-timepicker,.t-datetimepicker,.t-datepicker{border:0;white-space:nowrap;width:8.5em;}.t-datetimepicker{width:13em;}div.t-timepicker,div.t-datetimepicker,div.t-datepicker{background-color:transparent;}.t-datetimepicker .t-picker-wrap{padding-right:44px;}* html .t-datetimepicker .t-picker-wrap{padding-right:40px;}.t-datetimepicker .t-icon-calendar{margin-right:3px;}.t-picker-wrap .t-icon{cursor:pointer;}.t-state-disabled .t-picker-wrap .t-icon{cursor:default;}.t-timepicker,.t-datepicker,.t-datetimepicker{display:inline-block;*display:inline;zoom:1;vertical-align:top;}.t-picker-wrap .t-input{margin:0;}.t-time-popup,.t-datepicker-calendar{-moz-box-shadow:2px 2px 2px #aaa;-webkit-box-shadow:2px 2px 2px #aaa;box-shadow:2px 2px 2px #aaa;}.t-iframe-overlay{position:absolute;width:100%;border:0;top:0;left:0;filter:alpha(opacity=0);}.t-time-popup .t-item{padding:1px 3px;}div.t-treeview{border-width:0;background:none;white-space:nowrap;overflow:auto;}.t-treeview .t-item{padding:0 0 0 16px;margin:0;border-width:0;position:static;top:auto;display:block;}.t-treeview .t-group,.t-treeview .t-content{list-style-type:none;background:none;margin:0;padding:0;}.t-treeview .t-animation-container{height:auto!important;}.t-treeview .t-icon,.t-treeview .t-image,.t-treeview .t-sprite,.t-treeview .t-in{display:inline-block;*display:inline;zoom:1;vertical-align:top;}.t-treeview .t-plus,.t-treeview .t-minus,.t-treeview .t-plus-disabled,.t-treeview .t-minus-disabled{margin-left:-16px;margin-top:2px;float:left;*float:none;}.t-treeview .t-plus,.t-treeview .t-minus{cursor:pointer;}.t-treeview .t-plus-disabled,.t-treeview .t-minus-disabled{cursor:default;}.t-treeview .t-sprite,.t-treeview .t-image{margin-right:3px;}.t-treeview .t-in{margin:1px 0;padding:2px 4px 2px 3px;text-decoration:none;line-height:16px;margin-left:2px;}.t-treeview span.t-in{cursor:default;}.t-treeview .t-state-hover,.t-treeview .t-state-selected{padding:1px 3px 1px 2px;border-width:1px;border-style:solid;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.t-treeview .t-drop-clue{width:80px;visibility:hidden;height:5px;position:absolute;margin-top:-3px;z-index:10000;background-color:transparent;background-repeat:no-repeat;}.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-repeat:no-repeat;margin-left:-16px;padding-left:16px;}.t-treeview-lines .t-top{background-position:-91px 0;}.t-treeview-lines .t-bot{background-position:-69px -22px;}.t-treeview-lines .t-mid{background-position:-47px -44px;}.t-treeview-lines .t-last .t-top{background-position:-25px -66px;}.t-treeview-lines .t-group .t-last .t-bot{background-position:-69px -22px;}.t-treeview-lines .t-item{background-repeat:no-repeat;}.t-treeview-lines .t-first{background-repeat:no-repeat;background-position:0 16px;}div.t-numerictextbox{display:inline-block;*display:inline;zoom:1;vertical-align:middle;white-space:nowrap;border:0;background:transparent;}.t-numerictextbox .t-input{margin:0;}.t-formatted-value{position:absolute;padding:3px 4px 2px 3px;}.t-numerictextbox .t-icon{margin-left:-16px;}.t-numerictextbox .t-link{border-style:none;display:inline-block;*display:inline;zoom:1;}.t-numerictextbox .t-arrow-up{vertical-align:top;margin-top:1px;height:10px;}.t-numerictextbox .t-arrow-down{vertical-align:bottom;margin-bottom:1px;height:11px;}.t-colorpicker{display:inline-block;*display:inline;zoom:1;vertical-align:middle;}.t-colorpicker .t-tool-icon{display:inline-block;*display:inline;zoom:1;vertical-align:top;padding:2px 3px;font-size:0;line-height:0;}.t-colorpicker .t-selected-color{display:block;height:16px;width:16px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;}.t-colorpicker .t-icon{vertical-align:middle;margin-top:2px;}.t-colorpicker-popup{line-height:0;width:136px;}.t-colorpicker-popup .t-reset{padding:.25em;margin:0;display:inline-block;*display:inline;zoom:1;}.t-colorpicker-popup .t-item{float:left;display:block;overflow:hidden;width:12px;height:12px;font-size:0;padding:0;margin:0 1px 1px 0;}.t-editor{border-width:1px;border-style:solid;border-collapse:separate;height:250px;font-size:100%;table-layout:fixed;vertical-align:top;width:100%;}.t-editor .t-editor-toolbar-wrap{border:0;padding:0;}.t-editor-toolbar{margin:0;padding:.1em 0;list-style-type:none;cursor:default;line-height:1.3em;}.t-editor-toolbar li{display:inline;vertical-align:middle;}.t-editor-toolbar .t-editor-dropdown,.t-editor-toolbar .t-editor-combobox,.t-editor-toolbar .t-editor-selectbox,.t-editor-toolbar .t-editor-colorpicker{margin-right:2px;}.t-editor-toolbar .t-separator{border-width:0 1px 0 0;border-style:solid;padding:0 0 0 1px;font-size:1.3em;margin:0 .15em;position:relative;top:1px;}.t-editor-toolbar .t-break{display:block;height:1px;line-height:0;font-size:0;}.t-editor-toolbar .t-dropdown,.t-editor-toolbar .t-combobox,.t-editor-toolbar .t-selectbox,.t-editor-toolbar .t-colorpicker{vertical-align:middle;}.t-editor-button .t-tool-icon{vertical-align:middle;width:22px;height:22px;margin:1px;}.t-editor-colorpicker .t-tool-icon{padding:17px 3px 2px;}.t-editor-colorpicker .t-icon{border-style:solid;border-color:#ccc;border-width:0 0 0 1px;}.t-editor-colorpicker .t-selected-color{height:3px;}.t-editor-combobox .t-input{height:20px;line-height:20px;}.t-editor-combobox .t-select{height:22px;line-height:22px;}.t-bold{background-position:-22px 0;}.t-italic{background-position:-44px 0;}.t-underline{background-position:-66px 0;}.t-strikethrough{background-position:-88px 0;}.t-justifyLeft{background-position:-110px 0;}.t-justifyCenter{background-position:-132px 0;}.t-justifyRight{background-position:-154px 0;}.t-justifyFull{background-position:-176px 0;}.t-insertOrderedList{background-position:-198px 0;}.t-insertUnorderedList{background-position:-220px 0;}.t-createLink{background-position:-242px 0;}.t-unlink{background-position:-264px 0;}.t-insertImage{background-position:-286px 0;}.t-foreColor .t-tool-icon{background-position:-308px -2px;}.t-backColor .t-tool-icon{background-position:-330px -2px;}.t-indent{background-position:-352px 0;}.t-outdent{background-position:-374px 0;}.t-fontName{width:110px;}.t-fontSize{width:124px;}.t-formatBlock{width:147px;}.t-editor-button .t-state-hover,.t-editor-button .t-state-active{vertical-align:middle;border-width:1px;border-style:solid;margin:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}.t-editor-button .t-state-disabled{opacity:.3;filter:alpha(opacity=30);}.t-editor .t-editable-area{outline:none;height:100%;width:100%;border-width:1px;border-style:solid;}.t-editor .t-content{height:100%;width:100%;display:block;padding:0;margin:0;border:0;}.t-editor .t-raw-content{border:0;margin:0;padding:0;font-size:inherit;font-family:Consolas,"Courier New",monospace;}.t-editor-dialog{padding:1em;}.t-editor-dialog ol{margin:0;padding:0;list-style:none;}.t-form-text-row,.t-form-checkbox-row{padding-bottom:1em;}.t-form-text-row label{display:inline-block;*display:inline;zoom:1;width:7em;text-align:right;padding-right:.5em;}.t-form-checkbox-row input{margin-left:7em;font-size:inherit;padding:0;}.t-form-checkbox-row label{padding-left:.3em;}.t-form-checkbox-row input,.t-form-checkbox-row label,.t-form-text-row label .t-form-text-row input,.t-form-text-row select{vertical-align:middle;}.t-form-text-row input,.t-form-text-row select{width:20em;}.t-editor-dialog .t-button-wrapper{padding-top:.5em;text-align:right;}.t-editor-dialog .t-button{display:inline-block;*display:inline;zoom:1;}.t-drag-clue{border-width:1px;border-style:solid;font-size:.9em;padding:.05em .15em;position:absolute;z-index:10003;white-space:nowrap;cursor:default;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.t-drag-status{margin-right:4px;vertical-align:top;margin-top:-1px;}.t-reorder-cue{position:absolute;width:1px;overflow:visible;}.t-reorder-cue .t-icon{width:8px;height:4px;position:absolute;left:-4px;}.t-reorder-cue .t-arrow-down{top:-4px;background-position:-20px -182px;}.t-reorder-cue .t-arrow-up{bottom:-4px;background-position:-20px -166px;}div.t-slider{position:relative;border-width:0;background-color:transparent;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;}.t-slider-vertical{width:22px;height:200px;}.t-slider-horizontal{display:inline-block;height:22px;width:200px;}*+html .t-slider-horizontal{display:inline;zoom:1;}* html .t-slider-horizontal{display:inline;zoom:1;}.t-slider-wrap{width:100%;height:100%;}.t-slider .t-button,.t-grid .t-slider .t-button{position:absolute;top:0;min-width:0;width:20px;height:20px;margin:0;padding:0;outline:none;}.t-state-disabled .t-button,.t-state-disabled .t-draghandle{cursor:default;}.t-state-disabled .t-slider-track{opacity:.6;filter:alpha(opacity=60);}.t-slider .t-button-decrease{left:0;}.t-slider-vertical .t-button-decrease{top:auto;bottom:0;}.t-slider .t-button-increase{right:0;}.t-slider .t-icon{cursor:pointer;}.t-state-disabled .t-slider-wrap .t-icon,.t-state-disabled .t-slider .t-icon{cursor:default;}*+html .t-slider .t-icon{margin-top:2px;}* html .t-slider .t-icon{margin-top:2px;}.t-slider-track,.t-slider-selection{position:absolute;margin:0;padding:0;}.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{height:6px;top:50%;left:0;margin-top:-3px;background-repeat:repeat-x;}.t-slider-horizontal .t-slider-track{border-width:0 1px;border-style:solid;background-position:0 -464px;}.t-slider-horizontal .t-slider-selection{background-position:0 -470px;}.t-slider-horizontal .t-slider-buttons .t-slider-track{left:27px;}.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{width:6px;left:50%;bottom:0;margin-left:-3px;background-repeat:repeat-y;}.t-slider-vertical .t-slider-track{border-width:1px 0;border-style:solid;background-position:0 0;}.t-slider-vertical .t-slider-selection{background-position:-6px 0;}.t-slider-vertical .t-slider-buttons .t-slider-track{bottom:27px;}.t-draghandle{position:absolute;background-repeat:no-repeat;background-color:transparent;text-indent:-3333px;text-decoration:none;text-align:center;overflow:hidden;cursor:pointer;}.t-slider-horizontal .t-draghandle{top:-7px;width:11px;height:20px;}.t-slider-vertical .t-draghandle{left:-7px;width:20px;height:11px;}.t-slider-horizontal .t-draghandle,.t-state-disabled.t-slider-horizontal a.t-draghandle,.t-state-disabled .t-slider-horizontal a.t-draghandle{background-position:0 -368px;}.t-slider-horizontal .t-draghandle:hover,.t-slider-horizontal .t-draghandle:focus{background-position:0 -400px;}.t-slider-horizontal a.t-draghandle.t-state-active{background-position:0 -432px;}.t-slider-vertical .t-draghandle,.t-state-disabled.t-slider-vertical a.t-draghandle,.t-state-disabled .t-slider-vertical a.t-draghandle{background-position:-32px -368px;}.t-slider-vertical .t-draghandle:hover,.t-slider-vertical .t-draghandle:focus{background-position:-32px -400px;}.t-slider-vertical a.t-draghandle.t-state-active{background-position:-32px -432px;}.t-slider-items{display:inline-block;}.t-slider-items{display:block;}.t-slider-buttons .t-slider-items{margin-left:27px;}.t-slider-horizontal .t-slider-items{height:100%;}.t-slider-vertical .t-slider-items{padding-top:1px;}.t-slider-vertical .t-slider-buttons .t-slider-items{padding-top:0;}.t-slider-vertical .t-slider-buttons .t-slider-items{margin:0;padding-top:28px;}.t-slider-items:after{content:"";display:block;clear:both;height:0;visibility:hidden;}.t-slider .t-tick{position:relative;margin:0;padding:0;background-color:transparent;background-repeat:no-repeat;background-position:center center;cursor:default;}.t-slider-horizontal .t-tick{float:left;text-align:center;height:100%;}*+html .t-slider-vertical .t-tick{float:left;clear:left;width:100%;}* html .t-slider-vertical .t-tick{float:left;clear:left;width:100%;}.t-slider-horizontal .t-first{background-position:0 center;}.t-slider-horizontal .t-last{background-position:100% center;}.t-slider-vertical .t-tick{text-align:right;}.t-slider-vertical .t-slider-topleft .t-tick{text-align:left;}.t-slider-vertical .t-first{background-position:center 100%;}.t-slider-vertical .t-last{background-position:center 0;}.t-slider .t-label{position:absolute;}.t-slider-horizontal .t-label{left:0;width:100%;}.t-slider-horizontal .t-first .t-label{left:-50%;}.t-slider-horizontal .t-last .t-label{right:-50%;}.t-slider-horizontal .t-label{bottom:-1.2em;}.t-slider-horizontal .t-slider-topleft .t-label{top:-1.2em;}.t-slider-vertical .t-label{left:120%;display:block;text-align:left;}.t-slider-vertical .t-last .t-label{top:-0.5em;}.t-slider-vertical .t-first .t-label{bottom:-0.5em;}.t-slider-vertical .t-slider-topleft .t-label{left:auto;right:120%;}.t-tooltip{position:absolute;border-width:1px;border-style:solid;padding:4px 5px;background-repeat:repeat-x;z-index:10002;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;min-width:10px;text-align:center;}.t-callout{position:absolute;}.t-callout-n,.t-callout-s{width:9px;height:6px;}.t-callout-w,.t-callout-e{width:6px;height:9px;}.t-callout-n{top:-6px;left:50%;margin-left:-4px;background-position:-64px -368px;}.t-callout-w{left:-6px;top:50%;margin-top:-4px;background-position:-64px -384px;}.t-callout-s{top:100%;left:50%;margin-left:-4px;background-position:-64px -400px;}.t-callout-e{left:100%;top:50%;margin-top:-4px;background-position:-64px -416px;}.t-splitter{position:relative;height:300px;}.t-splitter .t-pane{overflow:hidden;}.t-splitter .t-scrollable{overflow:auto;}.t-splitter .t-pane-loading{position:absolute;left:50%;top:50%;margin:-8px 0 0 -8px;}.t-ghost-splitbar,.t-splitbar{position:absolute;border-style:solid;font-size:0;}.t-splitter .t-ghost-splitbar-horizontal,.t-splitter .t-splitbar-horizontal{top:0;width:5px;border-width:0 1px;background-repeat:repeat-y;}.t-ghost-splitbar-vertical,.t-splitbar-vertical{left:0;height:5px;border-width:1px 0;background-repeat:repeat-x;}.t-splitbar-draggable-horizontal{cursor:w-resize;}.t-splitbar-draggable-vertical{cursor:n-resize;}.t-splitbar .t-resize-handle{display:none;}.t-restricted-size-horizontal,.t-restricted-size-vertical{background-color:#f00;}.t-splitbar-horizontal .t-icon{width:5px;height:21px;position:absolute;top:50%;margin-top:-10px;}.t-collapse-prev,.t-collapse-next,.t-expand-prev,.t-expand-next{cursor:pointer;}.t-splitbar-horizontal .t-collapse-prev{margin-top:-31px;}.t-splitbar-horizontal .t-collapse-next{margin-top:11px;}.t-splitbar-vertical .t-icon{height:5px;width:21px;position:absolute;left:50%;margin-left:-10px;}.t-splitbar-vertical .t-collapse-prev{margin-left:-31px;}.t-splitbar-vertical .t-collapse-next{margin-left:11px;}.t-splitbar-draggable-vertical .t-resize-handle,.t-splitbar-draggable-horizontal .t-resize-handle{display:inline-block;*display:inline;zoom:1;}.t-splitbar-horizontal{background-position:5px 0;}.t-splitbar-horizontal-hover{background-position:-12px 0;}.t-splitbar-horizontal-active,.t-ghost-splitbar-horizontal{background-position:-17px 0;}.t-restricted-size-horizontal{background-position:-22px 0;}.t-splitbar-horizontal .t-resize-handle{background-position:-10px -496px;}.t-splitbar-horizontal-hover .t-resize-handle{background-position:-10px -517px;}.t-splitbar-horizontal .t-collapse-prev,.t-splitbar-horizontal .t-expand-next{background-position:0 -496px;}.t-splitbar-horizontal-hover .t-collapse-prev,.t-splitbar-horizontal-hover .t-expand-next{background-position:0 -517px;}.t-splitbar-horizontal .t-collapse-next,.t-splitbar-horizontal .t-expand-prev{background-position:-5px -496px;}.t-splitbar-horizontal-hover .t-collapse-next,.t-splitbar-horizontal-hover .t-expand-prev{background-position:-5px -517px;}.t-splitbar-vertical{background-position:0 5px;}.t-splitbar-vertical-hover{background-position:0 -476px;}.t-splitbar-vertical-active,.t-ghost-splitbar-vertical{background-position:0 -481px;}.t-restricted-size-vertical{background-position:0 -486px;}.t-splitbar-vertical .t-resize-handle{background-position:-16px -496px;}.t-splitbar-vertical-hover .t-resize-handle{background-position:-16px -501px;}.t-splitbar-vertical .t-collapse-prev,.t-splitbar-vertical .t-expand-next{background-position:-16px -506px;}.t-splitbar-vertical-hover .t-collapse-prev,.t-splitbar-vertical-hover .t-expand-next{background-position:-16px -517px;}.t-splitbar-vertical .t-collapse-next,.t-splitbar-vertical .t-expand-prev{background-position:-16px -511px;}.t-splitbar-vertical-hover .t-collapse-next,.t-splitbar-vertical-hover .t-expand-prev{background-position:-16px -522px;}html .t-upload{position:relative;border-width:0;background:none;}.t-dropzone,.t-upload-files{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.t-dropzone em,.t-upload-button{vertical-align:middle;}*+html .t-dropzone em,*+html .t-upload-button{vertical-align:baseline;}* html .t-dropzone em,* html .t-upload-button{vertical-align:baseline;}.t-dropzone{border-style:solid;border-width:0;padding:4px;background-color:transparent;}.t-dropzone em{margin-left:.6em;visibility:hidden;}.t-dropzone-active{border-width:1px;padding:3px;}.t-dropzone-active em{visibility:visible;}.t-upload-button{width:86px;position:relative;direction:ltr;overflow:hidden!important;/*!important required by IE7*/;}.t-upload-button input{font:500px monospace!important;opacity:0;filter:alpha(opacity=0);position:absolute;padding:0;margin:0;cursor:pointer;right:0;top:0;z-index:1;}.t-state-disabled .t-upload-button input{cursor:default;}.t-upload-files{border-style:solid;border-width:1px;margin:.2em 0 0;padding:.3em .7em .5em;line-height:1.9em;}.t-upload-files .t-button{position:relative;top:1px;margin-left:8px;padding-top:0;padding-bottom:0;font-size:84%;}*+html .t-upload-files .t-button{line-height:1;}* html .t-upload-files .t-button{line-height:1;}.t-upload .t-delete,.t-upload .t-cancel,.t-upload .t-retry{height:8px;vertical-align:baseline;}.t-upload .t-delete,.t-upload .t-cancel{width:7px;background-position:-5px -292px;}.t-retry{background-position:-66px -228px;width:11px;}.t-success{background-position:-64px -240px;}.t-fail{background-position:-64px -256px;}.t-filename{position:relative;display:inline-block;min-width:120px;vertical-align:middle;}.t-progress,.t-progress-status{position:absolute;bottom:-2px;left:0;width:118px;height:2px;border-style:solid;border-width:1px;background-repeat:repeat-x;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;}.t-progress-status{left:-1px;bottom:-1px;width:50%;}.t-upload-selected{min-width:86px;box-sizing:content-box;-moz-box-sizing:content-box;-ms-box-sizing:content-box;margin:3px 0 0;}*+html .t-upload-selected{min-width:100px;}.t-tiles-buttons .t-dropzone em,.t-tiles-buttons .t-upload-files{display:none;}.t-tiles-buttons .t-dropzone{border:0;padding:0;background-color:transparent;}.t-search-wrap{float:right;width:auto;position:relative;padding:0;}.t-search-wrap label{position:absolute;top:0;left:4px;line-height:20px;font-style:italic;}.t-search-wrap input.t-input{width:158px;padding-left:0;padding-right:0;}.t-search{background-position:-64px -176px;}.t-search-wrap .t-search{position:absolute;top:1px;right:2px;}.t-breadcrumbs{float:left;position:relative;width:560px;}.t-breadcrumbs-wrap{position:absolute;z-index:1;top:0;left:0;padding-left:5px;line-height:18px;}html input.t-breadcrumbs-input{width:100%;padding-left:2px;font-family:inherit;}.t-breadcrumbs .t-link,.t-breadcrumbs-wrap .t-icon{text-decoration:none;vertical-align:middle;margin-top:0;}.t-breadcrumbs .t-link:hover{text-decoration:underline;}.t-imagebrowser .t-breadcrumbs .t-first{text-decoration:none;cursor:default;}.t-tiles-toolbar{clear:both;border-style:solid;border-width:1px;margin:8px 0 0;padding:2px 0 3px;background-repeat:repeat-x;line-height:23px;white-space:nowrap;}.t-imagebrowser .t-upload{float:left;}.t-imagebrowser .t-upload-button{width:auto;vertical-align:top;}.t-imagebrowser .t-upload .t-icon{vertical-align:bottom;}*+html .t-imagebrowser .t-upload-button,*+html .t-imagebrowser .t-upload .t-icon{vertical-align:baseline;position:relative;top:1px;}* html .t-imagebrowser .t-upload-button,* html .t-imagebrowser .t-upload .t-icon{vertical-align:baseline;position:relative;top:1px;}*+html .t-imagebrowser .t-upload .t-icon{top:2px;}* html .t-imagebrowser .t-upload .t-icon{top:2px;}*+html .t-tiles-toolbar .t-button-icon{vertical-align:middle;}* html .t-tiles-toolbar .t-button-icon{vertical-align:middle;}.t-addfolder{background-position:-64px -192px;}.t-goup{background-position:-64px -208px;}.t-tiles-toolbar .t-state-disabled{opacity:.5;filter:alpha(opacity=50);}.t-tiles-buttons{float:left;}.t-tiles-arrange{float:right;}* html .t-tiles-arrange{margin:3px 0 0;}.t-tiles-arrange .t-arrow-down{margin:0 2px 0 3px;}.t-tiles-arrange a{text-decoration:none;}.t-tiles{clear:both;height:390px;border-style:solid;border-width:1px;border-top-width:0;margin:0 0 1.4em;padding:9px;overflow:auto;line-height:1.2;}.t-tile{width:223px;height:88px;overflow:hidden;float:left;border-width:1px;border-style:solid;margin:1px;padding:0 0 4px;cursor:pointer;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.t-imagebrowser .t-thumb{float:left;display:inline;width:86px;height:86px;margin:4px 10px 0 4px;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;}.t-imagebrowser .t-image{margin:2px 0 0 2px;-moz-box-shadow:1px 1px 3px #aaa;-webkit-box-shadow:1px 1px 3px #aaa;box-shadow:1px 1px 3px #aaa;}.t-imagebrowser .t-folder{width:80px;height:80px;background-position:0 -200px;background-repeat:no-repeat;}.t-goback{background-position:-64px -224px;}.t-imagebrowser .t-loading{margin:35px 0 0 33px;}.t-tile strong,.t-tile input{margin:10px 0 4px;font-weight:normal;}.t-tile strong{float:left;width:120px;overflow:hidden;text-overflow:ellipsis;}.t-tile input{width:100px;}.t-tile em,.t-tile .t-filesize{clear:left;font-weight:normal;font-style:normal;}.t-tile strong,.t-tile input,.t-tile em,.t-tile .t-filesize{display:block;}.t-imagebrowser .t-form-text-row input{width:628px;}.t-tile-empty{margin:160px 0 0;}.t-tile-empty .t-dialog-upload{font-weight:bold;font-size:120%;}.t-tile-empty strong{display:block;margin:0 0 .2em;font-size:3em;font-weight:normal;}.t-tile-empty,.t-tile-empty .t-button-wrapper{text-align:center;}.t-touch-scrollbar{position:absolute;display:none;z-index:200000;height:8px;width:8px;border:1px solid #8a8a8a;background-color:#858585;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}@media only screen and(-webkit-min-device-pixel-ratio:2){.t-touch-scrollbar{height:12px;width:12px;-webkit-border-radius:7px;}} \ No newline at end of file diff --git a/NzbDrone.Web/Content/2011.1.315/Black/editor.png b/NzbDrone.Web/Content/2011.1.414/Black/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/editor.png rename to NzbDrone.Web/Content/2011.1.414/Black/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Black/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Black/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Black/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Black/loading.gif b/NzbDrone.Web/Content/2011.1.414/Black/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Black/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Black/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Black/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Black/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Black/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Black/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Black/sprite.png b/NzbDrone.Web/Content/2011.1.414/Black/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Black/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Black/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Black/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Black/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Black/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Black/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Black/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Black/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Black/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Black/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Black/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Default/editor.png b/NzbDrone.Web/Content/2011.1.414/Default/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/editor.png rename to NzbDrone.Web/Content/2011.1.414/Default/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Default/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Default/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Default/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Default/loading.gif b/NzbDrone.Web/Content/2011.1.414/Default/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Default/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Default/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Default/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Default/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Default/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Default/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Default/sprite.png b/NzbDrone.Web/Content/2011.1.414/Default/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Default/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Default/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Default/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Default/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Default/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Default/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Default/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Default/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Default/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Default/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Default/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/editor.png b/NzbDrone.Web/Content/2011.1.414/Forest/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/editor.png rename to NzbDrone.Web/Content/2011.1.414/Forest/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Forest/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Forest/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/loading.gif b/NzbDrone.Web/Content/2011.1.414/Forest/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Forest/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Forest/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Forest/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Forest/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/sprite.png b/NzbDrone.Web/Content/2011.1.414/Forest/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Forest/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Forest/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Forest/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Forest/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Forest/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Forest/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Forest/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Forest/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Forest/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/editor.png b/NzbDrone.Web/Content/2011.1.414/Hay/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/editor.png rename to NzbDrone.Web/Content/2011.1.414/Hay/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Hay/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Hay/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/loading.gif b/NzbDrone.Web/Content/2011.1.414/Hay/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Hay/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Hay/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Hay/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Hay/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/sprite.png b/NzbDrone.Web/Content/2011.1.414/Hay/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Hay/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Hay/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Hay/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Hay/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Hay/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Hay/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Hay/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Hay/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Hay/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/editor.png b/NzbDrone.Web/Content/2011.1.414/Office2007/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/editor.png rename to NzbDrone.Web/Content/2011.1.414/Office2007/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Office2007/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Office2007/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/loading.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Office2007/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Office2007/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Office2007/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Office2007/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/sprite.png b/NzbDrone.Web/Content/2011.1.414/Office2007/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Office2007/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Office2007/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Office2007/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Office2007/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Office2007/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2007/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Office2007/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2007/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Office2007/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/editor.png b/NzbDrone.Web/Content/2011.1.414/Office2010Black/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/editor.png rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Office2010Black/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/loading.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Office2010Black/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/sprite.png b/NzbDrone.Web/Content/2011.1.414/Office2010Black/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Office2010Black/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Office2010Black/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Office2010Black/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Office2010Black/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Office2010Black/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Office2010Black/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/editor.png b/NzbDrone.Web/Content/2011.1.414/Outlook/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/editor.png rename to NzbDrone.Web/Content/2011.1.414/Outlook/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Outlook/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Outlook/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/loading.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Outlook/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Outlook/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Outlook/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Outlook/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/sprite.png b/NzbDrone.Web/Content/2011.1.414/Outlook/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Outlook/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Outlook/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Outlook/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Outlook/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Outlook/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Outlook/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Outlook/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Outlook/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Outlook/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/editor.png b/NzbDrone.Web/Content/2011.1.414/Simple/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/editor.png rename to NzbDrone.Web/Content/2011.1.414/Simple/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Simple/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Simple/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/loading.gif b/NzbDrone.Web/Content/2011.1.414/Simple/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Simple/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Simple/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Simple/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Simple/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/sprite.png b/NzbDrone.Web/Content/2011.1.414/Simple/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Simple/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Simple/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Simple/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Simple/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Simple/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Simple/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Simple/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Simple/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Simple/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/editor.png b/NzbDrone.Web/Content/2011.1.414/Sitefinity/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/editor.png rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Sitefinity/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/loading.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Sitefinity/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/sprite.png b/NzbDrone.Web/Content/2011.1.414/Sitefinity/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Sitefinity/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Sitefinity/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sitefinity/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Sitefinity/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sitefinity/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Sitefinity/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/editor.png b/NzbDrone.Web/Content/2011.1.414/Sunset/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/editor.png rename to NzbDrone.Web/Content/2011.1.414/Sunset/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Sunset/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Sunset/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/loading.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Sunset/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Sunset/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Sunset/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Sunset/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/sprite.png b/NzbDrone.Web/Content/2011.1.414/Sunset/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Sunset/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Sunset/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Sunset/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Sunset/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Sunset/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Sunset/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Sunset/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Sunset/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Sunset/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/editor.png b/NzbDrone.Web/Content/2011.1.414/Telerik/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/editor.png rename to NzbDrone.Web/Content/2011.1.414/Telerik/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Telerik/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Telerik/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/loading.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Telerik/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Telerik/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Telerik/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Telerik/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/sprite.png b/NzbDrone.Web/Content/2011.1.414/Telerik/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Telerik/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Telerik/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Telerik/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Telerik/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Telerik/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Telerik/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Telerik/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Telerik/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Telerik/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/editor.png b/NzbDrone.Web/Content/2011.1.414/Vista/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/editor.png rename to NzbDrone.Web/Content/2011.1.414/Vista/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Vista/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Vista/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/loading.gif b/NzbDrone.Web/Content/2011.1.414/Vista/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Vista/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Vista/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Vista/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Vista/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Vista/sprite.png b/NzbDrone.Web/Content/2011.1.414/Vista/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Vista/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Vista/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/editor.png b/NzbDrone.Web/Content/2011.1.414/Web20/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/editor.png rename to NzbDrone.Web/Content/2011.1.414/Web20/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Web20/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Web20/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/loading.gif b/NzbDrone.Web/Content/2011.1.414/Web20/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Web20/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Web20/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Web20/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Web20/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/sprite.png b/NzbDrone.Web/Content/2011.1.414/Web20/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Web20/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/Web20/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/Web20/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/Web20/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/Web20/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/Web20/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/Web20/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Web20/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/Web20/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/editor.png b/NzbDrone.Web/Content/2011.1.414/WebBlue/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/editor.png rename to NzbDrone.Web/Content/2011.1.414/WebBlue/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/WebBlue/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/WebBlue/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/loading.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/loading.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/WebBlue/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/WebBlue/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/WebBlue/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/WebBlue/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/sprite.png b/NzbDrone.Web/Content/2011.1.414/WebBlue/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/sprite.png rename to NzbDrone.Web/Content/2011.1.414/WebBlue/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/treeview-line.png b/NzbDrone.Web/Content/2011.1.414/WebBlue/treeview-line.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/treeview-line.png rename to NzbDrone.Web/Content/2011.1.414/WebBlue/treeview-line.png diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/treeview-nodes-rtl.png b/NzbDrone.Web/Content/2011.1.414/WebBlue/treeview-nodes-rtl.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/treeview-nodes-rtl.png rename to NzbDrone.Web/Content/2011.1.414/WebBlue/treeview-nodes-rtl.png diff --git a/NzbDrone.Web/Content/2011.1.315/WebBlue/treeview-nodes.png b/NzbDrone.Web/Content/2011.1.414/WebBlue/treeview-nodes.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/WebBlue/treeview-nodes.png rename to NzbDrone.Web/Content/2011.1.414/WebBlue/treeview-nodes.png diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/editor.png b/NzbDrone.Web/Content/2011.1.414/Windows7/editor.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/editor.png rename to NzbDrone.Web/Content/2011.1.414/Windows7/editor.png diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/imagebrowser.png b/NzbDrone.Web/Content/2011.1.414/Windows7/imagebrowser.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/imagebrowser.png rename to NzbDrone.Web/Content/2011.1.414/Windows7/imagebrowser.png diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/loading.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/loading.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/loading.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/loading.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-h-both.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-h-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-h-both.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-h-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-h-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-h-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-h-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-h-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-h-top.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-h-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-h-top.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-h-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-hs-both.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-hs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-hs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-hs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-hs-bottom.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-hs-bottom.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-hs-bottom.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-hs-bottom.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-hs-top.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-hs-top.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-hs-top.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-hs-top.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-v-both.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-v-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-v-both.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-v-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-v-left.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-v-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-v-left.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-v-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-v-right.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-v-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-v-right.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-v-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-vs-both.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-vs-both.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-vs-both.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-vs-both.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-vs-left.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-vs-left.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-vs-left.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-vs-left.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/slider-vs-right.gif b/NzbDrone.Web/Content/2011.1.414/Windows7/slider-vs-right.gif similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/slider-vs-right.gif rename to NzbDrone.Web/Content/2011.1.414/Windows7/slider-vs-right.gif diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/sprite-vertical.png b/NzbDrone.Web/Content/2011.1.414/Windows7/sprite-vertical.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/sprite-vertical.png rename to NzbDrone.Web/Content/2011.1.414/Windows7/sprite-vertical.png diff --git a/NzbDrone.Web/Content/2011.1.315/Windows7/sprite.png b/NzbDrone.Web/Content/2011.1.414/Windows7/sprite.png similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/Windows7/sprite.png rename to NzbDrone.Web/Content/2011.1.414/Windows7/sprite.png diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.black.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.black.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.black.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.black.min.css diff --git a/NzbDrone.Web/Content/2011.1.414/telerik.common.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.common.min.css new file mode 100644 index 000000000..16e247505 --- /dev/null +++ b/NzbDrone.Web/Content/2011.1.414/telerik.common.min.css @@ -0,0 +1 @@ +.t-reset{margin:0;padding:0;border:0;outline:0;text-decoration:none;font-size:100%;list-style:none;}.t-floatwrap:after{content:"";display:block;clear:both;visibility:hidden;height:0;overflow:hidden;}.t-floatwrap{display:inline-block;}.t-floatwrap{display:block;}.t-widget,.t-widget .t-input,.t-widget .text-box,.t-button{font-size:100%;}.t-widget{border-width:1px;border-style:solid;}.t-link{cursor:pointer;outline:none;}html body .t-button{text-decoration:none;}.t-button{display:inline-block;margin:0;padding:2px 6px;border-width:1px;border-style:solid;font-family:inherit;font-size:100%;line-height:1.435;text-align:center;cursor:pointer;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}*+html .t-button{display:inline;zoom:1;}* html .t-button{display:inline;zoom:1;}*+html .t-button{overflow:visible;margin-right:4px;}* html .t-button{overflow:visible;margin-right:4px;}*+html .t-button-expand{margin-right:0;}* html .t-button-expand{margin-right:0;}*+html a.t-button{line-height:1.6;padding-left:7px;padding-right:7px;}* html a.t-button{line-height:1.6;padding-left:7px;padding-right:7px;}.t-button-icontext{line-height:1.453;}a.t-button{-moz-padding-start:9px;-moz-padding-end:9px;}a.t-button-expand{display:block;}button.t-button-expand{width:100%;}body .t-button-icon{padding-left:4px;padding-right:4px;}button.t-button-icon{-moz-padding-start:1px;-moz-padding-end:1px;}*+html a.t-button-icon{padding-left:5px;padding-right:5px;}* html a.t-button-icon{padding-left:5px;padding-right:5px;}.t-button-icontext{padding-right:8px;overflow:visible;}a.t-button-icontext{-moz-padding-end:11px;}.t-button-icontext .t-icon{margin:0 3px 0 -3px;vertical-align:top;}*+html .t-button-icontext .t-icon{margin-right:4px;}* html .t-button-icontext .t-icon{margin-right:4px;}html body .t-button-bare{background:none!important;border-width:0;}.t-icon,.t-editor-button .t-tool-icon{background-color:transparent;background-repeat:no-repeat;}.t-header .t-link{text-decoration:none;}.t-state-disabled,.t-state-disabled .t-link{cursor:default;outline:none;}.t-icon,.t-sprite,.t-editor-button .t-tool-icon{display:inline-block;width:16px;height:16px;overflow:hidden;font-size:0;line-height:0;text-indent:-3333px;text-align:center;vertical-align:middle;}* html .t-icon,* html .t-sprite,* html .t-editor-button .t-tool-icon{display:inline;zoom:1;}* html .t-icon,.t-sprite{text-indent:0;}*+html .t-icon,.t-sprite{text-indent:0;}.t-image{border:0;}.t-state-empty{font-style:italic;}div.t-window{display:inline-block;*display:inline;zoom:1;z-index:10001;position:absolute;border-width:0;border-width:5px\9;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;-moz-box-shadow:0 0 5px 2px #aaa;-webkit-box-shadow:0 0 5px 2px #aaa;box-shadow:0 0 5px 2px #aaa;}:root .t-window{border-width:0;}.t-window-titlebar{padding:.4em 0;font-size:1.2em;line-height:1.2em;white-space:nowrap;border-bottom-width:1px;border-bottom-style:solid;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;border-top-left-radius:5px;border-top-right-radius:5px;}.t-window-title{cursor:default;position:absolute;text-overflow:ellipsis;overflow:hidden;left:.5em;right:.5em;}.t-window-title .t-image{margin:0 5px 0 0;vertical-align:middle;}div.t-window-content{padding:.4em .5em;overflow:auto;position:relative;-moz-border-radius-bottomleft:4px;-moz-border-radius-bottomright:4px;-webkit-border-bottom-left-radius:4px;-webkit-border-bottom-right-radius:4px;border-bottom-left-radius:4px;border-bottom-right-radius:4px;}.t-window-titlebar .t-window-actions{position:absolute;right:.5em;top:0;padding-top:.3em;white-space:nowrap;}.t-window-titlebar .t-window-action{width:16px;height:16px;padding:2px;text-decoration:none;vertical-align:middle;display:inline-block;*display:inline;zoom:1;opacity:.7;filter:alpha(opacity=70);}.t-window-titlebar .t-state-hover{border-width:1px;border-style:solid;padding:1px;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;opacity:1;filter:alpha(opacity=100);}.t-window-action .t-icon{margin:0;vertical-align:top;}.t-window .t-resize-handle{position:absolute;z-index:1;background-color:#fff;opacity:0;filter:alpha(opacity=0);zoom:1;line-height:6px;font-size:0;}.t-resize-n{top:-3px;left:0;width:100%;height:6px;cursor:n-resize;}.t-resize-e{top:0;right:-3px;width:6px;height:100%;cursor:e-resize;}.t-resize-s{bottom:-3px;left:0;width:100%;height:6px;cursor:s-resize;}.t-resize-w{top:0;left:-3px;width:6px;height:100%;cursor:w-resize;}.t-resize-se{bottom:-3px;right:-3px;width:16px;height:16px;cursor:se-resize;}.t-resize-sw{bottom:-3px;left:-3px;width:6px;height:6px;cursor:sw-resize;}.t-resize-ne{top:-3px;right:-3px;width:6px;height:6px;cursor:ne-resize;}.t-resize-nw{top:-3px;left:-3px;width:6px;height:6px;cursor:nw-resize;}.t-overlay{width:100%;height:100%;position:fixed;top:0;left:0;background-color:#000;filter:alpha(opacity=50);opacity:.5;z-index:10000;}.t-window .t-overlay{background-color:#fff;opacity:0;filter:alpha(opacity=0);position:absolute;width:100%;height:100%;}.t-window .t-widget{z-index:10002;}.t-tabstrip{margin:0;padding:0;zoom:1;}.t-tabstrip .t-tabstrip-items{padding:0 .3em;}.t-tabstrip-items .t-item,.t-panelbar .t-tabstrip-items .t-item{list-style-type:none;vertical-align:top;display:inline-block;*display:inline;zoom:1;border-width:1px 1px 0;border-style:solid;margin:.1em .3em 0 0;padding:0;position:relative;-moz-border-radius-topleft:5px;-moz-border-radius-topright:5px;-webkit-border-top-left-radius:5px;-webkit-border-top-right-radius:5px;border-top-left-radius:5px;border-top-right-radius:5px;}.t-tabstrip-items .t-state-active,.t-panelbar .t-tabstrip-items .t-state-active{padding-bottom:1px;margin-bottom:-1px;}.t-tabstrip-items .t-link,.t-panelbar .t-tabstrip-items .t-link{padding:.3em .9em;display:inline-block;*display:inline;zoom:1;border-bottom-width:0;outline:0;}.t-tabstrip-items .t-icon,.t-panelbar .t-tabstrip-items .t-icon{margin:-1px 4px 0 -3px;vertical-align:top;}.t-tabstrip-items .t-item .t-image,.t-tabstrip-items .t-item .t-sprite,.t-panelbar .t-tabstrip-items .t-item .t-image,.t-panelbar .t-tabstrip-items .t-item .t-sprite{vertical-align:middle;margin:-3px 3px 0 -6px;}* html .t-tabstrip-items .t-item .t-image,* html .t-tabstrip-items .t-item .t-sprite{vertical-align:top;margin-top:-1px;}*+html .t-tabstrip-items .t-item .t-image,*+html .t-tabstrip-items .t-item .t-sprite{vertical-align:top;margin-top:-1px;}.t-tabstrip .t-content,.t-panelbar .t-tabstrip .t-content{border-width:1px;border-style:solid;margin:0 .3em .3em;padding:.3em 1em;display:none;position:static;zoom:1;}.t-panelbar{zoom:1;}.t-panelbar .t-item{list-style-type:none;display:block;zoom:1;margin:0;top:0;border-width:0;-moz-border-radius:0;-webkit-border-radius:0;border-radius:0;}.t-panelbar .t-image,.t-panelbar .t-sprite{vertical-align:middle;margin-right:5px;margin-top:4px;float:left;}.t-panelbar .t-group .t-image,.t-panelbar .t-group .t-sprite{margin-top:1px;}.t-panelbar .t-link{line-height:2.05em;padding:0 1em;border-bottom:1px solid;display:block;position:relative;text-decoration:none;zoom:1;}.t-panelbar-expand,.t-panelbar-collapse{position:absolute;top:5px;right:2px;}.t-panelbar .t-group,.t-panelbar .t-content{position:relative;zoom:1;padding:0;margin:0;border-bottom-width:1px;border-bottom-style:solid;}.t-panelbar .t-group .t-link{line-height:1.7em;border-bottom:0;font-size:.95em;}.t-panelbar .t-group .t-arrow-up,.t-panelbar .t-group .t-arrow-down{top:2px;}.t-panelbar .t-group .t-group .t-link{padding-left:2em;}.t-panelbar .t-last .t-link{border-bottom:0;}.t-panelbar .t-group .t-group{border-bottom:0;}.t-tabstrip .t-panelbar .t-content{display:block;}.t-menu{cursor:default;}.t-menu,.t-menu .t-group{list-style:none;padding:0;margin:0;zoom:1;}.t-menu .t-group .t-link{padding-right:2em;}.t-menu .t-item{position:relative;display:inline-block;*display:inline;zoom:1;border-width:0 1px 0 0;border-style:solid;vertical-align:top;}.t-menu-vertical .t-item{display:block;border-width:0;}.t-menu .t-image,.t-menu .t-sprite{margin:0 4px 0 -4px;vertical-align:top;}.t-menu .t-link{text-decoration:none;padding:.25em .97em;display:block;}.t-menu .t-group{display:none;white-space:nowrap;border-style:solid;border-width:1px;overflow:visible;-moz-box-shadow:2px 2px 2px #aaa;-webkit-box-shadow:2px 2px 2px #aaa;box-shadow:2px 2px 2px #aaa;}.t-menu .t-group .t-item{display:block;border-width:0;}.t-menu .t-group .t-link{zoom:1;}.t-menu .t-arrow-down{margin-left:2px;margin-right:-10px;vertical-align:top;}.t-menu .t-arrow-next{position:absolute;right:0;top:3px;}.t-menu .t-animation-container,.t-menu .t-group{left:-1px;position:absolute;}.t-menu .t-animation-container .t-animation-container,.t-menu .t-group .t-group{left:100%;top:-1px;}.t-menu-vertical .t-animation-container,.t-menu-vertical .t-group{left:100%;top:-1px;}.t-menu .t-animation-container .t-group{left:auto;top:auto;}.t-grid{position:relative;zoom:1;}.t-grid table{width:100%;border-collapse:separate;empty-cells:show;border:0;}.t-grid-header .t-header{text-align:left;}.t-grid-header .t-header,.t-grid-header .t-last-header{padding:.3em .6em;border-width:0 1px 1px 0;border-style:solid;font-weight:normal;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}.t-grid-header .t-last-header{border-right-width:0;}.t-grid-header .t-header .t-link{line-height:18px;height:18px;display:block;margin:-.3em -.6em;padding:.3em 2.4em .3em .6em;border:0;}.t-grid-header .t-header .t-icon{position:static;}.t-grid .t-state-hover{cursor:pointer;}.t-grid td{padding:.25em .6em;border:0;vertical-align:middle;line-height:1.6em;overflow:hidden;text-overflow:ellipsis;}.t-grid .t-last{border-right-width:0;border-bottom-width:0;}.t-grid-header-wrap,.t-grid-footer-wrap{position:relative;overflow:hidden;width:100%;zoom:1;}div.t-grid-header,div.t-grid-footer{padding-right:17px;zoom:1;border-bottom-width:1px;border-bottom-style:solid;}div.t-grid-header .t-header,div.t-grid-header .t-last-header{border-bottom-width:0;}div.t-grid-header .t-last-header{border-right-width:1px;}.t-grid-content{position:relative;overflow:auto;overflow-x:auto;overflow-y:scroll;width:100%;zoom:1;}.t-grid-header table,.t-grid-content table,.t-grid-footer table{table-layout:fixed;}* html .t-grid-content table{width:auto;}*+html .t-grid-content table{width:auto;}.t-grid-pager{padding:.2em .6em;line-height:1.8em;overflow:auto;}.t-grid-top{border-width:0 0 1px;border-style:solid;}.t-grid-bottom{border-width:1px 0 0;border-style:solid;}* html .t-grid-pager input{vertical-align:middle;}*+html .t-grid-pager input{vertical-align:middle;}.t-grid .t-pager,.t-grid .t-status,.t-grid .t-status-text,.t-pager .t-numeric,.t-pager .t-page-i-of-n,.t-pager .t-link,.t-pager span,.t-pager input,.t-pager .t-page-size,.t-grouping-row p{display:inline-block;*display:inline;zoom:1;vertical-align:middle;}.t-pager .t-page-size{line-height:1.2em;}.t-footer-template td{border-width:1px 1px 0 0;border-style:solid;}.t-group-footer td,.t-group-footer .t-last{border-width:1px 0;border-style:solid;}.t-grid-footer{border-style:solid;border-width:1px 0 0;}.t-grid-footer td{border-top-width:0;}.t-grid .t-status{float:left;margin:-.2em .6em -.2em -.6em;padding:.2em .6em;height:1.85em;border-right-width:1px;border-right-style:solid;}.t-grid .t-pager{float:left;cursor:default;}.t-grid .t-status-text{float:right;margin-right:.2em;}.t-pager .t-link{text-decoration:none;padding:1px;margin-top:.2em;border:0;line-height:16px;}.t-pager .t-state-active,.t-pager .t-state-hover{padding:0;border-width:1px;border-style:solid;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}.t-pager span,.t-pager .t-link{vertical-align:top;}.t-pager .t-numeric,.t-pager .t-page-i-of-n{margin:0 7px;vertical-align:top;}.t-numeric .t-link,.t-numeric .t-state-active{margin-top:0;padding:0 5px;line-height:22px;vertical-align:top;}.t-numeric .t-state-active,.t-numeric .t-state-hover{padding:0 4px;line-height:20px;}.t-page-i-of-n input{width:2em;vertical-align:baseline;font-size:1em;}.t-grid-pager .t-status .t-icon{vertical-align:top;margin-top:3px;}.t-grid-filter{float:right;height:18px;padding:.3em .2em;position:relative;display:inline-block;*display:inline;zoom:1;margin:-1.8em -.6em -.3em 3px;margin-top:-.3em\9;}.t-link+.t-grid-filter{margin-top:-1.8em\9;}*+html .t-grid .t-grid-filter{margin-top:-1.8em;}.t-grid-filter .t-icon{vertical-align:top;}.t-grid .t-animation-container{position:absolute;}.t-filter-options{position:absolute;border-width:1px;border-style:solid;padding:3px;width:148px;-moz-box-shadow:2px 2px 2px #aaa;-webkit-box-shadow:2px 2px 2px #aaa;box-shadow:2px 2px 2px #aaa;}.t-filter-options .t-filter-help-text,.t-filter-options select,.t-filter-options input,.t-filter-options .t-button,.t-filter-options .t-datepicker{display:block;margin-bottom:4px;}.t-filter-options .t-button{width:145px;}.t-filter-options select{width:148px;}.t-filter-options input{width:142px;}.t-filter-options .t-datepicker{width:100%;}.t-filter-options .t-filter-button{margin-bottom:0;}.t-grouping-row .t-icon{margin:0 4px;}.t-grouping-row p{padding:0 .6em;margin-left:-.6em;}.t-grid td.t-group-cell,.t-grid td.t-hierarchy-cell{border-right:0;}.t-grid .t-group-col,.t-grid .t-hierarchy-col{width:30px;}.t-grouping-header,.t-grouping-dropclue{height:24px;line-height:24px;}.t-grouping-dropclue{position:absolute;width:6px;}.t-grouping-header .t-group-indicator{display:inline-block;*display:inline;zoom:1;border-width:1px;border-style:solid;line-height:1.5em;padding:.15em .15em .15em .4em;margin:0 3px;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.t-grouping-header .t-link{text-decoration:none;display:inline-block;*display:inline;zoom:1;line-height:normal;padding:0;border-style:none;}.t-grouping-header .t-button{padding:0;border:0;background:transparent;line-height:1;}.t-grouping-header .t-link .t-icon{margin:0 0 0 -3px;}.t-grouping-header .t-button .t-icon{margin:0 0 0 3px;}.t-grouping-header a,.t-grouping-header .t-button{display:inline-block;*display:inline;zoom:1;vertical-align:middle;}.t-dirty{width:0;height:0;vertical-align:top;position:absolute;padding:0;margin:-0.45em 0 0 -0.6em;overflow:hidden;border-width:3px;border-style:solid;border-color:#f00 transparent transparent #f00;}* html .t-dirty{border-color:#f00 pink pink #f00;filter:chroma(color=pink);}.t-grouping-header,.t-grid-toolbar{cursor:default;margin:0;padding:.25em;}.t-grouping-header{border-bottom-width:1px;border-bottom-style:solid;}.t-grid .t-edit-container{padding:0;border-right:0;}.t-edit-form{padding:0;margin:0;}.t-edit-form td{border-top:0;border-bottom:0;}.t-grid-edit-row .text-box,.t-grid-edit-row .t-numerictextbox,.t-grid-edit-row .t-datepicker{vertical-align:middle;width:5em;max-width:90%;min-width:90%;margin:-.4em -.3em -.15em;}.t-grid-edit-row .t-dropdown,.t-grid-edit-row .t-combobox{width:5em;max-width:90%;min-width:90%;line-height:normal;margin:-.1em -.3em -.45em;}* html .t-grid .text-box{width:90%;}.t-edit-form-container{position:relative;}.t-grid .field-validation-error{display:block;}.t-grid .input-validation-error{border-style:ridge;border-color:#f00;background-color:#ffc0cb;}.t-grid-toolbar .t-button{vertical-align:middle;}.t-grid-actions{display:inline-block;}* html .t-grid-actions{display:inline;zoom:1;vertical-align:bottom;}*+html .t-grid-actions{display:inline;zoom:1;vertical-align:bottom;}.t-grid .t-button,.t-edit-form .t-button{margin:0 .2em;}.t-grid tbody .t-button{min-width:64px;}.t-grid tbody button.t-button,#ie8#skips{min-width:78px;}*+html .t-grid tbody a.t-button{min-width:62px;}.t-grid tbody a.t-button{-moz-padding-start:6px;-moz-padding-end:6px;}.t-grid tbody a.t-button-icon{-moz-padding-start:4px;-moz-padding-end:4px;}html body .t-grid tbody .t-button-icon{min-width:0;width:auto;}.t-detail-row{position:relative;}.t-grid .t-detail-cell{overflow:visible;}.t-grid-resize-indicator{position:absolute;width:2px;background-color:#aaa;}.t-grid .t-resize-handle{cursor:col-resize;position:absolute;height:25px;}.t-autocomplete{background-position:100% 50%!important;}.t-combobox,.t-dropdown,.t-selectbox{display:inline-block;*display:inline;zoom:1;position:relative;overflow:hidden;white-space:nowrap;width:150px;border-width:0;}*+html .t-combobox{overflow:visible;}* html .t-combobox{overflow:visible;}.t-dropdown-wrap,.t-picker-wrap{position:relative;display:block;cursor:default;}.t-picker-wrap{padding:0 25px 0 0;}.t-dropdown-wrap{padding-right:16px;border-width:1px;border-style:solid;}.t-combobox>.t-dropdown-wrap{padding-right:22px;}* html .t-combobox .t-dropdown-wrap{height:20px;}* html .t-picker-wrap{height:20px;padding-right:20px;}.t-picker-wrap .t-input,.t-combobox .t-input{vertical-align:top;width:100%;}.t-combobox .t-input{outline:0;border:0;}*+html .t-combobox .t-input{margin:-1px 0;}* html .t-combobox .t-input{margin:-1px 0;}* html{position:absolute;top:0;}.t-picker-wrap .t-select,.t-dropdown-wrap .t-select{text-decoration:none;vertical-align:top;display:inline-block;*display:inline;zoom:1;cursor:default;position:absolute;top:0;right:0;}* html .t-picker-wrap .t-select,* html .t-dropdown-wrap .t-select{top:1px;right:1px;}.t-combobox .t-select{border-width:0 0 0 1px;border-style:solid;border-color:inherit;}.t-combobox .t-icon{margin-top:1px;}.t-dropdown .t-select,.t-selectbox .t-select{border:0;text-decoration:none;font:inherit;color:inherit;overflow:hidden;cursor:default;}.t-dropdown .t-input,.t-selectbox .t-input{overflow:hidden;display:block;text-overflow:ellipsis;padding:.2em 0 .2em 3px;}.t-picker-wrap .t-select,.t-dropdown-wrap .t-select{position:absolute;right:0;top:0;}.t-picker-wrap .t-icon,.t-dropdown-wrap .t-icon{vertical-align:top;margin-top:2px;}.t-combobox .t-input{height:18px;line-height:18px;padding:1px 3px;border:0;margin:0;}.t-picker-wrap .t-select,.t-dropdown-wrap .t-select{height:20px;line-height:20px;}.t-popup{border-width:1px;border-style:solid;}.t-popup .t-item{padding:1px 5px 1px 3px;cursor:default;}.t-calendar{display:inline-block;*display:inline;zoom:1;width:203px;position:relative;overflow:hidden;}.t-calendar .t-link{text-decoration:none;}.t-calendar .t-action-link{text-decoration:underline;}.t-calendar .t-header{padding:.4em 0;text-align:center;position:relative;zoom:1;}.t-calendar .t-nav-prev,.t-calendar .t-nav-next{position:absolute;top:.3em;}.t-calendar .t-nav-prev{left:1%;}.t-calendar .t-nav-next{right:1%;}.t-calendar .t-content{text-align:right;display:table;width:100%;height:169px;table-layout:fixed;border-style:none;margin:0;padding:0;}*+html .t-calendar .t-content{display:block;}* html .t-calendar .t-content{display:block;}.t-calendar .t-animation-container .t-content{height:100%;}.t-calendar .t-nav-fast{display:inline-block;*display:inline;zoom:1;width:75%;}.t-calendar .t-nav-fast .t-icon{vertical-align:top;}.t-calendar th{border-bottom-style:solid;border-bottom-width:1px;font-weight:normal;cursor:default;}.t-calendar td{cursor:pointer;padding:1px;}.t-calendar .t-state-focus{border-width:1px;border-style:dotted;padding:0;}.t-calendar .t-content .t-link{display:block;overflow:hidden;position:relative;}.t-calendar th,.t-calendar .t-content .t-link{padding:.25em .45em .3em .1em;}.t-calendar .t-meta-view .t-link{padding:.25em 0 .3em;text-align:center;}.t-timepicker,.t-datetimepicker,.t-datepicker{border:0;white-space:nowrap;width:8.5em;}.t-datetimepicker{width:13em;}div.t-timepicker,div.t-datetimepicker,div.t-datepicker{background-color:transparent;}.t-datetimepicker .t-picker-wrap{padding-right:44px;}* html .t-datetimepicker .t-picker-wrap{padding-right:40px;}.t-datetimepicker .t-icon-calendar{margin-right:3px;}.t-picker-wrap .t-icon{cursor:pointer;}.t-state-disabled .t-picker-wrap .t-icon{cursor:default;}.t-timepicker,.t-datepicker,.t-datetimepicker{display:inline-block;*display:inline;zoom:1;vertical-align:top;}.t-picker-wrap .t-input{margin:0;}.t-time-popup,.t-datepicker-calendar{-moz-box-shadow:2px 2px 2px #aaa;-webkit-box-shadow:2px 2px 2px #aaa;box-shadow:2px 2px 2px #aaa;}.t-iframe-overlay{position:absolute;width:100%;border:0;top:0;left:0;filter:alpha(opacity=0);}.t-time-popup .t-item{padding:1px 3px;}div.t-treeview{border-width:0;background:none;white-space:nowrap;overflow:auto;}.t-treeview .t-item{padding:0 0 0 16px;margin:0;border-width:0;position:static;top:auto;display:block;}.t-treeview .t-group,.t-treeview .t-content{list-style-type:none;background:none;margin:0;padding:0;}.t-treeview .t-animation-container{height:auto!important;}.t-treeview .t-icon,.t-treeview .t-image,.t-treeview .t-sprite,.t-treeview .t-in{display:inline-block;*display:inline;zoom:1;vertical-align:top;}.t-treeview .t-plus,.t-treeview .t-minus,.t-treeview .t-plus-disabled,.t-treeview .t-minus-disabled{margin-left:-16px;margin-top:2px;float:left;*float:none;}.t-treeview .t-plus,.t-treeview .t-minus{cursor:pointer;}.t-treeview .t-plus-disabled,.t-treeview .t-minus-disabled{cursor:default;}.t-treeview .t-sprite,.t-treeview .t-image{margin-right:3px;}.t-treeview .t-in{margin:1px 0;padding:2px 4px 2px 3px;text-decoration:none;line-height:16px;margin-left:2px;}.t-treeview span.t-in{cursor:default;}.t-treeview .t-state-hover,.t-treeview .t-state-selected{padding:1px 3px 1px 2px;border-width:1px;border-style:solid;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.t-treeview .t-drop-clue{width:80px;visibility:hidden;height:5px;position:absolute;margin-top:-3px;z-index:10000;background-color:transparent;background-repeat:no-repeat;}.t-treeview-lines .t-top,.t-treeview-lines .t-mid,.t-treeview-lines .t-bot{background-repeat:no-repeat;margin-left:-16px;padding-left:16px;}.t-treeview-lines .t-top{background-position:-91px 0;}.t-treeview-lines .t-bot{background-position:-69px -22px;}.t-treeview-lines .t-mid{background-position:-47px -44px;}.t-treeview-lines .t-last .t-top{background-position:-25px -66px;}.t-treeview-lines .t-group .t-last .t-bot{background-position:-69px -22px;}.t-treeview-lines .t-item{background-repeat:no-repeat;}.t-treeview-lines .t-first{background-repeat:no-repeat;background-position:0 16px;}div.t-numerictextbox{display:inline-block;*display:inline;zoom:1;vertical-align:middle;white-space:nowrap;border:0;background:transparent;}.t-numerictextbox .t-input{margin:0;}.t-formatted-value{position:absolute;padding:3px 4px 2px 3px;}.t-numerictextbox .t-icon{margin-left:-16px;}.t-numerictextbox .t-link{border-style:none;display:inline-block;*display:inline;zoom:1;}.t-numerictextbox .t-arrow-up{vertical-align:top;margin-top:1px;height:10px;}.t-numerictextbox .t-arrow-down{vertical-align:bottom;margin-bottom:1px;height:11px;}.t-colorpicker{display:inline-block;*display:inline;zoom:1;vertical-align:middle;}.t-colorpicker .t-tool-icon{display:inline-block;*display:inline;zoom:1;vertical-align:top;padding:2px 3px;font-size:0;line-height:0;}.t-colorpicker .t-selected-color{display:block;height:16px;width:16px;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;}.t-colorpicker .t-icon{vertical-align:middle;margin-top:2px;}.t-colorpicker-popup{line-height:0;width:136px;}.t-colorpicker-popup .t-reset{padding:.25em;margin:0;display:inline-block;*display:inline;zoom:1;}.t-colorpicker-popup .t-item{float:left;display:block;overflow:hidden;width:12px;height:12px;font-size:0;padding:0;margin:0 1px 1px 0;}.t-editor{border-width:1px;border-style:solid;border-collapse:separate;height:250px;font-size:100%;table-layout:fixed;vertical-align:top;width:100%;}.t-editor .t-editor-toolbar-wrap{border:0;padding:0;}.t-editor-toolbar{margin:0;padding:.1em 0;list-style-type:none;cursor:default;line-height:1.3em;}.t-editor-toolbar li{display:inline;vertical-align:middle;}.t-editor-toolbar .t-editor-dropdown,.t-editor-toolbar .t-editor-combobox,.t-editor-toolbar .t-editor-selectbox,.t-editor-toolbar .t-editor-colorpicker{margin-right:2px;}.t-editor-toolbar .t-separator{border-width:0 1px 0 0;border-style:solid;padding:0 0 0 1px;font-size:1.3em;margin:0 .15em;position:relative;top:1px;}.t-editor-toolbar .t-break{display:block;height:1px;line-height:0;font-size:0;}.t-editor-toolbar .t-dropdown,.t-editor-toolbar .t-combobox,.t-editor-toolbar .t-selectbox,.t-editor-toolbar .t-colorpicker{vertical-align:middle;}.t-editor-button .t-tool-icon{vertical-align:middle;width:22px;height:22px;margin:1px;}.t-editor-colorpicker .t-tool-icon{padding:17px 3px 2px;}.t-editor-colorpicker .t-icon{border-style:solid;border-color:#ccc;border-width:0 0 0 1px;}.t-editor-colorpicker .t-selected-color{height:3px;}.t-editor-combobox .t-input{height:20px;line-height:20px;}.t-editor-combobox .t-select{height:22px;line-height:22px;}.t-bold{background-position:-22px 0;}.t-italic{background-position:-44px 0;}.t-underline{background-position:-66px 0;}.t-strikethrough{background-position:-88px 0;}.t-justifyLeft{background-position:-110px 0;}.t-justifyCenter{background-position:-132px 0;}.t-justifyRight{background-position:-154px 0;}.t-justifyFull{background-position:-176px 0;}.t-insertOrderedList{background-position:-198px 0;}.t-insertUnorderedList{background-position:-220px 0;}.t-createLink{background-position:-242px 0;}.t-unlink{background-position:-264px 0;}.t-insertImage{background-position:-286px 0;}.t-foreColor .t-tool-icon{background-position:-308px -2px;}.t-backColor .t-tool-icon{background-position:-330px -2px;}.t-indent{background-position:-352px 0;}.t-outdent{background-position:-374px 0;}.t-fontName{width:110px;}.t-fontSize{width:124px;}.t-formatBlock{width:147px;}.t-editor-button .t-state-hover,.t-editor-button .t-state-active{vertical-align:middle;border-width:1px;border-style:solid;margin:0;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;}.t-editor-button .t-state-disabled{opacity:.3;filter:alpha(opacity=30);}.t-editor .t-editable-area{outline:none;height:100%;width:100%;border-width:1px;border-style:solid;}.t-editor .t-content{height:100%;width:100%;display:block;padding:0;margin:0;border:0;}.t-editor .t-raw-content{border:0;margin:0;padding:0;font-size:inherit;font-family:Consolas,"Courier New",monospace;}.t-editor-dialog{padding:1em;}.t-editor-dialog ol{margin:0;padding:0;list-style:none;}.t-form-text-row,.t-form-checkbox-row{padding-bottom:1em;}.t-form-text-row label{display:inline-block;*display:inline;zoom:1;width:7em;text-align:right;padding-right:.5em;}.t-form-checkbox-row input{margin-left:7em;font-size:inherit;padding:0;}.t-form-checkbox-row label{padding-left:.3em;}.t-form-checkbox-row input,.t-form-checkbox-row label,.t-form-text-row label .t-form-text-row input,.t-form-text-row select{vertical-align:middle;}.t-form-text-row input,.t-form-text-row select{width:20em;}.t-editor-dialog .t-button-wrapper{padding-top:.5em;text-align:right;}.t-editor-dialog .t-button{display:inline-block;*display:inline;zoom:1;}.t-drag-clue{border-width:1px;border-style:solid;font-size:.9em;padding:.05em .15em;position:absolute;z-index:10003;white-space:nowrap;cursor:default;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.t-drag-status{margin-right:4px;vertical-align:top;margin-top:-1px;}.t-reorder-cue{position:absolute;width:1px;overflow:visible;}.t-reorder-cue .t-icon{width:8px;height:4px;position:absolute;left:-4px;}.t-reorder-cue .t-arrow-down{top:-4px;background-position:-20px -182px;}.t-reorder-cue .t-arrow-up{bottom:-4px;background-position:-20px -166px;}div.t-slider{position:relative;border-width:0;background-color:transparent;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;}.t-slider-vertical{width:22px;height:200px;}.t-slider-horizontal{display:inline-block;height:22px;width:200px;}*+html .t-slider-horizontal{display:inline;zoom:1;}* html .t-slider-horizontal{display:inline;zoom:1;}.t-slider-wrap{width:100%;height:100%;}.t-slider .t-button,.t-grid .t-slider .t-button{position:absolute;top:0;min-width:0;width:20px;height:20px;margin:0;padding:0;outline:none;}.t-state-disabled .t-button,.t-state-disabled .t-draghandle{cursor:default;}.t-state-disabled .t-slider-track{opacity:.6;filter:alpha(opacity=60);}.t-slider .t-button-decrease{left:0;}.t-slider-vertical .t-button-decrease,.t-grid .t-slider-vertical .t-button-decrease{top:auto;bottom:0;}.t-slider .t-button-increase{right:0;}.t-slider .t-icon{cursor:pointer;}.t-state-disabled .t-slider-wrap .t-icon,.t-state-disabled .t-slider .t-icon{cursor:default;}*+html .t-slider .t-icon{margin-top:2px;}* html .t-slider .t-icon{margin-top:2px;}.t-slider-track,.t-slider-selection{position:absolute;margin:0;padding:0;}.t-slider-horizontal .t-slider-track,.t-slider-horizontal .t-slider-selection{height:6px;top:50%;left:0;margin-top:-3px;background-repeat:repeat-x;}.t-slider-horizontal .t-slider-track{border-width:0 1px;border-style:solid;background-position:0 -464px;}.t-slider-horizontal .t-slider-selection{background-position:0 -470px;}.t-slider-horizontal .t-slider-buttons .t-slider-track{left:27px;}.t-slider-vertical .t-slider-track,.t-slider-vertical .t-slider-selection{width:6px;left:50%;bottom:0;margin-left:-3px;background-repeat:repeat-y;}.t-slider-vertical .t-slider-track{border-width:1px 0;border-style:solid;background-position:0 0;}.t-slider-vertical .t-slider-selection{background-position:-6px 0;}.t-slider-vertical .t-slider-buttons .t-slider-track{bottom:27px;}.t-draghandle{position:absolute;background-repeat:no-repeat;background-color:transparent;text-indent:-3333px;text-decoration:none;text-align:center;overflow:hidden;cursor:pointer;}.t-slider-horizontal .t-draghandle{top:-7px;width:11px;height:20px;}.t-slider-vertical .t-draghandle{left:-7px;width:20px;height:11px;}.t-slider-horizontal .t-draghandle,.t-state-disabled.t-slider-horizontal a.t-draghandle,.t-state-disabled .t-slider-horizontal a.t-draghandle{background-position:0 -368px;}.t-slider-horizontal .t-draghandle:hover,.t-slider-horizontal .t-draghandle:focus{background-position:0 -400px;}.t-slider-horizontal a.t-draghandle.t-state-active{background-position:0 -432px;}.t-slider-vertical .t-draghandle,.t-state-disabled.t-slider-vertical a.t-draghandle,.t-state-disabled .t-slider-vertical a.t-draghandle{background-position:-32px -368px;}.t-slider-vertical .t-draghandle:hover,.t-slider-vertical .t-draghandle:focus{background-position:-32px -400px;}.t-slider-vertical a.t-draghandle.t-state-active{background-position:-32px -432px;}.t-slider-items{display:inline-block;}.t-slider-items{display:block;}.t-slider-buttons .t-slider-items{margin-left:27px;}.t-slider-horizontal .t-slider-items{height:100%;}.t-slider-vertical .t-slider-items{padding-top:1px;}.t-slider-vertical .t-slider-buttons .t-slider-items{padding-top:0;}.t-slider-vertical .t-slider-buttons .t-slider-items{margin:0;padding-top:28px;}.t-slider-items:after{content:"";display:block;clear:both;height:0;visibility:hidden;}.t-slider .t-tick{position:relative;margin:0;padding:0;background-color:transparent;background-repeat:no-repeat;background-position:center center;cursor:default;}.t-slider-horizontal .t-tick{float:left;text-align:center;height:100%;}*+html .t-slider-vertical .t-tick{float:left;clear:left;width:100%;}* html .t-slider-vertical .t-tick{float:left;clear:left;width:100%;}.t-slider-horizontal .t-first{background-position:0 center;}.t-slider-horizontal .t-last{background-position:100% center;}.t-slider-vertical .t-tick{text-align:right;}.t-slider-vertical .t-slider-topleft .t-tick{text-align:left;}.t-slider-vertical .t-first{background-position:center 100%;}.t-slider-vertical .t-last{background-position:center 0;}.t-slider .t-label{position:absolute;}.t-slider-horizontal .t-label{left:0;width:100%;}.t-slider-horizontal .t-first .t-label{left:-50%;}.t-slider-horizontal .t-last .t-label{left:auto;right:-50%;}.t-slider-horizontal .t-label{bottom:-1.2em;}.t-slider-horizontal .t-slider-topleft .t-label{top:-1.2em;}.t-slider-vertical .t-label{left:120%;display:block;text-align:left;}.t-slider-vertical .t-last .t-label{top:-0.5em;}.t-slider-vertical .t-first .t-label{bottom:-0.5em;}.t-slider-vertical .t-slider-topleft .t-label{left:auto;right:120%;}.t-tooltip{position:absolute;border-width:1px;border-style:solid;padding:4px 5px;background-repeat:repeat-x;z-index:10002;-moz-border-radius:5px;-webkit-border-radius:5px;border-radius:5px;min-width:10px;text-align:center;}.t-callout{position:absolute;}.t-callout-n,.t-callout-s{width:9px;height:6px;}.t-callout-w,.t-callout-e{width:6px;height:9px;}.t-callout-n{top:-6px;left:50%;margin-left:-4px;background-position:-64px -368px;}.t-callout-w{left:-6px;top:50%;margin-top:-4px;background-position:-64px -384px;}.t-callout-s{top:100%;left:50%;margin-left:-4px;background-position:-64px -400px;}.t-callout-e{left:100%;top:50%;margin-top:-4px;background-position:-64px -416px;}.t-splitter{position:relative;height:300px;}.t-splitter .t-pane{overflow:hidden;}.t-splitter .t-scrollable{overflow:auto;}.t-splitter .t-pane-loading{position:absolute;left:50%;top:50%;margin:-8px 0 0 -8px;}.t-ghost-splitbar,.t-splitbar{position:absolute;border-style:solid;font-size:0;}.t-splitter .t-ghost-splitbar-horizontal,.t-splitter .t-splitbar-horizontal{top:0;width:5px;border-width:0 1px;background-repeat:repeat-y;}.t-ghost-splitbar-vertical,.t-splitbar-vertical{left:0;height:5px;border-width:1px 0;background-repeat:repeat-x;}.t-splitbar-draggable-horizontal{cursor:w-resize;}.t-splitbar-draggable-vertical{cursor:n-resize;}.t-splitbar .t-resize-handle{display:none;}.t-restricted-size-horizontal,.t-restricted-size-vertical{background-color:#f00;}.t-splitbar-horizontal .t-icon{width:5px;height:21px;position:absolute;top:50%;margin-top:-10px;}.t-collapse-prev,.t-collapse-next,.t-expand-prev,.t-expand-next{cursor:pointer;}.t-splitbar-horizontal .t-collapse-prev{margin-top:-31px;}.t-splitbar-horizontal .t-collapse-next{margin-top:11px;}.t-splitbar-vertical .t-icon{height:5px;width:21px;position:absolute;left:50%;margin-left:-10px;}.t-splitbar-vertical .t-collapse-prev{margin-left:-31px;}.t-splitbar-vertical .t-collapse-next{margin-left:11px;}.t-splitbar-draggable-vertical .t-resize-handle,.t-splitbar-draggable-horizontal .t-resize-handle{display:inline-block;*display:inline;zoom:1;}.t-splitbar-horizontal{background-position:5px 0;}.t-splitbar-horizontal-hover{background-position:-12px 0;}.t-splitbar-horizontal-active,.t-ghost-splitbar-horizontal{background-position:-17px 0;}.t-restricted-size-horizontal{background-position:-22px 0;}.t-splitbar-horizontal .t-resize-handle{background-position:-10px -496px;}.t-splitbar-horizontal-hover .t-resize-handle{background-position:-10px -517px;}.t-splitbar-horizontal .t-collapse-prev,.t-splitbar-horizontal .t-expand-next{background-position:0 -496px;}.t-splitbar-horizontal-hover .t-collapse-prev,.t-splitbar-horizontal-hover .t-expand-next{background-position:0 -517px;}.t-splitbar-horizontal .t-collapse-next,.t-splitbar-horizontal .t-expand-prev{background-position:-5px -496px;}.t-splitbar-horizontal-hover .t-collapse-next,.t-splitbar-horizontal-hover .t-expand-prev{background-position:-5px -517px;}.t-splitbar-vertical{background-position:0 5px;}.t-splitbar-vertical-hover{background-position:0 -476px;}.t-splitbar-vertical-active,.t-ghost-splitbar-vertical{background-position:0 -481px;}.t-restricted-size-vertical{background-position:0 -486px;}.t-splitbar-vertical .t-resize-handle{background-position:-16px -496px;}.t-splitbar-vertical-hover .t-resize-handle{background-position:-16px -501px;}.t-splitbar-vertical .t-collapse-prev,.t-splitbar-vertical .t-expand-next{background-position:-16px -506px;}.t-splitbar-vertical-hover .t-collapse-prev,.t-splitbar-vertical-hover .t-expand-next{background-position:-16px -517px;}.t-splitbar-vertical .t-collapse-next,.t-splitbar-vertical .t-expand-prev{background-position:-16px -511px;}.t-splitbar-vertical-hover .t-collapse-next,.t-splitbar-vertical-hover .t-expand-prev{background-position:-16px -522px;}html .t-upload{position:relative;border-width:0;background:none;}.t-dropzone,.t-upload-files{-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;}.t-dropzone em,.t-upload-button{vertical-align:middle;}*+html .t-dropzone em,*+html .t-upload-button{vertical-align:baseline;}* html .t-dropzone em,* html .t-upload-button{vertical-align:baseline;}.t-dropzone{border-style:solid;border-width:0;padding:4px;background-color:transparent;}.t-dropzone em{margin-left:.6em;visibility:hidden;}.t-dropzone-active{border-width:1px;padding:3px;}.t-dropzone-active em{visibility:visible;}.t-upload-button{width:86px;position:relative;direction:ltr;overflow:hidden!important;/*!important required by IE7*/;}.t-upload-button input{font:500px monospace!important;opacity:0;filter:alpha(opacity=0);position:absolute;padding:0;margin:0;cursor:pointer;right:0;top:0;z-index:1;}.t-state-disabled .t-upload-button input{cursor:default;}.t-upload-files{border-style:solid;border-width:1px;margin:.2em 0 0;padding:.3em .7em .5em;line-height:1.9em;}.t-upload-files .t-button{position:relative;top:1px;margin-left:8px;padding-top:0;padding-bottom:0;font-size:84%;}*+html .t-upload-files .t-button{line-height:1;}* html .t-upload-files .t-button{line-height:1;}.t-upload .t-delete,.t-upload .t-cancel,.t-upload .t-retry{height:8px;vertical-align:baseline;}.t-upload .t-delete,.t-upload .t-cancel{width:7px;background-position:-5px -292px;}.t-retry{background-position:-66px -228px;width:11px;}.t-success{background-position:-64px -240px;}.t-fail{background-position:-64px -256px;}.t-filename{position:relative;display:inline-block;min-width:120px;vertical-align:middle;}.t-progress,.t-progress-status{position:absolute;bottom:-2px;left:0;width:118px;height:2px;border-style:solid;border-width:1px;background-repeat:repeat-x;-moz-border-radius:2px;-webkit-border-radius:2px;border-radius:2px;}.t-progress-status{left:-1px;bottom:-1px;width:50%;}.t-upload-selected{min-width:86px;box-sizing:content-box;-moz-box-sizing:content-box;-ms-box-sizing:content-box;margin:3px 0 0;}*+html .t-upload-selected{min-width:100px;}.t-tiles-buttons .t-dropzone em,.t-tiles-buttons .t-upload-files{display:none;}.t-tiles-buttons .t-dropzone{border:0;padding:0;background-color:transparent;}.t-search-wrap{float:right;width:auto;position:relative;padding:0;}.t-search-wrap label{position:absolute;top:0;left:4px;line-height:20px;font-style:italic;}.t-search-wrap input.t-input{width:158px;padding-left:0;padding-right:0;}.t-search{background-position:-64px -176px;}.t-search-wrap .t-search{position:absolute;top:1px;right:2px;}.t-breadcrumbs{float:left;position:relative;width:560px;}.t-breadcrumbs-wrap{position:absolute;z-index:1;top:0;left:0;padding-left:5px;line-height:18px;}html input.t-breadcrumbs-input{width:100%;padding-left:2px;font-family:inherit;}.t-breadcrumbs .t-link,.t-breadcrumbs-wrap .t-icon{text-decoration:none;vertical-align:middle;margin-top:0;}.t-breadcrumbs .t-link:hover{text-decoration:underline;}.t-imagebrowser .t-breadcrumbs .t-first{text-decoration:none;cursor:default;}.t-tiles-toolbar{clear:both;border-style:solid;border-width:1px;margin:8px 0 0;padding:2px 0 3px;background-repeat:repeat-x;line-height:23px;white-space:nowrap;}.t-imagebrowser .t-upload{float:left;}.t-imagebrowser .t-upload-button{width:auto;vertical-align:top;}.t-imagebrowser .t-upload .t-icon{vertical-align:bottom;}*+html .t-imagebrowser .t-upload-button,*+html .t-imagebrowser .t-upload .t-icon{vertical-align:baseline;position:relative;top:1px;}* html .t-imagebrowser .t-upload-button,* html .t-imagebrowser .t-upload .t-icon{vertical-align:baseline;position:relative;top:1px;}*+html .t-imagebrowser .t-upload .t-icon{top:2px;}* html .t-imagebrowser .t-upload .t-icon{top:2px;}*+html .t-tiles-toolbar .t-button-icon{vertical-align:middle;}* html .t-tiles-toolbar .t-button-icon{vertical-align:middle;}.t-addfolder{background-position:-64px -192px;}.t-goup{background-position:-64px -208px;}.t-tiles-toolbar .t-state-disabled{opacity:.5;filter:alpha(opacity=50);}.t-tiles-buttons{float:left;}.t-tiles-arrange{float:right;}* html .t-tiles-arrange{margin:3px 0 0;}.t-tiles-arrange .t-arrow-down{margin:0 2px 0 3px;}.t-tiles-arrange a{text-decoration:none;}.t-tiles{clear:both;height:390px;border-style:solid;border-width:1px;border-top-width:0;margin:0 0 1.4em;padding:9px;overflow:auto;line-height:1.2;}.t-tile{width:223px;height:88px;overflow:hidden;float:left;border-width:1px;border-style:solid;margin:1px;padding:0 0 4px;cursor:pointer;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}.t-imagebrowser .t-thumb{float:left;display:inline;width:86px;height:86px;margin:4px 10px 0 4px;-khtml-user-select:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;}.t-imagebrowser .t-image{margin:2px 0 0 2px;-moz-box-shadow:1px 1px 3px #aaa;-webkit-box-shadow:1px 1px 3px #aaa;box-shadow:1px 1px 3px #aaa;}.t-imagebrowser .t-folder{width:80px;height:80px;background-position:0 -200px;background-repeat:no-repeat;}.t-goback{background-position:-64px -224px;}.t-imagebrowser .t-loading{margin:35px 0 0 33px;}.t-tile strong,.t-tile input{margin:10px 0 4px;font-weight:normal;}.t-tile strong{float:left;width:120px;overflow:hidden;text-overflow:ellipsis;}.t-tile input{width:100px;}.t-tile em,.t-tile .t-filesize{clear:left;font-weight:normal;font-style:normal;}.t-tile strong,.t-tile input,.t-tile em,.t-tile .t-filesize{display:block;}.t-imagebrowser .t-form-text-row input{width:628px;}.t-tile-empty{margin:160px 0 0;}.t-tile-empty .t-dialog-upload{font-weight:bold;font-size:120%;}.t-tile-empty strong{display:block;margin:0 0 .2em;font-size:3em;font-weight:normal;}.t-tile-empty,.t-tile-empty .t-button-wrapper{text-align:center;}.t-touch-scrollbar{position:absolute;display:none;z-index:200000;height:8px;width:8px;border:1px solid #8a8a8a;background-color:#858585;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px;}@media only screen and(-webkit-min-device-pixel-ratio:2){.t-touch-scrollbar{height:12px;width:12px;-webkit-border-radius:7px;}} \ No newline at end of file diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.default.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.default.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.default.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.default.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.forest.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.forest.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.forest.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.forest.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.hay.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.hay.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.hay.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.hay.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.office2007.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.office2007.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.office2007.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.office2007.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.office2010black.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.office2010black.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.office2010black.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.office2010black.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.outlook.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.outlook.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.outlook.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.outlook.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.rtl.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.rtl.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.rtl.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.rtl.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.simple.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.simple.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.simple.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.simple.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.sitefinity.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.sitefinity.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.sitefinity.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.sitefinity.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.sunset.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.sunset.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.sunset.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.sunset.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.telerik.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.telerik.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.telerik.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.telerik.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.vista.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.vista.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.vista.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.vista.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.web20.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.web20.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.web20.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.web20.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.webblue.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.webblue.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.webblue.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.webblue.min.css diff --git a/NzbDrone.Web/Content/2011.1.315/telerik.windows7.min.css b/NzbDrone.Web/Content/2011.1.414/telerik.windows7.min.css similarity index 100% rename from NzbDrone.Web/Content/2011.1.315/telerik.windows7.min.css rename to NzbDrone.Web/Content/2011.1.414/telerik.windows7.min.css diff --git a/NzbDrone.Web/NzbDrone.Web.csproj b/NzbDrone.Web/NzbDrone.Web.csproj index b5168ff0c..a30124448 100644 --- a/NzbDrone.Web/NzbDrone.Web.csproj +++ b/NzbDrone.Web/NzbDrone.Web.csproj @@ -122,7 +122,8 @@ - ..\packages\TelerikMvcExtensions.2011.1.315\lib\net40\Telerik.Web.Mvc.dll + False + ..\Libraries\Telerik\Telerik.Web.Mvc.dll False @@ -133,106 +134,6 @@ - - True - True - EditorLocalization.bg-BG.resx - - - True - True - EditorLocalization.de-DE.resx - - - True - True - EditorLocalization.en-US.resx - - - True - True - EditorLocalization.fr-FR.resx - - - True - True - EditorLocalization.pl-PL.resx - - - True - True - EditorLocalization.pt-BR.resx - - - True - True - EditorLocalization.ru-RU.resx - - - True - True - EditorLocalization.uk-UA.resx - - - True - True - GridLocalization.bg-BG.resx - - - True - True - GridLocalization.de-DE.resx - - - True - True - GridLocalization.en-US.resx - - - True - True - GridLocalization.es-ES.resx - - - True - True - GridLocalization.fr-FR.resx - - - True - True - GridLocalization.pl-PL.resx - - - True - True - GridLocalization.pt-BR.resx - - - True - True - GridLocalization.pt-PT.resx - - - True - True - GridLocalization.ru-RU.resx - - - True - True - GridLocalization.uk-UA.resx - - - True - True - UploadLocalization.bg-BG.resx - - - True - True - UploadLocalization.en-US.resx - @@ -278,317 +179,317 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -647,34 +548,34 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -757,126 +658,6 @@ - - - GlobalResourceProxyGenerator - UploadLocalization.en-US.designer.cs - - - - - GlobalResourceProxyGenerator - UploadLocalization.bg-BG.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.uk-UA.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.ru-RU.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.pt-PT.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.pt-BR.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.pl-PL.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.fr-FR.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.es-ES.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.en-US.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.de-DE.designer.cs - - - - - GlobalResourceProxyGenerator - GridLocalization.bg-BG.designer.cs - - - - - GlobalResourceProxyGenerator - EditorLocalization.uk-UA.designer.cs - - - - - GlobalResourceProxyGenerator - EditorLocalization.ru-RU.designer.cs - - - - - GlobalResourceProxyGenerator - EditorLocalization.pt-BR.designer.cs - - - - - GlobalResourceProxyGenerator - EditorLocalization.pl-PL.designer.cs - - - - - GlobalResourceProxyGenerator - EditorLocalization.fr-FR.designer.cs - - - - - GlobalResourceProxyGenerator - EditorLocalization.en-US.designer.cs - - - - - GlobalResourceProxyGenerator - EditorLocalization.de-DE.designer.cs - - - - - GlobalResourceProxyGenerator - EditorLocalization.bg-BG.designer.cs - - diff --git a/NzbDrone.Web/Scripts/2011.1.315/jquery.validate.min.js b/NzbDrone.Web/Scripts/2011.1.315/jquery.validate.min.js deleted file mode 100644 index 6264866fc..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/jquery.validate.min.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - * jQuery validation plug-in 1.7 - * - * http://bassistance.de/jquery-plugins/jquery-plugin-validation/ - * http://docs.jquery.com/Plugins/Validation - * - * Copyright (c) 2006 - 2008 Jörn Zaefferer - * - * $Id: jquery.validate.js 6403 2009-06-17 14:27:16Z joern.zaefferer $ - * - * Dual licensed under the MIT and GPL licenses: - * http://www.opensource.org/licenses/mit-license.php - * http://www.gnu.org/licenses/gpl.html - */ -(function($){$.extend($.fn,{validate:function(options){if(!this.length){options&&options.debug&&window.console&&console.warn("nothing selected, can't validate, returning nothing");return;}var validator=$.data(this[0],'validator');if(validator){return validator;}validator=new $.validator(options,this[0]);$.data(this[0],'validator',validator);if(validator.settings.onsubmit){this.find("input, button").filter(".cancel").click(function(){validator.cancelSubmit=true;});if(validator.settings.submitHandler){this.find("input, button").filter(":submit").click(function(){validator.submitButton=this;});}this.submit(function(event){if(validator.settings.debug)event.preventDefault();function handle(){if(validator.settings.submitHandler){if(validator.submitButton){var hidden=$("").attr("name",validator.submitButton.name).val(validator.submitButton.value).appendTo(validator.currentForm);}validator.settings.submitHandler.call(validator,validator.currentForm);if(validator.submitButton){hidden.remove();}return false;}return true;}if(validator.cancelSubmit){validator.cancelSubmit=false;return handle();}if(validator.form()){if(validator.pendingRequest){validator.formSubmitted=true;return false;}return handle();}else{validator.focusInvalid();return false;}});}return validator;},valid:function(){if($(this[0]).is('form')){return this.validate().form();}else{var valid=true;var validator=$(this[0].form).validate();this.each(function(){valid&=validator.element(this);});return valid;}},removeAttrs:function(attributes){var result={},$element=this;$.each(attributes.split(/\s/),function(index,value){result[value]=$element.attr(value);$element.removeAttr(value);});return result;},rules:function(command,argument){var element=this[0];if(command){var settings=$.data(element.form,'validator').settings;var staticRules=settings.rules;var existingRules=$.validator.staticRules(element);switch(command){case"add":$.extend(existingRules,$.validator.normalizeRule(argument));staticRules[element.name]=existingRules;if(argument.messages)settings.messages[element.name]=$.extend(settings.messages[element.name],argument.messages);break;case"remove":if(!argument){delete staticRules[element.name];return existingRules;}var filtered={};$.each(argument.split(/\s/),function(index,method){filtered[method]=existingRules[method];delete existingRules[method];});return filtered;}}var data=$.validator.normalizeRules($.extend({},$.validator.metadataRules(element),$.validator.classRules(element),$.validator.attributeRules(element),$.validator.staticRules(element)),element);if(data.required){var param=data.required;delete data.required;data=$.extend({required:param},data);}return data;}});$.extend($.expr[":"],{blank:function(a){return!$.trim(""+a.value);},filled:function(a){return!!$.trim(""+a.value);},unchecked:function(a){return!a.checked;}});$.validator=function(options,form){this.settings=$.extend(true,{},$.validator.defaults,options);this.currentForm=form;this.init();};$.validator.format=function(source,params){if(arguments.length==1)return function(){var args=$.makeArray(arguments);args.unshift(source);return $.validator.format.apply(this,args);};if(arguments.length>2&¶ms.constructor!=Array){params=$.makeArray(arguments).slice(1);}if(params.constructor!=Array){params=[params];}$.each(params,function(i,n){source=source.replace(new RegExp("\\{"+i+"\\}","g"),n);});return source;};$.extend($.validator,{defaults:{messages:{},groups:{},rules:{},errorClass:"error",validClass:"valid",errorElement:"label",focusInvalid:true,errorContainer:$([]),errorLabelContainer:$([]),onsubmit:true,ignore:[],ignoreTitle:false,onfocusin:function(element){this.lastActive=element;if(this.settings.focusCleanup&&!this.blockFocusCleanup){this.settings.unhighlight&&this.settings.unhighlight.call(this,element,this.settings.errorClass,this.settings.validClass);this.errorsFor(element).hide();}},onfocusout:function(element){if(!this.checkable(element)&&(element.name in this.submitted||!this.optional(element))){this.element(element);}},onkeyup:function(element){if(element.name in this.submitted||element==this.lastElement){this.element(element);}},onclick:function(element){if(element.name in this.submitted)this.element(element);else if(element.parentNode.name in this.submitted)this.element(element.parentNode);},highlight:function(element,errorClass,validClass){$(element).addClass(errorClass).removeClass(validClass);},unhighlight:function(element,errorClass,validClass){$(element).removeClass(errorClass).addClass(validClass);}},setDefaults:function(settings){$.extend($.validator.defaults,settings);},messages:{required:"This field is required.",remote:"Please fix this field.",email:"Please enter a valid email address.",url:"Please enter a valid URL.",date:"Please enter a valid date.",dateISO:"Please enter a valid date (ISO).",number:"Please enter a valid number.",digits:"Please enter only digits.",creditcard:"Please enter a valid credit card number.",equalTo:"Please enter the same value again.",accept:"Please enter a value with a valid extension.",maxlength:$.validator.format("Please enter no more than {0} characters."),minlength:$.validator.format("Please enter at least {0} characters."),rangelength:$.validator.format("Please enter a value between {0} and {1} characters long."),range:$.validator.format("Please enter a value between {0} and {1}."),max:$.validator.format("Please enter a value less than or equal to {0}."),min:$.validator.format("Please enter a value greater than or equal to {0}.")},autoCreateRanges:false,prototype:{init:function(){this.labelContainer=$(this.settings.errorLabelContainer);this.errorContext=this.labelContainer.length&&this.labelContainer||$(this.currentForm);this.containers=$(this.settings.errorContainer).add(this.settings.errorLabelContainer);this.submitted={};this.valueCache={};this.pendingRequest=0;this.pending={};this.invalid={};this.reset();var groups=(this.groups={});$.each(this.settings.groups,function(key,value){$.each(value.split(/\s/),function(index,name){groups[name]=key;});});var rules=this.settings.rules;$.each(rules,function(key,value){rules[key]=$.validator.normalizeRule(value);});function delegate(event){var validator=$.data(this[0].form,"validator"),eventType="on"+event.type.replace(/^validate/,"");validator.settings[eventType]&&validator.settings[eventType].call(validator,this[0]);}$(this.currentForm).validateDelegate(":text, :password, :file, select, textarea","focusin focusout keyup",delegate).validateDelegate(":radio, :checkbox, select, option","click",delegate);if(this.settings.invalidHandler)$(this.currentForm).bind("invalid-form.validate",this.settings.invalidHandler);},form:function(){this.checkForm();$.extend(this.submitted,this.errorMap);this.invalid=$.extend({},this.errorMap);if(!this.valid())$(this.currentForm).triggerHandler("invalid-form",[this]);this.showErrors();return this.valid();},checkForm:function(){this.prepareForm();for(var i=0,elements=(this.currentElements=this.elements());elements[i];i++){this.check(elements[i]);}return this.valid();},element:function(element){element=this.clean(element);this.lastElement=element;this.prepareElement(element);this.currentElements=$(element);var result=this.check(element);if(result){delete this.invalid[element.name];}else{this.invalid[element.name]=true;}if(!this.numberOfInvalids()){this.toHide=this.toHide.add(this.containers);}this.showErrors();return result;},showErrors:function(errors){if(errors){$.extend(this.errorMap,errors);this.errorList=[];for(var name in errors){this.errorList.push({message:errors[name],element:this.findByName(name)[0]});}this.successList=$.grep(this.successList,function(element){return!(element.name in errors);});}this.settings.showErrors?this.settings.showErrors.call(this,this.errorMap,this.errorList):this.defaultShowErrors();},resetForm:function(){if($.fn.resetForm)$(this.currentForm).resetForm();this.submitted={};this.prepareForm();this.hideErrors();this.elements().removeClass(this.settings.errorClass);},numberOfInvalids:function(){return this.objectLength(this.invalid);},objectLength:function(obj){var count=0;for(var i in obj)count++;return count;},hideErrors:function(){this.addWrapper(this.toHide).hide();},valid:function(){return this.size()==0;},size:function(){return this.errorList.length;},focusInvalid:function(){if(this.settings.focusInvalid){try{$(this.findLastActive()||this.errorList.length&&this.errorList[0].element||[]).filter(":visible").focus().trigger("focusin");}catch(e){}}},findLastActive:function(){var lastActive=this.lastActive;return lastActive&&$.grep(this.errorList,function(n){return n.element.name==lastActive.name;}).length==1&&lastActive;},elements:function(){var validator=this,rulesCache={};return $([]).add(this.currentForm.elements).filter(":input").not(":submit, :reset, :image, [disabled]").not(this.settings.ignore).filter(function(){!this.name&&validator.settings.debug&&window.console&&console.error("%o has no name assigned",this);if(this.name in rulesCache||!validator.objectLength($(this).rules()))return false;rulesCache[this.name]=true;return true;});},clean:function(selector){return $(selector)[0];},errors:function(){return $(this.settings.errorElement+"."+this.settings.errorClass,this.errorContext);},reset:function(){this.successList=[];this.errorList=[];this.errorMap={};this.toShow=$([]);this.toHide=$([]);this.currentElements=$([]);},prepareForm:function(){this.reset();this.toHide=this.errors().add(this.containers);},prepareElement:function(element){this.reset();this.toHide=this.errorsFor(element);},check:function(element){element=this.clean(element);if(this.checkable(element)){element=this.findByName(element.name)[0];}var rules=$(element).rules();var dependencyMismatch=false;for(method in rules){var rule={method:method,parameters:rules[method]};try{var result=$.validator.methods[method].call(this,element.value.replace(/\r/g,""),element,rule.parameters);if(result=="dependency-mismatch"){dependencyMismatch=true;continue;}dependencyMismatch=false;if(result=="pending"){this.toHide=this.toHide.not(this.errorsFor(element));return;}if(!result){this.formatAndAdd(element,rule);return false;}}catch(e){this.settings.debug&&window.console&&console.log("exception occured when checking element "+element.id -+", check the '"+rule.method+"' method",e);throw e;}}if(dependencyMismatch)return;if(this.objectLength(rules))this.successList.push(element);return true;},customMetaMessage:function(element,method){if(!$.metadata)return;var meta=this.settings.meta?$(element).metadata()[this.settings.meta]:$(element).metadata();return meta&&meta.messages&&meta.messages[method];},customMessage:function(name,method){var m=this.settings.messages[name];return m&&(m.constructor==String?m:m[method]);},findDefined:function(){for(var i=0;iWarning: No message defined for "+element.name+"");},formatAndAdd:function(element,rule){var message=this.defaultMessage(element,rule.method),theregex=/\$?\{(\d+)\}/g;if(typeof message=="function"){message=message.call(this,rule.parameters,element);}else if(theregex.test(message)){message=jQuery.format(message.replace(theregex,'{$1}'),rule.parameters);}this.errorList.push({message:message,element:element});this.errorMap[element.name]=message;this.submitted[element.name]=message;},addWrapper:function(toToggle){if(this.settings.wrapper)toToggle=toToggle.add(toToggle.parent(this.settings.wrapper));return toToggle;},defaultShowErrors:function(){for(var i=0;this.errorList[i];i++){var error=this.errorList[i];this.settings.highlight&&this.settings.highlight.call(this,error.element,this.settings.errorClass,this.settings.validClass);this.showLabel(error.element,error.message);}if(this.errorList.length){this.toShow=this.toShow.add(this.containers);}if(this.settings.success){for(var i=0;this.successList[i];i++){this.showLabel(this.successList[i]);}}if(this.settings.unhighlight){for(var i=0,elements=this.validElements();elements[i];i++){this.settings.unhighlight.call(this,elements[i],this.settings.errorClass,this.settings.validClass);}}this.toHide=this.toHide.not(this.toShow);this.hideErrors();this.addWrapper(this.toShow).show();},validElements:function(){return this.currentElements.not(this.invalidElements());},invalidElements:function(){return $(this.errorList).map(function(){return this.element;});},showLabel:function(element,message){var label=this.errorsFor(element);if(label.length){label.removeClass().addClass(this.settings.errorClass);label.attr("generated")&&label.html(message);}else{label=$("<"+this.settings.errorElement+"/>").attr({"for":this.idOrName(element),generated:true}).addClass(this.settings.errorClass).html(message||"");if(this.settings.wrapper){label=label.hide().show().wrap("<"+this.settings.wrapper+"/>").parent();}if(!this.labelContainer.append(label).length)this.settings.errorPlacement?this.settings.errorPlacement(label,$(element)):label.insertAfter(element);}if(!message&&this.settings.success){label.text("");typeof this.settings.success=="string"?label.addClass(this.settings.success):this.settings.success(label);}this.toShow=this.toShow.add(label);},errorsFor:function(element){var name=this.idOrName(element);return this.errors().filter(function(){return $(this).attr('for')==name;});},idOrName:function(element){return this.groups[element.name]||(this.checkable(element)?element.name:element.id||element.name);},checkable:function(element){return/radio|checkbox/i.test(element.type);},findByName:function(name){var form=this.currentForm;return $(document.getElementsByName(name)).map(function(index,element){return element.form==form&&element.name==name&&element||null;});},getLength:function(value,element){switch(element.nodeName.toLowerCase()){case'select':return $("option:selected",element).length;case'input':if(this.checkable(element))return this.findByName(element.name).filter(':checked').length;}return value.length;},depend:function(param,element){return this.dependTypes[typeof param]?this.dependTypes[typeof param](param,element):true;},dependTypes:{"boolean":function(param,element){return param;},"string":function(param,element){return!!$(param,element.form).length;},"function":function(param,element){return param(element);}},optional:function(element){return!$.validator.methods.required.call(this,$.trim(element.value),element)&&"dependency-mismatch";},startRequest:function(element){if(!this.pending[element.name]){this.pendingRequest++;this.pending[element.name]=true;}},stopRequest:function(element,valid){this.pendingRequest--;if(this.pendingRequest<0)this.pendingRequest=0;delete this.pending[element.name];if(valid&&this.pendingRequest==0&&this.formSubmitted&&this.form()){$(this.currentForm).submit();this.formSubmitted=false;}else if(!valid&&this.pendingRequest==0&&this.formSubmitted){$(this.currentForm).triggerHandler("invalid-form",[this]);this.formSubmitted=false;}},previousValue:function(element){return $.data(element,"previousValue")||$.data(element,"previousValue",{old:null,valid:true,message:this.defaultMessage(element,"remote")});}},classRuleSettings:{required:{required:true},email:{email:true},url:{url:true},date:{date:true},dateISO:{dateISO:true},dateDE:{dateDE:true},number:{number:true},numberDE:{numberDE:true},digits:{digits:true},creditcard:{creditcard:true}},addClassRules:function(className,rules){className.constructor==String?this.classRuleSettings[className]=rules:$.extend(this.classRuleSettings,className);},classRules:function(element){var rules={};var classes=$(element).attr('class');classes&&$.each(classes.split(' '),function(){if(this in $.validator.classRuleSettings){$.extend(rules,$.validator.classRuleSettings[this]);}});return rules;},attributeRules:function(element){var rules={};var $element=$(element);for(method in $.validator.methods){var value=$element.attr(method);if(value){rules[method]=value;}}if(rules.maxlength&&/-1|2147483647|524288/.test(rules.maxlength)){delete rules.maxlength;}return rules;},metadataRules:function(element){if(!$.metadata)return{};var meta=$.data(element.form,'validator').settings.meta;return meta?$(element).metadata()[meta]:$(element).metadata();},staticRules:function(element){var rules={};var validator=$.data(element.form,'validator');if(validator.settings.rules){rules=$.validator.normalizeRule(validator.settings.rules[element.name])||{};}return rules;},normalizeRules:function(rules,element){$.each(rules,function(prop,val){if(val===false){delete rules[prop];return;}if(val.param||val.depends){var keepRule=true;switch(typeof val.depends){case"string":keepRule=!!$(val.depends,element.form).length;break;case"function":keepRule=val.depends.call(element,element);break;}if(keepRule){rules[prop]=val.param!==undefined?val.param:true;}else{delete rules[prop];}}});$.each(rules,function(rule,parameter){rules[rule]=$.isFunction(parameter)?parameter(element):parameter;});$.each(['minlength','maxlength','min','max'],function(){if(rules[this]){rules[this]=Number(rules[this]);}});$.each(['rangelength','range'],function(){if(rules[this]){rules[this]=[Number(rules[this][0]),Number(rules[this][1])];}});if($.validator.autoCreateRanges){if(rules.min&&rules.max){rules.range=[rules.min,rules.max];delete rules.min;delete rules.max;}if(rules.minlength&&rules.maxlength){rules.rangelength=[rules.minlength,rules.maxlength];delete rules.minlength;delete rules.maxlength;}}if(rules.messages){delete rules.messages;}return rules;},normalizeRule:function(data){if(typeof data=="string"){var transformed={};$.each(data.split(/\s/),function(){transformed[this]=true;});data=transformed;}return data;},addMethod:function(name,method,message){$.validator.methods[name]=method;$.validator.messages[name]=message!=undefined?message:$.validator.messages[name];if(method.length<3){$.validator.addClassRules(name,$.validator.normalizeRule(name));}},methods:{required:function(value,element,param){if(!this.depend(param,element))return"dependency-mismatch";switch(element.nodeName.toLowerCase()){case'select':var val=$(element).val();return val&&val.length>0;case'input':if(this.checkable(element))return this.getLength(value,element)>0;default:return $.trim(value).length>0;}},remote:function(value,element,param){if(this.optional(element))return"dependency-mismatch";var previous=this.previousValue(element);if(!this.settings.messages[element.name])this.settings.messages[element.name]={};previous.originalMessage=this.settings.messages[element.name].remote;this.settings.messages[element.name].remote=previous.message;param=typeof param=="string"&&{url:param}||param;if(previous.old!==value){previous.old=value;var validator=this;this.startRequest(element);var data={};data[element.name]=value;$.ajax($.extend(true,{url:param,mode:"abort",port:"validate"+element.name,dataType:"json",data:data,success:function(response){validator.settings.messages[element.name].remote=previous.originalMessage;var valid=response===true;if(valid){var submitted=validator.formSubmitted;validator.prepareElement(element);validator.formSubmitted=submitted;validator.successList.push(element);validator.showErrors();}else{var errors={};var message=(previous.message=response||validator.defaultMessage(element,"remote"));errors[element.name]=$.isFunction(message)?message(value):message;validator.showErrors(errors);}previous.valid=valid;validator.stopRequest(element,valid);}},param));return"pending";}else if(this.pending[element.name]){return"pending";}return previous.valid;},minlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)>=param;},maxlength:function(value,element,param){return this.optional(element)||this.getLength($.trim(value),element)<=param;},rangelength:function(value,element,param){var length=this.getLength($.trim(value),element);return this.optional(element)||(length>=param[0]&&length<=param[1]);},min:function(value,element,param){return this.optional(element)||value>=param;},max:function(value,element,param){return this.optional(element)||value<=param;},range:function(value,element,param){return this.optional(element)||(value>=param[0]&&value<=param[1]);},email:function(value,element){return this.optional(element)||/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?$/i.test(value);},url:function(value,element){return this.optional(element)||/^(https?|ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(\#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test(value);},date:function(value,element){return this.optional(element)||!/Invalid|NaN/.test(new Date(value));},dateISO:function(value,element){return this.optional(element)||/^\d{4}[\/-]\d{1,2}[\/-]\d{1,2}$/.test(value);},number:function(value,element){return this.optional(element)||/^-?(?:\d+|\d{1,3}(?:,\d{3})+)(?:\.\d+)?$/.test(value);},digits:function(value,element){return this.optional(element)||/^\d+$/.test(value);},creditcard:function(value,element){if(this.optional(element))return"dependency-mismatch";if(/[^0-9-]+/.test(value))return false;var nCheck=0,nDigit=0,bEven=false;value=value.replace(/\D/g,"");for(var n=value.length-1;n>=0;n--){var cDigit=value.charAt(n);var nDigit=parseInt(cDigit,10);if(bEven){if((nDigit*=2)>9)nDigit-=9;}nCheck+=nDigit;bEven=!bEven;}return(nCheck%10)==0;},accept:function(value,element,param){param=typeof param=="string"?param.replace(/,/g,'|'):"png|jpe?g|gif";return this.optional(element)||value.match(new RegExp(".("+param+")$","i"));},equalTo:function(value,element,param){var target=$(param).unbind(".validate-equalTo").bind("blur.validate-equalTo",function(){$(element).valid();});return value==target.val();}}});$.format=$.validator.format;})(jQuery);;(function($){var ajax=$.ajax;var pendingRequests={};$.ajax=function(settings){settings=$.extend(settings,$.extend({},$.ajaxSettings,settings));var port=settings.port;if(settings.mode=="abort"){if(pendingRequests[port]){pendingRequests[port].abort();}return(pendingRequests[port]=ajax.apply(this,arguments));}return ajax.apply(this,arguments);};})(jQuery);;(function($){if(!jQuery.event.special.focusin&&!jQuery.event.special.focusout&&document.addEventListener){$.each({focus:'focusin',blur:'focusout'},function(original,fix){$.event.special[fix]={setup:function(){this.addEventListener(original,handler,true);},teardown:function(){this.removeEventListener(original,handler,true);},handler:function(e){arguments[0]=$.event.fix(e);arguments[0].type=fix;return $.event.handle.apply(this,arguments);}};function handler(e){e=$.event.fix(e);e.type=fix;return $.event.handle.call(this,e);}});};$.extend($.fn,{validateDelegate:function(delegate,type,handler){return this.bind(type,function(event){var target=$(event.target);if(target.is(delegate)){return handler.apply(target,arguments);}});}});})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.autocomplete.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.autocomplete.min.js deleted file mode 100644 index b03d5440b..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.autocomplete.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(a){var b=a.telerik;b.autocomplete=function(c,d){a.extend(this,d);var i=a.browser.msie?"paste":"input";var e=this.$element=a(c).addClass("t-widget t-autocomplete t-input").attr("autocomplete","off").bind(i,a.proxy(function(j){g(this)},this));this.$text=e;this.element=c;this.trigger=new b.list.trigger(this);this.trigger.change=function(){var k=this.component.text();var j=this.component.previousValue;if(j==undefined||k!=j){b.trigger(this.component.element,"valueChange",{value:k})}this.component.previousValue=k};this.loader=new b.list.loader(this);this.loader.showBusy=function(){this.busyTimeout=setTimeout(a.proxy(function(){this.component.$element.addClass("t-loading")},this),100)};this.loader.hideBusy=function(){clearTimeout(this.busyTimeout);this.component.$element.removeClass("t-loading")};this.filtering=new b.list.filtering(this);this.filtering.autoFill=function(s,o){if(s.autoFill&&(s.lastKeyCode!=8&&s.lastKeyCode!=46)){var v=s.$text[0];var j=v.value;var t=s.separator;var p=b.caretPos(v);var l=t?b.lastIndexOf(j.substring(0,p),t):-1;var q=l!=-1?l+t.length:0;var m=j.substring(q,p);var u=o.toLowerCase().indexOf(m.toLowerCase());if(u!=-1){var r=o.substring(u+m.length);var k=f(v,t);var n=j.split(t);n[k]=m+r;v.value=n.join(t)+(s.multiple&&k!=0&&k==n.length-1?t:"");b.list.selection(v,p,p+r.length)}}};this.enable=function(){e.removeClass("t-state-disabled").removeAttr("disabled")};this.disable=function(){e.addClass("t-state-disabled").attr("disabled","disabled")};this.filtering.multiple=a.proxy(function(j){if(this.multiple){j=j.split(this.separator);j=j[f(this.$text[0],this.separator)]}return j},this);this.dropDown=new b.dropDown({attr:this.dropDownAttr,effects:this.effects,onClick:a.proxy(function(j){this.select(j.item);this.trigger.change();this.trigger.close()},this)});this.dropDown.$element.css("direction",e.closest(".t-rtl").length?"rtl":"");this.fill=function(k){function j(s){var r=s.highlightFirst?o.$items.first():null;if(r){r.addClass("t-state-selected")}}var p=this.loader;var o=this.dropDown;var l=this.minChars;var n=this.text();var q=n.length;if(!o.$items&&!p.ajaxError){if(p.isAjax()&&q>=l){var m={};m[this.queryString.text]=n;p.ajaxRequest(function(r){this.dataBind(r,true);j(this);b.trigger(this.element,"dataBound");this.trigger.change();if(k){k()}},{data:m})}else{this.dataBind(this.data,true);j(this);if(k){k()}}}};this.text=function(){if(arguments.length>0){this.previousValue=arguments[0]}return this.$text.val.apply(this.$text,arguments)};this.value=function(){return this.text.apply(this,arguments)};this.select=function(r){var q=this.highlight(r);if(q==-1){return q}var k=this.filteredDataIndexes;var m=(k&&k.length)>0?k[q]:q;var r=this.data[m];var o=r.Text?r.Text:r;var j=o;if(this.multiple){var l=this.$element;var p=this.separator;var n=f(l[0],p);j=l.val().split(p);j[n]=o;j=j.join(p)+(n==j.length-1?p:"")}this.$text.val(j)};b.list.common.call(this);b.list.filters.call(this);b.list.initialize.call(this);this.dataBind=function(l,j){this.data=l=(l||[]);var m=!!this.loader.isAjax();if(this.encoded&&m){for(var k=0,n=l.length;k36&&o<41&&o!=37&&o!=39){s.preventDefault();if(k.isOpened()){if(!k.$items){this.fill()}var l=k.$items;var p=l.filter(".t-state-selected:first");var j=[];if(o==38){var t=p.prev();j=t.length?t:l.last()}else{if(o==40){var q=p.next();j=q.length?q:l.first()}}if(j.length){var u=j[0];this.highlight(u);k.scrollTo(u);this.filtering.autoFill(this,j.text())}}}if(o==8||o==46){var m=this.$element;if(m.val()!=""){g(this)}setTimeout(a.proxy(function(){if(m.val()==""){n.close()}},this),0)}if(o==13){if(k.isOpened()){s.preventDefault()}if(k.$items){var r=k.$items.filter(".t-state-selected:first");if(r.length>0){this.select(r[0])}}n.change();n.close();b.list.moveToEnd(this.element)}if(o==27||o==9){n.change();n.close()}}};a.fn.tAutoComplete=function(c){return b.create(this,{name:"tAutoComplete",init:function(d,e){return new b.autocomplete(d,e)},options:c})};a.fn.tAutoComplete.defaults={encoded:true,effects:b.fx.slide.defaults(),filter:1,delay:200,minChars:1,cache:true,autoFill:false,highlightFirst:false,queryString:{text:"text"},multiple:false,separator:", "}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.combobox.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.combobox.min.js deleted file mode 100644 index 038892aec..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.combobox.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(c){var a=c.telerik;a.combobox=function(f,p){c.extend(this,p);var d=f.nodeName.toLowerCase()=="input"&&f.type.toLowerCase()=="text";var q=f.nodeName.toLowerCase()=="select";if((d||q)&&!c(f).parent().hasClass("t-combobox")){if(q&&!this.data){this.data=a.list.retrieveData(f)}var j=new a.list.htmlBuilder(f,"t-combobox",q);j.text=function(s){var t=s.builder;t.buffer=[];return c(t.cat('").string())};j.render();if(q){f=f.previousSibling}}this.element=f;var o=this.$element=c(f);this.loader=new a.list.loader(this);this.trigger=new a.list.trigger(this);var g=this.$wrapper=o.closest(".t-combobox");var e=this.$wrapper.find(".t-select");var n=c.browser.msie?"paste":"input";var i=this.$text=this.$wrapper.find("> .t-dropdown-wrap > .t-input").attr("autocomplete","off").bind(n,c.proxy(function(v){var s=v.target.value;if(c.browser.msie){var u=f.document.selection.createRange().text;var t=window.clipboardData.getData("Text");if(u&&u.length>0){s=s.replace(u,t)}else{s+=t}}this.$element.val(s);m(this)},this));var l=function(u){var s="class",t=o.attr(s);if(t!=i.attr(s)){i.attr(s,t).addClass("t-input")}};if(c.browser.msie){f.attachEvent("onpropertychange",l)}else{o.bind("DOMAttrModified",l)}if(!o.attr("disabled")){e.bind("click",c.proxy(h,this))}this.filtering=new a.list.filtering(this);this.filtering.autoFill=function(s,t){if(s.autoFill&&(s.lastKeyCode!=8&&s.lastKeyCode!=46)){var u=s.$text[0];var y=a.caretPos(u);var x=u.value.substring(0,y);var w=t.toLowerCase().indexOf(x.toLowerCase());if(w!=-1){var v=t.substring(w+x.length);u.value=x+v;a.list.selection(u,y,y+v.length)}}};this.dropDown=new a.dropDown({attr:this.dropDownAttr,effects:this.effects,onOpen:c.proxy(function(){var t=this.data;var s=this.dropDown;if(t.length==0){return}var v=this.$text.val();var u=this.selectedIndex;if(u!=-1&&this.isFiltered){if(v==t[u].Text){this.filteredDataIndexes=[];s.onItemCreate=null;s.dataBind(this.data);this.select(s.$items[u])}else{this.filters[this.filter](this,this.data,v)}this.isFiltered=false}},this),onClick:c.proxy(function(s){this.select(s.item);this.trigger.change();this.trigger.close();i.focus()},this)});this.dropDown.$element.css("direction",g.closest(".t-rtl").length?"rtl":"");this.enable=function(){g.removeClass("t-state-disabled");i.removeAttr("disabled");e.bind("click",c.proxy(h,this))};this.disable=function(){g.addClass("t-state-disabled");i.attr("disabled","disabled");e.unbind("click")};this.fill=function(t){function v(B){var A=B.selectedValue||B.value();if(A){B.value(A);return}var C=s.$items;var E=B.index;var D=C.filter(".t-state-selected");var F=D.length;var G=E!=-1&&E0?D[F-1]:null;if(G){B.select(G)}else{B.selectedIndex=-1;if(B.highlightFirst){B.highlight(C[0])}}}var w=this.loader;var s=this.dropDown;var y=this.minChars;var x=this.text();var u=x.length;if(!s.$items&&!w.ajaxError){if(w.isAjax()&&u>=y){var z={};z[this.queryString.text]=x;w.ajaxRequest(function(A){this.dataBind(A,true);v(this);a.trigger(this.element,"dataBound");this.trigger.change();if(t){t()}},{data:z})}else{this.dataBind(this.data,true);v(this);if(t){t()}}}};this.reload=function(){this.dropDown.$items=null;this.fill()};this.select=function(t){var s=this.highlight(t);if(s==-1){return s}var u=this.filteredDataIndexes;this.selectedIndex=(u&&u.length)>0?u[s]:s;a.list.updateTextAndValue(this,c(this.dropDown.$items[s]).text(),this.data[this.selectedIndex].Value)};this.text=function(){return this.$text.val.apply(this.$text,arguments)};this.value=function(){if(arguments.length){var t=arguments[0];var s=this.select(function(u){return t==(u.Value||u.Text)});if(s==-1){this.selectedIndex=s;this.$element.val(t);this.text(t)}this.previousValue=this.$element.val()}else{return this.$element.val()}};a.list.common.call(this);a.list.filters.call(this);a.list.initialize.call(this);c(document.documentElement).bind("mousedown",c.proxy(function(v){var s=this.dropDown.$element;var t=s&&s.parent().length>0;if(c.contains(this.$wrapper[0],v.target)||(t&&c.contains(s.parent()[0],v.target))){return}if(this._textChanged){this._textChanged=false;var u=b(this.data,this.$text.val());if(u){this.text(u.Text);this.$element.val(u.Value||u.Text)}}this.trigger.change();this.trigger.close()},this));this.$text.bind({change:c.proxy(function(s){s.stopPropagation()},this),keydown:c.proxy(k,this),keypress:c.proxy(r,this),focus:c.proxy(function(v){if(this.openOnFocus){var t=this.trigger;var s=this.dropDown;if(!s.$items){this.fill(t.open)}else{t.open()}}var u=this.$text;a.list.selection(u[0],0,u.val().length)},this)});function h(u){var s=this.dropDown,t=this.trigger;this.loader.ajaxError=false;if(!s.isOpened()){if(!s.$items){this.fill(t.open)}else{t.open()}i[0].focus()}else{t.close()}}function m(s){clearTimeout(s.timeout);s.timeout=setTimeout(function(){s.filtering.filter(s)},s.delay)}function k(B){var w=this.trigger;var t=this.dropDown;var y=B.keyCode||B.which;this.lastKeyCode=y;if(B.altKey&&y==38){w.close();return}if(B.altKey&&y==40){w.open();return}if(!B.shiftKey&&(y==38||y==40)){B.preventDefault();if(!t.$items){this.fill()}var u=t.$items;var z=u.filter(".t-state-selected:first");var s=z.length==0||u.length==1?u.first():(y==38)?z.prev():(y==40)?z.next():[];if(s.length){var C=s[0];this.select(C);t.scrollTo(C);if(!t.isOpened()){w.change()}}}if(y==8||y==46){var x=this.$text;if(x.val()!=""){m(this)}setTimeout(c.proxy(function(){if(x.val()==""){this.selectedIndex=-1;this.$element.val("")}else{this.$element.val(this.$text.val())}},this),0)}if(y==13){if(t.isOpened()){B.preventDefault()}var A=t.$items.filter(".t-state-selected:first");if(A.length>0){this.select(A[0])}else{this.$element.val(this.$text.val())}w.change();w.close();a.list.moveToEnd(this.$text[0])}if(y==27||y==9){var v=b(this.data,this.$text.val());if(v){this.text(v.Text);this.$element.val(v.Value||v.Text)}w.change();w.close();if(y==27){this.$text.blur()}}}function r(t){this._textChanged=true;var s=t.keyCode||t.charCode;if(!t.shiftKey&&(s==0||c.inArray(s,a.list.keycodes)!=-1||t.ctrlKey)){return true}setTimeout(c.proxy(function(){this.$element.val(this.$text.val())},this),0);m(this)}};function b(f,h){if(!h){return}h=h.toLowerCase();if(f){for(var d=0,g=f.length;d=180&&k<=191;var s=/d{1,4}|M{1,4}|yy(?:yy)?|([Hhmstf])\1*|"[^"]*"|'[^']*'/g;var n=i.telerik={create:function(e,t){var v=t.name;var u=i.extend({},i.fn[v].defaults,t.options);return e.each(function(){var w=i(this);u=i.meta?i.extend({},u,w.data()):u;if(!w.data(v)){var x=t.init(this,u);w.data(v,x);n.trigger(this,"load");if(t.success){t.success(x)}}})},toJson:function(e){function t(v){return"["+i.map(v,u).join(",")+"]"}function u(x){var w=[];for(var y in x){var v=x[y];if(i.isArray(v)){w.push('"'+y+'":'+t(v))}else{if(typeof v!="object"){w.push('"'+y+'":"'+(v==null?"":v)+'"')}else{w.push('"'+y+'":'+u(v))}}}return"{"+w.join(",")+"}"}if(i.isArray(e)){return t(e)}else{return u(e)}},delegate:function(t,e){return function(u){e.apply(t,[u,this])}},stop:function(e,t){return function(u){u.stopPropagation();e.apply(t||this,arguments)}},stopAll:function(e,t){return function(u){u.preventDefault();u.stopPropagation();e.apply(t||this,arguments)}},bind:function(e,t){var u=i(e.element?e.element:e);i.each(t,function(v){if(i.isFunction(this)){u.bind(v,this)}})},preventDefault:function(t){t.preventDefault()},hover:function(){i(this).addClass("t-state-hover")},leave:function(){i(this).removeClass("t-state-hover")},buttonHover:function(){i(this).addClass("t-button-hover")},buttonLeave:function(){i(this).removeClass("t-button-hover")},stringBuilder:function(){this.buffer=[]},ajaxError:function(v,u,e,w){var t=this.trigger(v,u,{XMLHttpRequest:e,textStatus:w});if(!t){if(w=="error"&&e.status!="0"){alert("Error! The requested URL returned "+e.status+" - "+e.statusText)}if(w=="timeout"){alert("Error! Server timeout.")}}return t},trigger:function(u,t,v){v=i.extend(v||{},new i.Event(t));v.stopPropagation();i(u).trigger(v);return v.isDefaultPrevented()},getType:function(e){if(e instanceof Date){return"date"}if(!isNaN(e)){return"number"}return"object"},formatString:function(){var w=arguments[0];for(var e=0,t=arguments.length-1;e-1;v--){if(e.substr(v,u)==t){return v}}return -1},caretPos:function(e){var t=-1;if(document.selection){t=Math.abs(e.document.selection.createRange().moveStart("character",-e.value.length))}else{if(e.selectionStart!==undefined){t=e.selectionStart}}return t},encode:function(e){return e.replace(/&/g,"&").replace(//g,">").replace(/\u00a0/g," ")},formatters:{},fx:{},cultureInfo:{days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],abbrDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],abbrMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longTime:"h:mm:ss tt",longDate:"dddd, MMMM dd, yyyy",shortDate:"M/d/yyyy",shortTime:"h:mm tt",fullDateTime:"dddd, MMMM dd, yyyy h:mm:ss tt",generalDateShortTime:"M/d/yyyy h:mm tt",generalDateTime:"M/d/yyyy h:mm:ss tt",sortableDateTime:"yyyy'-'MM'-'ddTHH':'mm':'ss",universalSortableDateTime:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",monthYear:"MMMM, yyyy",monthDay:"MMMM dd",today:"today",tomorrow:"tomorrow",yesterday:"yesterday",next:"next",last:"last",year:"year",month:"month",week:"week",day:"day",am:"AM",pm:"PM",dateSeparator:"/",timeSeparator:":",firstDayOfWeek:0}};var a,o;if(Array.prototype.filter!==undefined){a=function(e,t){return e.filter(t)}}else{a=function(x,u){var w=[],v=x.length;for(var t=0;tv?1:(uv?-1:0)}))},concat:function(e){return r(this.data.concat(e.data))},count:function(){return this.data.length},any:function(e){if(i.isFunction(e)){for(var t=0,u=this.data.length;t
    ').string()).addClass("t-popup t-group").hide()};n.dropDown.prototype={_html:function(w){var u=new n.stringBuilder();if(w){for(var t=0,x=w.length;t').cat(z.html).cat("")}}return u.string()},open:function(e){if(this.onOpen){this.onOpen()}if(this.isOpened()||!this.$items){return}var w=this.$element,u=".t-reset > .t-item";w.appendTo(document.body);var t;if(w[0].style.width==""){t=e.outerWidth?e.outerWidth-2:0}else{t=parseInt(this.attr?i("")[0].style.width:w[0].style.width)}w.css("overflowY","auto").css("width",t);w.delegate(u,"mouseenter",n.hover).delegate(u,"mouseleave",n.leave).delegate(u,"click",i.proxy(function(x){if(this.onClick){this.onClick(i.extend(x,{item:i(x.target).closest(".t-item")[0]}))}},this));var v=e.offset;v.top+=e.outerHeight;n.fx._wrap(w).css(i.extend({position:"absolute",zIndex:e.zIndex},v));if(d){w.css("overflow","hidden")}n.fx.play(this.effects,w,{direction:"bottom"},i.proxy(function(){if(d){w.css("overflow","auto")}var x=this.$items.filter(".t-state-selected");if(x.length){this.scrollTo(x[0])}},this))},close:function(){if(!this.isOpened()){return}var e=this.$element;if(d){e.css("overflow","hidden")}n.fx.rewind(this.effects,e,{direction:"bottom"},function(){if(d){e.css("overflow","auto")}e.parent().remove()})},dataBind:function(t){t=t||[];var w=this.$element;var v=w[0].style.height;var u=v&&v!="auto"?w[0].style.height:"200px";var e=this.$items=i(this._html(t));w.find("> ul").html(e);w.css("height",e.length>10?u:"auto")},highlight:function(e){return i(e).addClass("t-state-selected").siblings().removeClass("t-state-selected").end().index()},isOpened:function(){return this.$element.is(":visible")},scrollTo:function(y){if(!y){return}var e=y.offsetTop;var w=y.offsetHeight;var t=this.$element[0];var u=t.scrollTop;var x=t.clientHeight;var v=e+w;t.scrollTop=u>e?e:v>(u+x)?v-x:u}};n.datetime=function(){if(arguments.length==0){this.value=new Date()}else{if(arguments.length==1){this.value=new Date(arguments[0])}else{if(arguments.length==3){this.value=new Date(arguments[0],arguments[1],arguments[2])}else{if(arguments.length==6){this.value=new Date(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])}else{this.value=new Date(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6])}}}}return this};i.extend(n.datetime,{msPerMinute:60000,msPerDay:86400000,add:function(w,t){var u=w.timeOffset();var v=new n.datetime(w.time()+t);var e=v.timeOffset()-u;return new n.datetime(v.time()+e*n.datetime.msPerMinute)},subtract:function(v,u){u=new n.datetime(u).toDate();var e=v.time()-u;var t=v.timeOffset()-u.timeOffset();return e-(t*n.datetime.msPerMinute)},firstDayOfMonth:function(e){return new n.datetime(0).hours(e.hours()).minutes(e.minutes()).seconds(e.seconds()).milliseconds(e.milliseconds()).year(e.year(),e.month(),1)},firstVisibleDay:function(u){var e=n.cultureInfo.firstDayOfWeek;var t=new n.datetime(u.year(),u.month(),0,u.hours(),u.minutes(),u.seconds(),u.milliseconds());while(t.day()!=e){n.datetime.modify(t,-1*n.datetime.msPerDay)}return t},modify:function(w,e){var u=w.timeOffset();var t=new n.datetime(w.time()+e);var v=t.timeOffset()-u;w.time(t.time()+v*n.datetime.msPerMinute)},pad:function(e){if(e<10){return"0"+e}return e},standardFormat:function(e){var t=n.cultureInfo;var u={d:t.shortDate,D:t.longDate,F:t.fullDateTime,g:t.generalDateShortTime,G:t.generalDateTime,m:t.monthDay,M:t.monthDay,s:t.sortableDateTime,t:t.shortTime,T:t.longTime,u:t.universalSortableDateTime,y:t.monthYear,Y:t.monthYear};return u[e]},format:function(E,e){var z=n.cultureInfo;var C=E.getDate();var t=E.getDay();var B=E.getMonth();var u=E.getFullYear();var x=E.getHours();var w=E.getMinutes();var v=E.getSeconds();var D=E.getMilliseconds();var A=n.datetime.pad;var F={d:C,dd:A(C),ddd:z.abbrDays[t],dddd:z.days[t],M:B+1,MM:A(B+1),MMM:z.abbrMonths[B],MMMM:z.months[B],yy:A(u%100),yyyy:u,h:x%12||12,hh:A(x%12||12),H:x,HH:A(x),m:w,mm:A(w),s:v,ss:A(v),f:Math.floor(D/100),ff:Math.floor(D/10),fff:D,tt:x<12?z.am:z.pm};e=e||"G";e=n.datetime.standardFormat(e)?n.datetime.standardFormat(e):e;return e.replace(s,function(y){return y in F?F[y]:y.slice(1,y.length-1)})},parse:function(u){var e=u.value;var t=u.format;if(e&&e.value){return e}t=n.datetime.standardFormat(t)?n.datetime.standardFormat(t):t;if(q.test(e)){return n.datetime.parseMachineDate({value:e,format:t,shortYearCutOff:u.shortYearCutOff,baseDate:u.baseDate,AM:n.cultureInfo.am,PM:n.cultureInfo.pm})}return n.datetime.parseByToken?n.datetime.parseByToken(e,u.today):null},parseMachineDate:function(H){var V=H.AM,O=H.PM,v=H.value,y=H.format,e=H.baseDate,R=H.shortYearCutOff||30,C=-1,L=-1,D=-1,u=0,B=0,F=0,E=0,T,P,z=false,I=function(W){return(G+10?V:"a";O=N>0?O:"p";var x=v.substr(M).toLowerCase();T=x.indexOf(V.toLowerCase())!=-1;P=x.indexOf(O.toLowerCase())!=-1;M+=P?O.length:T?V.length:0;break;case"'":Q();z=true;break;default:Q()}}}var K=new n.datetime();if(C!=-1&&C<100){C+=K.year()-K.year()%100+(C<=R?0:-100)}u=(P&&u<12)?u+12:u==12&&T?0:u;if(e==undefined){if(C==-1){C=K.year()}K=new n.datetime(C,L-1,D,u,B,F,E);if(K.year()!=C||K.month()!=(L-1)||K.date()!=D){return null}}else{K=e.year(C!=-1?C:e.year()).month(L!=-1?L-1:e.month()).date(D!=-1?D:e.date()).hours(u).minutes(B).seconds(F).milliseconds(E);if((C!=-1&&K.year()!=C)||(L!=-1&&K.month()!=(L-1))||(D!=-1&&K.date()!=D)||(u!=-1&&K.hours()!=u)||(B!=-1&&K.minutes()!=B)||(F!=-1&&K.seconds()!=F)||(E!=-1&&K.milliseconds()!=E)){return null}}return K}});n.datetime.prototype={year:function(){if(arguments.length==0){return this.value.getFullYear()}else{if(arguments.length==1){this.value.setFullYear(arguments[0])}else{this.value.setFullYear(arguments[0],arguments[1],arguments[2])}}return this},timeOffset:function(){return this.value.getTimezoneOffset()},day:function(){return this.value.getDay()},toDate:function(){return this.value},addMonth:function(e){this.month(this.month()+e)},addYear:function(e){this.year(this.year()+e)}};i.each(["Month","Date","Hours","Minutes","Seconds","Milliseconds","Time"],function(e,t){n.datetime.prototype[t.toLowerCase()]=function(){if(arguments.length==1){this.value["set"+t](arguments[0])}else{return this.value["get"+t]()}return this}});n.stringBuilder.prototype={cat:function(e){this.buffer.push(e);return this},rep:function(t,e){for(var u=0;u');this._verticalScrollbar=this._horizontalScrollbar.clone();this._scrollbars=this._horizontalScrollbar.add(this._verticalScrollbar);this._startProxy=i.proxy(this._start,this);this._stopProxy=i.proxy(this._stop,this);this._dragProxy=i.proxy(this._drag,this);this._create()}function c(u){var t=u.originalEvent.changedTouches;if(t&&t.length<2){return{x:t[0].pageX,y:t[0].pageY}}return{x:u.pageX,y:u.pageY}}g.prototype={_create:function(){this.wrapper.css("overflow","hidden").bind(b,i.proxy(this._wait,this))},_wait:function(u){var t=c(u);this.start={x:t.x+this.wrapper.scrollLeft(),y:t.y+this.wrapper.scrollTop()};i(document).bind(m,this._startProxy).bind(p,this._stopProxy)},_start:function(w){w.preventDefault();var t=c(w);if(this.start.x-t.x>10||this.start.y-t.y>10){i(document).unbind(m,this._startProxy).bind(m,this._dragProxy);var u=this.wrapper.innerWidth(),v=this.wrapper.innerHeight();offset=this.wrapper.offset(),scrollWidth=this.wrapper.attr("scrollWidth"),scrollHeight=this.wrapper.attr("scrollHeight");if(scrollWidth>u){this._horizontalScrollbar.appendTo(document.body).css({width:Math.floor((u/scrollWidth)*u),left:this.wrapper.scrollLeft()+offset.left+parseInt(this.wrapper.css("borderLeftWidth")),top:offset.top+this.wrapper.innerHeight()+parseInt(this.wrapper.css("borderTopWidth"))-this._horizontalScrollbar.outerHeight()})}if(scrollHeight>v){this._verticalScrollbar.appendTo(document.body).css({height:Math.floor((v/scrollHeight)*v),top:this.wrapper.scrollTop()+offset.top+parseInt(this.wrapper.css("borderTopWidth")),left:offset.left+this.wrapper.innerWidth()+parseInt(this.wrapper.css("borderLeftWidth"))-this._verticalScrollbar.outerWidth()})}this._scrollbars.stop().fadeTo(200,0.5)}},_drag:function(A){A.preventDefault();var B=c(A),y=this.wrapper.offset(),v=y.left+parseInt(this.wrapper.css("borderLeftWidth")),w=y.top+parseInt(this.wrapper.css("borderTopWidth")),u=this.start.x-B.x,t=this.start.y-B.y,x=Math.max(v,v+u),z=Math.max(w,w+t);x=Math.min(v+this.wrapper.innerWidth()-this._horizontalScrollbar.outerWidth()-this._horizontalScrollbar.outerHeight(),x);z=Math.min(w+this.wrapper.innerHeight()-this._verticalScrollbar.outerHeight()-this._verticalScrollbar.outerWidth(),z);this._horizontalScrollbar.css("left",x);this._verticalScrollbar.css("top",z);this.wrapper.scrollLeft(u).scrollTop(t)},_stop:function(t){i(document).unbind(m,this._startProxy).unbind(m,this._dragProxy).unbind(p,this._stopProxy);this._scrollbars.stop().fadeTo(400,0)}};var j=function(u,e,t){if(e.length==0&&t){t();return null}var v=u.list.length;return function(){if(--v==0&&t){t()}}};i.extend(n.fx,{_wrap:function(e){if(!e.parent().hasClass("t-animation-container")){e.wrap(i("
    ").addClass("t-animation-container").css({width:e.outerWidth(),height:e.outerHeight()}))}return e.parent()},play:function(w,x,u,e){var z=j(w,x,e);if(z===null){return}x.stop(false,true);for(var t=0,y=w.list.length;t=0;t--){var v=x.data("effect-"+t)||new n.fx[w.list[t].name](x);v.rewind(i.extend(w.list[t],{openDuration:w.openDuration,closeDuration:w.closeDuration},u),y);x.data("effect-"+t,null)}}});n.fx.toggle=function(e){this.element=e.stop(false,true)};n.fx.toggle.prototype={play:function(e,t){this.element.show();if(t){t()}},rewind:function(e,t){this.element.hide();if(t){t()}}};n.fx.toggle.defaults=function(){return{list:[{name:"toggle"}]}};n.fx.slide=function(e){this.element=e;this.animationContainer=n.fx._wrap(e)};n.fx.slide.prototype={play:function(t,x){var e=this.animationContainer;this.element.css("display","block").stop();e.css({display:"block",overflow:"hidden"});var u=this.element.outerWidth();var z=this.element.outerHeight();var y=t.direction=="bottom"?"marginTop":"marginLeft";var v=t.direction=="bottom"?-z:-u;e.css({width:u,height:z});var w={};w[y]=0;this.element.css("width",this.element.width()).each(function(){this.style.cssText=this.style.cssText}).css(y,v).animate(w,{queue:false,duration:t.openDuration,easing:"linear",complete:function(){e.css("overflow","");if(x){x()}}})},rewind:function(u,t){var v=this.animationContainer;this.element.stop();v.css({overflow:"hidden"});var e;switch(u.direction){case"bottom":e={marginTop:-this.element.outerHeight()};break;case"right":e={marginLeft:-this.element.outerWidth()};break}this.element.animate(e,{queue:false,duration:u.closeDuration,easing:"linear",complete:function(){v.css({display:"none",overflow:""});if(t){t()}}})}};n.fx.slide.defaults=function(){return{list:[{name:"slide"}],openDuration:"fast",closeDuration:"fast"}};n.fx.property=function(e){this.element=e};n.fx.property.prototype={_animate:function(w,v,t,e){var x={overflow:"hidden"},y={},u=this.element;i.each(w,function(A,B){var z;switch(B){case"height":case"width":z=u[B]();break;case"opacity":z=1;break;default:z=u.css(B);break}x[B]=t?z:0;y[B]=t?0:z});u.css(x).show().animate(y,{queue:false,duration:v,easing:"linear",complete:function(){if(t){u.hide()}i.each(y,function(z){y[z]=""});u.css(i.extend({overflow:""},y));if(e){e()}}})},play:function(t,e){this._animate(t.properties,t.openDuration,false,e)},rewind:function(t,e){this._animate(t.properties,t.closeDuration,true,e)}};n.fx.property.defaults=function(){return{list:[{name:"property",properties:arguments}],openDuration:"fast",closeDuration:"fast"}};i(document).ready(function(){if(i.browser.msie&&typeof(Sys)!="undefined"&&typeof(Sys.Mvc)!="undefined"&&typeof(Sys.Mvc.FormContext)!="undefined"){var e=function(u,t){return i.grep(u.getElementsByTagName("*"),function(v){return v.name==t})};if(Sys.Mvc.FormContext){Sys.Mvc.FormContext.$F=Sys.Mvc.FormContext._getFormElementsWithName=e}}})})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.datepicker.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.datepicker.min.js deleted file mode 100644 index 31ca2c60a..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.datepicker.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(d){var b=d.telerik;var a=null;b.datetime.parseByToken=function(g,i){if(g===null||g===""){return null}i=i||new b.datetime();var e=null;var m=null;var k=null;var n=0;var f=function(o){var p=null;if(o&&g.substring(n,n+o.length).toLowerCase()==o.toLowerCase()){p=o}return p};var j=function(){var o=null;d.each(["days","abbrDays","months","abbrMonths"],function(q,p){if(o!==null){return}d.each(b.cultureInfo[p],function(s,r){if(o!==null){return}o=f(r)});k=p});return o};var h=function(){var o;var p=function(r,s){i[s?"date":"month"](i[s?"date":"month"]()+(o!=0?((o+((o>0?1:-1)*r))%r):0)+(m?(e==b.cultureInfo.next?1:-1)*r:0))};var q=d.inArray(m||e,b.cultureInfo[k]);if(k.toLowerCase().indexOf("day")>-1){o=(q==0?7:q)-i.day();p(7,true)}else{o=q-i.month();p(12,false)}};var l=function(){var p=function(q){var r;switch(m){case"year":r=q==1?1:0;break;case"month":r=q==2?1:0;break;case"week":r=q==3?7:0;break;case"day":r=q==3?1:0;break}return r};var o=(e==b.cultureInfo.next?1:-1);i.year(i.year()+p(1)*o,i.month()+p(2)*o,i.date()+p(3)*o)};d.each(["today","tomorrow","yesterday","next","last"],function(p,o){if(e!==null){return}e=f(b.cultureInfo[o])});if(e!==null){n+=e.length;if(/[^\s\d]\s+[^\s\d]/i.test(g)){n++;d.each(["year","month","week","day"],function(p,o){if(m!==null){return}m=f(b.cultureInfo[o])});k=null;if(m===null){m=j()}if(m===null){return null}}else{switch(e){case b.cultureInfo.today:break;case b.cultureInfo.tomorrow:i.date(i.date()+1);break;case b.cultureInfo.yesterday:i.date(i.date()-1);break;default:i=null;break}return i}}else{e=j();if(e!=null){h();return i}else{return null}}if(k!==null){h()}else{l()}return i};function c(h,g,f,e){if(g){h=new Date(g)}if(f>h){h=new Date(f)}else{if(e').prependTo(a).height(a.height())}}return a},_getCalendar:function(){return a.data("tCalendar")},_reassignSharedCalendar:function(){var e=this._getCalendar();if(a.data("associatedDateView")!=this){a.stop(true,true);this.focusedValue=c(this.focusedValue,this.selectedValue,this.minValue,this.maxValue);e.minDate=this.minValue;e.maxDate=this.maxValue;e.selectedValue=this.selectedValue;e.goToView(0,this.focusedValue);a.unbind("change").bind("change",d.proxy(function(h){var g=this.selectedValue;var f=new b.datetime(h.date);if(g!==null){f.hours(g.getHours()).minutes(g.getMinutes()).seconds(g.getSeconds()).milliseconds(g.getMilliseconds())}this.onChange(f.toDate())},this)).unbind("navigate").bind("navigate",d.proxy(function(i){var h=this.focusedValue;var f=e.viewedMonth;var g=e.currentView.index;h.setFullYear(f.year(),f.month(),h.getDate());b.calendar.focusDate(h,g,a,i.direction)},this)).data("associatedDateView",this);if(this.selectedValue){e.value(this.selectedValue)}b.calendar.focusDate(this.focusedValue,e.currentView.index,a)}},open:function(e){if(this.isOpened()){return}this._reassignSharedCalendar();var i=this.isRtl;var h=this.$calendar;elementPosition=e.offset;elementPosition.top+=e.outerHeight;if(i){elementPosition.left-=(a.outerWidth()||a.parent().outerWidth())-e.outerWidth}b.fx._wrap(a).css(d.extend({position:"absolute",direction:i?"rtl":"",display:a.is(":visible")?"":"none"},elementPosition));var f=this._getCalendar();var g=f.currentView.index;if(!a.is(":visible")&&f.viewedMonth.value-this.focusedValue!=0){f.goToView(g,this.focusedValue).value(this.selectedValue)}b.calendar.focusDate(this.focusedValue,f.currentView.index,a);b.fx._wrap(h).css("zIndex",e.zIndex).show();b.fx.play(this.effects,h,{direction:"bottom"})},close:function(){if(this.isOpened()){b.fx.rewind(this.effects,this.$calendar,{direction:"bottom"},function(){if(a){b.fx._wrap(a).hide()}})}},isOpened:function(){return a&&a.data("associatedDateView")==this&&a.is(":visible")},value:function(e){if(e===undefined){return this.selectedValue}var g=e===null;var f=this._getCalendar();if(!g){e=e.value?new Date(e.value):e}f.value(e);this.selectedValue=e;if(g){e=new Date()}this.focusedValue=new Date(e);b.calendar.focusDate(e,f.currentView.index,a)},navigate:function(p){if(this.isOpened()&&d(".t-overlay",a).length>0){return}var m;var k=false;var o=this.$calendar;var l=this._getCalendar();var n=l.viewedMonth;var h=l.currentView;var f=h.index;var q=new b.datetime(this.focusedValue);var r=function(e,t,s){if(!d(e,o).hasClass("t-state-disabled")){if("navigateUp"==t){f+=1}m=s||false;l[t]();return true}else{return false}};var g=function(){var e=b.calendar.findTarget(q,f,o,false)[0];l.navigateDown(p,e,f);f=f==0?0:f-1;m=true};var i=function(e,u,s){var t=!s?-1:1;if(!r(e,u,s)){return false}if(f==0){q.addMonth(t)}else{q.addYear(t*(f==1?1:f==2?10:100))}return true};var j=b.datepicker.adjustDate;if(o.is(":visible")&&!p.shiftKey){k=true;switch(p.keyCode){case 37:if(p.ctrlKey){if(!i(".t-nav-prev","navigateToPast")){return}}else{j(f,q,-1,-1);if(h.navCheck(q,n,false)){if(!r(".t-nav-prev","navigateToPast")){return}}}break;case 38:if(p.ctrlKey){r(".t-nav-fast","navigateUp")}else{j(f,q,-7,-4);if(h.navCheck(q,n,false)){if(!r(".t-nav-prev","navigateToPast")){return}}}break;case 39:if(p.ctrlKey){if(!i(".t-nav-next","navigateToFuture",true)){return}}else{j(f,q,1,1);if(h.navCheck(q,n,true)){if(!r(".t-nav-next","navigateToFuture",true)){return}}}break;case 40:if(p.ctrlKey){g()}else{j(f,q,7,4);if(h.navCheck(q,n,true)){if(!r(".t-nav-next","navigateToFuture",true)){return}}}break;case 33:if(!i(".t-nav-prev","navigateToPast")){return}break;case 34:if(!i(".t-nav-next","navigateToFuture",true)){return}break;case 35:q=b.calendar.views[f].firstLastDay(q,false,l);break;case 36:q=b.calendar.views[f].firstLastDay(q,true,l);break;case 13:p.stopPropagation();if(f==0){this.onChange(this.focusedValue)}else{g()}break;default:k=false;break}}if(k){p.preventDefault();q=b.calendar.fitDateToRange(q,new b.datetime(this.minValue),new b.datetime(this.maxValue));b.calendar.focusDate(q.toDate(),f,o,m);this.focusedValue=q.toDate()}}};d.each(["min","max"],d.proxy(function(f,e){b.dateView.prototype[e]=function(h){var g=e+"Value";if(h===undefined){return this[g]}this[g]=new Date(h.value?h.value:h);a.data("associatedDateView",null);this._reassignSharedCalendar()}},this));b.datepicker=function(f,g){d.extend(this,g);if(f.nodeName.toLowerCase()!=="input"&&f.type.toLowerCase()!=="text"){throw"Target element is not a INPUT"}this.element=f;var h=this.$element=d(f).addClass("t-input").attr("autocomplete","off").bind({keydown:d.proxy(this._keydown,this),focus:d.proxy(function(l){if(this.openOnFocus){this._open()}this.$element.removeClass("t-state-error")},this)});if(!h.parent().hasClass("t-picker-wrap")){h.wrap('
    ');if(g.showButton){var k=new b.stringBuilder(),i=g.buttonTitle;d(k.cat('').cat('').string()).insertAfter(h)}}this.dateView=new b.dateView({selectedValue:this.selectedValue,minValue:this.minValue,maxValue:this.maxValue,effects:this.effects,isRtl:h.closest(".t-rtl").length,onChange:d.proxy(function(l){this._update(l);this._close()},this)});this.inputValue=h.val();var e=this.selectedValue||this.inputValue;if(e){this._value(this.parse(e))}var j=this.enabled?d.proxy(this._togglePopup,this):b.preventDefault;this.$wrapper=h.closest(".t-datepicker").find(".t-icon").bind("click",j).end();d(document.documentElement).bind("mousedown",d.proxy(function(n){var l=this.$element.val();if(l!=this.inputValue){this._update(l)}if(!a){return}var m=a.data("associatedDateView");if(!m||m!=this.dateView){return}if(!d.contains(this.$wrapper[0],n.target)&&!d.contains(a[0],n.target)){this._close()}},this));b.bind(this,{open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})};b.datepicker.prototype={_togglePopup:function(){if(this.dateView.isOpened()){this._close()}else{this.element.focus();this._open()}},_close:function(){if(!a.is(":animated")&&this.dateView.isOpened()){this._trigger("close")}},_open:function(){if(!this.dateView.isOpened()){this._trigger("open")}},_trigger:function(e){if(!b.trigger(this.element,e)){this[e]()}},_update:function(g){g=this.parse(g);if(g!=null){if(g-this.minValue<=0){g=this.minValue}else{if(g-this.maxValue>=0){g=this.maxValue}}}var h=this.selectedValue,f=h?b.datetime.format(h,this.format):"",e=g?b.datetime.format(g,this.format):"";if(e!=f){var i={previousValue:h,value:g,previousDate:h,date:g};if(b.trigger(this.element,"valueChange",i)){g=new Date(h)}}this._value(g)},_keydown:function(g){var f=g.keyCode;if(f==9||(f==13&&this.inputValue!=this.$element.val())){this._update(this.$element.val());this._close()}else{if(f==27){this._close()}else{if(g.altKey){if(f==40){this._open()}else{if(f==38){this._close()}}}else{this.dateView.navigate(g)}}}},enable:function(){this.$element.attr("disabled",false);this.$wrapper.removeClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",d.proxy(this._togglePopup,this))},disable:function(f){this.$element.attr("disabled",true);this.$wrapper.addClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",b.preventDefault)},_value:function(e){var g=this.$element.val();var f=e===null;this.selectedValue=e;this.dateView.value(e);if(!f){g=b.datetime.format(e,this.format)}this.inputValue=g;this.$element.toggleClass("t-state-error",f&&g!="").val(g)},value:function(e){if(e===undefined){return this.selectedValue}var f=this.parse(e);f=b.datepicker.isInRange(f,this.minValue,this.maxValue)?f:null;if(f===null){this.$element.removeClass("t-state-error").val("")}this._value(f);return this},showPopup:function(){this.open()},hidePopup:function(){this.close()},open:function(){var e=this.$element;this.dateView.open({offset:e.offset(),outerHeight:e.outerHeight(),outerWidth:e.outerWidth(),zIndex:b.getElementZIndex(e[0])})},close:function(){this.dateView.close()},parse:function(e,g){if(e===null||e.getDate){return e}var f=b.datetime.parse({value:e,format:g||this.format,shortYearCutOff:this.shortYearCutOff});return f!=null?f.toDate():null}};d.each(["min","max"],d.proxy(function(f,e){b.datepicker.prototype[e]=function(g){var i=e+"Value";if(g===undefined){return this[i]}var j=this.parse(g);if(j!==null){var h=this[i];this[i]=j;if(this.minValue>this.maxValue){this[i]=h;return}this.dateView[e](j);if(!b.datepicker.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(j)}}}},this));d.extend(b.datepicker,{adjustDate:function(e,h,g,f){if(e==0){b.datetime.modify(h,b.datetime.msPerDay*g)}else{if(e==1){h.addMonth(f)}else{h.addYear((e==2?f:10*f))}}},isInRange:function(g,e,f){if(!g){return false}return e-g<=0&&f-g>=0}});d.fn.tDatePicker=function(e){return b.create(this,{name:"tDatePicker",init:function(f,g){return new b.datepicker(f,g)},options:e})};d.fn.tDatePicker.defaults={effects:b.fx.slide.defaults(),selectedValue:null,format:b.cultureInfo.shortDate,minValue:new Date(1899,11,31),maxValue:new Date(2100,0,1),shortYearCutOff:30,showButton:true,buttonTitle:"Open the calendar",enabled:true,openOnFocus:false}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.datetimepicker.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.datetimepicker.min.js deleted file mode 100644 index 0ef928f74..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.datetimepicker.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(c){var b=c.telerik;function a(e,f){var d=new b.stringBuilder();return d.cat('').string()}b.datetimepicker=function(f,g){c.extend(this,g);if(f.nodeName.toLowerCase()!=="input"&&f.type.toLowerCase()!=="text"){throw"Target element is not a INPUT"}this.element=f;var h=this.$element=c(f).addClass("t-input").attr("autocomplete","off").bind({keydown:c.proxy(this._keydown,this),focus:c.proxy(function(i){this.$element.removeClass("t-state-error")},this)});if(!h.parent().hasClass("t-picker-wrap")){h.wrap('
    ');if(g.showCalendarButton||g.showTimeButton){c(new b.stringBuilder().cat('').catIf(a("calendar",g.calendarButtonTitle),g.showCalendarButton).cat(a("clock",g.timeButtonTitle),g.showTimeButton).cat("").string()).insertAfter(h)}}this.$wrapper=h.closest(".t-datetimepicker").find(".t-icon-clock").bind("click",this.enabled?c.proxy(this._toggleTimeView,this):b.preventDefault).end().find(".t-icon-calendar").bind("click",this.enabled?c.proxy(this._toggleDateView,this):b.preventDefault).end();this.timeView=new b.timeView({effects:this.effects,dropDownAttr:this.dropDownAttr,format:this.timeFormat,interval:this.interval,isRtl:h.closest(".t-rtl").length,minValue:this.startTimeValue,maxValue:this.endTimeValue,onNavigateWithOpenPopup:c.proxy(function(j){var i=this.parse(j,this.timeFormat);this.$element.val(b.datetime.format(i,this.format))},this),onChange:c.proxy(function(i){this._update(this.parse(i,this.timeFormat));this._close("time")},this)});this.dateView=new b.dateView({selectedValue:this.selectedValue,minValue:this.minValue,maxValue:this.maxValue,effects:this.effects,isRtl:h.closest(".t-rtl").length,onChange:c.proxy(function(i){this._update(i);this._close("date")},this)});this.inputValue=h.val();var d=this.selectedValue||this.inputValue;if(d){var e=this.parse(d);this.dateView.selectedValue=e;this._value(this.parse(d))}c(document.documentElement).bind("mousedown",c.proxy(function(n){var l=this.$element.val();if(l!=this.inputValue){this._update(l)}var i=this.dateView.$calendar;if(!i){return}var m=this.timeView.dropDown.$element;var j=m&&m.parent().length>0;var o=i.data("associatedDateView");var k=n.target;if(c.contains(this.$wrapper[0],k)||(o&&o==this.dateView&&c.contains(i[0],k))||(j&&c.contains(m.parent()[0],k))){return}this._close("date");this._close("time")},this));b.bind(this,{open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})};b.datetimepicker.prototype={_update:function(f){f=this.parse(f);if(f!=null){if(f-this.minValue<=0){f=this.minValue}else{if(f-this.maxValue>=0){f=this.maxValue}}}var g=this.selectedValue,e=g?b.datetime.format(g,this.format):"",d=f?b.datetime.format(f,this.format):"";if(d!=e){var h={previousValue:g,value:f};if(b.trigger(this.element,"valueChange",h)){f=new Date(g)}}this._value(f)},_value:function(d){var h=this.$element.val();var g=d===null;var e=this.dateView;var f=e.$calendar.data("associatedDateView");this.selectedValue=d;this.timeView.value(g?null:b.datetime.format(d,this.timeFormat));if(f&&f==e){e.value(d)}if(!g){h=b.datetime.format(d,this.format)}this.inputValue=h;this.$element.toggleClass("t-state-error",g&&h!="").val(h)},_open:function(d){if(!this[d=="time"?"timeView":"dateView"].isOpened()){this._trigger(d,"open")}},_close:function(f){var d=this.dateView;var e=this.timeView.dropDown;if((f=="time"&&!e.$element.is(":animated")&&e.isOpened())||(!d.$calendar.is(":animated")&&d.isOpened())){this._trigger(f,"close")}},_trigger:function(d,e){if(!b.trigger(this.element,e,{popup:d})){this[e](d)}},_keydown:function(g){var f=g.keyCode,d=this.dateView.isOpened();if(f==9||f==27||(f==13&&this.inputValue!=this.$element.val())){this._update(this.$element.val());this._close("date");this._close("time");return}if(g.altKey){if(f==40){this._close(d?"date":"time");this._open(d?"time":"date")}else{if(f==38){this._close(d?"date":"time")}}return}if(d){this.dateView.navigate(g);return}if(this.timeView.isOpened()&&(f===38||f===40)){this.timeView.navigate(g);return}},_toggleDateView:function(){if(this.dateView.isOpened()){this._close("date")}else{this.element.focus();this._open("date");this._close("time")}},_toggleTimeView:function(){if(this.timeView.isOpened()){this._close("time")}else{this.element.focus();this._open("time");this._close("date")}},enable:function(){this.$element.attr("disabled",false);this.$wrapper.removeClass("t-state-disabled").find(".t-icon-clock").unbind("click").bind("click",c.proxy(this._toggleTimeView,this)).end().find(".t-icon-calendar").unbind("click").bind("click",c.proxy(this._toggleDateView,this))},disable:function(d){this.$element.attr("disabled",true);this.$wrapper.addClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",b.preventDefault)},open:function(e){var f=this.$element;var d={offset:f.offset(),outerHeight:f.outerHeight(),outerWidth:f.outerWidth(),zIndex:b.getElementZIndex(f[0])};this[e=="time"?"timeView":"dateView"].open(d)},close:function(d){this[d=="time"?"timeView":"dateView"].close()},value:function(d){if(d===undefined){return this.selectedValue}var e=this.parse(d);e=b.datepicker.isInRange(e,this.minValue,this.maxValue)?e:null;if(e===null){this.$element.removeClass("t-state-error").val("")}this._value(e);return this},parse:function(d,f){if(d===null||d.getDate){return d}f=f||this.format;var e=b.datetime.parse({AM:b.cultureInfo.AM,PM:b.cultureInfo.PM,value:d,format:f,baseDate:this.selectedValue?new b.datetime(this.selectedValue):new b.datetime()});return e!=null?e.toDate():null}};c.each(["min","max"],c.proxy(function(e,d){b.datetimepicker.prototype[d]=function(f){var h=d+"Value";if(f===undefined){return this[h]}var i=this.parse(f);if(i!==null){var g=this[h];this[h]=i;if(this.minValue>this.maxValue){this[h]=g;return}this.dateView[d](i);if(!b.datepicker.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(i)}}}},this));c.each(["startTime","endTime"],c.proxy(function(e,d){b.datetimepicker.prototype[d]=function(f){var g=d+"Value";if(f===undefined){return this[g]}var h=this.parse(f,b.cultureInfo.shortTime);if(h!==null){this[g]=h;d=="startTime"?this.timeView.min(h):this.timeView.max(h);if(!b.timeView.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(h)}}}},this));c.fn.tDateTimePicker=function(d){c.fn.tDateTimePicker.defaults.timeFormat=b.cultureInfo.shortTime;return b.create(this,{name:"tDateTimePicker",init:function(e,f){return new b.datetimepicker(e,f)},options:d})};c.fn.tDateTimePicker.defaults={effects:b.fx.slide.defaults(),selectedValue:null,format:b.cultureInfo.generalDateShortTime,focusedDate:new b.datetime(),minValue:new Date(1899,11,31),maxValue:new Date(2100,0,1),startTimeValue:new b.datetime().hours(0).minutes(0).seconds(0).toDate(),endTimeValue:new b.datetime().hours(0).minutes(0).seconds(0).toDate(),calendarButtonTitle:"Open the calendar",timeButtonTitle:"Open the time view",showCalendarButton:true,showTimeButton:true,shortYearCutOff:30,enabled:true,interval:30}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.editor.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.editor.min.js deleted file mode 100644 index cbbfbc371..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.editor.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(s){var ar=s.telerik;function G(a2){var a1={};for(var a0=0;a08){g=function(a1){if(a1.nodeType==1&&a1.firstChild){var a0=a1.firstChild,a2=a0;while(a2=a2.nextSibling){if(a2.nodeType==3&&a0.nodeType==3){a2.nodeValue=a0.nodeValue+a2.nodeValue;D.remove(a0)}a0=a2}}}}function p(a0){var a1=0;while(a0=a0.previousSibling){a1++}return a1}function af(a0){return a0&&a0.nodeValue!==null&&a0.data!==null}function k(a0,a1){try{return !af(a0)&&(s.contains(a0,af(a1)?a1.parentNode:a1)||a1.parentNode==a0)}catch(a2){return false}}function z(a1,a0){return k(a1,a0)||a1==a0}function aB(a1,a0){if(k(a1,a0)){while(a0&&a0.parentNode!=a1){a0=a0.parentNode}}return a0}function aG(a0){return af(a0)?a0.length:a0.childNodes.length}function av(a0,a2){var a1=a0.cloneNode(false);a0.deleteData(a2,a0.length);a1.deleteData(0,a2);D.insertAfter(a1,a0)}function B(a1,a2){for(var a3 in a2){var a0=a1[a3];if(a3=="float"){a0=a1[s.support.cssFloat?"cssFloat":"styleFloat"]}if(typeof a0=="object"){if(!B(a0,a2[a3])){return false}}else{if(a0!=a2[a3]){return false}}}return true}var aD=/^\s+$/;var e=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i;var ah=("color,padding-left,padding-right,padding-top,padding-bottom,background-color,background-attachment,background-image,background-position,background-repeat,border-top-style,border-top-width,border-top-color,border-bottom-style,border-bottom-width,border-bottom-color,border-left-style,border-left-width,border-left-color,border-right-style,border-right-width,border-right-color,font-family,font-size,font-style,font-variant,font-weight,line-height").split(",");var D={blockParentOrBody:function(a0){return D.parentOfType(a0,H)||a0.ownerDocument.body},normalize:g,toHex:function(a0){var a1=e.exec(a0);if(!a1){return a0}return"#"+s.map(a1.slice(1),function(a2){return a2=parseInt(a2).toString(16),a2.length>1?a2:"0"+a2}).join("")},encode:function(a0){return a0.replace(/&/g,"&").replace(//g,">").replace(/\u00a0/g," ")},name:function(a0){return a0.nodeName.toLowerCase()},significantChildNodes:function(a0){return s.grep(a0.childNodes,function(a1){return a1.nodeType!=3||!D.isWhitespace(a1)})},lastTextNode:function(a1){if(a1.nodeType==3){return a1}var a0=null;for(var a2=a1.lastChild;a2;a2=a2.previousSibling){if(a0=D.lastTextNode(a2)){return a0}}return a0},is:function(a0,a1){return D.name(a0)==a1},isMarker:function(a0){return a0.className=="t-marker"},isWhitespace:function(a0){return aD.test(a0.nodeValue)},isBlock:function(a0){return N[D.name(a0)]},isEmpty:function(a0){return aL[D.name(a0)]},isInline:function(a0){return aT[D.name(a0)]},scrollTo:function(a0){a0.ownerDocument.body.scrollTop=s(af(a0)?a0.parentNode:a0).offset().top},insertAt:function(a1,a0,a2){a1.insertBefore(a0,a1.childNodes[a2]||null)},insertBefore:function(a0,a1){if(a1.parentNode){return a1.parentNode.insertBefore(a0,a1)}else{return a1}},insertAfter:function(a0,a1){return a1.parentNode.insertBefore(a0,a1.nextSibling)},remove:function(a0){a0.parentNode.removeChild(a0)},trim:function(a1){for(var a0=a1.childNodes.length-1;a0>=0;a0--){var a2=a1.childNodes[a0];if(af(a2)){if(a2.nodeValue.replace(/\ufeff/g,"").length==0){D.remove(a2)}if(D.isWhitespace(a2)){D.insertBefore(a2,a1)}}else{if(a2.className!="t-marker"){D.trim(a2);if(a2.childNodes.length==0&&!D.isEmpty(a2)){D.remove(a2)}}}}return a1},parentOfType:function(a0,a1){do{a0=a0.parentNode}while(a0&&!(D.ofType(a0,a1)));return a0},ofType:function(a0,a1){return s.inArray(D.name(a0),a1)>=0},changeTag:function(a4,a1){var a3=D.create(a4.ownerDocument,a1);var a7=a4.attributes;for(var a2=0;a2")},end:function(){a5.push("")}},b:{start:function(){a5.push("")},end:function(){a5.push("")}},i:{start:function(){a5.push("")},end:function(){a5.push("")}},u:{start:function(){a5.push('')},end:function(){a5.push("")}},font:{start:function(a8){a5.push('')},end:function(a6){a5.push("")}}};function a1(a7){var be=[],bm=a7.attributes,bj=s.trim;if(D.is(a7,"img")){var bp=a7.style.width,bf=a7.style.height,bd=s(a7);if(bp){bd.attr("width",parseInt(bp));D.unstyle(a7,{width:undefined})}if(bf){bd.attr("height",parseInt(bf));D.unstyle(a7,{height:undefined})}}for(var bc=0,bh=bm.length;bcbr.nodeName?1:bq.nodeName=0){a6=D.toHex(a6)}if(a8.indexOf("font-family")>=0){a6=a6.replace(K,"'")}a5.push(a8);a5.push(":");a5.push(a6);a5.push(";")}}}else{if(bo=="src"||bo=="href"){a5.push(a7.getAttribute(bo,2))}else{a5.push(M[bo]?bo:bi)}}a5.push('"')}}function a0(a6,a7){for(var a8=a6.firstChild;a8;a8=a8.nextSibling){a3(a8,a7)}}function a3(a9,ba){var bd=a9.nodeType;if(bd==1){if(a9.attributes._moz_dirty&&D.is(a9,"br")){return}var a7=D.name(a9);var bb=a4[a7];if(bb){bb.start(a9);a0(a9);bb.end(a9);return}a5.push("<");a5.push(a7);a1(a9);if(aL[a7]){a5.push(" />")}else{a5.push(">");a0(a9,ba||D.is(a9,"pre"));a5.push("")}}else{if(bd==3){var a6=a9.nodeValue;if(!ba&&s.support.leadingWhitespace){var bc=a9.parentNode;var a8=(D.isInline(bc)?bc:a9).previousSibling;if(!a8||a8.innerHTML==""||D.isBlock(a8)){a6=a6.replace(/^[\r\n\v\f\t ]+/,"")}a6=a6.replace(/ +/," ")}a5.push(D.encode(a6))}else{if(bd==4){a5.push("")}else{if(bd==8){if(a9.data.indexOf("[CDATA[")<0){a5.push("")}else{a5.push("")}}}}}}a0(a2);return a5.join("")}var v=0,aq=1,a=2,T=3;function q(a1){var a0=a1.startContainer;return a0.nodeType==9?a0:a0.ownerDocument}function E(a0){if(s.browser.msie){return new aw(a0.document)}return a0.getSelection()}function al(a1){var a0=q(a1);return aY(a0)}function aY(a0){return E(az(a0))}function az(a0){return a0.defaultView||a0.parentWindow}function am(a0,a1,a3){function a2(a6){var a4=a0.cloneRange();a4.collapse(a6);a4[a6?"setStartBefore":"setEndAfter"](a1);var a5=a4.extractContents();if(a3){a5=D.trim(a5)}D[a6?"insertBefore":"insertAfter"](a5,a1)}a2(true);a2(false)}function O(a1){var a2=U.image(a1);if(a2){a1.setStartAfter(a2);a1.setEndAfter(a2)}var a0=al(a1);a0.removeAllRanges();a0.addRange(a1)}function L(a0){s.extend(this,{ownerDocument:a0,startContainer:a0,endContainer:a0,commonAncestorContainer:a0,startOffset:0,endOffset:0,collapsed:true})}L.prototype={setStart:function(a0,a1){this.startContainer=a0;this.startOffset=a1;w(this);u(this,true)},setEnd:function(a0,a1){this.endContainer=a0;this.endOffset=a1;w(this);u(this,false)},setStartBefore:function(a0){this.setStart(a0.parentNode,p(a0))},setStartAfter:function(a0){this.setStart(a0.parentNode,p(a0)+1)},setEndBefore:function(a0){this.setEnd(a0.parentNode,p(a0))},setEndAfter:function(a0){this.setEnd(a0.parentNode,p(a0)+1)},selectNode:function(a0){this.setStartBefore(a0);this.setEndAfter(a0)},selectNodeContents:function(a0){this.setStart(a0,0);this.setEnd(a0,a0[a0.nodeType===1?"childNodes":"nodeValue"].length)},collapse:function(a0){if(a0){this.setEnd(this.startContainer,this.startOffset)}else{this.setStart(this.endContainer,this.endOffset)}},deleteContents:function(){var a1=this.cloneRange();if(this.startContainer!=this.commonAncestorContainer){this.setStartAfter(aB(this.commonAncestorContainer,this.startContainer))}this.collapse(true);(function a0(a2){while(a2.next()){a2.hasPartialSubtree()?a0(a2.getSubtreeIterator()):a2.remove()}})(new l(a1))},cloneContents:function(){var a0=q(this);return(function a1(a4){for(var a3,a2=a0.createDocumentFragment();a3=a4.next();){a3=a3.cloneNode(!a4.hasPartialSubtree());if(a4.hasPartialSubtree()){a3.appendChild(a1(a4.getSubtreeIterator()))}a2.appendChild(a3)}return a2})(new l(this))},extractContents:function(){var a1=this.cloneRange();if(this.startContainer!=this.commonAncestorContainer){this.setStartAfter(aB(this.commonAncestorContainer,this.startContainer))}this.collapse(true);var a2=this;var a0=q(this);return(function a3(a6){for(var a5,a4=a0.createDocumentFragment();a5=a6.next();){a6.hasPartialSubtree()?a5=a5.cloneNode(false):a6.remove(a2.originalRange);if(a6.hasPartialSubtree()){a5.appendChild(a3(a6.getSubtreeIterator()))}a4.appendChild(a5)}return a4})(new l(a1))},insertNode:function(a0){if(af(this.startContainer)){if(this.startOffset!=this.startContainer.nodeValue.length){av(this.startContainer,this.startOffset)}D.insertAfter(a0,this.startContainer)}else{D.insertAt(this.startContainer,a0,this.startOffset)}this.setStart(this.startContainer,this.startOffset)},cloneRange:function(){return s.extend(new L(this.ownerDocument),{startContainer:this.startContainer,endContainer:this.endContainer,commonAncestorContainer:this.commonAncestorContainer,startOffset:this.startOffset,endOffset:this.endOffset,collapsed:this.collapsed,originalRange:this})},toString:function(){var a1=this.startContainer.nodeName,a0=this.endContainer.nodeName;return[a1=="#text"?this.startContainer.nodeValue:a1,"(",this.startOffset,") : ",a0=="#text"?this.endContainer.nodeValue:a0,"(",this.endOffset,")"].join("")}};function m(a2,a0,a7,a4){if(a2==a0){return a4-a7}var a6=a0;while(a6&&a6.parentNode!=a2){a6=a6.parentNode}if(a6){return p(a6)-a7}a6=a2;while(a6&&a6.parentNode!=a0){a6=a6.parentNode}if(a6){return a4-p(a6)-1}var a5=D.commonAncestor(a2,a0);var a3=a2;while(a3&&a3.parentNode!=a5){a3=a3.parentNode}if(!a3){a3=a5}var a1=a0;while(a1&&a1.parentNode!=a5){a1=a1.parentNode}if(!a1){a1=a5}if(a3==a1){return 0}return p(a1)-p(a3)}function u(a1,a2){function a0(a4){try{return m(a4.startContainer,a4.endContainer,a4.startOffset,a4.endOffset)<0}catch(a3){return true}}if(a0(a1)){if(a2){a1.commonAncestorContainer=a1.endContainer=a1.startContainer;a1.endOffset=a1.startOffset}else{a1.commonAncestorContainer=a1.startContainer=a1.endContainer;a1.startOffset=a1.endOffset}a1.collapsed=true}}function w(a1){a1.collapsed=a1.startContainer==a1.endContainer&&a1.startOffset==a1.endOffset;var a0=a1.startContainer;while(a0&&a0!=a1.endContainer&&!k(a0,a1.endContainer)){a0=a0.parentNode}a1.commonAncestorContainer=a0}function aP(a0){if(s.browser.msie){return new L(a0)}return a0.createRange()}function l(a1){s.extend(this,{range:a1,_current:null,_next:null,_end:null});if(a1.collapsed){return}var a0=a1.commonAncestorContainer;this._next=a1.startContainer==a0&&!af(a1.startContainer)?a1.startContainer.childNodes[a1.startOffset]:aB(a0,a1.startContainer);this._end=a1.endContainer==a0&&!af(a1.endContainer)?a1.endContainer.childNodes[a1.endOffset]:aB(a0,a1.endContainer).nextSibling}l.prototype={hasNext:function(){return !!this._next},next:function(){var a0=this._current=this._next;this._next=this._current&&this._current.nextSibling!=this._end?this._current.nextSibling:null;if(af(this._current)){if(this.range.endContainer==this._current){(a0=a0.cloneNode(true)).deleteData(this.range.endOffset,a0.length-this.range.endOffset)}if(this.range.startContainer==this._current){(a0=a0.cloneNode(true)).deleteData(0,this.range.startOffset)}}return a0},traverse:function(a1){function a0(){this._current=this._next;this._next=this._current&&this._current.nextSibling!=this._end?this._current.nextSibling:null;return this._current}var a2;while(a2=a0.call(this)){if(this.hasPartialSubtree()){this.getSubtreeIterator().traverse(a1)}else{a1(a2)}}return a2},remove:function(a5){var a4=this.range.startContainer==this._current;var a2=this.range.endContainer==this._current;if(af(this._current)&&(a4||a2)){var a1=a4?this.range.startOffset:0;var a0=a2?this.range.endOffset:this._current.length;var a7=a0-a1;if(a5&&(a4||a2)){if(this._current==a5.startContainer&&a1<=a5.startOffset){a5.startOffset-=a7}if(this._current==a5.endContainer&&a0<=a5.endOffset){a5.endOffset-=a7}}this._current.deleteData(a1,a7)}else{var a6=this._current.parentNode;if(a5&&(this.range.startContainer==a6||this.range.endContainer==a6)){var a3=p(this._current);if(a6==a5.startContainer&&a3<=a5.startOffset){a5.startOffset-=1}if(a6==a5.endContainer&&a30&&a3.previousSibling);a6.setEndPoint(a0?"EndToStart":"EndToEnd",a5);var a4=a3.nextSibling;if(!a4){a4=a3.previousSibling;if(a4&&af(a4)){a1.setEnd(a4,a4.nodeValue.length);D.remove(a3)}else{a1.selectNodeContents(a2);D.remove(a3);a1.endOffset-=1}return}D.remove(a3);if(af(a4)){a1[a0?"setStart":"setEnd"](a4,a6.text.length)}else{a1[a0?"setStartBefore":"setEndBefore"](a4)}}function aj(a0){this.enumerate=function(){var a2=[];function a1(a3){if(D.is(a3,"img")||(a3.nodeType==3&&!D.isWhitespace(a3))){a2.push(a3)}else{a3=a3.firstChild;while(a3){a1(a3);a3=a3.nextSibling}}}new l(a0).traverse(a1);return a2}}function j(a0){return new aj(a0).enumerate()}function Z(a4){var a0=[];for(var a1=0,a3=a4.length;a1'}a2.selectNodeContents(a6)}}a2.collapse(true)};this.add=function(a1,a3){if(a3&&a1.collapsed){this.addCaret(a1);a1=U.expand(a1)}var a2=a1.cloneRange();a2.collapse(false);this.end=D.create(q(a1),"span",{className:"t-marker"});a2.insertNode(this.end);a2=a1.cloneRange();a2.collapse(true);this.start=this.end.cloneNode(true);a2.insertNode(this.start);a1.setStartBefore(this.start);a1.setEndAfter(this.end);g(a1.commonAncestorContainer);return a1};this.remove=function(a8){var a1=this.start,bd=this.end;g(a8.commonAncestorContainer);while(!a1.nextSibling&&a1.parentNode){a1=a1.parentNode}while(!bd.previousSibling&&bd.parentNode){bd=bd.parentNode}var a3=(a1.previousSibling&&a1.previousSibling.nodeType==3)&&(a1.nextSibling&&a1.nextSibling.nodeType==3);var a9=(bd.previousSibling&&bd.previousSibling.nodeType==3)&&(bd.nextSibling&&bd.nextSibling.nodeType==3);a1=a1.nextSibling;bd=bd.previousSibling;var bc=false;var a6=false;if(a1==this.end){a6=!!this.start.previousSibling;a1=bd=this.start.previousSibling||this.end.nextSibling;bc=true}D.remove(this.start);D.remove(this.end);if(a1==null||bd==null){a8.selectNodeContents(a8.commonAncestorContainer);a8.collapse(true);return}var bb=bc?af(a1)?a1.nodeValue.length:a1.childNodes.length:0;var a4=af(bd)?bd.nodeValue.length:bd.childNodes.length;if(a1.nodeType==3){while(a1.previousSibling&&a1.previousSibling.nodeType==3){a1=a1.previousSibling;bb+=a1.nodeValue.length}}if(bd.nodeType==3){while(bd.previousSibling&&bd.previousSibling.nodeType==3){bd=bd.previousSibling;a4+=bd.nodeValue.length}}var a7=p(a1),ba=a1.parentNode;var a5=p(bd),a2=bd.parentNode;for(var bf=a1;bf.previousSibling;bf=bf.previousSibling){if(bf.nodeType==3&&bf.previousSibling.nodeType==3){a7--}}for(var be=bd;be.previousSibling;be=be.previousSibling){if(be.nodeType==3&&be.previousSibling.nodeType==3){a5--}}g(ba);if(a1.nodeType==3){a1=ba.childNodes[a7]}g(a2);if(bd.nodeType==3){bd=a2.childNodes[a5]}if(bc){if(a1.nodeType==3){a8.setStart(a1,bb)}else{a8[a6?"setStartAfter":"setStartBefore"](a1)}a8.collapse(true)}else{if(a1.nodeType==3){a8.setStart(a1,bb)}else{a8.setStartBefore(a1)}if(bd.nodeType==3){a8.setEnd(bd,a4)}else{a8.setEndAfter(bd)}}if(a0){this.removeCaret(a8)}}}var at=/[\u0009-\u000d]|\u0020|\u00a0|\ufeff|\.|,|;|:|!|\(|\)|\?/;var U={nodes:function(a1){var a0=j(a1);if(!a0.length){a1.selectNodeContents(a1.commonAncestorContainer);a0=j(a1);if(!a0.length){a0=D.significantChildNodes(a1.commonAncestorContainer)}}return a0},image:function(a1){var a0=[];new l(a1).traverse(function(a2){if(D.is(a2,"img")){a0.push(a2)}});if(a0.length==1){return a0[0]}},expand:function(a1){var a2=a1.cloneRange();var a5=a2.startContainer.childNodes[a2.startOffset==0?0:a2.startOffset-1];var a6=a2.endContainer.childNodes[a2.endOffset];if(!af(a5)||!af(a6)){return a2}var a3=a5.nodeValue;var a4=a6.nodeValue;if(a3==""||a4==""){return a2}var a0=a3.split("").reverse().join("").search(at);var a7=a4.search(at);if(a0==0||a7==0){return a2}a7=a7==-1?a4.length:a7;a0=a0==-1?0:a3.length-a0;a2.setStart(a5,a0);a2.setEnd(a6,a7);return a2},isExpandable:function(a1){var a6=a1.startContainer;var a5=q(a1);if(a6==a5||a6==a5.body){return false}var a2=a1.cloneRange();var a0=a6.nodeValue;if(!a0){return false}var a3=a0.substring(0,a2.startOffset);var a4=a0.substring(a2.startOffset);var a7=0,a8=0;if(a3!=""){a7=a3.split("").reverse().join("").search(at)}if(a4!=""){a8=a4.search(at)}return a7!=0&&a8!=0}};function c(a1){var a2=new an(a1.range);var a0=new ac();this.formatter=a1.formatter;this.getRange=function(){return a2.toRange()};this.lockRange=function(a3){return a0.add(this.getRange(),a3)};this.releaseRange=function(a3){a0.remove(a3);O(a3)};this.undo=function(){a2.body.innerHTML=a2.html;O(a2.toRange())};this.redo=function(){this.exec()};this.exec=function(){var a3=this.lockRange(true);this.formatter.editor=this.editor;this.formatter.toggle(a3);this.releaseRange(a3)}}function aV(a2,a1){var a0=a2.body;this.redo=function(){a0.innerHTML=a1.html;O(a1.toRange())};this.undo=function(){a0.innerHTML=a2.html;O(a2.toRange())}}function t(a0){c.call(this,a0);this.managesUndoRedo=true;this.exec=function(){var a2=this.editor;var a1=a2.getRange();var a3=new an(a1);a2.clipboard.paste(a0.value||"");a2.undoRedoStack.push(new aV(a3,new an(a2.getRange())));a2.focus()}}function x(){X.call(this);this.command=function(a0){return new t(a0)};this.update=function(a0,a1){a0.data("tSelectBox").close()};this.init=function(a2,a0){var a1=a0.editor;a2.tSelectBox({data:a1.insertHtml,onItemCreate:function(a3){a3.html=''+a3.dataItem.Text+""},onChange:function(a3){X.exec(a1,"insertHtml",a3.value)},highlightFirst:false}).find(".t-input").html(a1.localization.insertHtml)}}function R(){var a1=[],a0=-1;this.push=function(a2){a1=a1.slice(0,a0+1);a0=a1.push(a2)-1};this.undo=function(){if(this.canUndo()){a1[a0--].undo()}};this.redo=function(){if(this.canRedo()){a1[++a0].redo()}};this.canUndo=function(){return a0>=0};this.canRedo=function(){return a0!=a1.length-1}}function aQ(a0){this.keydown=function(a4){var a3=a0.keyboard;var a1=a3.isTypingKey(a4);if(a1&&!a3.typingInProgress()){var a2=a0.getRange();this.startRestorePoint=new an(a2);a3.startTyping(s.proxy(function(){a0.selectionRestorePoint=this.endRestorePoint=new an(a0.getRange());a0.undoRedoStack.push(new aV(this.startRestorePoint,this.endRestorePoint))},this));return true}return false};this.keyup=function(a1){var a2=a0.keyboard;if(a2.typingInProgress()){a2.endTyping();return true}return false}}function A(a1){var a0=false;this.createUndoCommand=function(){this.endRestorePoint=new an(a1.getRange());a1.undoRedoStack.push(new aV(this.startRestorePoint,this.endRestorePoint));this.startRestorePoint=this.endRestorePoint};this.changed=function(){if(this.startRestorePoint){return this.startRestorePoint.html!=a1.body.innerHTML}return false};this.keydown=function(a2){var a3=a1.keyboard;if(a3.isModifierKey(a2)){if(a3.typingInProgress()){a3.endTyping(true)}this.startRestorePoint=new an(a1.getRange());return true}if(a3.isSystem(a2)){a0=true;if(this.changed()){a0=false;this.createUndoCommand()}return true}return false};this.keyup=function(a2){if(a0&&this.changed()){a0=false;this.createUndoCommand(a2);return true}return false}}function aH(a1){var a3=false;var a6;var a2;function a0(a7){return(a7>=48&&a7<=90)||(a7>=96&&a7<=111)||(a7>=186&&a7<=192)||(a7>=219&&a7<=222)}this.toolFromShortcut=function(a9,bb){var a8=String.fromCharCode(bb.keyCode);for(var ba in a9){var a7=a9[ba];if((a7.key==a8||a7.key==bb.keyCode)&&!!a7.ctrl==bb.ctrlKey&&!!a7.alt==bb.altKey&&!!a7.shift==bb.shiftKey){return ba}}};this.isTypingKey=function(a8){var a7=a8.keyCode;return(a0(a7)&&!a8.ctrlKey&&!a8.altKey)||a7==32||a7==13||a7==8||(a7==46&&!a8.shiftKey&&!a8.ctrlKey&&!a8.altKey)};this.isModifierKey=function(a8){var a7=a8.keyCode;return(a7==17&&!a8.shiftKey&&!a8.altKey)||(a7==16&&!a8.ctrlKey&&!a8.altKey)||(a7==18&&!a8.ctrlKey&&!a8.shiftKey)};this.isSystem=function(a7){return a7.keyCode==46&&a7.ctrlKey&&!a7.altKey&&!a7.shiftKey};this.startTyping=function(a7){a2=a7;a3=true};function a4(){a3=false;a2()}this.endTyping=function(a7){this.clearTimeout();if(a7){a4()}else{a6=window.setTimeout(a4,1000)}};this.typingInProgress=function(){return a3};this.clearTimeout=function(){window.clearTimeout(a6)};function a5(a9,a8){for(var a7=0;a7$/g,"li>");var a6=a0(a9);var a8=a4.getRange();a8.deleteContents();if(a8.startContainer==a4.document){a8.selectNodeContents(a4.body)}var ba=new ac();var bd=ba.addCaret(a8);var bc=a2(a6,bd);var bb=false;if(!/body|td/.test(D.name(bc))&&(a6||D.isInline(bc))){a8.selectNode(bd);am(a8,bc,true);bb=true}var be=a1(a9);a8.insertNode(be);bc=a2(a6,bd);if(bb){while(bd.parentNode!=bc){D.unwrap(bd.parentNode)}D.unwrap(bd.parentNode)}g(a8.commonAncestorContainer);bd.style.display="inline";D.scrollTo(bd);ba.removeCaret(a8);O(a8)}}function f(){var a0=[//g,"",/mso-[^;"]*;?/ig,"",/<\/?(meta|link|style|o:|v:)[^>]*>((?:.|\n)*?<\/(meta|link|style|o:|v:)[^>]*>)?/ig,""];this.applicable=function(a3){return/class="?Mso|style="[^"]*mso-/i.test(a3)};function a1(a3){if(/^[\u2022\u00b7\u00a7\u00d8o\-]\u00a0+/.test(a3)){return"ul"}if(/^\s*\w+[\.\)]\u00a0{2,}/.test(a3)){return"ol"}}function a2(bg){var a8=D.create(document,"div",{innerHTML:bg});var bf=s(H.join(","),a8);var ba=-1,a5,be={ul:{},ol:{}},a3=a8;for(var bb=0;bb]*>/g,"").replace(/ /g,"\u00a0");var a9=a1(bg);if(!a9||D.name(a6)!="p"){if(a6.innerHTML==""){D.remove(a6)}else{be={ul:{},ol:{}};a3=a8;ba=-1}continue}var bc=parseFloat(a6.style.marginLeft||0);var bd=be[a9][bc];if(bc>ba||!bd){bd=D.create(document,a9);if(a3==a8){D.insertBefore(bd,a6)}else{a3.appendChild(bd)}be[a9][bc]=bd}if(a5!=a9){for(var a7 in be){for(var a4 in be[a7]){if(s.contains(bd,be[a7][a4])){delete be[a7][a4]}}}}D.remove(a6.firstChild);a3=D.create(document,"li",{innerHTML:a6.innerHTML});bd.appendChild(a3);D.remove(a6);ba=bc;a5=a9}return a8.innerHTML}this.clean=function(a4){for(var a3=0,a5=a0.length;a3]*"?/ig,"");return a4}}function i(a0){function a1(a4){var a2=0;for(var a3=a4.parentNode.firstChild;a3;a3=a3.nextSibling){if(a3!=a4&&a3.className!="t-marker"&&a3.nodeType==1){a2++}}return a2}this.findSuitable=function(a3,a2){if(!a2&&a1(a3)>0){return null}return D.parentOfType(a3,a0[0].tags)};this.findFormat=function(a6){for(var a2=0;a20){this.activate(a6,a5)}};this.apply=function(a8){var a7=[];for(var a5=0,a6=a8.length;a50){for(var a5=0,a8=a9.length;a51){var a5=a7.pop();var a6=a7[a7.length-1];if(a5.previousSibling&&a5.previousSibling.className=="t-marker"){a6.appendChild(a5.previousSibling)}if(a5.previousSibling==a6&&a5.style.cssText==a6.style.cssText){while(a5.firstChild){a6.appendChild(a5.firstChild)}D.remove(a5)}}}}function aZ(a1,a0){i.call(this,a1);function a2(a6){var bh=a6.attributes,be=s.trim;if(!bh){return}for(var a5=0,bc=bh.length;a5=0?D.toHex(a4):a4}}}}return}function a3(a8){var a9=s(af(a8)?a8.parentNode:a8);var a7=a9.parents().andSelf();for(var a5=0,a6=a7.length;a5'+a8.dataItem.Text+""}}}function aX(a2){X.call(this,a2);var a1=[{tags:["span"]}],a0=new aZ(a1,a2.cssAttr);this.update=function(a3){a3.data("tColorPicker").close()};this.command=function(a3){return new aI(s.extend(a3,{formatter:function(){var a4={};a4[a2.domAttr]=a3.value;return new F(a1,{style:a4},a2.cssAttr)}}))};this.willDelayExecution=ad;this.init=function(a5,a3){var a4=a3.editor;a5.tColorPicker({selectedColor:"#000000",onChange:function(a6){X.exec(a4,a2.name,a6.value)}})}}function ab(){X.call(this);var a1=[{tags:["span"]}],a0=new aZ(a1,"className");this.command=function(a2){return new aI(s.extend(a2,{formatter:function(){return new F(a1,{className:a2.value})}}))};this.update=function(a2,a4){var a3=a2.data("tSelectBox");a3.close();a3.value(a0.getFormat(a4))};this.init=function(a4,a2){var a3=a2.editor;a4.tSelectBox({data:a3.style,title:a3.localization.style,onItemCreate:function(a5){var a6=D.inlineStyle(a3.document,"span",{className:a5.dataItem.Value});a5.html=''+a5.html+""},onChange:function(a5){X.exec(a3,"style",a5.value)}})}}function y(a1){function a0(a4,a5){for(var a2=0;a2'+a5.dataItem.Text+""},onChange:function(a4){X.exec(a2,"formatBlock",a4.value)},highlightFirst:false})}}function aR(a0){c.call(this,a0);this.exec=function(){var a3=this.getRange(),bd=q(a3),a6,bb=s.browser.msie?"":'
    ';var a5="p,h1,h2,h3,h4,h5,h6".split(","),be=D.parentOfType(a3.startContainer,a5),a1=D.parentOfType(a3.endContainer,a5),a2=(be&&!a1)||(!be&&a1);a3.deleteContents();var bc=D.create(bd,"a");a3.insertNode(bc);g(bc.parentNode);var a4=D.parentOfType(bc,["li"]),bf=D.parentOfType(bc,"h1,h2,h3,h4,h5,h6".split(","));if(a4){var a8=a3.cloneRange();a8.selectNode(a4);if(j(a8).length==0){var bg=D.create(bd,"p");if(a4.nextSibling){am(a8,a4.parentNode)}D.insertAfter(bg,a4.parentNode);D.remove(a4.parentNode.childNodes.length==1?a4.parentNode:a4);bg.innerHTML=bb;a6=bg}}else{if(bf&&!bc.nextSibling){var bg=D.create(bd,"p");D.insertAfter(bg,bf);bg.innerHTML=bb;D.remove(bc);a6=bg}}if(!a6){if(!(a4||bf)){new W([{tags:["p"]}]).apply([bc])}a3.selectNode(bc);var a7=D.parentOfType(bc,[a4?"li":bf?D.name(bf):"p"]);am(a3,a7,a2);var a9=a7.previousSibling;if(D.is(a9,"li")&&a9.firstChild&&!D.is(a9.firstChild,"br")){a9=a9.firstChild}a6=a7.nextSibling;if(D.is(a6,"li")&&a6.firstChild&&!D.is(a6.firstChild,"br")){a6=a6.firstChild}D.remove(a7);function ba(bh){if(bh.firstChild&&D.is(bh.firstChild,"br")){D.remove(bh.firstChild)}if(af(bh)&&bh.nodeValue==""){bh=bh.parentNode}if(bh&&!D.is(bh,"img")&&bh.innerHTML==""){bh.innerHTML=bb}}ba(a9);ba(a6);g(a9)}g(a6);if(!D.is(a6,"img")){a3.selectNodeContents(a6)}else{a3.setStartBefore(a6)}a3.collapse(true);D.scrollTo(a6);O(a3)}}function d(a0){c.call(this,a0);this.exec=function(){var a2=this.getRange();a2.deleteContents();var a1=D.create(q(a2),"br");a2.insertNode(a1);g(a1.parentNode);if(!s.browser.msie&&(!a1.nextSibling||D.isWhitespace(a1.nextSibling))){var a3=a1.cloneNode(true);a3.setAttribute("_moz_dirty","");D.insertAfter(a3,a1)}a2.setStartAfter(a1);a2.collapse(true);O(a2)}}function ap(a1){var a0=[a1=="ul"?"ol":"ul",a1];y.call(this,[{tags:a0}]);this.isFormatted=function(a5){var a2=[],a3;for(var a4=0;a41){D.insertAfter(a3[a3.length-1],a4);D.insertAfter(a3[1],a4);D[a2.length>0?"insertBefore":"insertAfter"](a3[0],a4)}}else{var a5=new b([{tags:["a"]}],a6);a5.finder=this.finder;a5.apply(a2)}}}function ao(a0){a0.formatter={toggle:function(a1){new b([{tags:["a"]}]).remove(j(a1))}};c.call(this,a0)}function aa(a1){c.call(this,a1);var a0;this.async=true;var a2=new aW();this.exec=function(){var a7=this.getRange();var a5=a7.collapsed;a7=this.lockRange(true);var ba=j(a7);var a9=null;var a4=this;function bb(bh){var bg=s("#t-editor-link-url",a8.element).val();if(bg&&bg!="http://"){a0={href:bg};var bd=s("#t-editor-link-title",a8.element).val();if(bd){a0.title=bd}var be=s("#t-editor-link-text",a8.element).val();if(be!==a9){a0.innerHTML=be}var bf=s("#t-editor-link-target",a8.element).is(":checked");if(bf){a0.target="_blank"}a2.apply(a7,a0)}a6(bh);if(a4.change){a4.change()}}function a6(bd){bd.preventDefault();a8.destroy();az(q(a7)).focus();a4.releaseRange(a7)}var bc=ba.length?a2.finder.findSuitable(ba[0]):null;var a3=ba.length<=1||(ba.length==2&&a5);var a8=ar.window.create(s.extend({},this.editor.dialogOptions,{title:"Insert link",html:new s.telerik.stringBuilder().cat('
    ').cat("
      ").cat('
    1. ').catIf('
    2. ',a3).cat('
    3. ').cat('
    4. ').cat("
    ").cat('
    ').cat('').cat(" or ").cat('Close').cat("
    ").cat("
    ").string(),onClose:a6})).hide().find(".t-dialog-insert").click(bb).end().find(".t-dialog-close").click(a6).end().find(".t-form-text-row input").keydown(function(bd){if(bd.keyCode==13){bb(bd)}else{if(bd.keyCode==27){a6(bd)}}}).end().find("#t-editor-link-url").val(bc?bc.getAttribute("href",2):"http://").end().find("#t-editor-link-text").val(ba.length>0?(ba.length==1?ba[0].nodeValue:ba[0].nodeValue+ba[1].nodeValue):"").end().find("#t-editor-link-title").val(bc?bc.title:"").end().find("#t-editor-link-target").attr("checked",bc?bc.target=="_blank":false).end().show().data("tWindow").center();if(a3&&ba.length>0){a9=s("#t-editor-link-text",a8.element).val()}s("#t-editor-link-url",a8.element).focus().select()},this.redo=function(){var a3=this.lockRange(true);a2.apply(a3,a0);this.releaseRange(a3)}}function aS(a1){X.call(this,s.extend(a1,{command:ao}));var a0=new i([{tags:["a"]}]);this.init=function(a2){a2.attr("unselectable","on").addClass("t-state-disabled")};this.update=function(a2,a3){a2.toggleClass("t-state-disabled",!a0.isFormatted(a3)).removeClass("t-state-hover")}}function aN(a1){c.call(this,a1);this.async=true;var a0;function a2(a3,a4){if(a0.src&&a0.src!="http://"){if(!a3){a3=D.create(q(a4),"img",a0);a3.onload=a3.onerror=function(){a3.removeAttribute("complete");a3.removeAttribute("width");a3.removeAttribute("height")};a4.deleteContents();a4.insertNode(a3);a4.setStartAfter(a3);a4.setEndAfter(a3);O(a4);return true}else{D.attr(a3,a0)}}return false}this.redo=function(){var a3=this.lockRange();if(!a2(U.image(a3),a3)){this.releaseRange(a3)}};this.exec=function(){var a6=this.lockRange();var a3=false;var a9=U.image(a6);var a4=this;function ba(bd){a0={src:s("#t-editor-image-url",a7.element).val(),alt:s("#t-editor-image-title",a7.element).val()};a3=a2(a9,a6);a5(bd);if(a4.change){a4.change()}}function a5(bd){bd.preventDefault();a7.destroy();az(q(a6)).focus();if(!a3){a4.releaseRange(a6)}}var a8=this.editor.fileBrowser;var bb=a8&&a8.selectUrl!==undefined;function bc(){if(bb){new ar.imageBrowser(s(this).find(".t-image-browser"),s.extend(a8,{apply:ba,element:a4.editor.element,localization:a4.editor.localization}))}}var a7=ar.window.create(s.extend({width:750},this.editor.dialogOptions,{title:"Insert image",html:new s.telerik.stringBuilder().cat('
    ').catIf('
    ',bb).cat("
      ").cat('
    1. ').cat('
    2. ').cat("
    ").cat('
    ').cat('').cat(" or ").cat('Close').cat("
    ").cat("
    ").string(),onClose:a5,onActivate:bc})).hide().find(".t-dialog-insert").click(ba).end().find(".t-dialog-close").click(a5).end().find(".t-form-text-row input").keydown(function(bd){if(bd.keyCode==13){ba(bd)}else{if(bd.keyCode==27){a5(bd)}}}).end().toggleClass("t-imagebrowser",bb).find("#t-editor-image-url").val(a9?a9.getAttribute("src",2):"http://").end().find("#t-editor-image-title").val(a9?a9.alt:"").end().show().data("tWindow").center();s("#t-editor-image-url",a7.element).focus().select()}}ar.selectbox=function(a0,a1){var a8;var a2=s(a0);var a4=a2.find(".t-input");var a5=this.dropDown=new ar.dropDown({effects:ar.fx.slide.defaults(),onItemCreate:a1.onItemCreate,onClick:function(a9){a7(a1.data[s(a9.item).index()].Value);a1.onChange({value:a8})}});function a3(){if(!a5.$items){a5.dataBind(a1.data)}}function a6(a9){a4.html(a9?a9:" ")}function a7(bb){a3();var ba=-1;for(var a9=0,bc=a1.data.length;a90?"rtl":"");s(document.documentElement).bind("mousedown",s.proxy(function(bb){var a9=a5.$element;var ba=a9&&a9.parent().length>0;if(ba&&!s.contains(a0,bb.target)&&!s.contains(a9.parent()[0],bb.target)){a5.close()}},this))};s.fn.tSelectBox=function(a0){return ar.create(this,{name:"tSelectBox",init:function(a1,a2){return new ar.selectbox(a1,a2)},options:a0})};s.fn.tSelectBox.defaults={effects:ar.fx.slide.defaults()};ar.colorpicker=function(a0,a1){this.element=a0;var a2=s(a0);s.extend(this,a1);a2.bind("click",s.proxy(this.click,this)).find("*").attr("unselectable","on");if(this.selectedColor){a2.find(".t-selected-color").css("background-color",this.selectedColor)}s(a0.ownerDocument.documentElement).bind("mousedown",s.proxy(function(a3){if(!s(a3.target).closest(".t-colorpicker-popup").length){this.close()}},this));ar.bind(this,{change:this.onChange,load:this.onLoad})};ar.colorpicker.prototype={select:function(a0){if(a0){a0=D.toHex(a0);if(!ar.trigger(this.element,"change",{value:a0})){this.value(a0);this.close()}}else{ar.trigger(this.element,"change",{value:this.selectedColor})}},open:function(){var a0=this.popup();var a3=s(this.element);var a2=a3.offset();a2.top+=a3.outerHeight();if(a3.closest(".t-rtl").length){a2.left-=a0.outerWidth()-a3.outerWidth()}var a1="auto";a3.parents().andSelf().each(function(){a1=s(this).css("zIndex");if(Number(a1)){a1=Number(a1)+1;return false}});ar.fx._wrap(a0).css(s.extend({position:"absolute",zIndex:a1},a2));a0.find(".t-item").bind("click",s.proxy(function(a5){var a4=s(a5.target,a5.target.ownerDocument).css("background-color");this.select(a4)},this));ar.fx.play(this.effects,a0,{direction:"bottom"})},close:function(){if(!this.$popup){return}ar.fx.rewind(this.effects,this.$popup,{direction:"bottom"},s.proxy(function(){D.remove(this.$popup[0].parentNode);this.$popup=null},this))},toggle:function(){if(!this.$popup||!this.$popup.is(":visible")){this.open()}else{this.close()}},click:function(a0){if(s(a0.target).closest(".t-tool-icon").length>0){this.select()}else{this.toggle()}},value:function(a0){if(!a0){return this.selectedColor}a0=D.toHex(a0);this.selectedColor=a0;s(".t-selected-color",this.element).css("background-color",a0)},popup:function(){if(!this.$popup){this.$popup=s(ar.colorpicker.buildPopup(this)).hide().appendTo(document.body).find("*").attr("unselectable","on").end()}return this.$popup}};s.extend(ar.colorpicker,{buildPopup:function(a0){var a3=new ar.stringBuilder();a3.cat('
    ').cat('
      ');var a5=a0.data;var a2=(a0.value()||"").substring(1);for(var a1=0,a4=a5.length;a1')}a3.cat("
    ");return a3.string()}});s.fn.tColorPicker=function(a0){return ar.create(this,{name:"tColorPicker",init:function(a1,a2){return new ar.colorpicker(a1,a2)},options:a0})};s.fn.tColorPicker.defaults={data:"000000,7f7f7f,880015,ed1c24,ff7f27,fff200,22b14c,00a2e8,3f48cc,a349a4,ffffff,c3c3c3,b97a57,ffaec9,ffc90e,efe4b0,b5e61d,99d9ea,7092be,c8bfe7".split(","),selectedColor:null,effects:ar.fx.slide.defaults()};function aU(){var a1=new y([{tags:H}]);function a0(a2){return a2.style.marginLeft||0}this.apply=function(a7){var a5=a1.findSuitable(a7);if(a5.length){var a4=[];for(var a3=0;a3ul")[0];if(!ba){ba=D.create(a8.ownerDocument,D.name(bb));a6.append(ba)}while(a8&&a8.parentNode==bb){ba.appendChild(a8);a8=a4.shift()}}else{var a2=parseInt(a0(a8))+30;D.style(a8,{marginLeft:a2})}}}else{var a9=new W([{tags:H}],{style:{marginLeft:30}});a9.apply(a7)}};this.remove=function(a4){var a6=a1.findSuitable(a4);for(var a2=0;a21)||(D.ofType(a3[a2],["ul","ol"])&&a6>0)}if(a4){a1.removeClass("t-state-disabled");return}}a1.addClass("t-state-disabled").removeClass("t-state-hover")}}function aE(a0){this.editor=a0;this.formats=[]}aE.prototype={apply:function(a4){if(!this.hasPending()){return}var a3=new ac();a3.addCaret(a4);var a0=a4.startContainer.childNodes[a4.startOffset];var a6=a0.previousSibling;if(!a6.nodeValue){a6=a6.previousSibling}a4.setStart(a6,a6.nodeValue.length-1);a3.add(a4);if(j(a4).length==0){a3.remove(a4);a4.collapse(true);this.editor.selectRange(a4);return}var a2=a3.end.previousSibling.previousSibling;var a8,a5=this.formats;for(var a1=0;a10},isPending:function(a0){return !!this.getPending(a0)},getPending:function(a1){var a2=this.formats;for(var a0=0;a0",{src:'javascript:""',frameBorder:"0",className:"t-content"}).css("display","").insertBefore(a0)[0];var a1=a4.contentWindow||a4;var a3=a1.document||a4.contentDocument;var a2=a0.val().replace(/(<\/?img[^>]*>)[\r\n\v\f\t ]+/ig,"$1");if(!a2.length&&s.browser.mozilla){a2='
    '}a3.designMode="On";a3.open();a3.write(new ar.stringBuilder().cat("").cat('').cat('").cat(s.map(a5,function(a6){return[''].join("")}).join("")).cat('').cat(a2).cat("").string());a3.close();return a1}function V(a0){ar.trigger(a0.element,"selectionChange")}ar.editor=function(a0,a1){if(/Mobile.*Safari/.test(navigator.userAgent)){return}var a2=this;this.element=a0;var a3=s(a0);a3.closest("form").bind("submit",function(){a2.update()});s.extend(this,a1);ar.bind(this,{load:this.onLoad,selectionChange:this.onSelectionChange,change:this.onChange,execute:this.onExecute,error:this.onError});for(var a6 in this.tools){this.tools[a6].name=a6.toLowerCase()}this.textarea=a3.find("textarea").attr("autocomplete","off")[0];this.window=ax(s(this.textarea),this.stylesheets);this.document=this.window.contentDocument||this.window.document;this.body=this.document.body;this.keyboard=new aH([new aQ(this),new A(this)]);this.clipboard=new aA(this);this.pendingFormats=new aE(this);this.undoRedoStack=new R();function bb(bc){var bd=s.grep(bc.className.split(" "),function(be){return !/^t-(widget|tool-icon|state-hover|header|combobox|dropdown|selectbox|colorpicker)$/i.test(be)});return bd[0]?bd[0].substring(2):"custom"}function a7(bd,bc){if(!bc.key){return bd}return new ar.stringBuilder().cat(bd).cat(" (").catIf("Ctrl + ",bc.ctrl).catIf("Shift + ",bc.shift).catIf("Alt + ",bc.alt).cat(bc.key).cat(")").string()}s(this.window).bind("blur",function(){var bc=a2.textarea.value,bd=a2.encodedValue();a2.update(bd);if(bd!=bc){ar.trigger(a2.element,"change")}});var a5=".t-editor-toolbar > li > *",a4=".t-editor-button .t-tool-icon",a8=a4+":not(.t-state-disabled)",ba=a4+".t-state-disabled";a3.delegate(a8,"mouseenter",ar.hover).delegate(a8,"mouseleave",ar.leave).delegate(a4,"mousedown",ar.preventDefault).delegate(a8,"click",ar.stopAll(function(bc){a2.focus();a2.exec(bb(this))})).delegate(ba,"click",function(bc){bc.preventDefault()}).find(a5).each(function(){var bg=bb(this),bd=a2.tools[bg],bf=a2.localization[bg],be=s(this);if(!bd){return}if(bg=="fontSize"||bg=="fontName"){var bc=a2.localization[bg+"Inherit"]||aO[bg+"Inherit"];a2[bg][0].Text=bc;be.find("input").val(bc).end().find("span.t-input").text(bc).end()}bd.init(be,{title:a7(bf,bd),editor:a2})}).end().bind("selectionChange",function(){var bd=a2.getRange();a2.selectionRestorePoint=new an(bd);var bc=j(bd);if(!bc.length){bc=[bd.startContainer]}a3.find(a5).each(function(){var be=a2.tools[bb(this)];if(be){be.update(s(this),bc,a2.pendingFormats)}})});s(document).bind("DOMNodeInserted",function(bc){if(s.contains(bc.target,a2.element)||a2.element==bc.target){s(a2.element).find("iframe").remove();a2.window=ax(s(a2.textarea),a2.stylesheets);a2.document=a2.window.contentDocument||a2.window.document;a2.body=a2.document.body}});var a9=true;s(this.document).bind({keydown:function(be){var bc=a2.keyboard.toolFromShortcut(a2.tools,be);if(bc){be.preventDefault();a2.exec(bc);return false}if(a2.keyboard.isTypingKey(be)&&a2.pendingFormats.hasPending()){if(a9){a9=false}else{var bd=a2.getRange();a2.pendingFormats.apply(bd);a2.selectRange(bd)}}a2.keyboard.clearTimeout();a2.keyboard.keydown(be)},keyup:function(be){var bd=[8,9,33,34,35,36,37,38,39,40,40,45,46];if(s.browser.mozilla&&be.keyCode==8){aJ(a2,be)}if(s.inArray(be.keyCode,bd)>-1||(be.keyCode==65&&be.ctrlKey&&!be.altKey&&!be.shiftKey)){a2.pendingFormats.clear();V(a2)}if(a2.keyboard.isTypingKey(be)){var bc=a2.getRange();a2.pendingFormats.apply(bc);a2.selectRange(bc)}else{a9=true}a2.keyboard.keyup(be)},mousedown:function(bc){a2.pendingFormats.clear();var bd=s(bc.target);if(!s.browser.gecko&&bc.which==2&&bd.is("a[href]")){window.open(bd.attr("href"),"_new")}},mouseup:function(){V(a2)}});s(this.body).bind("focusout",function(bc){if(a2.keyboard.typingInProgress()){a2.keyboard.endTyping(true)}try{if(!a2.selectionRestorePoint){a2.selectionRestorePoint=new an(a2.getRange())}}catch(bc){}}).bind("cut paste",function(bc){a2.clipboard["on"+bc.type](bc)})};function aJ(a0,a3){var a1=a0.getRange(),a4=a1.startContainer;if(a4==a0.body.firstChild||!D.isBlock(a4)||(a4.childNodes.length>0&&!(a4.childNodes.length==1&&D.is(a4.firstChild,"br")))){return}var a6=a4.previousSibling;while(a6&&!D.isBlock(a6)){a6=a6.previousSibling}if(!a6){return}var a5=a0.document.createTreeWalker(a6,NodeFilter.SHOW_TEXT,null,false);var a2;while(a2=a5.nextNode()){a6=a2}a1.setStart(a6,af(a6)?a6.nodeValue.length:0);a1.collapse(true);O(a1);D.remove(a4);a3.preventDefault()}s.extend(ar.editor,{BlockFormatFinder:y,BlockFormatter:W,Dom:D,FormatCommand:aI,GenericCommand:aV,GreedyBlockFormatter:au,GreedyInlineFormatFinder:aZ,GreedyInlineFormatter:F,ImageCommand:aN,IndentCommand:o,IndentFormatter:aU,InlineFormatFinder:i,InlineFormatter:b,InsertHtmlCommand:t,Keyboard:aH,LinkCommand:aa,LinkFormatFinder:I,LinkFormatter:aW,ListCommand:ay,ListFormatFinder:ap,ListFormatter:J,MSWordFormatCleaner:f,Marker:ac,NewLineCommand:d,OutdentCommand:S,ParagraphCommand:aR,PendingFormats:aE,RangeEnumerator:aj,RangeUtils:U,RestorePoint:an,SystemHandler:A,TypingHandler:aQ,UndoRedoStack:R,UnlinkCommand:ao});ar.editor.prototype={value:function(a2){var a0=this.body;if(a2===undefined){return C(a0)}this.pendingFormats.clear();a2=a2.replace(//g,"");a2=a2.replace(/]*)>(.*)?<\/script>/ig,"$2");if(s.browser.mozilla){a2=a2.replace(/]*)>(\s*)?<\/p>/ig,'


    ')}if(s.browser.msie&&parseInt(s.browser.version)<9){a2="
    "+a2;var a3="originalsrc",a1="originalhref";a2=a2.replace(/href\s*=\s*(?:'|")?([^'">\s]*)(?:'|")?/,a1+'="$1"');a2=a2.replace(/src\s*=\s*(?:'|")?([^'">\s]*)(?:'|")?/,a3+'="$1"');a0.innerHTML=a2;D.remove(a0.firstChild);s(a0).find("telerik\\:script,script,link,img,a").each(function(){var a4=this;if(a4[a1]){a4.setAttribute("href",a4[a1]);a4.removeAttribute(a1)}if(a4[a3]){a4.setAttribute("src",a4[a3]);a4.removeAttribute(a3)}})}else{a0.innerHTML=a2;if(s.browser.msie){g(a0)}}this.update()},focus:function(){this.window.focus()},update:function(a0){this.textarea.value=a0||this.encoded?this.encodedValue():this.value()},encodedValue:function(){return D.encode(this.value())},createRange:function(a0){return aP(a0||this.document)},getSelection:function(){return aY(this.document)},selectRange:function(a1){var a0=this.getSelection();a0.removeAllRanges();a0.addRange(a1)},getRange:function(){var a1=this.getSelection();var a0=a1.rangeCount>0?a1.getRangeAt(0):this.createRange();if(a0.startContainer==this.document&&a0.endContainer==this.document&&a0.startOffset==0&&a0.endOffset==0){a0.setStart(this.body,0);a0.collapse(true)}return a0},selectedHtml:function(){return C(this.getRange().cloneContents())},paste:function(a0){this.clipboard.paste(a0)},exec:function(a3,a0){a3=a3.toLowerCase();var a5="";for(var a2 in this.tools){if(a2.toLowerCase()==a3){a5=this.tools[a2];break}}if(a5){var a1=this.getRange();if(!/undo|redo/i.test(a3)&&a5.willDelayExecution(a1)){this.pendingFormats.toggle({name:a3,params:a0,command:a5.command});V(this);return}var a4=a5.command?a5.command(s.extend({range:a1},a0)):null;ar.trigger(this.element,"execute",{name:a3,command:a4});if(/undo|redo/i.test(a3)){this.undoRedoStack[a3]()}else{if(a4){if(!a4.managesUndoRedo){this.undoRedoStack.push(a4)}a4.editor=this;a4.exec();if(a4.async){a4.change=s.proxy(function(){V(this)},this);return}}}V(this)}}};s.fn.tEditor=function(a0){return ar.create(this,{name:"tEditor",init:function(a1,a2){return new ar.editor(a1,a2)},options:a0})};var ak={bold:[{tags:["strong"]},{tags:["span"],attr:{style:{fontWeight:"bold"}}}],italic:[{tags:["em"]},{tags:["span"],attr:{style:{fontStyle:"italic"}}}],underline:[{tags:["span"],attr:{style:{textDecoration:"underline"}}}],strikethrough:[{tags:["del"]},{tags:["span"],attr:{style:{textDecoration:"line-through"}}}],justifyLeft:[{tags:H,attr:{style:{textAlign:"left"}}},{tags:["img"],attr:{style:{"float":"left"}}}],justifyCenter:[{tags:H,attr:{style:{textAlign:"center"}}},{tags:["img"],attr:{style:{display:"block",marginLeft:"auto",marginRight:"auto"}}}],justifyRight:[{tags:H,attr:{style:{textAlign:"right"}}},{tags:["img"],attr:{style:{"float":"right"}}}],justifyFull:[{tags:H,attr:{style:{textAlign:"justify"}}}]};function ae(a2,a1){for(var a0=0;a0=0){return a1[a0]}}}function X(a0){s.extend(this,a0);this.init=function(a1,a2){a1.attr({unselectable:"on",title:a2.title})};this.command=function(a1){return new a0.command(a1)};this.update=function(){};this.willDelayExecution=function(){return false}}X.exec=function(a1,a2,a0){a1.focus();if(a1.selectionRestorePoint){a1.selectRange(a1.selectionRestorePoint.toRange());a1.selectionRestorePoint=null}a1.exec(a2,{value:a0})};function ai(a0){X.call(this,a0);this.command=function(a1){return new aI(s.extend(a1,{formatter:a0.formatter}))};this.update=function(a1,a5,a3){var a2=a3.isPending(this.name),a4=a0.finder.isFormatted(a5),a6=a2?!a4:a4;a1.toggleClass("t-state-active",a6)}}var Q=function(){return{isFormatted:function(){return false}}};var aO={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",justifyCenter:"Center text",justifyLeft:"Align text left",justifyRight:"Align text right",justifyFull:"Justify",insertUnorderedList:"Insert unordered list",insertOrderedList:"Insert ordered list",indent:"Indent",outdent:"Outdent",createLink:"Insert hyperlink",unlink:"Remove hyperlink",insertImage:"Insert image",insertHtml:"Insert HTML",fontName:"Select font family",fontNameInherit:"(inherited font)",fontSize:"Select font size",fontSizeInherit:"(inherited size)",formatBlock:"Format",style:"Styles",emptyFolder:"Empty Folder",uploadFile:"Upload",orderBy:"Arrange by:",orderBySize:"Size",orderByName:"Name",invalidFileType:'The selected file "{0}" is not valid. Supported file types are {1}.',deleteFile:'Are you sure you want to delete "{0}"?',overwriteFile:'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?',directoryNotFound:"A directory with this name was not found."};s.fn.tEditor.defaults={localization:aO,formats:ak,encoded:true,stylesheets:[],dialogOptions:{modal:true,resizable:false,draggable:true,effects:{list:[{name:"toggle"}]}},fontName:[{Text:aO.fontNameInherit,Value:"inherit"},{Text:"Arial",Value:"Arial,Helvetica,sans-serif"},{Text:"Courier New",Value:"'Courier New',Courier,monospace"},{Text:"Georgia",Value:"Georgia,serif"},{Text:"Impact",Value:"Impact,Charcoal,sans-serif"},{Text:"Lucida Console",Value:"'Lucida Console',Monaco,monospace"},{Text:"Tahoma",Value:"Tahoma,Geneva,sans-serif"},{Text:"Times New Roman",Value:"'Times New Roman',Times,serif"},{Text:"Trebuchet MS",Value:"'Trebuchet MS',Helvetica,sans-serif"},{Text:"Verdana",Value:"Verdana,Geneva,sans-serif"}],fontSize:[{Text:aO.fontSizeInherit,Value:"inherit"},{Text:"1 (8pt)",Value:"xx-small"},{Text:"2 (10pt)",Value:"x-small"},{Text:"3 (12pt)",Value:"small"},{Text:"4 (14pt)",Value:"medium"},{Text:"5 (18pt)",Value:"large"},{Text:"6 (24pt)",Value:"x-large"},{Text:"7 (36pt)",Value:"xx-large"}],formatBlock:[{Text:"Paragraph",Value:"p"},{Text:"Quotation",Value:"blockquote"},{Text:"Heading 1",Value:"h1"},{Text:"Heading 2",Value:"h2"},{Text:"Heading 3",Value:"h3"},{Text:"Heading 4",Value:"h4"},{Text:"Heading 5",Value:"h5"},{Text:"Heading 6",Value:"h6"}],tools:{bold:new Y({key:"B",ctrl:true,format:ak.bold}),italic:new Y({key:"I",ctrl:true,format:ak.italic}),underline:new Y({key:"U",ctrl:true,format:ak.underline}),strikethrough:new Y({format:ak.strikethrough}),undo:{key:"Z",ctrl:true},redo:{key:"Y",ctrl:true},insertLineBreak:new X({key:13,shift:true,command:d}),insertParagraph:new X({key:13,command:aR}),justifyCenter:new P({format:ak.justifyCenter}),justifyLeft:new P({format:ak.justifyLeft}),justifyRight:new P({format:ak.justifyRight}),justifyFull:new P({format:ak.justifyFull}),insertUnorderedList:new aM({tag:"ul"}),insertOrderedList:new aM({tag:"ol"}),createLink:new X({key:"K",ctrl:true,command:aa}),unlink:new aS({key:"K",ctrl:true,shift:true}),insertImage:new X({command:aN}),indent:new X({command:o}),outdent:new ag(),insertHtml:new x(),style:new ab(),fontName:new aC({cssAttr:"font-family",domAttr:"fontFamily",name:"fontName"}),fontSize:new aC({cssAttr:"font-size",domAttr:"fontSize",name:"fontSize"}),formatBlock:new n(),foreColor:new aX({cssAttr:"color",domAttr:"color",name:"foreColor"}),backColor:new aX({cssAttr:"background-color",domAttr:"backgroundColor",name:"backColor"})}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.grid.editing.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.grid.editing.min.js deleted file mode 100644 index f792af60a..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.grid.editing.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(h){var c=h.telerik,j=/^\/Date\((.*?)\)\/$/;var g=function(l){this.formId=l;this._isBuild=false;var n="tUnobtrusiveValidation";var m="tUnobtrusiveContainer";var k=this.unobtrusive={adapters:[],parseElement:function(o,r){var p=h(o),q=p.parents("form")[0],t,s,u;if(!q){return}t=k.validationInfo(q);t.options.rules[o.name]=s={};t.options.messages[o.name]=u={};h.each(this.adapters,function(){var v="data-val-"+this.name,w=p.attr(v),x={};if(w!==undefined){v+="-";h.each(this.params,function(){x[this]=p.attr(v+this)});this.adapt({element:o,form:q,message:w,params:x,rules:s,messages:u})}});if(!r){t.attachValidation()}},parse:function(o){h(o).find(":input[data-val=true]").each(function(){k.parseElement(this,true)});h("form").each(function(){var p=k.validationInfo(this);if(p){p.attachValidation()}})},onError:function(o,r){var q=h(this).find("[data-valmsg-for='"+r[0].name+"']"),p=h.parseJSON(q.attr("data-valmsg-replace"))!==false;q.removeClass("field-validation-valid").addClass("field-validation-error");o.data(m,q);if(p){q.empty();o.removeClass("input-validation-error").appendTo(q)}else{o.hide()}},onErrors:function(o,r){var q=h(this).find("[data-valmsg-summary=true]"),p=q.find("ul");if(p&&p.length&&r.errorList.length){p.empty();q.addClass("validation-summary-errors").removeClass("validation-summary-valid");h.each(r.errorList,function(){h("
  • ").html(this.message).appendTo(p)})}},onSuccess:function(o){var q=o.data(m),p=h.parseJSON(q.attr("data-valmsg-replace"));if(q){q.addClass("field-valiion-valid").removeClass("field-validation-error");o.removeData(m);if(p){q.empty()}}},validationInfo:function(o){var q=h(o),p=q.data(n);if(!p){p={options:{errorClass:"input-validation-error",errorElement:"span",errorPlacement:h.proxy(k.onError,o),invalidHandler:h.proxy(k.onErrors,o),messages:{},rules:{},success:h.proxy(k.onSuccess,o)},attachValidation:function(){q.validate(this.options)},validate:function(){q.validate();return q.valid()}};q.data(n,p)}return p}}};g.prototype={build:function(){if(this._isBuild){return}this._isBuild=true;var o=[];function m(r,q,p){r.rules[q]=p;if(r.message){r.messages[q]=r.message}}function n(p){return p.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function l(p){return p.substr(0,p.lastIndexOf(".")+1)}function k(q,p){if(q.indexOf("*.")===0){q=q.replace("*.",p)}return q}o=this.unobtrusive.adapters;o.add=function(r,q,p){if(!p){p=q;q=[]}this.push({name:r,params:q,adapt:p});return this};o.addBool=function(q,p){return this.add(q,function(r){m(r,p||q,true)})};o.addMinMax=function(s,q,u,p,r,t){return this.add(s,[r||"min",t||"max"],function(x){var v=x.params.min,w=x.params.max;if(v&&w){m(x,p,[v,w])}else{if(v){m(x,q,v)}else{if(w){m(x,u,w)}}}})};o.addSingleVal=function(q,r,p){return this.add(q,[r||"val"],function(s){m(s,p||q,s.params[r])})};o.addSingleVal("accept","exts").addSingleVal("regex","pattern");o.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");o.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range");o.add("equalto",["other"],function(q){var p=h(q.form).find(":input[name="+q.params.other+"]")[0];m(q,"equalTo",p)});o.add("required",function(p){if(p.element.tagName.toUpperCase()!=="INPUT"||p.element.type.toUpperCase()!=="CHECKBOX"){m(p,"required",true)}});o.add("remote",["url","type","additionalfields"],function(r){var p={url:r.params.url,type:r.params.type||"GET",data:{}},q=l(r.element.name);h.each(n(r.params.additionalfields||r.element.name),function(s,u){var t=k(u,q);p.data[t]=function(){return h(r.form).find(":input[name='"+t+"']").val()}});m(r,"remote",p)});if(h.validator.unobtrusive&&h.validator.unobtrusive.adapters){h.extend(o,h.validator.unobtrusive.adapters)}h.validator.addMethod("regex",function(p,r,q){if(this.optional(r)){return true}var s=new RegExp(q).exec(p);return s&&s.index==0&&s[0].length==p.length});h.validator.addMethod("number",function(p,s){var q=c.cultureInfo.numericgroupsize;var r=new c.stringBuilder();r.cat("^-?(?:\\d+|\\d{1,").cat(q).cat("}(?:").cat(c.cultureInfo.numericgroupseparator).cat("\\d{").cat(q).cat("})+)(?:\\").cat(c.cultureInfo.numericdecimalseparator).cat("\\d+)?$");return this.optional(s)||new RegExp(r.string()).test(p)})},parse:function(){this.build();this.unobtrusive.parse(this.formId)}};var f=function(k){this.validationMetaData=k};f.prototype={build:function(o){h.validator.addMethod("regex",function(A,C,B){if(this.optional(C)){return true}var D=new RegExp(B).exec(A);return D&&D.index==0&&D[0].length==A.length});h.validator.addMethod("number",function(A,D){var B=c.cultureInfo.numericgroupsize;var C=new c.stringBuilder();C.cat("^-?(?:\\d+|\\d{1,").cat(B).cat("}(?:").cat(c.cultureInfo.numericgroupseparator).cat("\\d{").cat(B).cat("})+)(?:\\").cat(c.cultureInfo.numericdecimalseparator).cat("\\d+)?$");return this.optional(D)||new RegExp(C.string()).test(A)});function t(B,A,C){B.range=[A,C]}function p(A,B){A.regex=B}function z(A){A.required=true}function v(A,B){A.maxlength=B}function m(A,B,C){A[B]=C}function x(D){var A={};for(var C=0;C-1){var m=o.substring(0,n);var l=k[m]||{};l[o.substring(n+1)]=k[o];k[m]=i(l);delete k[o]}}return k}function d(l){var m,k,n;for(m in l){k=l[m];if(typeof k==="string"){n=j.exec(k);if(n){l[m]=new Date(parseInt(n[1]))}}else{if(h.isPlainObject(k)){d(k)}}}}c.editing.initialize=function(l){h.extend(l,this.implementation);var k=h(l.element);l.modelBinder=new c.grid.ModelBinder();l.formViewBinder=new c.grid.FormViewBinder({date:function(u,r){var t=l.columnFromMember(u);var s=t?t.format:"";return c.formatString(s||"{0:G}",r)}});if(l.isAjax()){if(l.editing.mode=="InCell"){d(l.editing.defaultDataItem||{});l.changeLog=new c.grid.ChangeLog(l.pageSize||(l.data&&l.data.length)||0);h(l.element).bind("dataBound",function(){l.changeLog.clear()});l.cellEditor=new c.grid.CellEditor({columns:l.columns,cellIndex:function(r){return r.index()},id:l.formId(),bind:h.proxy(l.formViewBinder.bind,l.formViewBinder),validate:h.proxy(l.validation,l)});k.delegate(".t-grid-save-changes:not(.t-state-disabled)","click",c.stopAll(function(r){l.submitChanges()}));k.delegate(".t-grid-cancel-changes","click",c.stopAll(function(r){l.cancelChanges()}));l.hasChanges=function(){return l.changeLog.dirty()};l.submitChanges=function(){if(l.changeLog.dirty()){var r=l.changeLog.inserted;var t=h.grep(l.changeLog.updated,function(v){return v!=undefined});var s=h.grep(l.changeLog.deleted,function(v){return v!=undefined});if(c.trigger(l.element,"submitChanges",{inserted:r,updated:t,deleted:s})){return}var u=l.ws?{inserted:h.map(r,function(v){return l._convert(v)}),updated:h.map(t,function(v){return l._convert(v)}),deleted:h.map(s,function(v){return l._convert(v)})}:l.changeLog.serialize(r,t,s);l.sendValues(u,"updateUrl")}};l.cancelChanges=function(){l.changeLog.clear();l.dataBind(l.data.slice(0));l.valid=true};l.cellIndex=function(r){return h(r).parent().find("td:not(.t-group-cell,.t-hierarchy-cell)").index(r)};l.rowIndex=function(r){return h(r).parent().find("tr:not(.t-detail-row,.t-grouping-row)").index(r)};var o;l.valid=true;l.editCell=function(u){var r=l.columns[l.cellIndex(u)];if(l.valid&&(r&&!r.readonly)){l.td=u;u=h(u);var t=u.parent();var v=l.rowIndex(t);var s=l.changeLog.get(v)||l.dataItem(t);o=u.find(".t-dirty");l.cellEditor.edit(u,s);c.trigger(l.element,"edit",{mode:t.hasClass("t-grid-new-row")?"insert":"edit",form:l.form()[0],dataItem:s,cell:u[0]})}};l.saveCell=function(u){l.valid=l.validate();if(l.valid){u=h(u);var t=u.parent();var s=l.dataItem(t);var v=i(l.modelBinder.bind(u));var r=false;if(c.trigger(l.element,"save",{mode:t.hasClass("t-grid-new-row")?"insert":"edit",dataItem:s,values:v,form:l.form()[0],cell:u[0]})){return}if(t.hasClass("t-grid-new-row")){l.changeLog.insert(l.rowIndex(t),v)}else{r=l.changeLog.update(l.rowIndex(t),s,v)}l.cellEditor.display(u,v);if(r||t.hasClass("t-grid-new-row")){o=h('')}if(o&&o.length){o.prependTo(l.td)}l.td=null}};l.td=null;l.$tbody.delegate("td:not(.t-grid-edit-cell)",l.editing.beginEdit||"click",function(r){l.editCell(this)});h(document).mousedown(function(r){if(l.td&&!h.contains(l.td,r.target)&&l.td!=r.target&&!h(r.target).closest(".t-animation-container").length){l.saveCell(l.td)}})}else{if(l.editing.beginEdit){l.$tbody.delegate("tr:not(.t-detail-row,.t-grouping-row,.t-grid-edit-row,.t-group-footer)",l.editing.beginEdit,function(r){if(!h(r.target).is(":button,a,:input,a>.t-icon")){l.editRow(h(this))}})}}k.delegate(".t-grid-edit","click",c.stopAll(function(r){l.editRow(h(this).closest("tr"))})).delegate(".t-grid-delete","click",c.stopAll(function(r){l.deleteRow(h(this).closest("tr"))})).delegate(".t-grid-add","click",c.stopAll(function(r){l.addRow()}))}else{k.delegate(".t-grid-delete","click",c.stop(function(r){if(l.editing.confirmDelete!==false&&!confirm(l.localization.deleteConfirmation)){r.preventDefault()}}));l.validation()}l.errorView=new c.grid.ErrorView();var q=new c.grid.DataCellBuilder({columns:l.columns});var m=h.grep(l.columns,function(r){return r.commands&&h.grep(r.commands,function(s){return s.name=="edit"})[0]})[0];var n=new c.grid.FormContainerBuilder({html:function(){return unescape(l.editing.editor)},insert:function(){return m.insert()},edit:function(){return m.edit()}});var p=l.editing.mode;if(p=="InLine"){l.rowEditor=new c.grid.Editor({id:l.formId(),cancel:q.display,edit:q.edit,insert:q.insert,groups:(l.groups||[]).length,details:l.detail})}else{if(p=="InForm"){l.rowEditor=new c.grid.Editor({id:l.formId(),cancel:q.display,groups:(l.groups||[]).length,details:l.detail,edit:function(){return''+n.edit()+""},insert:function(){return''+n.insert()+""}})}else{if(p=="PopUp"){l.rowEditor=new c.grid.PopUpEditor({id:l.formId(),edit:n.edit,container:l.element,settings:l.editing.popup,insert:n.insert,editTitle:l.localization.edit,insertTitle:l.localization.insert})}else{q=new c.grid.CellBuilder({columns:l.columns});l.rowEditor=new c.grid.Editor({id:l.formId(),cancel:q.display,edit:q.edit,insert:q.insert})}}}k.delegate(":input:not(.t-button):not(textarea)","keydown",function(s){if(s.keyCode==13||s.keyCode==27){s.preventDefault();var r={13:".t-grid-update, .t-grid-insert",27:".t-grid-cancel"};h(this).closest("tr").find(r[s.keyCode]).click()}})};c.editing.implementation={editFor:function(l){var m=this.localization;if(l.commands){var o=h.grep(l.commands,function(q){return q.name=="edit"})[0];if(o){var p=c.grid.ButtonBuilder.create(h.extend({text:m.update},o,{name:"update"}));var n=c.grid.ButtonBuilder.create(h.extend({text:m.cancel},o,{name:"cancel"}));var k=p.build()+n.build();return function(){return k}}else{return function(){return""}}}else{if(!l.readonly&&l.editor){return function(){return unescape(l.editor)}}}return this.displayFor(l)},insertFor:function(l){var m=this.localization;if(l.commands){var o=h.grep(l.commands,function(q){return q.name=="edit"})[0];if(o){var p=c.grid.ButtonBuilder.create(h.extend({text:m.insert},o,{name:"insert"}));var n=c.grid.ButtonBuilder.create(h.extend({text:m.cancel},o,{name:"cancel"}));var k=p.build()+n.build();return function(){return k}}else{return function(){return""}}}else{return this.editFor(l)}},insertRow:function(k){if(this.validate()){var l=this.extractValues(k);if(c.trigger(this.element,"save",{mode:"insert",values:l,form:this.form()[0]})){return}this.sendValues(l,"insertUrl")}},updateRow:function(k){if(this.validate()){var l=this.dataItem(k.data("tr")||k);var m=this.extractValues(k);if(c.trigger(this.element,"save",{mode:"edit",dataItem:l,values:m,form:this.form()[0]})){return}this.sendValues(h.extend(l,m),"updateUrl")}},deleteRow:function(k){var l=this.dataItem(k);if(this.editing.mode!="InCell"){if(c.trigger(this.element,"delete",{dataItem:l})){return}if(this.editing.confirmDelete===false||confirm(this.localization.deleteConfirmation)){this.sendValues(l,"deleteUrl")}}else{if(this.editing.confirmDelete===false||confirm(this.localization.deleteConfirmation)){this.changeLog.erase(this.rowIndex(k),l);this.cancelRow(k);k.hide()}}},editRow:function(k){var m=this.dataItem(k);if(this.editing.mode!="InCell"){b();var n=this.rowEditor.edit(k,m);var l=this.form();l.undelegate(".t-grid-update").delegate(".t-grid-update","click",c.stopAll(h.proxy(function(){this.updateRow(n)},this))).undelegate(".t-grid-cancel").delegate(".t-grid-cancel","click",c.stopAll(h.proxy(function(){this.cancelRow(k)},this)));this.formViewBinder.bind(n,m);c.trigger(this.element,"edit",{mode:"edit",form:l[0],dataItem:m});this.validation()}else{if(this.valid){this.rowEditor.edit(k,m);this.td=row.find(":input:visible:first").focus().closest("td")[0];this.validation()}}},form:function(){return h("#"+this.formId())},addRow:function(){var n=h.extend(true,{},this.editing.defaultDataItem);if(this.editing.mode!="InCell"){b();var p=this.rowEditor.insert(this.$tbody,n);var l=this.form();l.undelegate(".t-grid-insert").delegate(".t-grid-insert","click",c.stopAll(h.proxy(function(){this.insertRow(p)},this))).undelegate(".t-grid-cancel").delegate(".t-grid-cancel","click",c.stopAll(h.proxy(function(){this.cancelRow(p)},this)));c.trigger(this.element,"edit",{mode:"insert",form:l[0]});this.validation()}else{if(this.valid){var m=this.rowEditor.insert(this.$tbody,n);this.changeLog.insert(n);this.td=m.find(":input:enabled:visible:first").focus().closest("td")[0];for(var k=this.columns.length-1;k>=0;k--){if(!this.columns[k].readonly){var o=m.children().eq(k);if(o[0]!=this.td){o.prepend('')}}}this.validation()}}},extractValues:function(k){return this.modelBinder.bind(k)},cancelRow:function(k){if(!k.length){return}var l=this.dataItem(k);this.rowEditor.cancel(k,l);c.trigger(this.element,"rowDataBound",{row:k[0],dataItem:l})},validate:function(){var k=this.form();if(k.length){return k.validate().form()}return true},cancel:function(){this.cancelRow(this.$tbody.find(">.t-grid-edit-row"))},_convert:function(o){for(var l in o){var k=o[l];if(k instanceof Date){var n=this.columnFromMember(l);var m="{0:G}";if(n&&n.format){m=n.format}o[l]=this.ws?"\\/Date("+k.getTime()+")\\/":c.formatString(m,k)}if(k==undefined){delete o[l]}}return o},sendValues:function(n,k){if(this.editing.mode!="InCell"||!this.ws){this._convert(n);for(var l in this.dataKeys){var m=this.valueFor({member:l})(n);if(m!=undefined){n[this.ws?l:this.dataKeys[l]]=m}}}h.ajax(this.ajaxOptions({data:this.ws?(this.editing.mode=="InCell"?n:{value:n}):n,url:this.url(k),hasErrors:h.proxy(this.hasErrors,this),displayErrors:h.proxy(this.displayErrors,this)}))},displayErrors:function(k){this.errorView.bind(h("#"+this.formId()),k.modelState)},hasErrors:function(k){var l=k.modelState;var m=false;if(l){h.each(l,function(n,o){if("errors" in o){m=true;return false}})}return m},formId:function(){return h(this.element).attr("id")+"form"},validation:function(){this.validator().parse()},validator:function(){if(this.validationMetadata){return new f(this.validationMetadata)}else{return new g(h("#"+this.formId()))}}};c.grid.ModelBinder=function(){this.binders={":input:not(.t-input):not(:radio),:radio:checked":function(){return h(this).val()},":checkbox":function(){return h(this).is(":checked")},".t-datepicker :input":function(){return h(this).data("tDatePicker").value()},".t-numerictextbox :input":function(){return h(this).data("tTextBox").value()},".t-editor textarea:hidden":function(){var k=h(this).closest(".t-editor").data("tEditor");if(k.encoded){return k.encodedValue()}return k.value()}};this.bind=function(k){var l={};h.each(this.binders,function(m,n){k.find(m).each(function(){if(!this.disabled){l[this.name]=n.call(this)}})});return l}};c.grid.FormViewBinder=function(m){this.converters=m||{};this.binders={":input:not(:radio)":function(n){h(this).val(n)},":checkbox":function(n){h(this).attr("checked",n==true)},":radio":function(o){var n=h(this).val();if(typeof o=="boolean"){n=n.toLowerCase()}if(n==o.toString()){h(this).attr("checked",true)}}};function l(n){return function(o){h(this).data(n).value(o)}}function k(){return function(n){h(this).closest(".t-editor").data("tEditor").value(n)}}this.binders[".t-numerictextbox :input"]=l("tTextBox");this.binders[".t-dropdown :input:hidden"]=l("tDropDownList");this.binders[".t-combobox :input:hidden"]=l("tComboBox");this.binders[".t-editor textarea:hidden"]=k();this.evaluate=function(o,r){if(r!=null){var n=o,p=false,t=r.split(".");while(t.length){var u=t.shift();if(n!=null&&typeof(n[u])!="undefined"){n=n[u];p=true}else{if(p){p=false;break}}}if(p&&!h.isPlainObject(n)){var q=j.exec(n);if(q){n=new Date(parseInt(q[1]))}var s=c.getType(n);if(s in this.converters){n=this.converters[s](r,n)}return n}}};this.bind=function(p,o){var n;h.each(this.binders,h.proxy(function(q,r){p.find(q).each(h.proxy(function(t,u){var s=this.evaluate(o,u.name);if(s!=n){r.call(u,s)}},this))},this))}};c.grid.CellBuilder=function(k){function l(n,m){return h.map(k.columns,function(p,o){return"':">")+p[o==0?m:"display"](n)+""}).join("")}this.edit=function(m){return l(m,"edit")};this.insert=function(m){return l(m,"insert")};this.display=function(m){return l(m,"display")}};c.grid.DataCellBuilder=function(k){function l(n,m){return h.map(k.columns,function(p,o){return"':">")+p[m](n)+""}).join("")}this.edit=function(m){return l(m,"edit")};this.insert=function(m){return l(m,"insert")};this.display=function(m){return l(m,"display")}};c.grid.FormContainerBuilder=function(k){function l(m){return'
    '+k.html()+k[m]()+"
    "}this.edit=function(){return l("edit")};this.insert=function(){return l("insert")}};function e(k){return h("
    ",{className:"t-edit-form",id:k}).submit(c.preventDefault)}c.grid.PopUpEditor=function(m){var l;function k(){var o=l.data("tWindow");o&&o.close();l.remove()}function n(p,o){l=h("
    ",{id:m.container.id+"PopUp"}).appendTo(m.container).css({top:0,left:"50%",marginLeft:-90}).tWindow(m.settings).find(".t-window-content").append(m[o](p)).wrapInner(e(m.id)).end();h(m.container).one("dataBound",k);l.find("t-close").bind("close",c.stopAll(k)).end().data("tWindow").open().title(m[o+"Title"]);return l}this.edit=function(o,p){o.addClass("t-grid-edit-row");return n(p,"edit").data("tr",o)};this.insert=function(o,p){return n(p,"insert")};this.cancel=function(o){o.removeClass("t-grid-edit-row");k()}};c.grid.Editor=function(m){var l=(m.groups||0);function k(n,o,p){var q=n.find(".t-group-cell,.t-hierarchy-cell");n.addClass("t-grid-edit-row").empty().append(q).append(m[p](o)).closest("table").wrap(function(){if(!h(this).parent().is("form")){return e(m.id)}})}this.cancel=function(n,o){if(n.is(".t-grid-new-row")){n.remove()}else{k(n,o,"cancel");n.removeClass("t-grid-edit-row")}};this.insert=function(p,o){var q=''+new Array(l+1).join('')+((m.details)?'':"")+"";var n=h(q);p.prepend(n);k(n,o,"insert");return n};this.edit=function(n,o){k(n,o,"edit");return n}};c.grid.CellEditor=function(k){this.edit=function(n,m){var l=k.columns[k.cellIndex(n)];if(!l.readonly){n.parent().addClass("t-grid-edit-row").end().empty().html(l.edit(m)).closest("table").wrap(function(){if(!h(this).parent().is("form")){return e(k.id)}});k.bind(n,m);k.validate();n.find(":input:visible:first").trigger("focusin").focus();n.addClass("t-grid-edit-cell")}return !l.readonly};this.display=function(n,m){var l=k.columns[k.cellIndex(n)];n.removeClass("t-grid-edit-cell").empty().html(l.display(m)).parent().removeClass("t-grid-edit-row")}};c.grid.ChangeLog=function(l){this.insert=function(m,o){if(o==undefined){o=m;this.inserted.splice(0,0,o)}else{var n=this.inserted[m];if(n===undefined){this.inserted.splice(0,0,o)}else{h.extend(n,o)}}};this.get=function(n){var m=this.inserted[n];if(this.inserted[n]){return m}return this.updated[n-this.inserted.length]};this.update=function(s,p,o){s=s-this.inserted.length;var t=this.updated[s]||p||{};var r=false;for(var m in o){var q=t[m],n=o[m];if(q instanceof Date){if(n.getTime()!==q.getTime()){r=true}}else{if(n!==q){r=true}}}if(r){this.updated[s]=h.extend({},t,o)}return r};this.erase=function(n,p){var m=this.inserted[n];if(m){this.inserted.splice(n,1)}else{n=n-this.inserted.length;var o=this.updated[n];if(o){delete this.updated[n]}this.deleted[n]=p}};this.clear=function(){this.updated=new Array(l);this.deleted=new Array(l);this.inserted=[]};function k(n,r,t){var u={};for(var s=0,o=0;s');f.$groupHeader=d("> .t-grouping-header",f.element);function h(){var k=d.map(f.$groupHeader.find(".t-group-indicator"),function(l){var m=d(l);var n=m.offset().left;var o=m.outerWidth();return{left:n,right:n+o,width:o,$group:m}});return{first:k[0],all:k,last:k[k.length-1]}}function g(r){var m=r.$cue.text();if(!d.contains(f.element,r.target)||!d(r.target).closest(".t-grouping-header").length||(f.groupFromTitle(m)&&r.$draggable.closest(".t-header").length)){f.$groupDropCue.remove();return}var n=d("> .t-grid-toolbar",f.element).outerHeight()+c;var o=h();if(!o.all.length){f.$groupDropCue.css({top:n,left:a}).appendTo(f.$groupHeader);return}var q=o.first;var s=o.last;var l=parseInt(q.$group.css("marginLeft"));var k=parseInt(q.$group.css("marginRight"));var p=d.grep(o.all,function(t){return r.pageX>=t.left-l-k&&r.pageX<=t.right})[0];if(!p&&q&&r.pageX=0){f.groups.splice(d.inArray(m,f.groups),1);f.groups.splice(o,0,m)}f.groupBy=d.map(f.groups,function(q){return q.member+"-"+q.order}).join("~");if(this.isAjax()){var p=this.$groupHeader.find('div:contains("'+l+'")');if(p.length==0){var k=new d.telerik.stringBuilder().cat('").string();p=d(k).appendTo(this.$groupHeader)}if(this.$groupDropCue.is(":visible")){p.insertBefore(this.$groupDropCue)}p.find(".t-link .t-icon").toggleClass("t-arrow-up-small",m.order=="asc").toggleClass("t-arrow-down-small",m.order=="desc").html("("+(m.order=="asc"?f.localization.sortedAsc:f.localization.sortedDesc)+")");this.ajaxRequest()}else{this.serverRequest()}};f.unGroup=function(l){var k=f.groupFromTitle(l);f.groups.splice(d.inArray(k,f.groups),1);if(f.groups.length==0){f.$groupHeader.html(f.localization.groupHint)}f.groupBy=d.map(f.groups,function(m){return m.member+"-"+m.order}).join("~");if(f.isAjax()){f.$groupHeader.find('div:contains("'+k.title+'")').remove();f.ajaxRequest()}else{f.serverRequest()}},f.normalizeColumns=function(n){var o=f.groups.length;var m=n-f.$tbody.parent().find(" > colgroup > col").length;if(m==0){return}var p=f.$tbody.parent().add(f.$headerWrap.find("table")).add(f.$footer.find("table"));if(d.browser.msie){if(m>0){d(new b.stringBuilder().rep('',m).string()).prependTo(p.find("colgroup"));d(new b.stringBuilder().rep(' ',m).string()).insertBefore(p.find("th.t-header:first"));d(new b.stringBuilder().rep(' ',m).string()).insertBefore(p.find("tr.t-footer-template > td:first"))}else{p.find("th:lt("+Math.abs(m)+"), tr.t-footer-template > td:lt("+Math.abs(m)+")").remove().end().find("col:lt("+Math.abs(m)+")").remove()}var k=[];var l=0;d("table, .t-grid-bottom",f.element).each(function(){k.push(this.parentNode)}).appendTo(d("
    ")).each(function(){k[l++].appendChild(this)})}else{p.find("col.t-group-col").remove();d(new b.stringBuilder().rep('',o).string()).prependTo(p.find("colgroup"));p.find("th.t-group-cell").remove();p.find("tr.t-footer-template > td.t-group-cell").remove();d(new b.stringBuilder().rep(' ',o).string()).insertBefore(p.find("th.t-header:first"));d(new b.stringBuilder().rep(' ',o).string()).insertBefore(p.find("tr.t-footer-template > td:first"))}},f.bindGroup=function(n,r,q,p){var o=f.groups[p];var t=n.Key;var m=d.grep(f.columns,function(l){return o.member==l.member})[0];if(m&&(m.format||m.type=="Date")){t=b.formatString(m.format||"{0:G}",t)}q.cat('').rep('',p).cat('

    ');if(m){q.cat(m.groupHeader(d.extend({Title:o.title,Key:t},n.Aggregates[m.member])))}else{q.cat(o.title+": "+t)}q.cat("

    ");if(n.HasSubgroups){for(var k=0,s=n.Items.length;k').rep('',f.groups.length);d.each(f.columns,function(){q.cat("");if(this.groupFooter){q.cat(this.groupFooter(n.Aggregates[this.member]))}q.cat("")});q.cat("")}}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.grid.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.grid.min.js deleted file mode 100644 index e7943bc55..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.grid.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(c){var g=c.telerik;var a=/"\\\/Date\((.*?)\)\\\/"/g;function d(h){return new Function("data",("var p=[];with(data){p.push('"+unescape(h).replace(/[\r\t\n]/g," ").replace(/'(?=[^#]*#>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<#=(.+?)#>/g,"',$1,'").split("<#").join("');").split("#>").join("p.push('")+"');}return p.join('');"))}function f(h){return(h!=null?h+"":"").replace(/&/g,"&").replace(//g,">")}g.grid=function(h,j){this.element=h;this.groups=[];this.editing={};this.filterBy="";this.groupBy="";this.orderBy="";c.extend(this,j);this.sorted=c.grep(this.columns,function(i){return i.order});this.$tbody=c("> .t-grid-content > table > tbody",h);this.scrollable=this.$tbody.length>0;if(!this.scrollable){this.$tbody=c("> table > tbody",h);this.$header=c("> table > thead tr",h);this.$footer=c("> table > tfoot",h)}else{c("> .t-grid-content",h).tScrollable();this.$header=c("> .t-grid-header tr",h);this.$footer=c("> .t-grid-footer",h)}this.$headerWrap=c("> .t-grid-header > .t-grid-header-wrap",h);this.$footerWrap=c("> .t-grid-footer > .t-grid-footer-wrap",h);var o=this.$headerWrap.add(this.$footerWrap);c("> .t-grid-content",h).bind("scroll",function(){o.scrollLeft(this.scrollLeft)});this.$tbody.delegate(".t-hierarchy-cell .t-plus, .t-hierarchy-cell .t-minus","click",g.stopAll(function(s){var r=c(s.target);var q=r.hasClass("t-plus");r.toggleClass("t-minus",q).toggleClass("t-plus",!q);var i=r.closest("tr.t-master-row");if(this.detail&&!i.next().hasClass("t-detail-row")){c(new g.stringBuilder().cat('').rep('',i.find(".t-group-cell").length).cat('').cat('').cat(this.displayDetails(this.dataItem(i))).cat("").string()).insertAfter(i)}g.trigger(this.element,q?"detailViewExpand":"detailViewCollapse",{masterRow:i[0],detailRow:i.next(".t-detail-row")[0]});i.next().toggle(q)},this));this.$pager=c("> .t-grid-pager .t-pager",h);var n=new g.dropDown({effects:g.fx.slide.defaults(),onClick:c.proxy(function(i){this.changePageSize(c(i.item).text());n.close()},this)});n.dataBind(j.pageSizesInDropDown||[]);c(document.documentElement).bind("mousedown",function(q){var i=n.$element[0];if(!c.contains(i,q.target)){n.close()}});this.$pager.delegate(".t-state-disabled","click",g.preventDefault).delegate(".t-link:not(.t-state-disabled)","mouseenter",g.hover).delegate(".t-link:not(.t-state-disabled)","mouseleave",g.leave).delegate("input[type=text]","keydown",c.proxy(this.pagerKeyDown,this)).delegate(".t-page-size .t-dropdown-wrap","click",function(){var i=c(this);n.open({offset:i.offset(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth(),zIndex:g.getElementZIndex(this)})});c("> .t-grid-pager",h).delegate(".t-refresh","click",c.proxy(this.refreshClick,this));c(h).delegate(".t-button","hover",g.preventDefault);if(this.sort){this.$header.delegate(".t-link","hover",function(){c(this).toggleClass("t-state-hover")})}var p="tr:not(.t-grouping-row,.t-detail-row,.t-no-data,:has(>.t-edit-container))";if(this.selectable){var m=this.$tbody[0];var l=this;this.$tbody.delegate(p,"click",function(i){if(this.parentNode==m){l.rowClick(i)}}).delegate(p,"hover",function(){if(this.parentNode==m){c(this).toggleClass("t-state-hover")}})}if(this.isAjax()){this.$pager.delegate(".t-link:not(.t-state-disabled)","click",g.stop(this.pagerClick,this));if(this.sort){this.$header.delegate(".t-link","click",g.stop(this.headerClick,this))}}for(var k=0;k.t-icon")){j.stopPropagation();var h=i.closest("tr").addClass("t-state-selected").siblings().removeClass("t-state-selected").end();g.trigger(this.element,"rowSelect",{row:h[0]})}},$rows:function(){return this.$tbody.find("> tr:not(.t-grouping-row,.t-detail-row)")},expandRow:function(h){c(h).find("> td .t-plus, > td .t-expand").click()},collapseRow:function(h){c(h).find("> td .t-minus, > td .t-collapse").click()},headerClick:function(h){h.preventDefault();this.toggleOrder(this.$columns().index(c(h.target).closest("th")));this.sort(this.sortExpr())},refreshClick:function(i,h){if(c(h).is(".t-loading")){return}if(this.isAjax()){i.preventDefault();this.ajaxRequest(true)}},sort:function(h){this.orderBy=h;this.ajaxRequest()},columnFromTitle:function(i){i=c.trim(i);var h=c.grep(this.$columns(),function(j){return c.trim(c(j).text())==i})[0];if(h){return this.columns[this.$columns().index(h)]}return c.grep(this.columns,function(j){return j.title==i})[0]},columnFromMember:function(h){var i=c.grep(this.columns,function(j){return j.member==h})[0];if(!i){i=c.grep(this.columns,function(k){var j="."+k.member;return h.substr(h.length-j.length)==j})[0]}return i},toggleOrder:function(h){h=typeof h=="number"?this.columns[h]:h;var j="asc";if(h.order=="asc"){j="desc"}else{if(h.order=="desc"){j=null}}h.order=j;var i=c.inArray(h,this.sorted);if(this.sortMode=="single"&&i<0){c.each(this.sorted,function(){this.order=null});this.sorted=[]}if(i<0&&j){this.sorted.push(h)}if(!j){this.sorted.splice(i,1)}},sortExpr:function(){return c.map(this.sorted,function(h){return h.member+"-"+h.order}).join("~")},pagerKeyDown:function(h){if(h.keyCode==13){var i=this.sanitizePage(c(h.target).val());if(i!=this.currentPage){this.pageTo(i)}else{c(h.target).val(i)}}},isAjax:function(){return this.ajax||this.ws||this.onDataBinding},url:function(h){return(this.ajax||this.ws)[h]},pagerClick:function(m){m.preventDefault();var i=c(m.target).closest(".t-link");var j=this.currentPage;var k=i.find(".t-icon");if(k.hasClass("t-arrow-next")){j++}else{if(k.hasClass("t-arrow-last")){j=this.totalPages()}else{if(k.hasClass("t-arrow-prev")){j--}else{if(k.hasClass("t-arrow-first")){j=1}else{var h=i.text();if(h=="..."){var l=i.parent().children().index(i);if(l==0){j=parseInt(i.next().text())-1}else{j=parseInt(i.prev().text())+1}}else{j=parseInt(h)}}}}}this.pageTo(isFinite(j)?j:this.currentPage)},changePageSize:function(i){var h=parseInt(i,10);if(isNaN(h)||h<1){return this.pageSize}h=Math.max(h,1);this.pageSize=h;if(this.isAjax()){this.ajaxRequest()}else{this.serverRequest()}},pageTo:function(h){this.currentPage=h;if(this.isAjax()){this.ajaxRequest()}else{this.serverRequest()}},ajaxOptions:function(i){var h={type:"POST",dataType:"text",dataFilter:function(k,l){return k.replace(a,"new Date($1)")},error:c.proxy(function(l,k){if(g.ajaxError(this.element,"error",l,k)){return}},this),complete:c.proxy(this.hideBusy,this),success:c.proxy(function(l,m,k){try{l=eval("("+l+")")}catch(n){if(!g.ajaxError(this.element,"error",k,"parseeror")){alert("Error! The requested URL did not return JSON.")}return}l=l.d||l;if(i.hasErrors&&i.hasErrors(l)){if(!g.trigger(this.element,"error",{XMLHttpRequest:k,textStatus:"modelstateerror",modelState:l.modelState})){i.displayErrors(l)}return}this.total=l.total||l.Total||0;this.aggregates=l.aggregates||{};this.dataBind(l.data||l.Data)},this)};c.extend(h,i);var j=this.ws?h.data.state={}:h.data;j[this.queryString.page]=this.currentPage;j[this.queryString.size]=this.pageSize;j[this.queryString.orderBy]=this.orderBy||"";j[this.queryString.groupBy]=this.groupBy;j[this.queryString.filter]=(this.filterBy||"").replace(/\"/g,'\\"');j[this.queryString.aggregates]=c.map(this.columns,function(k){if(k.aggregates){return k.member+"-"+k.aggregates.join("-")}}).join("~");if(this.ws){h.data=g.toJson(h.data);h.contentType="application/json; charset=utf-8"}return h},showBusy:function(){this.busyTimeout=setTimeout(c.proxy(function(){c("> .t-grid-pager .t-status .t-icon",this.element).addClass("t-loading")},this),100)},hideBusy:function(){clearTimeout(this.busyTimeout);c("> .t-grid-pager .t-status .t-icon",this.element).removeClass("t-loading")},serverRequest:function(){location.href=g.formatString(unescape(this.urlFormat),this.currentPage,this.orderBy||"~",this.groupBy||"~",encodeURIComponent(this.filterBy)||"~",this.pageSize||"~")},ajaxRequest:function(i){var h={page:this.currentPage,sortedColumns:this.sorted,filteredColumns:c.grep(this.columns,function(j){return j.filters})};if(g.trigger(this.element,"dataBinding",h)){return}if(!this.ajax&&!this.ws){return}this.showBusy();c.ajax(this.ajaxOptions({data:c.extend({},h.data,i),url:this.url("selectUrl")}))},valueFor:function(h){if(h.type=="Date"){return new Function("data","var value = data."+h.member+'; if (!value) return null; return value instanceof Date? value : new Date(parseInt(value.replace(/\\/Date\\((.*?)\\)\\//, "$1")));')}return new Function("data","return data"+(h.member?"."+h.member:"")+";")},displayFor:function(h){var j=this.localization;if(h.commands){var k=c.map(h.commands,function(l){var m=g.grid.ButtonBuilder.create(c.extend({text:j[l.name]},l));return m.build()}).join("");return function(){return k}}if(!h.template){var i=h.value||function(){return""};if(h.format||h.type=="Date"){i=function(l){var m=h.value(l);return m==null?"":g.formatString(h.format||"{0:G}",m)}}return h.encoded===false?i:function(l){return f(i(l))}}return d(h.template)},insertFor:function(h){return this.displayFor(h)},editFor:function(h){return this.displayFor(h)},initializeColumns:function(){c.each(this.columns,c.proxy(function(h,i){if(i.member!==undefined){i.value=this.valueFor(i)}else{i.readonly=true}i.insert=this.insertFor(i);i.edit=this.editFor(i);i.display=this.displayFor(i);if(i.footerTemplate){i.footer=d(i.footerTemplate)}if(i.groupFooterTemplate){this.showGroupFooter=true;i.groupFooter=d(i.groupFooterTemplate)}i.groupHeader=d("<#= Title #>: <#= Key #>");if(i.groupHeaderTemplate){i.groupHeader=d(i.groupHeaderTemplate)}},this));if(this.detail){this.displayDetails=d(this.detail.template)}},bindData:function(j,l,n){Array.prototype.push.apply(this.data,j);var p=Math.min(this.pageSize,j.length);p=this.pageSize?p:j.length;if(c.browser.msie){c(this.element).find(".t-grid-content colgroup:first col").css("display","")}for(var q=0;q')}else{l.cat("")}l.rep('',n).catIf('',this.detail);for(var k=0,m=this.columns.length;k").cat(o.display(j[q]));l.cat("")}l.cat("")}},normalizeColumns:function(){},dataItem:function(h){return this.data[this.$tbody.find("> tr:not(.t-grouping-row,.t-detail-row,.t-grid-new-row)").index(c(h))]},bindTo:function(n){var k=new g.stringBuilder();var m=this.groups.length+this.columns.length+(this.detail?1:0);if(n&&n.length){this.normalizeColumns(m);if(typeof n[0].HasSubgroups!="undefined"){for(var h=0,j=n.length;h").cat("").cat(this.noRecordsTemplate?this.noRecordsTemplate:this.localization.noRecords).cat("")}this.$tbody.html(k.string());if(this.onRowDataBound){var o=jQuery.grep(this.$tbody[0].rows,function(i){return !c(i).hasClass("t-grouping-row")});for(var h=0,j=this.data.length;h=h).removeClass("t-state-hover");this.$pager.find(".t-arrow-prev").parent().add(this.$pager.find(".t-arrow-first").parent()).toggleClass("t-state-disabled",j==1).removeClass("t-state-hover");var i=this.localization;this.$pager.find(".t-page-i-of-n").each(function(){this.innerHTML=new g.stringBuilder().cat(i.page).cat(' ').cat(g.formatString(i.pageOf,h)).string()});this.$pager.find(".t-page-size").each(function(){var l='
    '+k+'select
    ';this.innerHTML=l});this.$pager.find(".t-numeric").each(c.proxy(function(m,l){this.numericPager(l,j,h)},this));this.$pager.parent().find(".t-status-text").text(g.formatString(i.displayingItems,this.firstItemInPage(),this.lastItemInPage(),this.total))},numericPager:function(i,o,p){var m=10;var k=1;if(o>m){var h=(o%m);k=(h==0)?(o-m)+1:(o-h)+1}var l=(k+m)-1;l=Math.min(l,p);var j=new g.stringBuilder();if(k>1){j.cat('
    ...')}for(var n=k;n<=l;n++){if(n==o){j.cat('').cat(n).cat("")}else{j.cat('').cat(n).cat("")}}if(l...')}i.innerHTML=j.string()},$columns:function(){return this.$header.find("th:not(.t-hierarchy-cell,.t-group-cell)")},updateSorting:function(){this.sorted=[];c.each(this.orderBy.split("~"),c.proxy(function(i,h){var j=h.split("-");var k=this.columnFromMember(j[0]);if(k){k.order=j[1];this.sorted.push(k)}},this));this.$columns().each(c.proxy(function(j,m){var k=this.columns[j].order;var h=c(m).children(".t-link");var l=h.children(".t-icon");if(!k){l.hide()}else{if(l.length==0){l=c('').appendTo(h)}l.toggleClass("t-arrow-up",k=="asc").toggleClass("t-arrow-down",k=="desc").html("("+(k=="asc"?this.localization.sortedAsc:this.localization.sortedDesc)+")").show()}},this))},sanitizePage:function(i){var h=parseInt(i,10);if(isNaN(h)||h<1){return this.currentPage}return Math.min(h,this.totalPages())},totalPages:function(){return Math.ceil(this.total/this.pageSize)},firstItemInPage:function(){return this.total>0?(this.currentPage-1)*this.pageSize+1:0},lastItemInPage:function(){return Math.min(this.currentPage*this.pageSize,this.total)},dataBind:function(h){this.data=[];this.bindTo(h);this.bindFooter();this.updatePager();this.updateSorting();g.trigger(this.element,"dataBound");g.trigger(this.element,"repaint")},bindFooter:function(){var i=this.$footer.find("td:not(.t-group-cell,.t-hierarchy-cell)");var h=this.aggregates;c.each(this.columns,function(j){if(this.footer){i.eq(j).html(this.footer(h[this.member]))}})},rebind:function(h){this.sorted=[];this.orderBy="";this.filterBy="";this.currentPage=1;c.each(this.columns,function(){this.order=null;this.filters=null});c(".t-filter-options",this.element).find('input[type="text"], select').val("").removeClass("t-state-error").end().find("div.t-formatted-value").html("");c(".t-grid-filter",this.element).removeClass("t-active-filter");this.ajaxRequest(h)}};g.grid.ButtonBuilder=function(h){this.classNames=["t-button","t-grid-"+h.name];this.content=function(){return h.text};this.build=function(){return'"+this.content()+""}};g.grid.ButtonBuilder.create=function(h){return new (e[h.buttonType])(h)};function b(i,h){return'"}g.grid.ImageButtonBuilder=function(h){g.grid.ButtonBuilder.call(this,h);this.classNames.push("t-button-icon");this.content=function(){return b(h.name,h.imageAttr)}};g.grid.ImageTextButtonBuilder=function(h){g.grid.ButtonBuilder.call(this,h);this.classNames.push("t-button-icontext");this.content=function(){return'"+h.text}};g.grid.BareImageButtonBuilder=function(h,i){g.grid.ImageButtonBuilder.call(this,h,i);this.classNames.push("t-button-icon","t-button-bare")};var e={Text:g.grid.ButtonBuilder,ImageAndText:g.grid.ImageTextButtonBuilder,Image:g.grid.ImageButtonBuilder,BareImage:g.grid.BareImageButtonBuilder};c.fn.tGrid=function(h){return g.create(this,{name:"tGrid",init:function(i,j){return new g.grid(i,j)},options:h,success:function(i){if(i.$tbody.find("tr.t-no-data").length){i.ajaxRequest()}}})};c.fn.tGrid.defaults={columns:[],plugins:[],currentPage:1,pageSize:10,localization:{addNew:"Add new record","delete":"Delete",cancel:"Cancel",insert:"Insert",update:"Update",select:"Select",pageOf:"of {0}",displayingItems:"Displaying items {0} - {1} of {2}",edit:"Edit",noRecords:"No records to display.",page:"Page ",filter:"Filter",filterClear:"Clear Filter",filterShowRows:"Show rows with value that",filterAnd:"And",filterStringEq:"Is equal to",filterStringNe:"Is not equal to",filterStringStartsWith:"Starts with",filterStringSubstringOf:"Contains",filterStringEndsWith:"Ends with",filterNumberEq:"Is equal to",filterNumberNe:"Is not equal to",filterNumberLt:"Is less than",filterNumberLe:"Is less than or equal to",filterNumberGt:"Is greater than",filterNumberGe:"Is greater than or equal to",filterDateEq:"Is equal to",filterDateNe:"Is not equal to",filterDateLt:"Is before",filterDateLe:"Is before or equal to",filterDateGt:"Is after",filterDateGe:"Is after or equal to",filterEnumEq:"Is equal to",filterEnumNe:"Is not equal to",filterBoolIsTrue:"is true",filterBoolIsFalse:"is false",filterSelectValue:"-Select value-",filterOpenPopupHint:"Open the calendar popup",groupHint:"Drag a column header and drop it here to group by that column",deleteConfirmation:"Are you sure you want to delete this record?",sortedAsc:"sorted ascending",sortedDesc:"sorted descending",ungroup:"ungroup"},queryString:{page:"page",size:"size",orderBy:"orderBy",groupBy:"groupBy",filter:"filter",aggregates:"aggregates"}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.imagebrowser.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.imagebrowser.min.js deleted file mode 100644 index 5bd0143d5..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.imagebrowser.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(i,o){var n=i.telerik,e=i.telerik.query;n.imageBrowser=function(q,r){this.element=q;this.wrapper=i(q);var t=r.filter||"*.png,*.gif,*.jpg,*.jpeg";var s=r.localization;this.wrapper.append('
    select
    ').append(k(s,r.uploadUrl,r.createDirectoryUrl,r.deleteFileUrl||r.deleteDirectoryUrl)).append('
      ');var u=this.wrapper.find(".t-breadcrumbs");var y=this.wrapper.find(".t-tiles");var v=this.wrapper.find(".t-search-wrap");if(r.uploadUrl){this.wrapper.find(".t-upload input").tUpload({async:{saveUrl:r.uploadUrl,autoUpload:true},multiple:false,onUpload:function(B){var C=new RegExp(("("+t.split(",").join(")|(")+")").replace(/\*\./g,".*."),"i");var A=B.files[0].name;if(C.test(A)){B.data={path:u.val()};y.trigger("t:upload",[{name:A},function(){B.preventDefault()}])}else{B.preventDefault();alert(n.formatString(s.invalidFileType,A,t))}},onError:function(A){A.preventDefault();y.trigger("t:error",[A.files[0]]);var B=A.XMLHttpRequest;if(n.ajaxError(r.element,"error",B,B.statusText)){return}},onSuccess:function(A){y.trigger("t:completeFile",[i.extend(A.response,{path:u.val()})])}})}new n.searchBox(v[0]);new n.fileListView(y[0],{thumbnailUrl:r.thumbUrl,localization:s});var w=new n.dropDown({effects:n.fx.slide.defaults(),onClick:function(A){i(q).find(".t-tiles-arrange a span:first").html(i(A.item).text());w.close();u.trigger("t:change")}});var z=[{Text:s.orderByName,Value:"name"},{Text:s.orderBySize,Value:"size"}];w.dataBind(z);this.wrapper.find(".t-tiles-arrange a").click(function(B){B.preventDefault();var A=i(this);w.open({offset:A.offset(),outerHeight:A.outerHeight(),outerWidth:A.outerWidth(),zIndex:n.getElementZIndex(this)})}).end().delegate(".t-button:not(.t-state-disabled):has(.t-delete)","click",function(){var A=y.find(".t-state-selected");if(A.length&&confirm(n.formatString(s.deleteFile,A.find("strong").text()))){i.ajax({type:"POST",url:A.data("kind")=="f"?r.deleteFileUrl:r.deleteDirectoryUrl,data:{path:A.data("url")},error:function(C,B){if(n.ajaxError(r.element,"error",C,B)){return}},success:function(){y.trigger("t:delete");i(q).find(".t-delete").parent().addClass("t-state-disabled")}})}}).delegate(".t-button:not(.t-state-disabled):has(.t-addfolder)","click",function(){y.trigger("t:createDirectory",[function(A){i.ajax({type:"POST",url:r.createDirectoryUrl,data:{path:u.val(),name:A},error:function(C,B){y.trigger("t:errorDirectory",{name:A});if(n.ajaxError(r.element,"error",C,B)){return}},success:function(){y.trigger("t:completeDirectory",{path:u.val(),name:A})}})}])});i(document.documentElement).bind("mousedown",function(B){var A=w.$element[0];if(!i.contains(A,B.target)){w.close()}});var x=new n.dataSource({error:function(A,C){var B=n.trigger(r.element,"error",{XMLHttpRequest:A,textStatus:C});if(!B){if(C=="error"){if(A.status=="404"){alert(r.localization.directoryNotFound)}else{if(A.status!="0"){alert("Error! The requested URL returned "+A.status+" - "+A.statusText)}}}else{if(C=="timeout"){alert("Error! Server timeout.")}}}},url:r.selectUrl,callback:function(B){i(q).find(".t-delete").parent().addClass("t-state-disabled");if(!u.val()){new n.breadcrumbs(u[0],{path:B.Path,roots:B.ContentPaths})}u.val(B.Path).trigger("t:refresh");var C=i(q).find(".t-tiles-arrange a span:first").text();var A=i.map(z,function(E){if(E.Text==C){return E.Value}})[0];var D=v.val();y.trigger("t:refresh",[B,A,D])}});v.bind("t:change",function(){u.trigger("t:change")});x.get({path:""});y.bind("t:select",function(A){if(A.kind=="d"){x.get({path:A.url})}else{r.apply(A)}}).bind("t:change",function(B){var C=i(q).find(".t-delete").parent().addClass("t-state-disabled");if(B.kind=="f"){var A=B.url;if(r.imageUrl){A=r.imageUrl+"?path="+A}i(q).parent().find("#t-editor-image-url").val(A)}if((B.kind=="f"&&r.deleteFileUrl)||(B.kind=="d"&&r.deleteDirectoryUrl)){C.removeClass("t-state-disabled")}});u.bind("t:change",function(){var A=i(this).val();if(!A.match(/\/$/)){A=A+"/"}x.get({path:A})})};function k(r,s,t,q){var v=!s?"":'
      '+r.uploadFile+'
      ',u=!t?"":'',w=!q?"":' ';return'
      '+v+u+w+'
      '+r.orderBy+' '+r.orderByName+'
      '}n.fileInfoReader=function(q){this._thumbnailUrl=q.thumbnailUrl||""};n.fileInfoReader.prototype={read:function(q,r){return r[q]||r[(q.charAt(0).toUpperCase()+q.substring(1))]},directories:function(q){return this.read("directories",q)},files:function(q){return this.read("files",q)},thumbUrl:function(q,r){return this._thumbnailUrl+"/?path="+q+r},size:function(s){var q=this.read("size",s);if(!q){return""}var r=" bytes";if(q>=1073741824){r=" GB";q/=1073741824}else{if(q>=1048576){r=" MB";q/=1048576}else{if(q>=1024){r=" KB";q/=1024}}}return Math.round(q*100)/100+r},name:function(q){return this.read("name",q)},path:function(q){return this.read("path",q)},concatPaths:function(q,r){if(q===o||!q.match(/\/$/)){q=(q||"")+"/"}return q+r}};n.fileListView=function(q,r){this.element=q;this.wrapper=i(q);this._localization=r.localization;this._reader=r.reader||new n.fileInfoReader({thumbnailUrl:r.thumbnailUrl});this._pageSize=r.pageSize||20;this.wrapper.bind({"t:refresh":i.proxy(this._refresh,this),"t:upload":i.proxy(this._upload,this),"t:completeFile":i.proxy(this._completeFile,this),"t:completeDirectory":i.proxy(this._completeDirectory,this),"t:delete":i.proxy(this._delete,this),"t:errorFile":i.proxy(this._errorFile,this),"t:errorDirectory":i.proxy(this._errorDirectory,this),"t:createDirectory":i.proxy(this._createDirectory,this),scroll:i.proxy(this._scroll,this)}).delegate("li[data-url]:not(.t-tile-empty)","click",i.proxy(this._click,this)).delegate("li[data-url]:not(.t-tile-empty)","dblclick",i.proxy(this._dblclick,this))};function d(q){return'
    • '+q.name+"
    • "}function m(q){return'
    • '+q+"
    • "}function h(q){return'
    • '+q.name+''+q.size+"";"
    • "}function l(q){return'
    • '+q.name+"
    • "}function p(q){return'
    • '}function b(r){var s=i(r);var q=i("",{src:s.data("thumbUrl"),alt:s.data("filename")}).hide().bind("load",function(){i(this).prev().remove().end().fadeIn()});s.find(".t-loading").after(q);r.loaded=true}if(i.browser.msie&&parseFloat(i.browser.version)<8){var a=function(q){return q.offsetTop}}else{var a=function(q){return q.offsetTop-i(q).height()}}var f=/(\:|\^|\$|\/|\.|\+|\||\(|\)|\[|\]|\{|\}|\\)/g,j=/\*/g,c=/\?/g;function g(q){return new RegExp(q.replace(f,"\\$1").replace(j,".*").replace(c,".?"),"ig")}n.fileListView.prototype={bindTo:function(r,t,s){this._filter=s;var x=this._reader;this.wrapper.empty();var q=e(this._reader.directories(r)||[]);var v=e(this._reader.files(r)||[]);if(s){var y=g(s);var w=function(A){return y.test(x.name(A))};q=q.where(w);v=v.where(w)}var z=function(A){return x[t](A)};this._data=this._process(this._reader.path(r),q.orderBy(z),v.orderBy(z));var u=this._data.select(function(A){return A.kind=="f"?h(A):l(A)}).toArray().join("");this.wrapper.append(u);this._tiles=this.wrapper.find("li[data-kind=f]");this._scroll();this._asEmpty()},_asEmpty:function(){if(!this._data.any()&&!this._filter){this.wrapper.append(m(this._localization.emptyFolder))}},_completeFile:function(u,r){var t=this._reader.name(r);var q=this._reader.path(r);var s=i(h({kind:"f",thumbUrl:this._reader.thumbUrl(q,t),url:this._reader.concatPaths(q,t),name:t,size:this._reader.size(r)}));this.wrapper.find("li").eq(this.fileIndex(t)).replaceWith(s);b(s[0]);s.click()},_completeDirectory:function(u,r){var t=this._reader.name(r);var q=this._reader.path(r);var s=i(l({kind:"d",url:this._reader.concatPaths(q,t),name:t}));this.wrapper.find("li").eq(this.directoryIndex(t)).replaceWith(s)},_delete:function(){var q=this.wrapper.find(".t-state-selected");if(q.length){var r=this._data.toArray();r.splice(q.index(),1);this._data=e(r);q.remove();this._scroll();this._asEmpty()}},_scroll:function(q){clearTimeout(this._timeout);this._timeout=setTimeout(i.proxy(function(){var r=this.wrapper.outerHeight();var t=this.wrapper.scrollTop();var s=t+r;this._tiles.each(function(){var v=a(this);var u=v+this.offsetHeight;if((v>=t&&v=t&&us){return false}});this._tiles=this._tiles.filter(function(){return !this.loaded})},this),250)},_upload:function(u,q,v){var s=this.fileIndex(q.name);if(s>-1&&!confirm(n.formatString(this._localization.overwriteFile,q.name))){v()}else{this.wrapper.find(".t-tile-empty").remove();var w=i(d(q));if(s>-1){w.data("existing",true);this.wrapper.find("li").eq(s).replaceWith(w)}else{var t=this.wrapper.find("li[data-kind=f]:first");if(t.length){t.before(w)}else{this.wrapper.append(w)}var r=this._data.toArray();r.splice(w.index(),0,{name:q.name,kind:"f"})}this.wrapper.scrollTop(w.attr("offsetTop")-this.element.offsetHeight)}},_nameDirectory:function(){var t="New folder";var s=this._data.where(function(u){return u.kind=="d"&&u.name.indexOf(t)>-1}).select(function(u){return u.name}).toArray();if(i.inArray(t,s)>-1){var r=2;do{var q=t+" ("+r+")";r++}while(i.inArray(q,s)>-1);t=q}return t},_createDirectory:function(u,r){var t=this._nameDirectory();var w=i(p(t));var v=this.wrapper.find("li[data-kind=f]:first");if(v.length){v.before(w)}else{this.wrapper.append(w)}var q=this._data.toArray();var s=w.addClass("t-state-selected").siblings().removeClass("t-state-selected").end().find("input").keydown(function(x){if(x.keyCode==13){this.blur()}}).blur(i.proxy(function(x){var y=i.trim(x.target.value);if(!y||this._data.any(function(z){return z.kind=="d"&&z.name.toLowerCase()==y.toLowerCase()})){y=this._nameDirectory()}q.splice(w.index(),0,{name:y,kind:"d"});i(x.target).replaceWith(""+y+"");r(y)},this));setTimeout(function(){s.select()});this.wrapper.find(".t-tile-empty").remove();this.wrapper.scrollTop(w.attr("offsetTop")-this.element.offsetHeight)},_errorFile:function(u,s){var q=this.fileIndex(s.name);if(q>-1){var r=this.wrapper.find("li").eq(q);if(r.data("existing")){var t=i(h(this._data.toArray()[q]));r.replaceWith(t);b(t[0])}else{r.remove();this._data.toArray().splice(q,1)}this._asEmpty()}},_errorDirectory:function(s,r){var q=this.directoryIndex(r.name);if(q>-1){this.wrapper.find("li").eq(q).remove();this._data.toArray().splice(q,1);this._asEmpty()}},fileIndex:function(q){return this._index("f",q)},directoryIndex:function(q){return this._index("d",q)},_index:function(s,t){var q=-1,r=this._data?this._data.toArray():[];t=t.toLowerCase();i.each(r,function(u,v){if(v.kind==s&&v.name.toLowerCase()==t){q=u;return false}});return q},_raise:function(s,q){var r=i(s.currentTarget);n.trigger(this.wrapper,q,{kind:r.data("kind"),url:r.data("url")})},_click:function(q){i(q.currentTarget).addClass("t-state-selected").siblings().removeClass("t-state-selected");this._raise(q,"t:change")},_dblclick:function(q){if(document.selection&&document.selection.empty){document.selection.empty()}this._raise(q,"t:select")},_refresh:function(t,q,s,r){this.bindTo(q,s,r)},_process:function(s,q,r){var t=this._reader;var q=q.select(function(u){return{url:t.concatPaths(s,t.name(u)),name:t.name(u),kind:"d"}});var r=r.select(function(u){var v=t.name(u);return{url:t.concatPaths(s,v),name:v,kind:"f",thumbUrl:t.thumbUrl(s,v),size:t.size(u)}});return q.concat(r)}};n.dataSource=function(q){this._url=q.url;this._callback=q.callback;this._error=q.error};n.dataSource.prototype={_complete:function(q){if(this._callback){this._callback(q)}},get:function(q){i.ajax({type:"POST",url:this._url,data:q,success:i.proxy(this._complete,this),error:this._error})}};n.breadcrumbs=function(r,s){this.element=r;this.wrapper=i(r);this._gap=s.gap||50;this._initPaths(s.path);var q=new n.dropDown({effects:n.fx.slide.defaults(),onClick:i.proxy(function(t){var u=i(t.item).text();q.close();this._initPaths(u);i(r).val(u).trigger("t:change")},this)});q.dataBind(s.roots);this.wrapper.delegate("input","focus",i.proxy(this._focus,this)).delegate("input","blur",i.proxy(this._blur,this)).delegate("input","keydown",i.proxy(function(t){if(t.keyCode==13){this._blur()}},this)).delegate("a:not(.t-first)","click",n.stopAll(this._click,this)).delegate(".t-select","click",function(){var t=i(r);q.open({offset:t.offset(),outerHeight:t.outerHeight(),outerWidth:t.outerWidth(),zIndex:n.getElementZIndex(this)})}).bind("t:refresh",i.proxy(this.refresh,this));i(document.documentElement).bind("mousedown",function(u){var t=q.$element[0];if(!i.contains(t,u.target)){q.close()}});this.value(s.path)};n.breadcrumbs.prototype={_initPaths:function(q){this._basePath=(q||"").replace(/\/{2,}/g,"/").replace(/\/$/,"");q=this._basePath.split("/");q.pop();this._root=q.join("/")},_html:function(){var r=this._basePath.split("/").length-1;var q=this.value();if(q===o||!q.match(/^\//)){q="/"+(q||"")}return'
      '+i.map(q.split("/"),function(t,s){if(t&&s>=r){return''+t+""}}).join('>')+'
      select
      '},_path:function(q){return this._root+"/"+i.map(q,function(r){return i(r).text()}).join("/")},_update:function(q){q=q.charAt(0)==="/"?q:"/"+q;var r=this.value()!=q;this.value(q);if(r){this.wrapper.trigger("t:change")}},value:function(q){if(q!==o){this.wrapper.val(q.replace(/\/{2,}/g,"/"));this.refresh()}else{return this.wrapper.val()}},_click:function(q){this._update(this._path(i(q.target).prevAll("a").andSelf()))},refresh:function(){this.wrapper.empty().append(this._html());var r=this.wrapper.width()-this._gap;var q=this.wrapper.find("a");q.each(function(t){var s=i(this);if(s.parent().width()>r){if(t==q.length-1){s.width(r)}else{s.prev().andSelf().hide()}}})},_focus:function(){var q=this.wrapper.find(".t-breadcrumbs-wrap").hide().end().find("input").val(this.value());setTimeout(function(){q.select()})},_blur:function(){var q=this.wrapper.find("input").val().replace(/\/{2,}/g,"/");if(!q||q.toLowerCase().indexOf(this._basePath.toLowerCase())<0){q=this._basePath}this._update(q)}};n.searchBox=function(q){this.element=q;this.wrapper=i(q);this.wrapper.delegate("input","focus",i.proxy(this._focus,this)).delegate("input","blur",i.proxy(this._blur,this)).delegate("input","keydown",i.proxy(function(r){if(r.keyCode==13){this._blur()}},this)).delegate("a","click",n.stopAll(this._click,this));this._render()};n.searchBox.prototype={_render:function(){var q='search';this.wrapper.empty().append(i(q))},_focus:function(){this.wrapper.find("label").hide()},_blur:function(){this._update(this.wrapper.find("input").val());if(this.value()==""){this.wrapper.find("label").show()}},_update:function(q){var r=this.value()!=q;this.value(q);if(r){this.wrapper.trigger("t:change")}},value:function(q){if(q!==o){this.wrapper.val(q)}else{return this.wrapper.val()}},_click:function(){this._blur()}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.list.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.list.min.js deleted file mode 100644 index 15e8bb9f9..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.list.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var a=e.telerik;var b=/\s+/;a.list={htmlBuilder:function(g,f,h){var k,n,l=g.id,m=g.name,o=new a.stringBuilder(),i=e(g);if(h){n=i.find("option:selected").text();k=i.val()}else{n=g.value}function j(){return e(['
      '].join(" "))}this.render=function(){i.wrap(j()).hide();var p=e('
      ').insertBefore(i);this.text({builder:o,text:n,id:l,name:m}).appendTo(p);e('select').appendTo(p);if(h){o.buffer=[];e(o.cat('").string()).insertAfter(p)}};this.text=function(p){return e(['',p.text||" ",""].join(""))}},initialize:function(){this.previousValue=this.value();a.bind(this,{dataBinding:this.onDataBinding,dataBound:this.onDataBound,error:this.onError,open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})},common:function(){this.open=function(){if(this.data.length==0){return}var g=this.$wrapper||this.$element,f=this.dropDown;var h={offset:g.offset(),outerHeight:g.outerHeight(),outerWidth:g.outerWidth(),zIndex:a.getElementZIndex(g[0])};if(f.$items){f.open(h)}else{this.fill(function(){f.open(h)})}};this.close=function(){this.dropDown.close()};this.dataBind=function(h,f){this.data=h=(h||[]);var l=-1,j=!!this.loader.isAjax();for(var g=0,k=h.length;g-1&&j0){m.filters[k](m,f,j);var g=m.filteredDataIndexes;if((g&&g.length>0)||(k==0&&m.selectedIndex!=-1)){s=false}}if(s){var p={};p[m.queryString.text]=j;m.loader.ajaxRequest(function(w){var v=m.trigger;var x=m.dropDown;if(w&&w.length==0){x.close();x.dataBind();return}if(m.encoded&&!m.onDataBinding){for(var t=0,y=w.length;t0){if(!x.isOpened()){v.open()}m.filtering.autoFill(m,u.first().text())}else{v.close()}},{data:p})}}else{s=false;m.filters[k](m,m.data,j)}if(!s){var r=l.$items;if(!r){return}var h=r.length,i=m.selectedIndex;var n=k==0?i!=-1?r[i].innerText||r[i].textContent:"":r.length>0?r.first().text():"";this.autoFill(m,n);if(h==0){o.close()}else{if(!l.isOpened()){o.open()}}}};this.multiple=function(f){return f}},filters:function(){this.filters=[function f(g,k,n){if(!k||k.length==0){return}var l=g.dropDown;var j=l.$items;if(!j||j.length==0||g.loader.isAjax()){l.dataBind(k);j=l.$items}for(var h=0,m=k.length;h .t-dropdown-wrap .t-icon").addClass("t-loading")},this),100)},this.hideBusy=function(){clearTimeout(this.busyTimeout);this.component.$wrapper.find("> .t-dropdown-wrap .t-icon").removeClass("t-loading")}},trigger:function(f){this.component=f;this.change=function(){var g=f.previousValue;var h=f.value();if(g==undefined||h!=g){a.trigger(f.element,"valueChange",{value:h})}f.previousValue=h};this.open=function(){var g=f.dropDown;if((g.$items&&g.$items.length>0)&&!g.isOpened()&&!a.trigger(f.element,"open")){f.open()}};this.close=function(){if(!f.dropDown.$element.is(":animated")&&f.dropDown.isOpened()&&!a.trigger(f.element,"close")){f.close()}}},retrieveData:function(l){var k=[];var h=e(l).find("option");for(var f=0,g=h.length;f]*)("+l.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)",f?"ig":"i");h.filteredDataIndexes=j;h.selectedIndex=-1;h.dropDown.onItemCreate=function(n){if(l){n.html=n.html.replace(m,"$1")}};h.dropDown.dataBind(e.map(j,function(o,n){return k[o]}));var i=h.dropDown.$items;i.removeClass("t-state-selected");a.list.highlightFirstOnFilter(h,i)}}function c(f,h,k){if(!f||!h){return null}var l=k.length;k=k.toLowerCase();for(var g=0,j=f.length;g .t-dropdown-wrap > .t-input");if(!this.$wrapper.attr("tabIndex")){this.$wrapper.attr("tabIndex",0)}this.dropDown=new a.dropDown({attr:this.dropDownAttr,effects:this.effects,onClick:e.proxy(function(n){this.select(n.item);this.trigger.change();this.trigger.close();this.$wrapper.focus()},this)});this.dropDown.$element.css("direction",this.$wrapper.closest(".t-rtl").length?"rtl":"");this.fill=function(q){function p(s){var r,u=s.selectedValue||s.value();if(u){r=function(x){return u==(x.Value||x.Text)}}else{var t=s.dropDown.$items,v=s.index,w=t.filter(".t-state-selected").length;r=v!=-1&&v0?w-1:0}s.select(r)}var n=this.dropDown,o=this.loader;if(!n.$items&&!o.ajaxError){if(o.isAjax()){o.ajaxRequest(function(r){this.dataBind(r);p(this);a.trigger(this.element,"dataBound");this.trigger.change();if(q){q()}})}else{this.dataBind(this.data);p(this);if(q){q()}}}};this.enable=function(){this.$wrapper.removeClass("t-state-disabled").bind({keydown:e.proxy(k,this),keypress:e.proxy(l,this),click:e.proxy(function(p){var o=this.trigger;var n=this.dropDown;this.$wrapper.focus();if(n.isOpened()){o.close()}else{if(!n.$items){this.fill(o.open)}else{o.open()}}},this)})};this.disable=function(){this.$wrapper.addClass("t-state-disabled").unbind()};this.reload=function(){this.dropDown.$items=null;this.fill()};this.select=function(o){var n=this.highlight(o);if(n==-1){return n}this.selectedIndex=n;a.list.updateTextAndValue(this,this.data[n].Text,this.data[n].Value)};this.text=function(n){if(n!==undefined){this.$text.html(n&&n.replace(b,"")?n:"  ")}else{return this.$text.html()}};this.value=function(o){if(o!==undefined){var n=this.select(function(p){return o==p.Value});if(n==-1){n=this.select(function(p){return o==p.Text})}if(n!=-1){this.previousValue=o}}else{return this.$element.val()}};a.list.common.call(this);a.list.initialize.call(this);e(document.documentElement).bind("mousedown",e.proxy(function(p){var n=this.dropDown.$element;var o=n&&n.parent().length>0;if(e.contains(this.$wrapper[0],p.target)||(o&&e.contains(n.parent()[0],p.target))){return}this.trigger.change();this.trigger.close()},this));this[this.enabled?"enable":"disable"]();function j(){clearTimeout(this.timeout);this.timeout=setTimeout(e.proxy(function(){i=""},this),1000)}function k(t){var q=this.trigger;var o=this.dropDown;var r=t.keyCode||t.which;if(t.altKey&&r==38){q.close();return}if(t.altKey&&r==40){q.open();return}if(r>34&&r<41){t.preventDefault();if(!o.$items){this.fill();return}var p=o.$items,s=e(p[this.selectedIndex]);var n=(r==35)?p.last():(r==36)?p.first():(r==37||r==38)?s.prev():(r==39||r==40)?s.next():[];if(n.length){var u=n[0];this.select(u);o.scrollTo(u);if(!o.isOpened()){q.change()}}}if(r==8){j();t.preventDefault();i=i.slice(0,-1)}if(r==9||r==13||r==27){q.change();q.close()}}function l(r){var n=this.dropDown;var o=r.keyCode||r.charCode;if(o==0||e.inArray(o,a.list.keycodes)!=-1||r.ctrlKey||r.altKey||r.shiftKey){return}if(!n.$items){this.fill();return}var p=i;p+=String.fromCharCode(o);if(p){var q=c(this.data,n.$items,p);if(q){this.select(q);n.scrollTo(q)}i=p}j()}};e.fn.tDropDownList=function(f){return a.create(this,{name:"tDropDownList",init:function(g,h){return new a.dropDownList(g,h)},options:f})};e.fn.tDropDownList.defaults={effects:a.fx.slide.defaults(),accessible:false,index:0,enabled:true,encoded:true}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.splitter.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.splitter.min.js deleted file mode 100644 index 6d3fa9a5b..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.splitter.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(f){var i=f.telerik,h=7,a=/^\d+px$/i,d=/^\d+(\.\d+)?%$/i;function b(j){return d.test(j)}function g(j){return a.test(j)}function c(j){return !b(j)&&!g(j)}i.splitter=function(j,k){this.element=j;var m=this.$element=f(j),l=this;f.extend(this,k);var r=this.orientation.toLowerCase()!="vertical"?"horizontal":"vertical",p=this.panes;this.orientation=r;i.bind(this,{load:this.onLoad,expand:this.onExpand,collapse:this.onCollapse,contentLoad:this.onContentLoad,resize:function(s){s.stopPropagation();l.resize.call(l,s);if(f.isFunction(l.onResize)){l.onResize.call(j,s)}}});var n=".t-splitbar-draggable-"+r,o=".t-splitbar .t-icon:not(.t-resize-handle)";var q=function(s){return function(v){var u=f(v.target),t;if(u.closest(".t-splitter")[0]!=j){return}if(u.is(".t-"+s+"-prev")){t=u.parent().prev()}else{t=u.parent().next()}if(!i.trigger(j,s,{pane:t[0]})){l[s](t[0])}}};m.addClass("t-widget").addClass("t-splitter").children().addClass("t-pane").each(f.proxy(function(t,u){var s=f(u);s.data("pane",p?p[t]:{}).toggleClass("t-scrollable",p?p[t].scrollable!==false:true);this.ajaxRequest(s)},this)).end().trigger("resize").delegate(n,"mouseenter",function(){f(this).addClass("t-splitbar-"+r+"-hover")}).delegate(n,"mouseleave",function(){f(this).removeClass("t-splitbar-"+r+"-hover")}).delegate(o,"mouseenter",i.hover).delegate(o,"mouseleave",i.leave).delegate(".t-splitbar .t-collapse-next, .t-splitbar .t-collapse-prev","click",q("collapse")).delegate(".t-splitbar .t-expand-next, .t-splitbar .t-expand-prev","click",q("expand")).delegate(".t-splitbar","dblclick",function(v){var t=f(v.target),u=function(x,w){if(!i.trigger(j,x,{pane:w[0]})){l[x](w[0])}};if(t.closest(".t-splitter")[0]!=j){return}var s=t.children(".t-icon:not(.t-resize-handle)");if(s.length!==1){return}if(s.is(".t-collapse-prev")){u("collapse",t.prev())}else{if(s.is(".t-collapse-next")){u("collapse",t.next())}else{if(s.is(".t-expand-prev")){u("expand",t.prev())}else{if(s.is(".t-expand-next")){u("expand",t.next())}}}}}).parent().closest(".t-splitter").bind("resize",function(){m.trigger("resize")});this.resizing=new i.splitter.PaneResizing(this)};function e(j,k){return function(n,l){var m=f(n).data("pane");if(arguments.length==1){return m[j]}m[j]=l;if(k){this.$element.trigger("resize")}}}i.splitter.prototype={toggle:function(l,n){var l=f(l),j=l.prev(".t-splitbar"),m=l.next(".t-splitbar"),o=j.add(m),k=l.data("pane");if(arguments.length==1){n=k.collapsed===undefined?false:k.collapsed}o.toggleClass("t-splitbar-draggable-"+this.orientation,n).removeClass("t-splitbar-"+this.orientation+"-hover");j.find(n?".t-expand-next":".t-collapse-next").toggleClass("t-expand-next",!n).toggleClass("t-collapse-next",n);m.find(n?".t-expand-prev":".t-collapse-prev").toggleClass("t-expand-prev",!n).toggleClass("t-collapse-prev",n);k.collapsed=!n;this.$element.trigger("resize")},collapse:function(j){this.toggle(j,false)},expand:function(j){this.toggle(j,true)},size:e("size",true),minSize:e("minSize"),maxSize:e("maxSize"),ajaxOptions:function(j,l){var k=this;return f.extend({type:"POST",dataType:"html",success:function(m){j.html(m);i.trigger(k.element,"contentLoad",{pane:j[0]})}},l)},ajaxRequest:function(m,j){var k=f(m),l=k.data("pane");if(j||l.contentUrl){k.append("");f.ajax(this.ajaxOptions(k,{url:j||l.contentUrl}))}},resize:function(){var v=this.$element,C=v.children(":not(.t-splitbar)"),k=this.orientation=="horizontal",q=v.children(".t-splitbar").length,z=k?"width":"height",D=v[z]();if(q===0){q=C.length-1;for(var l=0;l")}return this};t.cat("
      ").catIconIf("t-collapse-prev",n.collapsible&&!n.collapsed).catIconIf("t-expand-prev",n.collapsible&&n.collapsed).catIconIf("t-resize-handle",s).catIconIf("t-collapse-next",o.collapsible&&!o.collapsed).catIconIf("t-expand-next",o.collapsible&&o.collapsed).cat("
      ");j.after(t.string())}}D-=h*q;var y=0,x=0,p=f();C.css({position:"absolute",top:0})[z](function(){var E=f(this).data("pane"),F;if(E.collapsed){F=0}else{if(c(E.size)){p=p.add(this);return}else{F=parseInt(E.size,10);if(b(E.size)){F=Math.floor(F*D/100)}}}x++;y+=F;return F});D-=y;var u=p.length,B=Math.floor(D/u);p.slice(0,u-1).css(z,B).end().eq(u-1).css(z,D-(u-1)*B);var w=0,r=k?"height":"width",m=k?"left":"top",A=k?"offsetWidth":"offsetHeight";v.children().css(r,v[r]()).each(function(E,F){F.style[m]=Math.floor(w)+"px";w+=F[A]})}};i.splitter.PaneResizing=function(j){this.owner=j;new i.draggable({distance:0,owner:j.element,selector:".t-splitbar-draggable-horizontal, .t-splitbar-draggable-vertical",scope:j.element.id,start:f.proxy(this.start,this),drag:f.proxy(this.drag,this),stop:f.proxy(this.stop,this)})};i.splitter.PaneResizing.prototype={start:function(x){var l=x.$draggable,o=l.prev(),p=l.next(),m=o.data("pane"),q=p.data("pane"),u=this.owner.orientation==="horizontal",y=u?"width":"height",z=u?"offsetWidth":"offsetHeight",s=u?"height":"width";this.positioningProperty=u?"left":"top";this.mousePositioningProperty=u?"pageX":"pageY";this.previousPane=o;this.nextPane=p;this.initialSplitBarPosition=parseInt(l[0].style[this.positioningProperty]);this.initialMousePosition=x[this.mousePositioningProperty];this.ghostSplitBar=f("
      ").css(s,x.$draggable[s]()).css(this.positioningProperty,this.initialSplitBarPosition).appendTo(this.owner.element);var A=parseInt(o[0].style[this.positioningProperty]),n=parseInt(p[0].style[this.positioningProperty])+p[0][z]-h,w=this.owner.$element.css(y),t=function(C){var B=parseInt(C,10);return(g(C)?B:(w*B)/100)||0},v=t(m.minSize),k=t(m.maxSize)||n-A,j=t(q.minSize),r=t(q.maxSize)||n-A;this.maxSize=Math.min(n-j,A+k);this.minSize=Math.max(A+v,n-r);f(document.body).css("cursor",l.css("cursor"))},drag:function(k){var j=Math.min(this.maxSize,Math.max(this.minSize,this.initialSplitBarPosition+(k[this.mousePositioningProperty]-this.initialMousePosition)));this.ghostSplitBar.toggleClass("t-restricted-size-"+this.owner.orientation,j==this.maxSize||j==this.minSize)[0].style[this.positioningProperty]=j+"px"},stop:function(r){if(r.keyCode!==27){var n=parseInt(this.ghostSplitBar[0].style[this.positioningProperty]),j=this.owner.orientation==="horizontal",p=j?"width":"height",o=j?"offsetWidth":"offsetHeight",k=this.previousPane.data("pane"),q=this.nextPane.data("pane"),l=n-parseInt(this.previousPane[0].style[this.positioningProperty]),t=parseInt(this.nextPane[0].style[this.positioningProperty])+this.nextPane[0][o]-n-h,m=this.owner.$element[p]();m-=h*this.owner.$element.children(".t-splitbar").length;var s=this.owner.$element.children(".t-pane").filter(function(){return c(f(this).data("pane").size)}).length;if(!c(k.size)||s>1){if(c(k.size)){s--}k.size=l+"px"}if(!c(q.size)||s>1){q.size=t+"px"}}this.ghostSplitBar.remove();if(r.keyCode!==27){this.owner.$element.trigger("resize")}f(document.body).css("cursor","");return false}};f.fn.tSplitter=function(j){return i.create(this,{name:"tSplitter",init:function(k,l){return new i.splitter(k,l)},options:j})};f.fn.tSplitter.defaults={orientation:"horizontal"}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.textbox.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.textbox.min.js deleted file mode 100644 index 4c0c2cb10..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.textbox.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(d){var i=d.telerik,a=[8,9,37,38,39,40,46,35,36,44],b=["font-family","font-size","font-stretch","font-style","font-weight","letter-spacing","line-height","color","text-align","text-decoration","text-indent","text-transform"];function f(l){var o={};for(var k=0,n=b.length;k
      '));if(this.showIncreaseButton){o.cat('Increment')}if(this.showDecreaseButton){o.cat('Decrement')}if(o.buffer.length>0){d(o.string()).insertAfter(l)}}this.$wrapper=l.closest(".t-numerictextbox").find(".t-arrow-up, .t-arrow-down").bind({click:i.preventDefault,dragstart:i.preventDefault}).end().bind({focusin:d.proxy(this._focus,this),focusout:d.proxy(this._blur,this)});this.enabled=!l.is("[disabled]");o.buffer=[];o.cat("[ |").cat(this.groupSeparator).catIf("|"+this.symbol,this.symbol).cat("]");this.replaceRegExp=new RegExp(o.string(),"g");var m=l.attr("value");o.buffer=[];o.cat('
      ').cat(m||(this.enabled?this.text:"")).cat("
      ");this.$text=d(o.string()).insertBefore(l).css(f(l)).click(function(p){j.focus()});this._blur();this[this.enabled?"enable":"disable"]();this.numFormat=this.numFormat===undefined?this.type.charAt(0):this.numFormat;var n=this.separator;this.step=this.parse(this.step,n);this.val=this.parse(this.val,n);this.minValue=this.parse(this.minValue,n);this.maxValue=this.parse(this.maxValue,n);this.decimals={"190":".","188":",","110":n};this.value(m||this.val);i.bind(this,{load:this.onLoad,valueChange:this.onChange})};i.textbox.prototype={_paste:function(n){var l=this.$element.val();if(d.browser.msie){var k=this.element.document.selection.createRange().text;var j=window.clipboardData.getData("Text");if(k&&k.length>0){l=l.replace(k,j)}else{l+=j}}if(l=="-"){return true}var m=this.parse(l,this.separator);if(m||m==0){this._update(m)}},_keydown:function(p){var m=p.keyCode,k=this.$element,o=this.separator,j=k.val();setTimeout(d.proxy(function(){k.toggleClass("t-state-error",!this.inRange(this.parse(k.val(),this.separator),this.minValue,this.maxValue))},this));var l=this.decimals[m];if(l){if(l==o&&this.digits>0&&j.indexOf(o)==-1){return true}else{p.preventDefault()}}if(m==8||m==46){setTimeout(d.proxy(function(){this._update(this.parse(k.val()))},this));return true}if(m==38||m==40){var n=m==38?1:-1;this._modify(n*this.step);return true}if(m==222){p.preventDefault()}},_keypress:function(l){var k=d(l.target),j=l.keyCode||l.which;if(l.shiftKey&&j!=45){return false}if(j==0||d.inArray(j,a)!=-1||l.ctrlKey||(l.shiftKey&&j==45)){return true}if(((this.minValue!==null?this.minValue<0:true)&&String.fromCharCode(j)=="-"&&i.caretPos(k[0])==0&&k.val().indexOf("-")==-1)||this.inRange(j,48,57)){setTimeout(d.proxy(function(){var m=this.parse(k.val());if(m!=null&&this.digits){var n=Math.pow(10,this.digits);m=parseInt(m*n)/n}if(this.val!=m){if(i.trigger(this.element,"valueChange",{oldValue:this.val,newValue:m})){m=this.val}this._value(m)}},this));return true}l.preventDefault()},_focus:function(){this.$element.css("color",this.$text.css("color"));this.$text.hide()},_blur:function(){this.$element.css("color",this.$element.css("background-color")).removeClass("t-state-error");if(this.enabled){this.$text.show()}var j=this.minValue,l=this.maxValue,k=this.parse(this.$element.val());if(k!=null){if(j!=null&&kl){k=l}}k=parseFloat(k.toFixed(this.digits))}this._update(k)},_clearTimer:function(j){clearTimeout(this.timeout);clearInterval(this.timer);clearInterval(this.acceleration)},_stepper:function(l,j){if(l.which==1){var k=this.step;this._modify(j*k);this.timeout=setTimeout(d.proxy(function(){this.timer=setInterval(d.proxy(function(){this._modify(j*k)},this),80);this.acceleration=setInterval(function(){k+=1},1000)},this),200)}},_modify:function(m){var j=this.parse(this.element.value),k=this.minValue,l=this.maxValue;j=j?j+m:m;if(k!==null&&jl){j=l}}this._update(parseFloat(j.toFixed(this.digits)))},_update:function(j){if(this.val!=j){if(i.trigger(this.element,"valueChange",{oldValue:this.val,newValue:j})){j=this.val}}this._value(j)},_value:function(j){var l=(typeof j==="number")?j:this.parse(j,this.separator),m=this.enabled?this.text:"",k=l===null;if(l!=null){l=parseFloat(l.toFixed(this.digits))}this.val=l;this.$element.val(k?"":this.formatEdit(l));this.$text.html(k?m:this.format(l));if(k){this.$text.addClass("t-state-empty")}else{this.$text.removeClass("t-state-empty")}},enable:function(){var j=this.$wrapper.find(".t-arrow-up, .t-arrow-down"),k=d.proxy(this._clearTimer,this);this.enabled=true;this.$element.removeAttr("disabled");if(!this.val&&this.val!=0){this.$text.addClass("t-state-empty").html(this.text)}else{if(true==d.browser.msie){this.$text.show()}else{this.$element.css("color",this.$element.css("background-color"))}}this.$wrapper.removeClass("t-state-disabled");j.unbind("mouseup").unbind("mouseout").unbind("dblclick").bind({mouseup:k,mouseout:k,dblclick:k});var l="mousedown";j.eq(0).unbind(l).bind(l,d.proxy(function(m){this._stepper(m,1)},this));j.eq(1).unbind(l).bind(l,d.proxy(function(m){this._stepper(m,-1)},this))},disable:function(){this.enabled=false;this.$wrapper.addClass("t-state-disabled").find(".t-icon").unbind("mousedown").bind("mousedown",i.preventDefault);this.$element.attr("disabled","disabled");if(!this.val&&this.val!=0){this.$text.html("")}else{if(true==d.browser.msie){this.$text.hide()}else{this.$element.css("color",this.$element.css("background-color"))}}},value:function(k){if(k===undefined){return this.val}var j=(typeof k==="number")?k:this.parse(k,this.separator);if(!this.inRange(j,this.minValue,this.maxValue)){j=null}this._value(j)},formatEdit:function(k){var j=this.separator;if(k&&j!="."){k=k.toString().replace(".",j)}return k},format:function(j){return i.textbox.formatNumber(j,this.numFormat,this.digits,this.separator,this.groupSeparator,this.groupSize,this.positive,this.negative,this.symbol,true)},inRange:function(l,j,k){return l===null||((j!==null?l>=j:true)&&(k!==null?l<=k:true))},parse:function(j,l){var k=null;if(j||j=="0"){if(typeof j==typeof 1){return j}j=j.replace(this.replaceRegExp,"");if(l&&l!="."){j=j.replace(l,".")}var n=d.fn.tTextBox.patterns[this.type].negative[this.negative].replace(/(\(|\))/g,"\\$1").replace("*","").replace("n","([\\d|\\.]*)"),m=new RegExp(n);if(m.test(j)){k=-parseFloat(m.exec(j)[1])}else{k=parseFloat(j)}}return isNaN(k)?null:k}};d.fn.tTextBox=function(l){var k="numeric";if(l&&l.type){k=l.type}var j=d.fn.tTextBox.defaults[k];j.digits=i.cultureInfo[k+"decimaldigits"];j.separator=i.cultureInfo[k+"decimalseparator"];j.groupSeparator=i.cultureInfo[k+"groupseparator"];j.groupSize=i.cultureInfo[k+"groupsize"];j.positive=i.cultureInfo[k+"positive"];j.negative=i.cultureInfo[k+"negative"];j.symbol=i.cultureInfo[k+"symbol"];l=d.extend({},j,l);l.type=k;return this.each(function(){var m=d(this);l=d.meta?d.extend({},l,m.data()):l;if(!m.data("tTextBox")){m.data("tTextBox",new i.textbox(this,l));i.trigger(this,"load")}})};var c={val:null,text:"",step:1,inputAttributes:"",increaseButtonTitle:"Increase value",decreaseButtonTitle:"Decrease value",showIncreaseButton:true,showDecreaseButton:true};d.fn.tTextBox.defaults={numeric:d.extend(c,{minValue:-100,maxValue:100}),currency:d.extend(c,{minValue:0,maxValue:1000}),percent:d.extend(c,{minValue:0,maxValue:100})};d.fn.tTextBox.patterns={numeric:{negative:["(n)","-n","- n","n-","n -"]},currency:{positive:["*n","n*","* n","n *"],negative:["(*n)","-*n","*-n","*n-","(n*)","-n*","n-*","n*-","-n *","-* n","n *-","* n-","* -n","n- *","(* n)","(n *)"]},percent:{positive:["n *","n*","*n"],negative:["-n *","-n*","-*n"]}};if(!i.cultureInfo.numericnegative){d.extend(i.cultureInfo,{currencydecimaldigits:2,currencydecimalseparator:".",currencygroupseparator:",",currencygroupsize:3,currencynegative:0,currencypositive:0,currencysymbol:"$",numericdecimaldigits:2,numericdecimalseparator:".",numericgroupseparator:",",numericgroupsize:3,numericnegative:1,percentdecimaldigits:2,percentdecimalseparator:".",percentgroupseparator:",",percentgroupsize:3,percentnegative:0,percentpositive:0,percentsymbol:"%"})}var h=/[0#?]/;function g(j){return j.split("").reverse().join("")}function e(o,k,r){var l=0,m=0,q=k.length,s=o.length,v=new i.stringBuilder();while(l=0){if(k.charAt(l).match(h)){v.cat(o.charAt(m++))}else{v.cat(k.charAt(l))}l++}v.catIf(o.substring(m),m-1){t=u.indexOf("0")}if(t>-1){var n=u.slice(0,t),p=u.slice(t,u.length);u=n.replace(/#/g,"")+p.replace(/#/g,"0")}else{u=u.replace(/#/g,"")}if(u.indexOf(",")==0){u=u.replace(/,/g,"")}return r?u:g(u)}i.textbox.formatNumber=function(M,p,u,w,k,S,q,s,O,H){if(!p){return M}var R,I,N,o,L=M<0;p=p.split(":");p=p.length>1?p[1].replace("}",""):p[0];var n=p.search(h)!=-1;if(n){p=p.split(";");I=p[0];N=p[1];o=p[2];p=(L&&N?N:I).indexOf("%")!=-1?"p":"n"}switch(p.toLowerCase()){case"d":return Math.round(M).toString();case"c":R="currency";break;case"n":R="numeric";break;case"p":R="percent";if(!H){M=Math.abs(M)*100}break;default:return M.toString()}var B=function(V,T,U){for(var W=V.length;W1?E[1]:"",j=i.lastIndexOf(C,"0"),z=i.lastIndexOf(C,"#");u=(z>j?z:j)+1}var D=Math.pow(10,u);var P=(Math.round(M*D)/D);M=isFinite(P)?P:M;var x=M.toString().split(/e/i);A=x.length>1?parseInt(x[1]):0;x=x[0].split(".");l=x[0];l=L?l.replace("-",""):l;t=x.length>1?x[1]:"";if(A){if(!L){t=B(t,A,false);l+=t.slice(0,A);t=t.substr(A)}else{l=B(l,A+1,true);t=l.slice(A,l.length)+t;l=l.slice(0,A)}}var Q=t.length;if(u<1||(n&&j==-1&&Q===0)){t=""}else{t=Q>u?t.slice(0,u):B(t,u,false)}var m;if(n){if(l==0){l=""}l=e(g(l),g(y),true);l=y.indexOf(",")!=-1?K(l,k,S):l;t=t&&C?e(t,C):"";m=M===0&&o?o:(L&&!N?"-":"")+l+(t.length>0?w+t:"")}else{l=K(l,k,S);J=J[R];var v=L?J.negative[s]:O?J.positive[q]:null;var r=l+(t.length>0?w+t:"");m=v?v.replace("n",r).replace("*",O):r}return m};d.extend(i.formatters,{number:i.textbox.formatNumber})})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.timepicker.min.js b/NzbDrone.Web/Scripts/2011.1.315/telerik.timepicker.min.js deleted file mode 100644 index 0b409cf94..000000000 --- a/NzbDrone.Web/Scripts/2011.1.315/telerik.timepicker.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(a){var b=a.telerik;b.timeView=function(c){a.extend(this,c);var d=this.dropDown=new b.dropDown({attr:this.dropDownAttr,effects:this.effects,onClick:function(f){var g=f.item;c.onChange(g.innerText||g.textContent)}});d.$element.addClass("t-time-popup").css("direction",this.isRtl?"rtl":"")};b.timeView.prototype={_ensureItems:function(){if(!this.dropDown.$items){this.bind()}},open:function(c){this._ensureItems();this.dropDown.open(c)},close:function(){this.dropDown.close()},bind:function(){var j=b.timeView.getTimeMilliseconds;var g=[];var c=this.format;var n=this.interval;var p=new b.datetime(this.minValue);var d=j(p);var f=j(this.maxValue);var l=n*b.datetime.msPerMinute;var k=parseInt(b.datetime.msPerDay/(n*b.datetime.msPerMinute));if(d!=f){var o=di?i+d:i;h=e>h?h+d:h;return e-h==0||i>=e&&i<=h},getTimeMilliseconds:function(c){c=c.value?c:new b.datetime(c);return((c.hours()*60)+c.minutes())*b.datetime.msPerMinute+c.seconds()*1000+c.milliseconds()}});b.timepicker=function(d,e){a.extend(this,e);if(d.nodeName.toLowerCase()!=="input"&&d.type.toLowerCase()!=="text"){throw"Target element is not a INPUT"}this.element=d;var f=this.$element=a(d).addClass("t-input").attr("autocomplete","off").bind({keydown:a.proxy(this._keydown,this),focus:a.proxy(function(j){if(this.openOnFocus){this._open()}this.$element.removeClass("t-state-error")},this)});if(!f.parent().hasClass("t-picker-wrap")){f.wrap('
      ');if(e.showButton){var i=new b.stringBuilder(),g=e.buttonTitle;a(i.cat('').cat('').string()).insertAfter(f)}}this.timeView=new b.timeView({effects:this.effects,dropDownAttr:this.dropDownAttr,format:this.format,interval:this.interval,isRtl:f.closest(".t-rtl").length,minValue:this.minValue,maxValue:this.maxValue,onNavigateWithOpenPopup:a.proxy(function(j){this.$element.val(j)},this),onChange:a.proxy(function(j){if(j!=this.inputValue){this._update(j)}this._close()},this)});this.inputValue=f.val();var c=this.selectedValue||this.inputValue;if(c){this._value(this.parse(c))}var h=this.enabled?a.proxy(this._togglePopup,this):b.preventDefault;this.$wrapper=f.closest(".t-timepicker").find(".t-icon").bind("click",h).end();a(document.documentElement).bind("mousedown",a.proxy(function(m){var l=this.$element.val();if(l!=this.inputValue){this._update(l)}var j=this.timeView.dropDown.$element;var k=j&&j.parent().length>0;if(!k||a.contains(this.$wrapper[0],m.target)||a.contains(j.parent()[0],m.target)){return}this._close()},this));b.bind(this,{open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})};b.timepicker.prototype={_close:function(){var c=this.timeView.dropDown;if(!c.$element.is(":animated")&&c.isOpened()){this._trigger("close")}},_open:function(){if(!this.timeView.isOpened()){this._trigger("open")}},_trigger:function(c){if(!b.trigger(this.element,c)){this[c]()}},_togglePopup:function(){if(this.timeView.isOpened()){this._close()}else{this.element.focus();this._open()}},_update:function(f){var k=this.minValue,d=this.maxValue,i=this.parse(f),m=this.selectedValue;if(i!=null&&!b.timeView.isInRange(i,k,d)){var e=b.timeView.getTimeMilliseconds,h=e(i),j=Math.abs(e(k)-h),l=Math.abs(e(d)-h);i=new Date(j
    ").appendTo(this.wrapper);if(!this.showFileList){w.hide()}}var u=n(".t-file",w);var x=n("
  • "+y+"
  • ").appendTo(w).data(v);if(!this.multiple){u.trigger("t:remove")}return x},_removeFileEntry:function(v){var u=v.closest(".t-upload-files");if(n(".t-file",u).length==1){u.remove();this._hideUploadButton()}else{v.remove()}},_setFileAction:function(w,u){var v={remove:"t-delete",cancel:"t-cancel",retry:"t-retry"};if(!v.hasOwnProperty(u)){return}this._clearFileAction(w);w.append(this._renderAction(v[u],this.localization[u]).addClass("t-upload-action"))},_setFileState:function(u,w){var x={uploading:{cssClass:"t-loading",text:this.localization.statusUploading},uploaded:{cssClass:"t-success",text:this.localization.statusUploaded},failed:{cssClass:"t-fail",text:this.localization.statusFailed}};var v=x[w];if(v){var y=u.children(".t-icon").text(v.text);y[0].className="t-icon "+v.cssClass}},_renderAction:function(v,u){if(v!=""){return n("")}else{return n("")}},_clearFileAction:function(u){u.find(".t-upload-action").remove()},_onFileAction:function(y){if(!this.wrapper.hasClass("t-state-disabled")){var u=n(y.target).closest(".t-upload-action"),x=u.find(".t-icon"),w=u.closest(".t-file"),v={files:w.data("fileNames")};if(x.hasClass("t-delete")){if(!r.trigger(this.wrapper,"remove",v)){w.trigger("t:remove")}}else{if(x.hasClass("t-cancel")){r.trigger(this.wrapper,"cancel",v);w.trigger("t:cancel")}else{if(x.hasClass("t-retry")){w.trigger("t:retry")}}}}return false},_onUploadSelected:function(){this.wrapper.trigger("t:saveSelected");return false},_onFileProgress:function(w,v){var u=n(".t-progress-status",w.target);if(u.length==0){u=n("").appendTo(n(".t-filename",w.target)).find(".t-progress-status")}u.width(v+"%")},_onUploadSuccess:function(x,w,u){var v=q(x);this._setFileState(v,"uploaded");r.trigger(this.wrapper,"success",{files:v.data("fileNames"),response:w,operation:"upload",XMLHttpRequest:u});if(this._supportsRemove()){this._setFileAction(v,"remove")}else{this._clearFileAction(v)}this._checkAllComplete()},_onUploadError:function(x,u){var w=q(x);this._setFileState(w,"failed");this._setFileAction(w,"retry");var v=r.trigger(this.wrapper,"error",{operation:"upload",files:w.data("fileNames"),XMLHttpRequest:u});t("Server response: "+u.responseText);if(!v){this._alert("Error! Upload failed. Unexpected server response - see console.")}this._checkAllComplete()},_showUploadButton:function(){var u=n(".t-upload-selected",this.wrapper);if(u.length==0){u=this._renderAction("",this.localization.uploadSelectedFiles).addClass("t-upload-selected")}this.wrapper.append(u)},_hideUploadButton:function(){n(".t-upload-selected",this.wrapper).remove()},_onParentFormSubmit:function(){this.element.trigger("t:abort");var v=this;if(!this.element.value){var u=n(this.element).attr("name","");setTimeout(function(){u.attr("name",v.name)},0)}},_onParentFormReset:function(){n(".t-file",this.wrapper).trigger("t:remove")},_getSupportsFormData:function(){return typeof(FormData)!="undefined"},_getSupportsMultiple:function(){return !n.browser.opera},_getSupportsDrop:function(){var x=this._getUserAgent().toLowerCase(),v=/chrome/.test(x),u=!v&&/safari/.test(x),w=u&&/windows/.test(x);return !w&&this._getSupportsFormData()},_getUserAgent:function(){return navigator.userAgent},_setupDropZone:function(){n(".t-upload-button",this.wrapper).wrap("
    ");var u=n(".t-dropzone",this.wrapper).append(n(""+this.localization.dropFilesHere+"")).bind({dragenter:d,dragover:function(v){v.preventDefault()},drop:n.proxy(this._onDrop,this)});h(u,function(){u.addClass("t-dropzone-hovered")},function(){u.removeClass("t-dropzone-hovered")});h(n(document),function(){u.addClass("t-dropzone-active")},function(){u.removeClass("t-dropzone-active")})},_onDrop:function(w){var u=w.originalEvent.dataTransfer,v=u.files;d(w);if(v.length>0){n(".t-dropzone",this.wrapper).trigger("t:select",[v])}},_supportsRemove:function(){return this.async.removeUrl!=s},_submitRemove:function(w,u,x){var v={};v.fileNames=w;n.ajax({type:"POST",dataType:"json",url:this.async.removeUrl,traditional:true,data:v,success:u,error:x})},_alert:function(u){alert(u)},_wrapInput:function(u){u.wrap("
    ");u.closest(".t-button").append(""+this.localization.select+"");return u.closest(".t-upload")},_checkAllComplete:function(){if(n(".t-file .t-icon.t-loading",this.wrapper).length==0){r.trigger(this.wrapper,"complete")}}};n.fn.tUpload=function(u){return r.create(this,{name:"tUpload",init:function(v,w){return new r.upload(v,w)},options:u})};n.fn.tUpload.defaults={enabled:true,multiple:true,showFileList:true,async:{},localization:{select:"Select...",cancel:"Cancel",retry:"Retry",remove:"Remove",uploadSelectedFiles:"Upload files",dropFilesHere:"drop files here to upload",statusUploading:"uploading",statusUploaded:"uploaded",statusFailed:"failed"}};var g=function(u){this.name="syncUploadModule";this.element=u.wrapper;this.upload=u;this.element.bind("t:select",n.proxy(this.onSelect,this)).bind("t:remove",n.proxy(this.onRemove,this)).closest("form").attr("enctype","multipart/form-data").attr("encoding","multipart/form-data")};g.prototype={onSelect:function(x){var u=this.upload;var v=n(x.target);u._addInput(v.clone().val(""));var w=u._enqueueFile(m(v),{relatedInput:v});u._setFileAction(w,"remove")},onRemove:function(v){var u=q(v);u.data("relatedInput").remove();this.upload._removeFileEntry(u)}};var f=function(u){this.name="iframeUploadModule";this.element=u.wrapper;this.upload=u;this.iframes=[];this.element.bind("t:select",n.proxy(this.onSelect,this)).bind("t:cancel",n.proxy(this.onCancel,this)).bind("t:retry",n.proxy(this.onRetry,this)).bind("t:remove",n.proxy(this.onRemove,this)).bind("t:saveSelected",n.proxy(this.onSaveSelected,this)).bind("t:abort",n.proxy(this.onAbort,this))};f.prototype={onSelect:function(x){var u=this.upload,v=n(x.target);var w=this.prepareUpload(v);if(u.async.autoUpload){this.performUpload(w)}else{if(u._supportsRemove()){this.upload._setFileAction(w,"remove")}u._showUploadButton()}},prepareUpload:function(z){var x=this.upload;var w=n(x.element);x._addInput(z.clone().val(""));var y=this.createFrame(x.name+"_"+this.iframes.length);this.registerFrame(y);var v=this.createForm(x.async.saveUrl,y.attr("name")).append(w);var u=x._enqueueFile(m(z),{frame:y,relatedInput:w,fileNames:j(z)});y.data({form:v,file:u});return u},performUpload:function(u){var y={files:u.data("fileNames")},w=u.data("frame"),z=this.upload;if(!r.trigger(z.wrapper,"upload",y)){z._hideUploadButton();w.appendTo(document.body);var v=w.data("form").appendTo(document.body);var x=z.async.saveUrl;if(y.data){v[0].action=x+(/\?/.test(x)?"&":"?")+n.param(y.data)}z._setFileAction(u,"cancel");z._setFileState(u,"uploading");w.one("load",n.proxy(this.onIframeLoad,this));v[0].submit()}else{z._removeFileEntry(w.data("file"));this.cleanupFrame(w);this.unregisterFrame(w)}},onSaveSelected:function(v){var u=this;n(".t-file",this.element).each(function(){var w=n(this),x=a(w);if(!x){u.performUpload(w)}})},onIframeLoad:function(w){var v=n(w.target);try{var u=v.contents().text()}catch(w){u="Error trying to get server response: "+w}this.processResponse(v,u)},processResponse:function(w,y){var u=w.data("file"),x=this,v={responseText:y};i(y,function(z){n.extend(v,{statusText:"OK",status:"200"});u.trigger("t:upload-success",[z,v]);x.cleanupFrame(w);x.unregisterFrame(w)},function(){n.extend(v,{statusText:"error",status:"500"});u.trigger("t:upload-error",[v])})},onCancel:function(v){var u=n(v.target).data("frame");this.stopFrameSubmit(u);this.cleanupFrame(u);this.unregisterFrame(u);this.upload._removeFileEntry(u.data("file"))},onRetry:function(v){var u=q(v);this.performUpload(u)},onRemove:function(w){var u=q(w);var v=u.data("frame");if(v){this.unregisterFrame(v);this.upload._removeFileEntry(u);this.cleanupFrame(v)}else{e(u,this.upload)}},onAbort:function(){var u=this.element,v=this;n.each(this.iframes,function(){n("input",this.data("form")).appendTo(u);v.stopFrameSubmit(this[0]);this.data("form").remove();this.remove()});this.iframes=[]},createFrame:function(u){return n("').prependTo(a).height(a.height())}}return a},_getCalendar:function(){return a.data("tCalendar")},_reassignSharedCalendar:function(){var e=this._getCalendar();if(a.data("associatedDateView")!=this){a.stop(true,true);this.focusedValue=c(this.focusedValue,this.selectedValue,this.minValue,this.maxValue);e.minDate=this.minValue;e.maxDate=this.maxValue;e.selectedValue=this.selectedValue;e.goToView(0,this.focusedValue);a.unbind("change").bind("change",d.proxy(function(h){var g=this.selectedValue;var f=new b.datetime(h.date);if(g!==null){f.hours(g.getHours()).minutes(g.getMinutes()).seconds(g.getSeconds()).milliseconds(g.getMilliseconds())}this.onChange(f.toDate())},this)).unbind("navigate").bind("navigate",d.proxy(function(i){var h=this.focusedValue;var f=e.viewedMonth;var g=e.currentView.index;h.setFullYear(f.year(),f.month(),h.getDate());b.calendar.focusDate(h,g,a,i.direction)},this)).data("associatedDateView",this);if(this.selectedValue){e.value(this.selectedValue)}b.calendar.focusDate(this.focusedValue,e.currentView.index,a)}},open:function(e){if(this.isOpened()){return}this._reassignSharedCalendar();var i=this.isRtl;var h=this.$calendar;elementPosition=e.offset;elementPosition.top+=e.outerHeight;if(i){elementPosition.left-=(a.outerWidth()||a.parent().outerWidth())-e.outerWidth}b.fx._wrap(a).css(d.extend({position:"absolute",direction:i?"rtl":"",display:a.is(":visible")?"":"none"},elementPosition));var f=this._getCalendar();var g=f.currentView.index;if(!a.is(":visible")&&f.viewedMonth.value-this.focusedValue!=0){f.goToView(g,this.focusedValue).value(this.selectedValue)}b.calendar.focusDate(this.focusedValue,f.currentView.index,a);b.fx._wrap(h).css("zIndex",e.zIndex).show();b.fx.play(this.effects,h,{direction:"bottom"})},close:function(){if(this.isOpened()){b.fx.rewind(this.effects,this.$calendar,{direction:"bottom"},function(){if(a){b.fx._wrap(a).hide()}})}},isOpened:function(){return a&&a.data("associatedDateView")==this&&a.is(":visible")},value:function(e){if(e===undefined){return this.selectedValue}var g=e===null;var f=this._getCalendar();if(!g){e=e.value?new Date(e.value):e}f.value(e);this.selectedValue=e;if(g){e=new Date()}this.focusedValue=new Date(e);b.calendar.focusDate(e,f.currentView.index,a)},navigate:function(p){if(this.isOpened()&&d(".t-overlay",a).length>0){return}var m;var k=false;var o=this.$calendar;var l=this._getCalendar();var n=l.viewedMonth;var h=l.currentView;var f=h.index;var q=new b.datetime(this.focusedValue);var r=function(e,t,s){if(!d(e,o).hasClass("t-state-disabled")){if("navigateUp"==t){f+=1}m=s||false;l[t]();return true}else{return false}};var g=function(){var e=b.calendar.findTarget(q,f,o,false)[0];l.navigateDown(p,e,f);f=f==0?0:f-1;m=true};var i=function(e,u,s){var t=!s?-1:1;if(!r(e,u,s)){return false}if(f==0){q.addMonth(t)}else{q.addYear(t*(f==1?1:f==2?10:100))}return true};var j=b.datepicker.adjustDate;if(o.is(":visible")&&!p.shiftKey){k=true;switch(p.keyCode){case 37:if(p.ctrlKey){if(!i(".t-nav-prev","navigateToPast")){return}}else{j(f,q,-1,-1);if(h.navCheck(q,n,false)){if(!r(".t-nav-prev","navigateToPast")){return}}}break;case 38:if(p.ctrlKey){r(".t-nav-fast","navigateUp")}else{j(f,q,-7,-4);if(h.navCheck(q,n,false)){if(!r(".t-nav-prev","navigateToPast")){return}}}break;case 39:if(p.ctrlKey){if(!i(".t-nav-next","navigateToFuture",true)){return}}else{j(f,q,1,1);if(h.navCheck(q,n,true)){if(!r(".t-nav-next","navigateToFuture",true)){return}}}break;case 40:if(p.ctrlKey){g()}else{j(f,q,7,4);if(h.navCheck(q,n,true)){if(!r(".t-nav-next","navigateToFuture",true)){return}}}break;case 33:if(!i(".t-nav-prev","navigateToPast")){return}break;case 34:if(!i(".t-nav-next","navigateToFuture",true)){return}break;case 35:q=b.calendar.views[f].firstLastDay(q,false,l);break;case 36:q=b.calendar.views[f].firstLastDay(q,true,l);break;case 13:p.stopPropagation();if(f==0){this.onChange(this.focusedValue)}else{g()}break;default:k=false;break}}if(k){p.preventDefault();q=b.calendar.fitDateToRange(q,new b.datetime(this.minValue),new b.datetime(this.maxValue));b.calendar.focusDate(q.toDate(),f,o,m);this.focusedValue=q.toDate()}}};d.each(["min","max"],d.proxy(function(f,e){b.dateView.prototype[e]=function(h){var g=e+"Value";if(h===undefined){return this[g]}this[g]=new Date(h.value?h.value:h);a.data("associatedDateView",null);this._reassignSharedCalendar()}},this));b.datepicker=function(f,g){d.extend(this,g);if(f.nodeName.toLowerCase()!=="input"&&f.type.toLowerCase()!=="text"){throw"Target element is not a INPUT"}this.element=f;var h=this.$element=d(f).addClass("t-input").attr("autocomplete","off").bind({keydown:d.proxy(this._keydown,this),focus:d.proxy(function(l){if(this.openOnFocus){this._open()}this.$element.removeClass("t-state-error")},this)});if(!h.parent().hasClass("t-picker-wrap")){h.wrap('
    ');if(g.showButton){var k=new b.stringBuilder(),i=g.buttonTitle;d(k.cat('').cat('').string()).insertAfter(h)}}this.dateView=new b.dateView({selectedValue:this.selectedValue,minValue:this.minValue,maxValue:this.maxValue,effects:this.effects,isRtl:h.closest(".t-rtl").length,onChange:d.proxy(function(l){this._update(l);this._close()},this)});this.inputValue=h.val();var e=this.selectedValue||this.inputValue;if(e){this._value(this.parse(e))}var j=this.enabled?d.proxy(this._togglePopup,this):b.preventDefault;this.$wrapper=h.closest(".t-datepicker").find(".t-icon").bind("click",j).end();d(document.documentElement).bind("mousedown",d.proxy(function(n){var l=this.$element.val();if(l!=this.inputValue){this._update(l)}if(!a){return}var m=a.data("associatedDateView");if(!m||m!=this.dateView){return}if(!d.contains(this.$wrapper[0],n.target)&&!d.contains(a[0],n.target)){this._close()}},this));b.bind(this,{open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})};b.datepicker.prototype={_togglePopup:function(){if(this.dateView.isOpened()){this._close()}else{this.element.focus();this._open()}},_close:function(){if(!a.is(":animated")&&this.dateView.isOpened()){this._trigger("close")}},_open:function(){if(!this.dateView.isOpened()){this._trigger("open")}},_trigger:function(e){if(!b.trigger(this.element,e)){this[e]()}},_update:function(g){g=this.parse(g);if(g!=null){if(g-this.minValue<=0){g=this.minValue}else{if(g-this.maxValue>=0){g=this.maxValue}}}var h=this.selectedValue,f=h?b.datetime.format(h,this.format):"",e=g?b.datetime.format(g,this.format):"";if(e!=f){var i={previousValue:h,value:g,previousDate:h,date:g};if(b.trigger(this.element,"valueChange",i)){g=new Date(h)}}this._value(g)},_keydown:function(g){var f=g.keyCode;if(f==9||(f==13&&this.inputValue!=this.$element.val())){this._update(this.$element.val());this._close()}else{if(f==27){this._close()}else{if(g.altKey){if(f==40){this._open()}else{if(f==38){this._close()}}}else{this.dateView.navigate(g)}}}},enable:function(){this.$element.attr("disabled",false);this.$wrapper.removeClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",d.proxy(this._togglePopup,this))},disable:function(f){this.$element.attr("disabled",true);this.$wrapper.addClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",b.preventDefault)},_value:function(e){var g=this.$element.val();var f=e===null;this.selectedValue=e;this.dateView.value(e);if(!f){g=b.datetime.format(e,this.format)}this.inputValue=g;this.$element.toggleClass("t-state-error",f&&g!="").val(g)},value:function(e){if(e===undefined){return this.selectedValue}var f=this.parse(e);f=b.datepicker.isInRange(f,this.minValue,this.maxValue)?f:null;if(f===null){this.$element.removeClass("t-state-error").val("")}this._value(f);return this},showPopup:function(){this.open()},hidePopup:function(){this.close()},open:function(){var e=this.$element;this.dateView.open({offset:e.offset(),outerHeight:e.outerHeight(),outerWidth:e.outerWidth(),zIndex:b.getElementZIndex(e[0])})},close:function(){this.dateView.close()},parse:function(e,g){if(e===null||e.getDate){return e}var f=b.datetime.parse({value:e,format:g||this.format,shortYearCutOff:this.shortYearCutOff});return f!=null?f.toDate():null}};d.each(["min","max"],d.proxy(function(f,e){b.datepicker.prototype[e]=function(g){var i=e+"Value";if(g===undefined){return this[i]}var j=this.parse(g);if(j!==null){var h=this[i];this[i]=j;if(this.minValue>this.maxValue){this[i]=h;return}this.dateView[e](j);if(!b.datepicker.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(j)}}}},this));d.extend(b.datepicker,{adjustDate:function(e,h,g,f){if(e==0){b.datetime.modify(h,b.datetime.msPerDay*g)}else{if(e==1){h.addMonth(f)}else{h.addYear((e==2?f:10*f))}}},isInRange:function(g,e,f){if(!g){return false}return e-g<=0&&f-g>=0}});d.fn.tDatePicker=function(e){return b.create(this,{name:"tDatePicker",init:function(f,g){return new b.datepicker(f,g)},options:e})};d.fn.tDatePicker.defaults={effects:b.fx.slide.defaults(),selectedValue:null,format:b.cultureInfo.shortDate,minValue:new Date(1899,11,31),maxValue:new Date(2100,0,1),shortYearCutOff:30,showButton:true,buttonTitle:"Open the calendar",enabled:true,openOnFocus:false}})(jQuery); \ No newline at end of file +(function(d){var b=d.telerik;var a=null;b.datetime.parseByToken=function(g,i){if(g===null||g===""){return null}i=i||new b.datetime();var e=null;var m=null;var k=null;var n=0;var f=function(o){var p=null;if(o&&g.substring(n,n+o.length).toLowerCase()==o.toLowerCase()){p=o}return p};var j=function(){var o=null;d.each(["days","abbrDays","months","abbrMonths"],function(q,p){if(o!==null){return}d.each(b.cultureInfo[p],function(s,r){if(o!==null){return}o=f(r)});k=p});return o};var h=function(){var o;var p=function(r,s){i[s?"date":"month"](i[s?"date":"month"]()+(o!=0?((o+((o>0?1:-1)*r))%r):0)+(m?(e==b.cultureInfo.next?1:-1)*r:0))};var q=d.inArray(m||e,b.cultureInfo[k]);if(k.toLowerCase().indexOf("day")>-1){o=(q==0?7:q)-i.day();p(7,true)}else{o=q-i.month();p(12,false)}};var l=function(){var p=function(q){var r;switch(m){case"year":r=q==1?1:0;break;case"month":r=q==2?1:0;break;case"week":r=q==3?7:0;break;case"day":r=q==3?1:0;break}return r};var o=(e==b.cultureInfo.next?1:-1);i.year(i.year()+p(1)*o,i.month()+p(2)*o,i.date()+p(3)*o)};d.each(["today","tomorrow","yesterday","next","last"],function(p,o){if(e!==null){return}e=f(b.cultureInfo[o])});if(e!==null){n+=e.length;if(/[^\s\d]\s+[^\s\d]/i.test(g)){n++;d.each(["year","month","week","day"],function(p,o){if(m!==null){return}m=f(b.cultureInfo[o])});k=null;if(m===null){m=j()}if(m===null){return null}}else{switch(e){case b.cultureInfo.today:break;case b.cultureInfo.tomorrow:i.date(i.date()+1);break;case b.cultureInfo.yesterday:i.date(i.date()-1);break;default:i=null;break}return i}}else{e=j();if(e!=null){h();return i}else{return null}}if(k!==null){h()}else{l()}return i};function c(h,g,f,e){if(g){h=new Date(g)}if(f>h){h=new Date(f)}else{if(e').prependTo(a).height(a.height())}}return a},_getCalendar:function(){return a.data("tCalendar")},_reassignSharedCalendar:function(){var e=this._getCalendar();if(a.data("associatedDateView")!=this){a.stop(true,true);this.focusedValue=c(this.focusedValue,this.selectedValue,this.minValue,this.maxValue);e.minDate=this.minValue;e.maxDate=this.maxValue;e.selectedValue=this.selectedValue;e.goToView(0,this.focusedValue);a.unbind("change").bind("change",d.proxy(function(h){var g=this.selectedValue;var f=new b.datetime(h.date);if(g!==null){f.hours(g.getHours()).minutes(g.getMinutes()).seconds(g.getSeconds()).milliseconds(g.getMilliseconds())}this.onChange(f.toDate())},this)).unbind("navigate").bind("navigate",d.proxy(function(i){var h=this.focusedValue;var f=e.viewedMonth;var g=e.currentView.index;h.setFullYear(f.year(),f.month(),h.getDate());b.calendar.focusDate(h,g,a,i.direction)},this)).data("associatedDateView",this);if(this.selectedValue){e.value(this.selectedValue)}b.calendar.focusDate(this.focusedValue,e.currentView.index,a)}},open:function(e){if(this.isOpened()){return}this._reassignSharedCalendar();var i=this.isRtl;var h=this.$calendar;elementPosition=e.offset;elementPosition.top+=e.outerHeight;if(i){elementPosition.left-=(a.outerWidth()||a.parent().outerWidth())-e.outerWidth}b.fx._wrap(a).css(d.extend({position:"absolute",direction:i?"rtl":"",display:a.is(":visible")?"":"none"},elementPosition));var f=this._getCalendar();var g=f.currentView.index;if(!a.is(":visible")&&f.viewedMonth.value-this.focusedValue!=0){f.goToView(g,this.focusedValue).value(this.selectedValue)}b.calendar.focusDate(this.focusedValue,f.currentView.index,a);b.fx._wrap(h).css("zIndex",e.zIndex).show();b.fx.play(this.effects,h,{direction:"bottom"})},close:function(){if(this.isOpened()){b.fx.rewind(this.effects,this.$calendar,{direction:"bottom"},function(){if(a){b.fx._wrap(a).hide()}})}},isOpened:function(){return a&&a.data("associatedDateView")==this&&a.is(":visible")},value:function(e){if(e===undefined){return this.selectedValue}var g=e===null;var f=this._getCalendar();if(!g){e=e.value?new Date(e.value):e}f.value(e);this.selectedValue=e;if(g){e=new Date()}this.focusedValue=new Date(e);b.calendar.focusDate(e,f.currentView.index,a)},navigate:function(p){if(this.isOpened()&&d(".t-overlay",a).length>0){return}var m;var k=false;var o=this.$calendar;var l=this._getCalendar();var n=l.viewedMonth;var h=l.currentView;var f=h.index;var q=new b.datetime(this.focusedValue);var r=function(e,t,s){if(!d(e,o).hasClass("t-state-disabled")){if("navigateUp"==t){f+=1}m=s||false;l[t]();return true}else{return false}};var g=function(){var e=b.calendar.findTarget(q,f,o,false)[0];l.navigateDown(p,e,f);f=f==0?0:f-1;m=true};var i=function(e,u,s){var t=!s?-1:1;if(!r(e,u,s)){return false}if(f==0){q.addMonth(t)}else{q.addYear(t*(f==1?1:f==2?10:100))}return true};var j=b.datepicker.adjustDate;if(o.is(":visible")&&!p.shiftKey){k=true;switch(p.keyCode){case 37:if(p.ctrlKey){if(!i(".t-nav-prev","navigateToPast")){return}}else{j(f,q,-1,-1);if(h.navCheck(q,n,false)){if(!r(".t-nav-prev","navigateToPast")){return}}}break;case 38:if(p.ctrlKey){r(".t-nav-fast","navigateUp")}else{j(f,q,-7,-4);if(h.navCheck(q,n,false)){if(!r(".t-nav-prev","navigateToPast")){return}}}break;case 39:if(p.ctrlKey){if(!i(".t-nav-next","navigateToFuture",true)){return}}else{j(f,q,1,1);if(h.navCheck(q,n,true)){if(!r(".t-nav-next","navigateToFuture",true)){return}}}break;case 40:if(p.ctrlKey){g()}else{j(f,q,7,4);if(h.navCheck(q,n,true)){if(!r(".t-nav-next","navigateToFuture",true)){return}}}break;case 33:if(!i(".t-nav-prev","navigateToPast")){return}break;case 34:if(!i(".t-nav-next","navigateToFuture",true)){return}break;case 35:q=b.calendar.views[f].firstLastDay(q,false,l);break;case 36:q=b.calendar.views[f].firstLastDay(q,true,l);break;case 13:p.stopPropagation();if(f==0){this.onChange(this.focusedValue)}else{g()}break;default:k=false;break}}if(k){p.preventDefault();q=b.calendar.fitDateToRange(q,new b.datetime(this.minValue),new b.datetime(this.maxValue));b.calendar.focusDate(q.toDate(),f,o,m);this.focusedValue=q.toDate()}}};d.each(["min","max"],d.proxy(function(f,e){b.dateView.prototype[e]=function(h){var g=e+"Value";if(h===undefined){return this[g]}this[g]=new Date(h.value?h.value:h);a.data("associatedDateView",null);this._reassignSharedCalendar()}},this));b.datepicker=function(f,g){d.extend(this,g);if(f.nodeName.toLowerCase()!=="input"&&f.type.toLowerCase()!=="text"){throw"Target element is not a INPUT"}this.element=f;var h=this.$element=d(f).addClass("t-input").attr("autocomplete","off").bind({keydown:d.proxy(this._keydown,this),focus:d.proxy(function(l){if(this.openOnFocus){this._open()}this.$element.removeClass("t-state-error")},this)});if(!h.parent().hasClass("t-picker-wrap")){h.wrap('
    ');if(g.showButton){var k=new b.stringBuilder(),i=g.buttonTitle;d(k.cat('').cat('').string()).insertAfter(h)}}this.dateView=new b.dateView({selectedValue:this.selectedValue,minValue:this.minValue,maxValue:this.maxValue,effects:this.effects,isRtl:h.closest(".t-rtl").length,onChange:d.proxy(function(l){this._update(l);this._close()},this)});this.inputValue=h.val();var e=this.selectedValue||this.inputValue;if(e){this._value(this.parse(e))}var j=this.enabled?d.proxy(this._togglePopup,this):b.preventDefault;this.$wrapper=h.closest(".t-datepicker").find(".t-icon").bind("click",j).end();d(document.documentElement).bind("mousedown",d.proxy(function(n){var l=this.$element.val();if(l!=this.inputValue){this._update(l)}if(!a){return}var m=a.data("associatedDateView");if(!m||m!=this.dateView){return}if(!d.contains(this.$wrapper[0],n.target)&&!d.contains(a[0],n.target)){this._close()}},this));b.bind(this,{open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})};b.datepicker.prototype={_togglePopup:function(){if(this.dateView.isOpened()){this._close()}else{this.element.focus();this._open()}},_close:function(){if(!a.is(":animated")&&this.dateView.isOpened()){this._trigger("close")}},_open:function(){if(!this.dateView.isOpened()){this._trigger("open")}},_trigger:function(e){if(!b.trigger(this.element,e)){this[e]()}},_update:function(f){f=this.parse(f);if(f!=null){if(f-this.minValue<=0){f=this.minValue}else{if(f-this.maxValue>=0){f=this.maxValue}}}var e=this.selectedValue,i=e?b.datetime.format(e,this.format):"",h=f?b.datetime.format(f,this.format):"";this._value(f);if(h!=i){var g={previousValue:e,value:f,previousDate:e,date:f};if(b.trigger(this.element,"valueChange",g)){this._value(e)}}},_keydown:function(g){var f=g.keyCode;if(f==9||(f==13&&this.inputValue!=this.$element.val())){this._update(this.$element.val());this._close()}else{if(f==27){this._close()}else{if(g.altKey){if(f==40){this._open()}else{if(f==38){this._close()}}}else{this.dateView.navigate(g)}}}},enable:function(){this.$element.attr("disabled",false);this.$wrapper.removeClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",d.proxy(this._togglePopup,this))},disable:function(f){this.$element.attr("disabled",true);this.$wrapper.addClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",b.preventDefault)},_value:function(e){var g=this.$element.val();var f=e===null;this.selectedValue=e;this.dateView.value(e);if(!f){g=b.datetime.format(e,this.format)}this.inputValue=g;this.$element.toggleClass("t-state-error",f&&g!="").val(g)},value:function(e){if(e===undefined){return this.selectedValue}var f=this.parse(e);f=b.datepicker.isInRange(f,this.minValue,this.maxValue)?f:null;if(f===null){this.$element.removeClass("t-state-error").val("")}this._value(f);return this},showPopup:function(){this.open()},hidePopup:function(){this.close()},open:function(){var e=this.$element;this.dateView.open({offset:e.offset(),outerHeight:e.outerHeight(),outerWidth:e.outerWidth(),zIndex:b.getElementZIndex(e[0])})},close:function(){this.dateView.close()},parse:function(e,g){if(e===null||e.getDate){return e}var f=b.datetime.parse({value:e,format:g||this.format,shortYearCutOff:this.shortYearCutOff});return f!=null?f.toDate():null}};d.each(["min","max"],d.proxy(function(f,e){b.datepicker.prototype[e]=function(g){var i=e+"Value";if(g===undefined){return this[i]}var j=this.parse(g);if(j!==null){var h=this[i];this[i]=j;if(this.minValue>this.maxValue){this[i]=h;return}this.dateView[e](j);if(!b.datepicker.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(j)}}}},this));d.extend(b.datepicker,{adjustDate:function(e,h,g,f){if(e==0){b.datetime.modify(h,b.datetime.msPerDay*g)}else{if(e==1){h.addMonth(f)}else{h.addYear((e==2?f:10*f))}}},isInRange:function(g,e,f){if(!g){return false}return e-g<=0&&f-g>=0}});d.fn.tDatePicker=function(e){return b.create(this,{name:"tDatePicker",init:function(f,g){return new b.datepicker(f,g)},options:e})};d.fn.tDatePicker.defaults={effects:b.fx.slide.defaults(),selectedValue:null,format:b.cultureInfo.shortDate,minValue:new Date(1899,11,31),maxValue:new Date(2100,0,1),shortYearCutOff:30,showButton:true,buttonTitle:"Open the calendar",enabled:true,openOnFocus:false}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.414/telerik.datetimepicker.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.datetimepicker.min.js new file mode 100644 index 000000000..90e32369d --- /dev/null +++ b/NzbDrone.Web/Scripts/2011.1.414/telerik.datetimepicker.min.js @@ -0,0 +1 @@ +(function(c){var b=c.telerik;function a(e,f){var d=new b.stringBuilder();return d.cat('').string()}b.datetimepicker=function(f,g){c.extend(this,g);if(f.nodeName.toLowerCase()!=="input"&&f.type.toLowerCase()!=="text"){throw"Target element is not a INPUT"}this.element=f;var h=this.$element=c(f).addClass("t-input").attr("autocomplete","off").bind({keydown:c.proxy(this._keydown,this),focus:c.proxy(function(i){this.$element.removeClass("t-state-error")},this)});if(!h.parent().hasClass("t-picker-wrap")){h.wrap('
    ');if(g.showCalendarButton||g.showTimeButton){c(new b.stringBuilder().cat('').catIf(a("calendar",g.calendarButtonTitle),g.showCalendarButton).cat(a("clock",g.timeButtonTitle),g.showTimeButton).cat("").string()).insertAfter(h)}}this.$wrapper=h.closest(".t-datetimepicker").find(".t-icon-clock").bind("click",this.enabled?c.proxy(this._toggleTimeView,this):b.preventDefault).end().find(".t-icon-calendar").bind("click",this.enabled?c.proxy(this._toggleDateView,this):b.preventDefault).end();this.timeView=new b.timeView({effects:this.effects,dropDownAttr:this.dropDownAttr,format:this.timeFormat,interval:this.interval,isRtl:h.closest(".t-rtl").length,minValue:this.startTimeValue,maxValue:this.endTimeValue,onNavigateWithOpenPopup:c.proxy(function(j){var i=this.parse(j,this.timeFormat);this.$element.val(b.datetime.format(i,this.format))},this),onChange:c.proxy(function(i){this._update(this.parse(i,this.timeFormat));this._close("time")},this)});this.dateView=new b.dateView({selectedValue:this.selectedValue,minValue:this.minValue,maxValue:this.maxValue,effects:this.effects,isRtl:h.closest(".t-rtl").length,onChange:c.proxy(function(i){this._update(i);this._close("date")},this)});this.inputValue=h.val();var d=this.selectedValue||this.inputValue;if(d){var e=this.parse(d);this.dateView.selectedValue=e;this._value(this.parse(d))}c(document.documentElement).bind("mousedown",c.proxy(function(n){var l=this.$element.val();if(l!=this.inputValue){this._update(l)}var i=this.dateView.$calendar;if(!i){return}var m=this.timeView.dropDown.$element;var j=m&&m.parent().length>0;var o=i.data("associatedDateView");var k=n.target;if(c.contains(this.$wrapper[0],k)||(o&&o==this.dateView&&c.contains(i[0],k))||(j&&c.contains(m.parent()[0],k))){return}this._close("date");this._close("time")},this));b.bind(this,{open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})};b.datetimepicker.prototype={_update:function(e){e=this.parse(e);if(e!=null){if(e-this.minValue<=0){e=this.minValue}else{if(e-this.maxValue>=0){e=this.maxValue}}}var d=this.selectedValue,h=d?b.datetime.format(d,this.format):"",g=e?b.datetime.format(e,this.format):"";this._value(e);if(g!=h){var f={previousValue:d,value:e};if(b.trigger(this.element,"valueChange",f)){this._value(d)}}},_value:function(d){var h=this.$element.val();var g=d===null;var e=this.dateView;var f=e.$calendar.data("associatedDateView");this.selectedValue=d;this.timeView.value(g?null:b.datetime.format(d,this.timeFormat));if(f&&f==e){e.value(d)}if(!g){h=b.datetime.format(d,this.format)}this.inputValue=h;this.$element.toggleClass("t-state-error",g&&h!="").val(h)},_open:function(d){if(!this[d=="time"?"timeView":"dateView"].isOpened()){this._trigger(d,"open")}},_close:function(f){var d=this.dateView;var e=this.timeView.dropDown;if((f=="time"&&!e.$element.is(":animated")&&e.isOpened())||(!d.$calendar.is(":animated")&&d.isOpened())){this._trigger(f,"close")}},_trigger:function(d,e){if(!b.trigger(this.element,e,{popup:d})){this[e](d)}},_keydown:function(g){var f=g.keyCode,d=this.dateView.isOpened();if(f==9||f==27||(f==13&&this.inputValue!=this.$element.val())){this._update(this.$element.val());this._close("date");this._close("time");return}if(g.altKey){if(f==40){this._close(d?"date":"time");this._open(d?"time":"date")}else{if(f==38){this._close(d?"date":"time")}}return}if(d){this.dateView.navigate(g);return}if(this.timeView.isOpened()&&(f===38||f===40)){this.timeView.navigate(g);return}},_toggleDateView:function(){if(this.dateView.isOpened()){this._close("date")}else{this.element.focus();this._open("date");this._close("time")}},_toggleTimeView:function(){if(this.timeView.isOpened()){this._close("time")}else{this.element.focus();this._open("time");this._close("date")}},enable:function(){this.$element.attr("disabled",false);this.$wrapper.removeClass("t-state-disabled").find(".t-icon-clock").unbind("click").bind("click",c.proxy(this._toggleTimeView,this)).end().find(".t-icon-calendar").unbind("click").bind("click",c.proxy(this._toggleDateView,this))},disable:function(d){this.$element.attr("disabled",true);this.$wrapper.addClass("t-state-disabled").find(".t-icon").unbind("click").bind("click",b.preventDefault)},open:function(e){var f=this.$element;var d={offset:f.offset(),outerHeight:f.outerHeight(),outerWidth:f.outerWidth(),zIndex:b.getElementZIndex(f[0])};this[e=="time"?"timeView":"dateView"].open(d)},close:function(d){this[d=="time"?"timeView":"dateView"].close()},value:function(d){if(d===undefined){return this.selectedValue}var e=this.parse(d);e=b.datepicker.isInRange(e,this.minValue,this.maxValue)?e:null;if(e===null){this.$element.removeClass("t-state-error").val("")}this._value(e);return this},parse:function(d,f){if(d===null||d.getDate){return d}f=f||this.format;var e=b.datetime.parse({AM:b.cultureInfo.AM,PM:b.cultureInfo.PM,value:d,format:f,baseDate:this.selectedValue?new b.datetime(this.selectedValue):new b.datetime()});return e!=null?e.toDate():null}};c.each(["min","max"],c.proxy(function(e,d){b.datetimepicker.prototype[d]=function(f){var h=d+"Value";if(f===undefined){return this[h]}var i=this.parse(f);if(i!==null){var g=this[h];this[h]=i;if(this.minValue>this.maxValue){this[h]=g;return}this.dateView[d](i);if(!b.datepicker.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(i)}}}},this));c.each(["startTime","endTime"],c.proxy(function(e,d){b.datetimepicker.prototype[d]=function(f){var g=d+"Value";if(f===undefined){return this[g]}var h=this.parse(f,b.cultureInfo.shortTime);if(h!==null){this[g]=h;d=="startTime"?this.timeView.min(h):this.timeView.max(h);if(!b.timeView.isInRange(this.selectedValue,this.minValue,this.maxValue)){this.value(h)}}}},this));c.fn.tDateTimePicker=function(d){c.fn.tDateTimePicker.defaults.timeFormat=b.cultureInfo.shortTime;return b.create(this,{name:"tDateTimePicker",init:function(e,f){return new b.datetimepicker(e,f)},options:d})};c.fn.tDateTimePicker.defaults={effects:b.fx.slide.defaults(),selectedValue:null,format:b.cultureInfo.generalDateShortTime,focusedDate:new b.datetime(),minValue:new Date(1899,11,31),maxValue:new Date(2100,0,1),startTimeValue:new b.datetime().hours(0).minutes(0).seconds(0).toDate(),endTimeValue:new b.datetime().hours(0).minutes(0).seconds(0).toDate(),calendarButtonTitle:"Open the calendar",timeButtonTitle:"Open the time view",showCalendarButton:true,showTimeButton:true,shortYearCutOff:30,enabled:true,interval:30}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.draganddrop.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.draganddrop.min.js similarity index 100% rename from NzbDrone.Web/Scripts/2011.1.315/telerik.draganddrop.min.js rename to NzbDrone.Web/Scripts/2011.1.414/telerik.draganddrop.min.js diff --git a/NzbDrone.Web/Scripts/2011.1.414/telerik.editor.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.editor.min.js new file mode 100644 index 000000000..f6a0e9775 --- /dev/null +++ b/NzbDrone.Web/Scripts/2011.1.414/telerik.editor.min.js @@ -0,0 +1 @@ +(function(s){var ar=s.telerik;function G(a3){var a2={};for(var a1=0;a18){g=function(a2){if(a2.nodeType==1&&a2.firstChild){var a1=a2.firstChild,a3=a1;while(a3=a3.nextSibling){if(a3.nodeType==3&&a1.nodeType==3){a3.nodeValue=a1.nodeValue+a3.nodeValue;D.remove(a1)}a1=a3}}}}function p(a1){var a2=0;while(a1=a1.previousSibling){a2++}return a2}function af(a1){return a1&&a1.nodeValue!==null&&a1.data!==null}function k(a1,a2){try{return !af(a1)&&(s.contains(a1,af(a2)?a2.parentNode:a2)||a2.parentNode==a1)}catch(a3){return false}}function z(a2,a1){return k(a2,a1)||a2==a1}function aB(a2,a1){if(k(a2,a1)){while(a1&&a1.parentNode!=a2){a1=a1.parentNode}}return a1}function aG(a1){return af(a1)?a1.length:a1.childNodes.length}function av(a1,a3){var a2=a1.cloneNode(false);a1.deleteData(a3,a1.length);a2.deleteData(0,a3);D.insertAfter(a2,a1)}function B(a2,a3){for(var a4 in a3){var a1=a2[a4];if(a4=="float"){a1=a2[s.support.cssFloat?"cssFloat":"styleFloat"]}if(typeof a1=="object"){if(!B(a1,a3[a4])){return false}}else{if(a1!=a3[a4]){return false}}}return true}var aD=/^\s+$/;var e=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/i;var ah=("color,padding-left,padding-right,padding-top,padding-bottom,background-color,background-attachment,background-image,background-position,background-repeat,border-top-style,border-top-width,border-top-color,border-bottom-style,border-bottom-width,border-bottom-color,border-left-style,border-left-width,border-left-color,border-right-style,border-right-width,border-right-color,font-family,font-size,font-style,font-variant,font-weight,line-height").split(",");var D={blockParentOrBody:function(a1){return D.parentOfType(a1,H)||a1.ownerDocument.body},normalize:g,toHex:function(a1){var a2=e.exec(a1);if(!a2){return a1}return"#"+s.map(a2.slice(1),function(a3){return a3=parseInt(a3).toString(16),a3.length>1?a3:"0"+a3}).join("")},encode:function(a1){return a1.replace(/&/g,"&").replace(//g,">").replace(/\u00a0/g," ")},name:function(a1){return a1.nodeName.toLowerCase()},significantChildNodes:function(a1){return s.grep(a1.childNodes,function(a2){return a2.nodeType!=3||!D.isWhitespace(a2)})},lastTextNode:function(a2){if(a2.nodeType==3){return a2}var a1=null;for(var a3=a2.lastChild;a3;a3=a3.previousSibling){if(a1=D.lastTextNode(a3)){return a1}}return a1},is:function(a1,a2){return D.name(a1)==a2},isMarker:function(a1){return a1.className=="t-marker"},isWhitespace:function(a1){return aD.test(a1.nodeValue)},isBlock:function(a1){return N[D.name(a1)]},isEmpty:function(a1){return aM[D.name(a1)]},isInline:function(a1){return aU[D.name(a1)]},scrollTo:function(a1){a1.ownerDocument.body.scrollTop=s(af(a1)?a1.parentNode:a1).offset().top},insertAt:function(a2,a1,a3){a2.insertBefore(a1,a2.childNodes[a3]||null)},insertBefore:function(a1,a2){if(a2.parentNode){return a2.parentNode.insertBefore(a1,a2)}else{return a2}},insertAfter:function(a1,a2){return a2.parentNode.insertBefore(a1,a2.nextSibling)},remove:function(a1){a1.parentNode.removeChild(a1)},trim:function(a2){for(var a1=a2.childNodes.length-1;a1>=0;a1--){var a3=a2.childNodes[a1];if(af(a3)){if(a3.nodeValue.replace(/\ufeff/g,"").length==0){D.remove(a3)}if(D.isWhitespace(a3)){D.insertBefore(a3,a2)}}else{if(a3.className!="t-marker"){D.trim(a3);if(a3.childNodes.length==0&&!D.isEmpty(a3)){D.remove(a3)}}}}return a2},parentOfType:function(a1,a2){do{a1=a1.parentNode}while(a1&&!(D.ofType(a1,a2)));return a1},ofType:function(a1,a2){return s.inArray(D.name(a1),a2)>=0},changeTag:function(a5,a2){var a4=D.create(a5.ownerDocument,a2);var a8=a5.attributes;for(var a3=0;a3")},end:function(){a6.push("")}},b:{start:function(){a6.push("")},end:function(){a6.push("")}},i:{start:function(){a6.push("")},end:function(){a6.push("")}},u:{start:function(){a6.push('')},end:function(){a6.push("")}},font:{start:function(a9){a6.push('')},end:function(a7){a6.push("")}}};function a2(a8){var bf=[],bn=a8.attributes,bk=s.trim;if(D.is(a8,"img")){var bq=a8.style.width,bg=a8.style.height,be=s(a8);if(bq){be.attr("width",parseInt(bq));D.unstyle(a8,{width:undefined})}if(bg){be.attr("height",parseInt(bg));D.unstyle(a8,{height:undefined})}}for(var bd=0,bi=bn.length;bdbs.nodeName?1:br.nodeName=0){a7=D.toHex(a7)}if(a9.indexOf("font-family")>=0){a7=a7.replace(K,"'")}a6.push(a9);a6.push(":");a6.push(a7);a6.push(";")}}}else{if(bp=="src"||bp=="href"){a6.push(a8.getAttribute(bp,2))}else{a6.push(M[bp]?bp:bj)}}a6.push('"')}}function a1(a7,a8){for(var a9=a7.firstChild;a9;a9=a9.nextSibling){a4(a9,a8)}}function a4(ba,bb){var be=ba.nodeType;if(be==1){if(ba.attributes._moz_dirty&&D.is(ba,"br")){return}var a8=D.name(ba);var bc=a5[a8];if(bc){bc.start(ba);a1(ba);bc.end(ba);return}a6.push("<");a6.push(a8);a2(ba);if(aM[a8]){a6.push(" />")}else{a6.push(">");a1(ba,bb||D.is(ba,"pre"));a6.push("")}}else{if(be==3){var a7=ba.nodeValue;if(!bb&&s.support.leadingWhitespace){var bd=ba.parentNode;var a9=(D.isInline(bd)?bd:ba).previousSibling;if(!a9||a9.innerHTML==""||D.isBlock(a9)){a7=a7.replace(/^[\r\n\v\f\t ]+/,"")}a7=a7.replace(/ +/," ")}a6.push(D.encode(a7))}else{if(be==4){a6.push("")}else{if(be==8){if(ba.data.indexOf("[CDATA[")<0){a6.push("")}else{a6.push("")}}}}}}a1(a3);return a6.join("")}var v=0,aq=1,a=2,T=3;function q(a2){var a1=a2.startContainer;return a1.nodeType==9?a1:a1.ownerDocument}function E(a1){if(s.browser.msie){return new aw(a1.document)}return a1.getSelection()}function al(a2){var a1=q(a2);return aZ(a1)}function aZ(a1){return E(az(a1))}function az(a1){return a1.defaultView||a1.parentWindow}function am(a1,a2,a4){function a3(a7){var a5=a1.cloneRange();a5.collapse(a7);a5[a7?"setStartBefore":"setEndAfter"](a2);var a6=a5.extractContents();if(a4){a6=D.trim(a6)}D[a7?"insertBefore":"insertAfter"](a6,a2)}a3(true);a3(false)}function O(a2){var a3=U.image(a2);if(a3){a2.setStartAfter(a3);a2.setEndAfter(a3)}var a1=al(a2);a1.removeAllRanges();a1.addRange(a2)}function L(a1){s.extend(this,{ownerDocument:a1,startContainer:a1,endContainer:a1,commonAncestorContainer:a1,startOffset:0,endOffset:0,collapsed:true})}L.prototype={setStart:function(a1,a2){this.startContainer=a1;this.startOffset=a2;w(this);u(this,true)},setEnd:function(a1,a2){this.endContainer=a1;this.endOffset=a2;w(this);u(this,false)},setStartBefore:function(a1){this.setStart(a1.parentNode,p(a1))},setStartAfter:function(a1){this.setStart(a1.parentNode,p(a1)+1)},setEndBefore:function(a1){this.setEnd(a1.parentNode,p(a1))},setEndAfter:function(a1){this.setEnd(a1.parentNode,p(a1)+1)},selectNode:function(a1){this.setStartBefore(a1);this.setEndAfter(a1)},selectNodeContents:function(a1){this.setStart(a1,0);this.setEnd(a1,a1[a1.nodeType===1?"childNodes":"nodeValue"].length)},collapse:function(a1){if(a1){this.setEnd(this.startContainer,this.startOffset)}else{this.setStart(this.endContainer,this.endOffset)}},deleteContents:function(){var a2=this.cloneRange();if(this.startContainer!=this.commonAncestorContainer){this.setStartAfter(aB(this.commonAncestorContainer,this.startContainer))}this.collapse(true);(function a1(a3){while(a3.next()){a3.hasPartialSubtree()?a1(a3.getSubtreeIterator()):a3.remove()}})(new l(a2))},cloneContents:function(){var a1=q(this);return(function a2(a5){for(var a4,a3=a1.createDocumentFragment();a4=a5.next();){a4=a4.cloneNode(!a5.hasPartialSubtree());if(a5.hasPartialSubtree()){a4.appendChild(a2(a5.getSubtreeIterator()))}a3.appendChild(a4)}return a3})(new l(this))},extractContents:function(){var a2=this.cloneRange();if(this.startContainer!=this.commonAncestorContainer){this.setStartAfter(aB(this.commonAncestorContainer,this.startContainer))}this.collapse(true);var a3=this;var a1=q(this);return(function a4(a7){for(var a6,a5=a1.createDocumentFragment();a6=a7.next();){a7.hasPartialSubtree()?a6=a6.cloneNode(false):a7.remove(a3.originalRange);if(a7.hasPartialSubtree()){a6.appendChild(a4(a7.getSubtreeIterator()))}a5.appendChild(a6)}return a5})(new l(a2))},insertNode:function(a1){if(af(this.startContainer)){if(this.startOffset!=this.startContainer.nodeValue.length){av(this.startContainer,this.startOffset)}D.insertAfter(a1,this.startContainer)}else{D.insertAt(this.startContainer,a1,this.startOffset)}this.setStart(this.startContainer,this.startOffset)},cloneRange:function(){return s.extend(new L(this.ownerDocument),{startContainer:this.startContainer,endContainer:this.endContainer,commonAncestorContainer:this.commonAncestorContainer,startOffset:this.startOffset,endOffset:this.endOffset,collapsed:this.collapsed,originalRange:this})},toString:function(){var a2=this.startContainer.nodeName,a1=this.endContainer.nodeName;return[a2=="#text"?this.startContainer.nodeValue:a2,"(",this.startOffset,") : ",a1=="#text"?this.endContainer.nodeValue:a1,"(",this.endOffset,")"].join("")}};function m(a3,a1,a8,a5){if(a3==a1){return a5-a8}var a7=a1;while(a7&&a7.parentNode!=a3){a7=a7.parentNode}if(a7){return p(a7)-a8}a7=a3;while(a7&&a7.parentNode!=a1){a7=a7.parentNode}if(a7){return a5-p(a7)-1}var a6=D.commonAncestor(a3,a1);var a4=a3;while(a4&&a4.parentNode!=a6){a4=a4.parentNode}if(!a4){a4=a6}var a2=a1;while(a2&&a2.parentNode!=a6){a2=a2.parentNode}if(!a2){a2=a6}if(a4==a2){return 0}return p(a2)-p(a4)}function u(a2,a3){function a1(a5){try{return m(a5.startContainer,a5.endContainer,a5.startOffset,a5.endOffset)<0}catch(a4){return true}}if(a1(a2)){if(a3){a2.commonAncestorContainer=a2.endContainer=a2.startContainer;a2.endOffset=a2.startOffset}else{a2.commonAncestorContainer=a2.startContainer=a2.endContainer;a2.startOffset=a2.endOffset}a2.collapsed=true}}function w(a2){a2.collapsed=a2.startContainer==a2.endContainer&&a2.startOffset==a2.endOffset;var a1=a2.startContainer;while(a1&&a1!=a2.endContainer&&!k(a1,a2.endContainer)){a1=a1.parentNode}a2.commonAncestorContainer=a1}function aQ(a1){if(s.browser.msie){return new L(a1)}return a1.createRange()}function l(a2){s.extend(this,{range:a2,_current:null,_next:null,_end:null});if(a2.collapsed){return}var a1=a2.commonAncestorContainer;this._next=a2.startContainer==a1&&!af(a2.startContainer)?a2.startContainer.childNodes[a2.startOffset]:aB(a1,a2.startContainer);this._end=a2.endContainer==a1&&!af(a2.endContainer)?a2.endContainer.childNodes[a2.endOffset]:aB(a1,a2.endContainer).nextSibling}l.prototype={hasNext:function(){return !!this._next},next:function(){var a1=this._current=this._next;this._next=this._current&&this._current.nextSibling!=this._end?this._current.nextSibling:null;if(af(this._current)){if(this.range.endContainer==this._current){(a1=a1.cloneNode(true)).deleteData(this.range.endOffset,a1.length-this.range.endOffset)}if(this.range.startContainer==this._current){(a1=a1.cloneNode(true)).deleteData(0,this.range.startOffset)}}return a1},traverse:function(a2){function a1(){this._current=this._next;this._next=this._current&&this._current.nextSibling!=this._end?this._current.nextSibling:null;return this._current}var a3;while(a3=a1.call(this)){if(this.hasPartialSubtree()){this.getSubtreeIterator().traverse(a2)}else{a2(a3)}}return a3},remove:function(a6){var a5=this.range.startContainer==this._current;var a3=this.range.endContainer==this._current;if(af(this._current)&&(a5||a3)){var a2=a5?this.range.startOffset:0;var a1=a3?this.range.endOffset:this._current.length;var a8=a1-a2;if(a6&&(a5||a3)){if(this._current==a6.startContainer&&a2<=a6.startOffset){a6.startOffset-=a8}if(this._current==a6.endContainer&&a1<=a6.endOffset){a6.endOffset-=a8}}this._current.deleteData(a2,a8)}else{var a7=this._current.parentNode;if(a6&&(this.range.startContainer==a7||this.range.endContainer==a7)){var a4=p(this._current);if(a7==a6.startContainer&&a4<=a6.startOffset){a6.startOffset-=1}if(a7==a6.endContainer&&a40&&a4.previousSibling);a7.setEndPoint(a1?"EndToStart":"EndToEnd",a6);var a5=a4.nextSibling;if(!a5){a5=a4.previousSibling;if(a5&&af(a5)){a2.setEnd(a5,a5.nodeValue.length);D.remove(a4)}else{a2.selectNodeContents(a3);D.remove(a4);a2.endOffset-=1}return}D.remove(a4);if(af(a5)){a2[a1?"setStart":"setEnd"](a5,a7.text.length)}else{a2[a1?"setStartBefore":"setEndBefore"](a5)}}function aj(a1){this.enumerate=function(){var a3=[];function a2(a4){if(D.is(a4,"img")||(a4.nodeType==3&&!D.isWhitespace(a4))){a3.push(a4)}else{a4=a4.firstChild;while(a4){a2(a4);a4=a4.nextSibling}}}new l(a1).traverse(a2);return a3}}function j(a1){return new aj(a1).enumerate()}function Z(a5){var a1=[];for(var a2=0,a4=a5.length;a2'}a3.selectNodeContents(a7)}}a3.collapse(true)};this.add=function(a2,a4){if(a4&&a2.collapsed){this.addCaret(a2);a2=U.expand(a2)}var a3=a2.cloneRange();a3.collapse(false);this.end=D.create(q(a2),"span",{className:"t-marker"});a3.insertNode(this.end);a3=a2.cloneRange();a3.collapse(true);this.start=this.end.cloneNode(true);a3.insertNode(this.start);a2.setStartBefore(this.start);a2.setEndAfter(this.end);g(a2.commonAncestorContainer);return a2};this.remove=function(a9){var a2=this.start,be=this.end;g(a9.commonAncestorContainer);while(!a2.nextSibling&&a2.parentNode){a2=a2.parentNode}while(!be.previousSibling&&be.parentNode){be=be.parentNode}var a4=(a2.previousSibling&&a2.previousSibling.nodeType==3)&&(a2.nextSibling&&a2.nextSibling.nodeType==3);var ba=(be.previousSibling&&be.previousSibling.nodeType==3)&&(be.nextSibling&&be.nextSibling.nodeType==3);a2=a2.nextSibling;be=be.previousSibling;var bd=false;var a7=false;if(a2==this.end){a7=!!this.start.previousSibling;a2=be=this.start.previousSibling||this.end.nextSibling;bd=true}D.remove(this.start);D.remove(this.end);if(a2==null||be==null){a9.selectNodeContents(a9.commonAncestorContainer);a9.collapse(true);return}var bc=bd?af(a2)?a2.nodeValue.length:a2.childNodes.length:0;var a5=af(be)?be.nodeValue.length:be.childNodes.length;if(a2.nodeType==3){while(a2.previousSibling&&a2.previousSibling.nodeType==3){a2=a2.previousSibling;bc+=a2.nodeValue.length}}if(be.nodeType==3){while(be.previousSibling&&be.previousSibling.nodeType==3){be=be.previousSibling;a5+=be.nodeValue.length}}var a8=p(a2),bb=a2.parentNode;var a6=p(be),a3=be.parentNode;for(var bg=a2;bg.previousSibling;bg=bg.previousSibling){if(bg.nodeType==3&&bg.previousSibling.nodeType==3){a8--}}for(var bf=be;bf.previousSibling;bf=bf.previousSibling){if(bf.nodeType==3&&bf.previousSibling.nodeType==3){a6--}}g(bb);if(a2.nodeType==3){a2=bb.childNodes[a8]}g(a3);if(be.nodeType==3){be=a3.childNodes[a6]}if(bd){if(a2.nodeType==3){a9.setStart(a2,bc)}else{a9[a7?"setStartAfter":"setStartBefore"](a2)}a9.collapse(true)}else{if(a2.nodeType==3){a9.setStart(a2,bc)}else{a9.setStartBefore(a2)}if(be.nodeType==3){a9.setEnd(be,a5)}else{a9.setEndAfter(be)}}if(a1){this.removeCaret(a9)}}}var at=/[\u0009-\u000d]|\u0020|\u00a0|\ufeff|\.|,|;|:|!|\(|\)|\?/;var U={nodes:function(a2){var a1=j(a2);if(!a1.length){a2.selectNodeContents(a2.commonAncestorContainer);a1=j(a2);if(!a1.length){a1=D.significantChildNodes(a2.commonAncestorContainer)}}return a1},image:function(a2){var a1=[];new l(a2).traverse(function(a3){if(D.is(a3,"img")){a1.push(a3)}});if(a1.length==1){return a1[0]}},expand:function(a2){var a3=a2.cloneRange();var a6=a3.startContainer.childNodes[a3.startOffset==0?0:a3.startOffset-1];var a7=a3.endContainer.childNodes[a3.endOffset];if(!af(a6)||!af(a7)){return a3}var a4=a6.nodeValue;var a5=a7.nodeValue;if(a4==""||a5==""){return a3}var a1=a4.split("").reverse().join("").search(at);var a8=a5.search(at);if(a1==0||a8==0){return a3}a8=a8==-1?a5.length:a8;a1=a1==-1?0:a4.length-a1;a3.setStart(a6,a1);a3.setEnd(a7,a8);return a3},isExpandable:function(a2){var a7=a2.startContainer;var a6=q(a2);if(a7==a6||a7==a6.body){return false}var a3=a2.cloneRange();var a1=a7.nodeValue;if(!a1){return false}var a4=a1.substring(0,a3.startOffset);var a5=a1.substring(a3.startOffset);var a8=0,a9=0;if(a4!=""){a8=a4.split("").reverse().join("").search(at)}if(a5!=""){a9=a5.search(at)}return a8!=0&&a9!=0}};function c(a2){var a3=new an(a2.range);var a1=new ac();this.formatter=a2.formatter;this.getRange=function(){return a3.toRange()};this.lockRange=function(a4){return a1.add(this.getRange(),a4)};this.releaseRange=function(a4){a1.remove(a4);O(a4)};this.undo=function(){a3.body.innerHTML=a3.html;O(a3.toRange())};this.redo=function(){this.exec()};this.exec=function(){var a4=this.lockRange(true);this.formatter.editor=this.editor;this.formatter.toggle(a4);this.releaseRange(a4)}}function aW(a3,a2){var a1=a3.body;this.redo=function(){a1.innerHTML=a2.html;O(a2.toRange())};this.undo=function(){a1.innerHTML=a3.html;O(a3.toRange())}}function t(a1){c.call(this,a1);this.managesUndoRedo=true;this.exec=function(){var a3=this.editor;var a2=a3.getRange();var a4=new an(a2);a3.clipboard.paste(a1.value||"");a3.undoRedoStack.push(new aW(a4,new an(a3.getRange())));a3.focus()}}function x(){X.call(this);this.command=function(a1){return new t(a1)};this.update=function(a1,a2){a1.data("tSelectBox").close()};this.init=function(a3,a1){var a2=a1.editor;a3.tSelectBox({data:a2.insertHtml,onItemCreate:function(a4){a4.html=''+a4.dataItem.Text+""},onChange:function(a4){X.exec(a2,"insertHtml",a4.value)},highlightFirst:false}).find(".t-input").html(a2.localization.insertHtml)}}function R(){var a2=[],a1=-1;this.push=function(a3){a2=a2.slice(0,a1+1);a1=a2.push(a3)-1};this.undo=function(){if(this.canUndo()){a2[a1--].undo()}};this.redo=function(){if(this.canRedo()){a2[++a1].redo()}};this.canUndo=function(){return a1>=0};this.canRedo=function(){return a1!=a2.length-1}}function aR(a1){this.keydown=function(a5){var a4=a1.keyboard;var a2=a4.isTypingKey(a5);if(a2&&!a4.typingInProgress()){var a3=a1.getRange();this.startRestorePoint=new an(a3);a4.startTyping(s.proxy(function(){a1.selectionRestorePoint=this.endRestorePoint=new an(a1.getRange());a1.undoRedoStack.push(new aW(this.startRestorePoint,this.endRestorePoint))},this));return true}return false};this.keyup=function(a2){var a3=a1.keyboard;if(a3.typingInProgress()){a3.endTyping();return true}return false}}function A(a2){var a1=false;this.createUndoCommand=function(){this.endRestorePoint=new an(a2.getRange());a2.undoRedoStack.push(new aW(this.startRestorePoint,this.endRestorePoint));this.startRestorePoint=this.endRestorePoint};this.changed=function(){if(this.startRestorePoint){return this.startRestorePoint.html!=a2.body.innerHTML}return false};this.keydown=function(a3){var a4=a2.keyboard;if(a4.isModifierKey(a3)){if(a4.typingInProgress()){a4.endTyping(true)}this.startRestorePoint=new an(a2.getRange());return true}if(a4.isSystem(a3)){a1=true;if(this.changed()){a1=false;this.createUndoCommand()}return true}return false};this.keyup=function(a3){if(a1&&this.changed()){a1=false;this.createUndoCommand(a3);return true}return false}}function aH(a2){var a4=false;var a7;var a3;function a1(a8){return(a8>=48&&a8<=90)||(a8>=96&&a8<=111)||(a8>=186&&a8<=192)||(a8>=219&&a8<=222)}this.toolFromShortcut=function(ba,bc){var a9=String.fromCharCode(bc.keyCode);for(var bb in ba){var a8=ba[bb];if((a8.key==a9||a8.key==bc.keyCode)&&!!a8.ctrl==bc.ctrlKey&&!!a8.alt==bc.altKey&&!!a8.shift==bc.shiftKey){return bb}}};this.isTypingKey=function(a9){var a8=a9.keyCode;return(a1(a8)&&!a9.ctrlKey&&!a9.altKey)||a8==32||a8==13||a8==8||(a8==46&&!a9.shiftKey&&!a9.ctrlKey&&!a9.altKey)};this.isModifierKey=function(a9){var a8=a9.keyCode;return(a8==17&&!a9.shiftKey&&!a9.altKey)||(a8==16&&!a9.ctrlKey&&!a9.altKey)||(a8==18&&!a9.ctrlKey&&!a9.shiftKey)};this.isSystem=function(a8){return a8.keyCode==46&&a8.ctrlKey&&!a8.altKey&&!a8.shiftKey};this.startTyping=function(a8){a3=a8;a4=true};function a5(){a4=false;a3()}this.endTyping=function(a8){this.clearTimeout();if(a8){a5()}else{a7=window.setTimeout(a5,1000)}};this.typingInProgress=function(){return a4};this.clearTimeout=function(){window.clearTimeout(a7)};function a6(ba,a9){for(var a8=0;a8$/g,"li>");var a7=a1(ba);var a9=a5.getRange();a9.deleteContents();if(a9.startContainer==a5.document){a9.selectNodeContents(a5.body)}var bc=new ac();var bf=bc.addCaret(a9);var be=a3(a7,bf);var bd=false;if(!/body|td/.test(D.name(be))&&(a7||D.isInline(be))){a9.selectNode(bf);am(a9,be,true);bd=true}var bg=a2(ba);if(bg.firstChild&&bg.firstChild.className==="t-paste-container"){var bb=[];for(a6=0,a8=bg.childNodes.length;a6"))}a9.insertNode(bg);be=a3(a7,bf);if(bd){while(bf.parentNode!=be){D.unwrap(bf.parentNode)}D.unwrap(bf.parentNode)}g(a9.commonAncestorContainer);bf.style.display="inline";D.scrollTo(bf);bc.removeCaret(a9);O(a9)}}function f(){var a1=[//g,"",/mso-[^;"]*;?/ig,"",/<\/?(meta|link|style|o:|v:)[^>]*>((?:.|\n)*?<\/(meta|link|style|o:|v:)[^>]*>)?/ig,""];this.applicable=function(a4){return/class="?Mso|style="[^"]*mso-/i.test(a4)};function a2(a4){if(/^[\u2022\u00b7\u00a7\u00d8o\-]\u00a0+/.test(a4)){return"ul"}if(/^\s*\w+[\.\)]\u00a0{2,}/.test(a4)){return"ol"}}function a3(bh){var a9=D.create(document,"div",{innerHTML:bh});var bg=s(H.join(","),a9);var bb=-1,a6,bf={ul:{},ol:{}},a4=a9;for(var bc=0;bc]*>/g,"").replace(/ /g,"\u00a0");var ba=a2(bh);if(!ba||D.name(a7)!="p"){if(a7.innerHTML==""){D.remove(a7)}else{bf={ul:{},ol:{}};a4=a9;bb=-1}continue}var bd=parseFloat(a7.style.marginLeft||0);var be=bf[ba][bd];if(bd>bb||!be){be=D.create(document,ba);if(a4==a9){D.insertBefore(be,a7)}else{a4.appendChild(be)}bf[ba][bd]=be}if(a6!=ba){for(var a8 in bf){for(var a5 in bf[a8]){if(s.contains(be,bf[a8][a5])){delete bf[a8][a5]}}}}D.remove(a7.firstChild);a4=D.create(document,"li",{innerHTML:a7.innerHTML});be.appendChild(a4);D.remove(a7);bb=bd;a6=ba}return a9.innerHTML}this.clean=function(a5){for(var a4=0,a6=a1.length;a4]*"?/ig,"");return a5}}function i(a1){function a2(a5){var a3=0;for(var a4=a5.parentNode.firstChild;a4;a4=a4.nextSibling){if(a4!=a5&&a4.className!="t-marker"&&a4.nodeType==1){a3++}}return a3}this.findSuitable=function(a4,a3){if(!a3&&a2(a4)>0){return null}return D.parentOfType(a4,a1[0].tags)};this.findFormat=function(a7){for(var a3=0;a30){this.activate(a7,a6)}};this.apply=function(a9){var a8=[];for(var a6=0,a7=a9.length;a60){for(var a6=0,a9=ba.length;a61){var a6=a8.pop();var a7=a8[a8.length-1];if(a6.previousSibling&&a6.previousSibling.className=="t-marker"){a7.appendChild(a6.previousSibling)}if(a6.previousSibling==a7&&a6.style.cssText==a7.style.cssText){while(a6.firstChild){a7.appendChild(a6.firstChild)}D.remove(a6)}}}}function a0(a2,a1){i.call(this,a2);function a3(a7){var bi=a7.attributes,bf=s.trim;if(!bi){return}for(var a6=0,bd=bi.length;a6=0?D.toHex(a5):a5}}}}return}function a4(a9){var ba=s(af(a9)?a9.parentNode:a9);var a8=ba.parents().andSelf();for(var a6=0,a7=a8.length;a6'+a9.dataItem.Text+""}}}function aY(a3){X.call(this,a3);var a2=[{tags:["span"]}],a1=new a0(a2,a3.cssAttr);this.update=function(a4){a4.data("tColorPicker").close()};this.command=function(a4){return new aJ(s.extend(a4,{formatter:function(){var a5={};a5[a3.domAttr]=a4.value;return new F(a2,{style:a5},a3.cssAttr)}}))};this.willDelayExecution=ad;this.init=function(a6,a4){var a5=a4.editor;a6.tColorPicker({selectedColor:"#000000",onChange:function(a7){X.exec(a5,a3.name,a7.value)}})}}function ab(){X.call(this);var a2=[{tags:["span"]}],a1=new a0(a2,"className");this.command=function(a3){return new aJ(s.extend(a3,{formatter:function(){return new F(a2,{className:a3.value})}}))};this.update=function(a3,a5){var a4=a3.data("tSelectBox");a4.close();a4.value(a1.getFormat(a5))};this.init=function(a5,a3){var a4=a3.editor;a5.tSelectBox({data:a4.style,title:a4.localization.style,onItemCreate:function(a6){var a7=D.inlineStyle(a4.document,"span",{className:a6.dataItem.Value});a6.html=''+a6.html+""},onChange:function(a6){X.exec(a4,"style",a6.value)}})}}function y(a2){function a1(a5,a6){for(var a3=0;a3'+a6.dataItem.Text+""},onChange:function(a5){X.exec(a3,"formatBlock",a5.value)},highlightFirst:false})}}function aS(a1){c.call(this,a1);this.exec=function(){var a4=this.getRange(),be=q(a4),a7,bc=s.browser.msie?"":'
    ';var a6="p,h1,h2,h3,h4,h5,h6".split(","),bf=D.parentOfType(a4.startContainer,a6),a2=D.parentOfType(a4.endContainer,a6),a3=(bf&&!a2)||(!bf&&a2);a4.deleteContents();var bd=D.create(be,"a");a4.insertNode(bd);g(bd.parentNode);var a5=D.parentOfType(bd,["li"]),bg=D.parentOfType(bd,"h1,h2,h3,h4,h5,h6".split(","));if(a5){var a9=a4.cloneRange();a9.selectNode(a5);if(j(a9).length==0){var bh=D.create(be,"p");if(a5.nextSibling){am(a9,a5.parentNode)}D.insertAfter(bh,a5.parentNode);D.remove(a5.parentNode.childNodes.length==1?a5.parentNode:a5);bh.innerHTML=bc;a7=bh}}else{if(bg&&!bd.nextSibling){var bh=D.create(be,"p");D.insertAfter(bh,bg);bh.innerHTML=bc;D.remove(bd);a7=bh}}if(!a7){if(!(a5||bg)){new W([{tags:["p"]}]).apply([bd])}a4.selectNode(bd);var a8=D.parentOfType(bd,[a5?"li":bg?D.name(bg):"p"]);am(a4,a8,a3);var ba=a8.previousSibling;if(D.is(ba,"li")&&ba.firstChild&&!D.is(ba.firstChild,"br")){ba=ba.firstChild}a7=a8.nextSibling;if(D.is(a7,"li")&&a7.firstChild&&!D.is(a7.firstChild,"br")){a7=a7.firstChild}D.remove(a8);function bb(bi){if(bi.firstChild&&D.is(bi.firstChild,"br")){D.remove(bi.firstChild)}if(af(bi)&&bi.nodeValue==""){bi=bi.parentNode}if(bi&&!D.is(bi,"img")&&bi.innerHTML==""){bi.innerHTML=bc}}bb(ba);bb(a7);g(ba)}g(a7);if(!D.is(a7,"img")){a4.selectNodeContents(a7)}else{a4.setStartBefore(a7)}a4.collapse(true);D.scrollTo(a7);O(a4)}}function d(a1){c.call(this,a1);this.exec=function(){var a3=this.getRange();a3.deleteContents();var a2=D.create(q(a3),"br");a3.insertNode(a2);g(a2.parentNode);if(!s.browser.msie&&(!a2.nextSibling||D.isWhitespace(a2.nextSibling))){var a4=a2.cloneNode(true);a4.setAttribute("_moz_dirty","");D.insertAfter(a4,a2)}a3.setStartAfter(a2);a3.collapse(true);O(a3)}}function ap(a2){var a1=[a2=="ul"?"ol":"ul",a2];y.call(this,[{tags:a1}]);this.isFormatted=function(a6){var a3=[],a4;for(var a5=0;a51){D.insertAfter(a4[a4.length-1],a5);D.insertAfter(a4[1],a5);D[a3.length>0?"insertBefore":"insertAfter"](a4[0],a5)}}else{var a6=new b([{tags:["a"]}],a7);a6.finder=this.finder;a6.apply(a3)}}}function ao(a1){a1.formatter={toggle:function(a2){new b([{tags:["a"]}]).remove(j(a2))}};c.call(this,a1)}function aa(a2){c.call(this,a2);var a1;this.async=true;var a3=new aX();this.exec=function(){var a8=this.getRange();var a6=a8.collapsed;a8=this.lockRange(true);var bb=j(a8);var ba=null;var a5=this;function bc(bi){var bh=s("#t-editor-link-url",a9.element).val();if(bh&&bh!="http://"){a1={href:bh};var be=s("#t-editor-link-title",a9.element).val();if(be){a1.title=be}var bf=s("#t-editor-link-text",a9.element).val();if(bf!==ba){a1.innerHTML=bf}var bg=s("#t-editor-link-target",a9.element).is(":checked");if(bg){a1.target="_blank"}a3.apply(a8,a1)}a7(bi);if(a5.change){a5.change()}}function a7(be){be.preventDefault();a9.destroy();az(q(a8)).focus();a5.releaseRange(a8)}var bd=bb.length?a3.finder.findSuitable(bb[0]):null;var a4=bb.length<=1||(bb.length==2&&a6);var a9=ar.window.create(s.extend({},this.editor.dialogOptions,{title:"Insert link",html:new s.telerik.stringBuilder().cat('
    ').cat("
      ").cat('
    1. ').catIf('
    2. ',a4).cat('
    3. ').cat('
    4. ').cat("
    ").cat('
    ').cat('').cat(" or ").cat('Close').cat("
    ").cat("
    ").string(),onClose:a7})).hide().find(".t-dialog-insert").click(bc).end().find(".t-dialog-close").click(a7).end().find(".t-form-text-row input").keydown(function(be){if(be.keyCode==13){bc(be)}else{if(be.keyCode==27){a7(be)}}}).end().find("#t-editor-link-url").val(bd?bd.getAttribute("href",2):"http://").end().find("#t-editor-link-text").val(bb.length>0?(bb.length==1?bb[0].nodeValue:bb[0].nodeValue+bb[1].nodeValue):"").end().find("#t-editor-link-title").val(bd?bd.title:"").end().find("#t-editor-link-target").attr("checked",bd?bd.target=="_blank":false).end().show().data("tWindow").center();if(a4&&bb.length>0){ba=s("#t-editor-link-text",a9.element).val()}s("#t-editor-link-url",a9.element).focus().select()},this.redo=function(){var a4=this.lockRange(true);a3.apply(a4,a1);this.releaseRange(a4)}}function aT(a2){X.call(this,s.extend(a2,{command:ao}));var a1=new i([{tags:["a"]}]);this.init=function(a3){a3.attr("unselectable","on").addClass("t-state-disabled")};this.update=function(a3,a4){a3.toggleClass("t-state-disabled",!a1.isFormatted(a4)).removeClass("t-state-hover")}}function aO(a2){c.call(this,a2);this.async=true;var a1;function a3(a4,a5){if(a1.src&&a1.src!="http://"){if(!a4){a4=D.create(q(a5),"img",a1);a4.onload=a4.onerror=function(){a4.removeAttribute("complete");a4.removeAttribute("width");a4.removeAttribute("height")};a5.deleteContents();a5.insertNode(a4);a5.setStartAfter(a4);a5.setEndAfter(a4);O(a5);return true}else{D.attr(a4,a1)}}return false}this.redo=function(){var a4=this.lockRange();if(!a3(U.image(a4),a4)){this.releaseRange(a4)}};this.exec=function(){var a7=this.lockRange();var a4=false;var ba=U.image(a7);var a5=this;function bb(be){a1={src:s("#t-editor-image-url",a8.element).val(),alt:s("#t-editor-image-title",a8.element).val()};a4=a3(ba,a7);a6(be);if(a5.change){a5.change()}}function a6(be){be.preventDefault();a8.destroy();az(q(a7)).focus();if(!a4){a5.releaseRange(a7)}}var a9=this.editor.fileBrowser;var bc=a9&&a9.selectUrl!==undefined;function bd(){if(bc){new ar.imageBrowser(s(this).find(".t-image-browser"),s.extend(a9,{apply:bb,element:a5.editor.element,localization:a5.editor.localization}))}}var a8=ar.window.create(s.extend({width:750},this.editor.dialogOptions,{title:"Insert image",html:new s.telerik.stringBuilder().cat('
    ').catIf('
    ',bc).cat("
      ").cat('
    1. ').cat('
    2. ').cat("
    ").cat('
    ').cat('').cat(" or ").cat('Close').cat("
    ").cat("
    ").string(),onClose:a6,onActivate:bd})).hide().find(".t-dialog-insert").click(bb).end().find(".t-dialog-close").click(a6).end().find(".t-form-text-row input").keydown(function(be){if(be.keyCode==13){bb(be)}else{if(be.keyCode==27){a6(be)}}}).end().toggleClass("t-imagebrowser",bc).find("#t-editor-image-url").val(ba?ba.getAttribute("src",2):"http://").end().find("#t-editor-image-title").val(ba?ba.alt:"").end().show().data("tWindow").center();s("#t-editor-image-url",a8.element).focus().select()}}ar.selectbox=function(a1,a2){var a9;var a3=s(a1);var a5=a3.find(".t-input");var a6=this.dropDown=new ar.dropDown({effects:ar.fx.slide.defaults(),onItemCreate:a2.onItemCreate,onClick:function(ba){a8(a2.data[s(ba.item).index()].Value);a2.onChange({value:a9})}});function a4(){if(!a6.$items){a6.dataBind(a2.data)}}function a7(ba){a5.html(ba?ba:" ")}function a8(bc){a4();var bb=-1;for(var ba=0,bd=a2.data.length;ba0?"rtl":"");s(document.documentElement).bind("mousedown",s.proxy(function(bc){var ba=a6.$element;var bb=ba&&ba.parent().length>0;if(bb&&!s.contains(a1,bc.target)&&!s.contains(ba.parent()[0],bc.target)){a6.close()}},this))};s.fn.tSelectBox=function(a1){return ar.create(this,{name:"tSelectBox",init:function(a2,a3){return new ar.selectbox(a2,a3)},options:a1})};s.fn.tSelectBox.defaults={effects:ar.fx.slide.defaults()};ar.colorpicker=function(a1,a2){this.element=a1;var a3=s(a1);s.extend(this,a2);a3.bind("click",s.proxy(this.click,this)).find("*").attr("unselectable","on");if(this.selectedColor){a3.find(".t-selected-color").css("background-color",this.selectedColor)}s(a1.ownerDocument.documentElement).bind("mousedown",s.proxy(function(a4){if(!s(a4.target).closest(".t-colorpicker-popup").length){this.close()}},this));ar.bind(this,{change:this.onChange,load:this.onLoad})};ar.colorpicker.prototype={select:function(a1){if(a1){a1=D.toHex(a1);if(!ar.trigger(this.element,"change",{value:a1})){this.value(a1);this.close()}}else{ar.trigger(this.element,"change",{value:this.selectedColor})}},open:function(){var a1=this.popup();var a4=s(this.element);var a3=a4.offset();a3.top+=a4.outerHeight();if(a4.closest(".t-rtl").length){a3.left-=a1.outerWidth()-a4.outerWidth()}var a2="auto";a4.parents().andSelf().each(function(){a2=s(this).css("zIndex");if(Number(a2)){a2=Number(a2)+1;return false}});ar.fx._wrap(a1).css(s.extend({position:"absolute",zIndex:a2},a3));a1.find(".t-item").bind("click",s.proxy(function(a6){var a5=s(a6.target,a6.target.ownerDocument).css("background-color");this.select(a5)},this));ar.fx.play(this.effects,a1,{direction:"bottom"})},close:function(){if(!this.$popup){return}ar.fx.rewind(this.effects,this.$popup,{direction:"bottom"},s.proxy(function(){D.remove(this.$popup[0].parentNode);this.$popup=null},this))},toggle:function(){if(!this.$popup||!this.$popup.is(":visible")){this.open()}else{this.close()}},click:function(a1){if(s(a1.target).closest(".t-tool-icon").length>0){this.select()}else{this.toggle()}},value:function(a1){if(!a1){return this.selectedColor}a1=D.toHex(a1);this.selectedColor=a1;s(".t-selected-color",this.element).css("background-color",a1)},popup:function(){if(!this.$popup){this.$popup=s(ar.colorpicker.buildPopup(this)).hide().appendTo(document.body).find("*").attr("unselectable","on").end()}return this.$popup}};s.extend(ar.colorpicker,{buildPopup:function(a1){var a4=new ar.stringBuilder();a4.cat('
    ').cat('
      ');var a6=a1.data;var a3=(a1.value()||"").substring(1);for(var a2=0,a5=a6.length;a2')}a4.cat("
    ");return a4.string()}});s.fn.tColorPicker=function(a1){return ar.create(this,{name:"tColorPicker",init:function(a2,a3){return new ar.colorpicker(a2,a3)},options:a1})};s.fn.tColorPicker.defaults={data:"000000,7f7f7f,880015,ed1c24,ff7f27,fff200,22b14c,00a2e8,3f48cc,a349a4,ffffff,c3c3c3,b97a57,ffaec9,ffc90e,efe4b0,b5e61d,99d9ea,7092be,c8bfe7".split(","),selectedColor:null,effects:ar.fx.slide.defaults()};function aV(){var a2=new y([{tags:H}]);function a1(a3){return a3.style.marginLeft||0}this.apply=function(a8){var a6=a2.findSuitable(a8);if(a6.length){var a5=[];for(var a4=0;a4ul")[0];if(!bb){bb=D.create(a9.ownerDocument,D.name(bc));a7.append(bb)}while(a9&&a9.parentNode==bc){bb.appendChild(a9);a9=a5.shift()}}else{var a3=parseInt(a1(a9))+30;D.style(a9,{marginLeft:a3})}}}else{var ba=new W([{tags:H}],{style:{marginLeft:30}});ba.apply(a8)}};this.remove=function(a5){var a7=a2.findSuitable(a5);for(var a3=0;a31)||(D.ofType(a4[a3],["ul","ol"])&&a7>0)}if(a5){a2.removeClass("t-state-disabled");return}}a2.addClass("t-state-disabled").removeClass("t-state-hover")}}function aE(a1){this.editor=a1;this.formats=[]}aE.prototype={apply:function(a5){if(!this.hasPending()){return}var a4=new ac();a4.addCaret(a5);var a1=a5.startContainer.childNodes[a5.startOffset];var a7=a1.previousSibling;if(!a7.nodeValue){a7=a7.previousSibling}a5.setStart(a7,a7.nodeValue.length-1);a4.add(a5);if(j(a5).length==0){a4.remove(a5);a5.collapse(true);this.editor.selectRange(a5);return}var a3=a4.end.previousSibling.previousSibling;var a9,a6=this.formats;for(var a2=0;a20},isPending:function(a1){return !!this.getPending(a1)},getPending:function(a2){var a3=this.formats;for(var a1=0;a1",{src:'javascript:""',frameBorder:"0",className:"t-content"}).css("display","").insertBefore(a1)[0];var a2=a5.contentWindow||a5;var a4=a2.document||a5.contentDocument;var a3=a1.val().replace(/(<\/?img[^>]*>)[\r\n\v\f\t ]+/ig,"$1");if(!a3.length&&s.browser.mozilla){a3='
    '}a4.designMode="On";a4.open();a4.write(new ar.stringBuilder().cat("").cat('').cat('").cat(s.map(a6,function(a7){return[''].join("")}).join("")).cat('').cat(a3).cat("").string());a4.close();return a2}function V(a1){ar.trigger(a1.element,"selectionChange")}function aI(a2){var a1=true;a2.window=ax(s(a2.textarea),a2.stylesheets);a2.document=a2.window.contentDocument||a2.window.document;a2.body=a2.document.body;s(a2.document).bind({keydown:function(a5){var a3=a2.keyboard.toolFromShortcut(a2.tools,a5);if(a3){a5.preventDefault();a2.exec(a3);return false}if(a2.keyboard.isTypingKey(a5)&&a2.pendingFormats.hasPending()){if(a1){a1=false}else{var a4=a2.getRange();a2.pendingFormats.apply(a4);a2.selectRange(a4)}}a2.keyboard.clearTimeout();a2.keyboard.keydown(a5)},keyup:function(a5){var a4=[8,9,33,34,35,36,37,38,39,40,40,45,46];if(s.browser.mozilla&&a5.keyCode==8){aK(a2,a5)}if(s.inArray(a5.keyCode,a4)>-1||(a5.keyCode==65&&a5.ctrlKey&&!a5.altKey&&!a5.shiftKey)){a2.pendingFormats.clear();V(a2)}if(a2.keyboard.isTypingKey(a5)){if(a2.pendingFormats.hasPending()){var a3=a2.getRange();a2.pendingFormats.apply(a3);a2.selectRange(a3)}}else{a1=true}a2.keyboard.keyup(a5)},mousedown:function(a3){a2.pendingFormats.clear();var a4=s(a3.target);if(!s.browser.gecko&&a3.which==2&&a4.is("a[href]")){window.open(a4.attr("href"),"_new")}},mouseup:function(){V(a2)}});s(a2.window).bind("blur",function(){var a3=a2.textarea.value,a4=a2.encodedValue();a2.update(a4);if(a4!=a3){ar.trigger(a2.element,"change")}});s(a2.body).bind("cut paste",function(a3){a2.clipboard["on"+a3.type](a3)})}ar.editor=function(a1,a2){if(/Mobile.*Safari/.test(navigator.userAgent)){return}var a3=this;this.element=a1;var a4=s(a1);a4.closest("form").bind("submit",function(){a3.update()});s.extend(this,a2);ar.bind(this,{load:this.onLoad,selectionChange:this.onSelectionChange,change:this.onChange,execute:this.onExecute,error:this.onError});for(var a7 in this.tools){this.tools[a7].name=a7.toLowerCase()}this.textarea=a4.find("textarea").attr("autocomplete","off")[0];aI(this);this.keyboard=new aH([new aR(this),new A(this)]);this.clipboard=new aA(this);this.pendingFormats=new aE(this);this.undoRedoStack=new R();function bb(bc){var bd=s.grep(bc.className.split(" "),function(be){return !/^t-(widget|tool-icon|state-hover|header|combobox|dropdown|selectbox|colorpicker)$/i.test(be)});return bd[0]?bd[0].substring(2):"custom"}function a8(bd,bc){if(!bc.key){return bd}return new ar.stringBuilder().cat(bd).cat(" (").catIf("Ctrl + ",bc.ctrl).catIf("Shift + ",bc.shift).catIf("Alt + ",bc.alt).cat(bc.key).cat(")").string()}var a6=".t-editor-toolbar > li > *",a5=".t-editor-button .t-tool-icon",a9=a5+":not(.t-state-disabled)",ba=a5+".t-state-disabled";a4.delegate(a9,"mouseenter",ar.hover).delegate(a9,"mouseleave",ar.leave).delegate(a5,"mousedown",ar.preventDefault).delegate(a9,"click",ar.stopAll(function(bc){a3.exec(bb(this))})).delegate(ba,"click",function(bc){bc.preventDefault()}).find(a6).each(function(){var bg=bb(this),bd=a3.tools[bg],bf=a3.localization[bg],be=s(this);if(!bd){return}if(bg=="fontSize"||bg=="fontName"){var bc=a3.localization[bg+"Inherit"]||aP[bg+"Inherit"];a3[bg][0].Text=bc;be.find("input").val(bc).end().find("span.t-input").text(bc).end()}bd.init(be,{title:a8(bf,bd),editor:a3})}).end().bind("selectionChange",function(){var bd=a3.getRange();a3.selectionRestorePoint=new an(bd);var bc=j(bd);if(!bc.length){bc=[bd.startContainer]}a4.find(a6).each(function(){var be=a3.tools[bb(this)];if(be){be.update(s(this),bc,a3.pendingFormats)}})});s(document).bind("DOMNodeInserted",function(bc){if(s.contains(bc.target,a3.element)||a3.element==bc.target){s(a3.element).find("iframe").remove();aI(a3)}}).bind("mousedown",function(bc){try{if(a3.keyboard.typingInProgress()){a3.keyboard.endTyping(true)}if(!a3.selectionRestorePoint){a3.selectionRestorePoint=new an(a3.getRange())}}catch(bc){}})};function aK(a1,a4){var a2=a1.getRange(),a5=a2.startContainer;if(a5==a1.body.firstChild||!D.isBlock(a5)||(a5.childNodes.length>0&&!(a5.childNodes.length==1&&D.is(a5.firstChild,"br")))){return}var a7=a5.previousSibling;while(a7&&!D.isBlock(a7)){a7=a7.previousSibling}if(!a7){return}var a6=a1.document.createTreeWalker(a7,NodeFilter.SHOW_TEXT,null,false);var a3;while(a3=a6.nextNode()){a7=a3}a2.setStart(a7,af(a7)?a7.nodeValue.length:0);a2.collapse(true);O(a2);D.remove(a5);a4.preventDefault()}s.extend(ar.editor,{BlockFormatFinder:y,BlockFormatter:W,Dom:D,FormatCommand:aJ,GenericCommand:aW,GreedyBlockFormatter:au,GreedyInlineFormatFinder:a0,GreedyInlineFormatter:F,ImageCommand:aO,IndentCommand:o,IndentFormatter:aV,InlineFormatFinder:i,InlineFormatter:b,InsertHtmlCommand:t,Keyboard:aH,LinkCommand:aa,LinkFormatFinder:I,LinkFormatter:aX,ListCommand:ay,ListFormatFinder:ap,ListFormatter:J,MSWordFormatCleaner:f,Marker:ac,NewLineCommand:d,OutdentCommand:S,ParagraphCommand:aS,PendingFormats:aE,RangeEnumerator:aj,RangeUtils:U,RestorePoint:an,SystemHandler:A,TypingHandler:aR,UndoRedoStack:R,UnlinkCommand:ao});ar.editor.prototype={value:function(a3){var a1=this.body;if(a3===undefined){return C(a1)}this.pendingFormats.clear();a3=a3.replace(//g,"");a3=a3.replace(/]*)>(.*)?<\/script>/ig,"$2");if(s.browser.mozilla){a3=a3.replace(/]*)>(\s*)?<\/p>/ig,'


    ')}if(s.browser.msie&&parseInt(s.browser.version)<9){a3="
    "+a3;var a4="originalsrc",a2="originalhref";a3=a3.replace(/href\s*=\s*(?:'|")?([^'">\s]*)(?:'|")?/,a2+'="$1"');a3=a3.replace(/src\s*=\s*(?:'|")?([^'">\s]*)(?:'|")?/,a4+'="$1"');a1.innerHTML=a3;D.remove(a1.firstChild);s(a1).find("telerik\\:script,script,link,img,a").each(function(){var a5=this;if(a5[a2]){a5.setAttribute("href",a5[a2]);a5.removeAttribute(a2)}if(a5[a4]){a5.setAttribute("src",a5[a4]);a5.removeAttribute(a4)}})}else{a1.innerHTML=a3;if(s.browser.msie){g(a1)}}this.selectionRestorePoint=null;this.update()},focus:function(){this.window.focus()},update:function(a1){this.textarea.value=a1||this.encoded?this.encodedValue():this.value()},encodedValue:function(){return D.encode(this.value())},createRange:function(a1){return aQ(a1||this.document)},getSelection:function(){return aZ(this.document)},selectRange:function(a2){this.focus();var a1=this.getSelection();a1.removeAllRanges();a1.addRange(a2)},getRange:function(){var a2=this.getSelection();var a1=a2.rangeCount>0?a2.getRangeAt(0):this.createRange();if(a1.startContainer==this.document&&a1.endContainer==this.document&&a1.startOffset==0&&a1.endOffset==0){a1.setStart(this.body,0);a1.collapse(true)}return a1},selectedHtml:function(){return C(this.getRange().cloneContents())},paste:function(a1){this.clipboard.paste(a1)},exec:function(a4,a1){if(!this.keyboard.typingInProgress()){this.focus();if(this.selectionRestorePoint){this.selectRange(this.selectionRestorePoint.toRange());this.selectionRestorePoint=null}}a4=a4.toLowerCase();var a6="";for(var a3 in this.tools){if(a3.toLowerCase()==a4){a6=this.tools[a3];break}}if(a6){var a2=this.getRange();if(!/undo|redo/i.test(a4)&&a6.willDelayExecution(a2)){this.pendingFormats.toggle({name:a4,params:a1,command:a6.command});V(this);return}var a5=a6.command?a6.command(s.extend({range:a2},a1)):null;ar.trigger(this.element,"execute",{name:a4,command:a5});if(/undo|redo/i.test(a4)){this.undoRedoStack[a4]()}else{if(a5){if(!a5.managesUndoRedo){this.undoRedoStack.push(a5)}a5.editor=this;a5.exec();if(a5.async){a5.change=s.proxy(function(){V(this)},this);return}}}V(this)}}};s.fn.tEditor=function(a1){return ar.create(this,{name:"tEditor",init:function(a2,a3){return new ar.editor(a2,a3)},options:a1})};var ak={bold:[{tags:["strong"]},{tags:["span"],attr:{style:{fontWeight:"bold"}}}],italic:[{tags:["em"]},{tags:["span"],attr:{style:{fontStyle:"italic"}}}],underline:[{tags:["span"],attr:{style:{textDecoration:"underline"}}}],strikethrough:[{tags:["del"]},{tags:["span"],attr:{style:{textDecoration:"line-through"}}}],justifyLeft:[{tags:H,attr:{style:{textAlign:"left"}}},{tags:["img"],attr:{style:{"float":"left"}}}],justifyCenter:[{tags:H,attr:{style:{textAlign:"center"}}},{tags:["img"],attr:{style:{display:"block",marginLeft:"auto",marginRight:"auto"}}}],justifyRight:[{tags:H,attr:{style:{textAlign:"right"}}},{tags:["img"],attr:{style:{"float":"right"}}}],justifyFull:[{tags:H,attr:{style:{textAlign:"justify"}}}]};function ae(a3,a2){for(var a1=0;a1=0){return a2[a1]}}}function X(a1){s.extend(this,a1);this.init=function(a2,a3){a2.attr({unselectable:"on",title:a3.title})};this.command=function(a2){return new a1.command(a2)};this.update=function(){};this.willDelayExecution=function(){return false}}X.exec=function(a2,a3,a1){a2.exec(a3,{value:a1})};function ai(a1){X.call(this,a1);this.command=function(a2){return new aJ(s.extend(a2,{formatter:a1.formatter}))};this.update=function(a2,a6,a4){var a3=a4.isPending(this.name),a5=a1.finder.isFormatted(a6),a7=a3?!a5:a5;a2.toggleClass("t-state-active",a7)}}var Q=function(){return{isFormatted:function(){return false}}};var aP={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",justifyCenter:"Center text",justifyLeft:"Align text left",justifyRight:"Align text right",justifyFull:"Justify",insertUnorderedList:"Insert unordered list",insertOrderedList:"Insert ordered list",indent:"Indent",outdent:"Outdent",createLink:"Insert hyperlink",unlink:"Remove hyperlink",insertImage:"Insert image",insertHtml:"Insert HTML",fontName:"Select font family",fontNameInherit:"(inherited font)",fontSize:"Select font size",fontSizeInherit:"(inherited size)",formatBlock:"Format",style:"Styles",emptyFolder:"Empty Folder",uploadFile:"Upload",orderBy:"Arrange by:",orderBySize:"Size",orderByName:"Name",invalidFileType:'The selected file "{0}" is not valid. Supported file types are {1}.',deleteFile:'Are you sure you want to delete "{0}"?',overwriteFile:'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?',directoryNotFound:"A directory with this name was not found."};s.fn.tEditor.defaults={localization:aP,formats:ak,encoded:true,stylesheets:[],dialogOptions:{modal:true,resizable:false,draggable:true,effects:{list:[{name:"toggle"}]}},fontName:[{Text:aP.fontNameInherit,Value:"inherit"},{Text:"Arial",Value:"Arial,Helvetica,sans-serif"},{Text:"Courier New",Value:"'Courier New',Courier,monospace"},{Text:"Georgia",Value:"Georgia,serif"},{Text:"Impact",Value:"Impact,Charcoal,sans-serif"},{Text:"Lucida Console",Value:"'Lucida Console',Monaco,monospace"},{Text:"Tahoma",Value:"Tahoma,Geneva,sans-serif"},{Text:"Times New Roman",Value:"'Times New Roman',Times,serif"},{Text:"Trebuchet MS",Value:"'Trebuchet MS',Helvetica,sans-serif"},{Text:"Verdana",Value:"Verdana,Geneva,sans-serif"}],fontSize:[{Text:aP.fontSizeInherit,Value:"inherit"},{Text:"1 (8pt)",Value:"xx-small"},{Text:"2 (10pt)",Value:"x-small"},{Text:"3 (12pt)",Value:"small"},{Text:"4 (14pt)",Value:"medium"},{Text:"5 (18pt)",Value:"large"},{Text:"6 (24pt)",Value:"x-large"},{Text:"7 (36pt)",Value:"xx-large"}],formatBlock:[{Text:"Paragraph",Value:"p"},{Text:"Quotation",Value:"blockquote"},{Text:"Heading 1",Value:"h1"},{Text:"Heading 2",Value:"h2"},{Text:"Heading 3",Value:"h3"},{Text:"Heading 4",Value:"h4"},{Text:"Heading 5",Value:"h5"},{Text:"Heading 6",Value:"h6"}],tools:{bold:new Y({key:"B",ctrl:true,format:ak.bold}),italic:new Y({key:"I",ctrl:true,format:ak.italic}),underline:new Y({key:"U",ctrl:true,format:ak.underline}),strikethrough:new Y({format:ak.strikethrough}),undo:{key:"Z",ctrl:true},redo:{key:"Y",ctrl:true},insertLineBreak:new X({key:13,shift:true,command:d}),insertParagraph:new X({key:13,command:aS}),justifyCenter:new P({format:ak.justifyCenter}),justifyLeft:new P({format:ak.justifyLeft}),justifyRight:new P({format:ak.justifyRight}),justifyFull:new P({format:ak.justifyFull}),insertUnorderedList:new aN({tag:"ul"}),insertOrderedList:new aN({tag:"ol"}),createLink:new X({key:"K",ctrl:true,command:aa}),unlink:new aT({key:"K",ctrl:true,shift:true}),insertImage:new X({command:aO}),indent:new X({command:o}),outdent:new ag(),insertHtml:new x(),style:new ab(),fontName:new aC({cssAttr:"font-family",domAttr:"fontFamily",name:"fontName"}),fontSize:new aC({cssAttr:"font-size",domAttr:"fontSize",name:"fontSize"}),formatBlock:new n(),foreColor:new aY({cssAttr:"color",domAttr:"color",name:"foreColor"}),backColor:new aY({cssAttr:"background-color",domAttr:"backgroundColor",name:"backColor"})}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.414/telerik.grid.editing.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.grid.editing.min.js new file mode 100644 index 000000000..89beda8c0 --- /dev/null +++ b/NzbDrone.Web/Scripts/2011.1.414/telerik.grid.editing.min.js @@ -0,0 +1 @@ +(function(h){var c=h.telerik,j=/^\/Date\((.*?)\)\/$/;var g=function(l){this.formId=l;this._isBuild=false;var n="tUnobtrusiveValidation";var m="tUnobtrusiveContainer";var k=this.unobtrusive={adapters:[],parseElement:function(o,r){var p=h(o),q=p.parents("form")[0],t,s,u;if(!q){return}t=k.validationInfo(q);t.options.rules[o.name]=s={};t.options.messages[o.name]=u={};h.each(this.adapters,function(){var v="data-val-"+this.name,w=p.attr(v),x={};if(w!==undefined){v+="-";h.each(this.params,function(){x[this]=p.attr(v+this)});this.adapt({element:o,form:q,message:w,params:x,rules:s,messages:u})}});if(!r){t.attachValidation()}},parse:function(o){h(o).find(":input[data-val=true]").each(function(){k.parseElement(this,true)});h("form").each(function(){var p=k.validationInfo(this);if(p){p.attachValidation()}})},onError:function(o,r){var q=h(this).find("[data-valmsg-for='"+r[0].name+"']"),p=h.parseJSON(q.attr("data-valmsg-replace"))!==false;q.removeClass("field-validation-valid").addClass("field-validation-error");o.data(m,q);if(p){q.empty();o.removeClass("input-validation-error").appendTo(q)}else{o.hide()}},onErrors:function(o,r){var q=h(this).find("[data-valmsg-summary=true]"),p=q.find("ul");if(p&&p.length&&r.errorList.length){p.empty();q.addClass("validation-summary-errors").removeClass("validation-summary-valid");h.each(r.errorList,function(){h("
  • ").html(this.message).appendTo(p)})}},onSuccess:function(o){var q=o.data(m),p=h.parseJSON(q.attr("data-valmsg-replace"));if(q){q.addClass("field-valiion-valid").removeClass("field-validation-error");o.removeData(m);if(p){q.empty()}}},validationInfo:function(o){var q=h(o),p=q.data(n);if(!p){p={options:{errorClass:"input-validation-error",errorElement:"span",errorPlacement:h.proxy(k.onError,o),invalidHandler:h.proxy(k.onErrors,o),messages:{},rules:{},success:h.proxy(k.onSuccess,o)},attachValidation:function(){q.validate(this.options)},validate:function(){q.validate();return q.valid()}};q.data(n,p)}return p}}};g.prototype={build:function(){if(this._isBuild){return}this._isBuild=true;var o=[];function m(r,q,p){r.rules[q]=p;if(r.message){r.messages[q]=r.message}}function n(p){return p.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function l(p){return p.substr(0,p.lastIndexOf(".")+1)}function k(q,p){if(q.indexOf("*.")===0){q=q.replace("*.",p)}return q}o=this.unobtrusive.adapters;o.add=function(r,q,p){if(!p){p=q;q=[]}this.push({name:r,params:q,adapt:p});return this};o.addBool=function(q,p){return this.add(q,function(r){m(r,p||q,true)})};o.addMinMax=function(s,q,u,p,r,t){return this.add(s,[r||"min",t||"max"],function(x){var v=x.params.min,w=x.params.max;if(v&&w){m(x,p,[v,w])}else{if(v){m(x,q,v)}else{if(w){m(x,u,w)}}}})};o.addSingleVal=function(q,r,p){return this.add(q,[r||"val"],function(s){m(s,p||q,s.params[r])})};o.addSingleVal("accept","exts").addSingleVal("regex","pattern");o.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");o.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range");o.add("equalto",["other"],function(q){var p=h(q.form).find(":input[name="+q.params.other+"]")[0];m(q,"equalTo",p)});o.add("required",function(p){if(p.element.tagName.toUpperCase()!=="INPUT"||p.element.type.toUpperCase()!=="CHECKBOX"){m(p,"required",true)}});o.add("remote",["url","type","additionalfields"],function(r){var p={url:r.params.url,type:r.params.type||"GET",data:{}},q=l(r.element.name);h.each(n(r.params.additionalfields||r.element.name),function(s,u){var t=k(u,q);p.data[t]=function(){return h(r.form).find(":input[name='"+t+"']").val()}});m(r,"remote",p)});if(h.validator.unobtrusive&&h.validator.unobtrusive.adapters){h.extend(o,h.validator.unobtrusive.adapters)}h.validator.addMethod("regex",function(p,r,q){if(this.optional(r)){return true}var s=new RegExp(q).exec(p);return s&&s.index==0&&s[0].length==p.length});h.validator.addMethod("number",function(p,s){var q=c.cultureInfo.numericgroupsize;var r=new c.stringBuilder();r.cat("^-?(?:\\d+|\\d{1,").cat(q).cat("}(?:").cat(c.cultureInfo.numericgroupseparator).cat("\\d{").cat(q).cat("})+)(?:\\").cat(c.cultureInfo.numericdecimalseparator).cat("\\d+)?$");return this.optional(s)||new RegExp(r.string()).test(p)})},parse:function(){this.build();this.unobtrusive.parse(this.formId)}};var f=function(k){this.validationMetaData=k};f.prototype={build:function(o){h.validator.addMethod("regex",function(A,C,B){if(this.optional(C)){return true}var D=new RegExp(B).exec(A);return D&&D.index==0&&D[0].length==A.length});h.validator.addMethod("number",function(A,D){var B=c.cultureInfo.numericgroupsize;var C=new c.stringBuilder();C.cat("^-?(?:\\d+|\\d{1,").cat(B).cat("}(?:").cat(c.cultureInfo.numericgroupseparator).cat("\\d{").cat(B).cat("})+)(?:\\").cat(c.cultureInfo.numericdecimalseparator).cat("\\d+)?$");return this.optional(D)||new RegExp(C.string()).test(A)});function t(B,A,C){B.range=[A,C]}function p(A,B){A.regex=B}function z(A){A.required=true}function v(A,B){A.maxlength=B}function m(A,B,C){A[B]=C}function x(D){var A={};for(var C=0;C-1){var m=o.substring(0,n);var l=k[m]||{};l[o.substring(n+1)]=k[o];k[m]=i(l);delete k[o]}}return k}function d(l){var m,k,n;for(m in l){k=l[m];if(typeof k==="string"){n=j.exec(k);if(n){l[m]=new Date(parseInt(n[1]))}}else{if(h.isPlainObject(k)){d(k)}}}}c.editing.initialize=function(l){h.extend(l,this.implementation);var k=h(l.element);l.modelBinder=new c.grid.ModelBinder();l.formViewBinder=new c.grid.FormViewBinder({date:function(v,s){var u=l.columnFromMember(v);var t=u?u.format:"";return c.formatString(t||"{0:G}",s)}});if(l.isAjax()){if(l.editing.mode=="InCell"){d(l.editing.defaultDataItem||{});l.changeLog=new c.grid.ChangeLog(l.pageSize||(l.data&&l.data.length)||0);h(l.element).bind("dataBound",function(){l.changeLog.clear()});l.cellEditor=new c.grid.CellEditor({columns:l.columns,cellIndex:function(s){return l.cellIndex(s)},id:l.formId(),bind:h.proxy(l.formViewBinder.bind,l.formViewBinder),validate:h.proxy(l.validation,l)});k.delegate(".t-grid-save-changes:not(.t-state-disabled)","click",c.stopAll(function(s){l.submitChanges()}));k.delegate(".t-grid-cancel-changes","click",c.stopAll(function(s){l.cancelChanges()}));l.hasChanges=function(){return l.changeLog.dirty()};l.submitChanges=function(){if(l.changeLog.dirty()){var s=l.changeLog.inserted;var u=h.grep(l.changeLog.updated,function(w){return w!=undefined});var t=h.grep(l.changeLog.deleted,function(w){return w!=undefined});if(c.trigger(l.element,"submitChanges",{inserted:s,updated:u,deleted:t})){return}var v=l.ws?{inserted:h.map(s,function(w){return l._convert(w)}),updated:h.map(u,function(w){return l._convert(w)}),deleted:h.map(t,function(w){return l._convert(w)})}:l.changeLog.serialize(s,u,t);l.sendValues(v,"updateUrl")}};l.cancelChanges=function(){l.changeLog.clear();l.dataBind(l.data.slice(0));l.valid=true};l.cellIndex=function(s){return h(s).parent().find("td:not(.t-group-cell,.t-hierarchy-cell)").index(s)};l.rowIndex=function(s){return h(s).parent().find("tr:not(.t-detail-row,.t-grouping-row)").index(s)};var p;l.valid=true;l.editCell=function(v){var s=l.columns[l.cellIndex(v)];if(l.valid&&(s&&!s.readonly)){l.td=v;v=h(v);var u=v.parent();var w=l.rowIndex(u);var t=l.changeLog.get(w)||l.dataItem(u);p=v.find(".t-dirty");l.cellEditor.edit(v,t);c.trigger(l.element,"edit",{mode:u.hasClass("t-grid-new-row")?"insert":"edit",form:l.form()[0],dataItem:t,cell:v[0]})}};l.saveCell=function(v){l.valid=l.validate();if(l.valid){v=h(v);var u=v.parent();var t=l.dataItem(u);var w=i(l.modelBinder.bind(v));var s=false;if(c.trigger(l.element,"save",{mode:u.hasClass("t-grid-new-row")?"insert":"edit",dataItem:t,values:w,form:l.form()[0],cell:v[0]})){return}if(u.hasClass("t-grid-new-row")){l.changeLog.insert(l.rowIndex(u),w)}else{s=l.changeLog.update(l.rowIndex(u),t,w)}l.cellEditor.display(v,w);if(s||u.hasClass("t-grid-new-row")){p=h('')}if(p&&p.length){p.prependTo(l.td)}l.td=null}};l.td=null;l.$tbody.delegate("tr:not(.t-grouping-row) > td:not(.t-detail-cell,.t-grid-edit-cell,.t-group-cell,.t-hierarchy-cell)",l.editing.beginEdit||"click",function(s){if(h(this).closest("tbody")[0]==l.$tbody[0]){l.editCell(this)}});h(document).mousedown(function(s){if(l.td&&!h.contains(l.td,s.target)&&l.td!=s.target&&!h(s.target).closest(".t-animation-container").length){l.saveCell(l.td)}})}else{if(l.editing.beginEdit){l.$tbody.delegate("tr:not(.t-detail-row,.t-grouping-row,.t-grid-edit-row,.t-group-footer)",l.editing.beginEdit,function(s){if(!h(s.target).is(":button,a,:input,a>.t-icon")){l.editRow(h(this))}})}}k.delegate(".t-grid-edit","click",c.stopAll(function(s){l.editRow(h(this).closest("tr"))})).delegate(".t-grid-delete","click",c.stopAll(function(s){l.deleteRow(h(this).closest("tr"))})).delegate(".t-grid-add","click",c.stopAll(function(s){l.addRow()}))}else{k.delegate(".t-grid-delete","click",c.stop(function(s){if(l.editing.confirmDelete!==false&&!confirm(l.localization.deleteConfirmation)){s.preventDefault()}}));l.validation()}l.errorView=new c.grid.ErrorView();var r=new c.grid.DataCellBuilder({columns:l.columns});var m=h.grep(l.columns,function(s){return s.commands&&h.grep(s.commands,function(t){return t.name=="edit"})[0]})[0];if(!m){m={commands:[{name:"edit",buttonType:"Text"}]};m.insert=l.insertFor(m);m.edit=l.editFor(m)}var n=new c.grid.FormContainerBuilder({html:function(){return unescape(l.editing.editor)},insert:function(){return m.insert()},edit:function(){return m.edit()}});var q=l.editing.mode;var o=function(){return(l.groups||[]).length};if(q=="InLine"){l.rowEditor=new c.grid.Editor({id:l.formId(),cancel:r.display,edit:r.edit,insert:r.insert,groups:o,details:l.detail})}else{if(q=="InForm"){l.rowEditor=new c.grid.Editor({id:l.formId(),cancel:r.display,groups:o,details:l.detail,edit:function(){return''+n.edit()+""},insert:function(){return''+n.insert()+""}})}else{if(q=="PopUp"){l.rowEditor=new c.grid.PopUpEditor({id:l.formId(),edit:n.edit,container:l.element,settings:l.editing.popup,insert:n.insert,editTitle:l.localization.edit,insertTitle:l.localization.insert})}else{r=new c.grid.CellBuilder({columns:l.columns});l.rowEditor=new c.grid.Editor({id:l.formId(),cancel:r.display,edit:r.edit,insert:r.insert})}}}k.delegate(":input:not(.t-button):not(textarea)","keydown",function(t){if(t.keyCode==13||t.keyCode==27){t.preventDefault();var s={13:".t-grid-update, .t-grid-insert",27:".t-grid-cancel"};h(this).closest("tr").find(s[t.keyCode]).click()}})};c.editing.implementation={editFor:function(l){var m=this.localization;if(l.commands){var o=h.grep(l.commands,function(q){return q.name=="edit"})[0];if(o){var p=c.grid.ButtonBuilder.create(h.extend({text:m.update},o,{name:"update"}));var n=c.grid.ButtonBuilder.create(h.extend({text:m.cancel},o,{name:"cancel"}));var k=p.build()+n.build();return function(){return k}}else{return function(){return""}}}else{if(!l.readonly&&l.editor){return function(){return unescape(l.editor)}}}return this.displayFor(l)},insertFor:function(l){var m=this.localization;if(l.commands){var o=h.grep(l.commands,function(q){return q.name=="edit"})[0];if(o){var p=c.grid.ButtonBuilder.create(h.extend({text:m.insert},o,{name:"insert"}));var n=c.grid.ButtonBuilder.create(h.extend({text:m.cancel},o,{name:"cancel"}));var k=p.build()+n.build();return function(){return k}}else{return function(){return""}}}else{return this.editFor(l)}},insertRow:function(k){if(this.validate()){var l=this.extractValues(k);if(c.trigger(this.element,"save",{mode:"insert",values:l,form:this.form()[0]})){return}this.sendValues(l,"insertUrl")}},updateRow:function(k){if(this.validate()){var l=this.dataItem(k.data("tr")||k);var m=this.extractValues(k,(this.editing.mode!="InCell"||!this.ws));if(c.trigger(this.element,"save",{mode:"edit",dataItem:l,values:m,form:this.form()[0]})){return}if(this.editing.mode=="InCell"){m=h.extend(l,m)}d(m);this.sendValues(m,"updateUrl")}},deleteRow:function(k){var l=this.dataItem(k);if(this.editing.mode!="InCell"){if(c.trigger(this.element,"delete",{dataItem:l})){return}if(this.editing.confirmDelete===false||confirm(this.localization.deleteConfirmation)){this.sendValues(this.extractValues(k,true),"deleteUrl")}}else{if(this.editing.confirmDelete===false||confirm(this.localization.deleteConfirmation)){this.changeLog.erase(this.rowIndex(k),l);this.td=null;this.cancelRow(k);k.hide()}}},editRow:function(k){var m=this.dataItem(k);if(this.editing.mode!="InCell"){b();var n=this.rowEditor.edit(k,m);var l=this.form();l.undelegate(".t-grid-update").delegate(".t-grid-update","click",c.stopAll(h.proxy(function(){this.updateRow(n)},this))).undelegate(".t-grid-cancel").delegate(".t-grid-cancel","click",c.stopAll(h.proxy(function(){this.cancelRow(k)},this)));this.formViewBinder.bind(n,m);c.trigger(this.element,"edit",{mode:"edit",form:l[0],dataItem:m});this.validation()}else{if(this.valid){this.rowEditor.edit(k,m);this.td=row.find(":input:visible:first").focus().closest("td")[0];this.validation()}}},form:function(){return h("#"+this.formId())},addRow:function(){var n=h.extend(true,{},this.editing.defaultDataItem);if(this.editing.mode!="InCell"){b();var p=this.rowEditor.insert(this.$tbody,n);var l=this.form();l.undelegate(".t-grid-insert").delegate(".t-grid-insert","click",c.stopAll(h.proxy(function(){this.insertRow(p)},this))).undelegate(".t-grid-cancel").delegate(".t-grid-cancel","click",c.stopAll(h.proxy(function(){this.cancelRow(p)},this)));c.trigger(this.element,"edit",{mode:"insert",form:l[0]});this.validation()}else{if(this.valid){var m=this.rowEditor.insert(this.$tbody,n);this.changeLog.insert(n);this.td=m.find(":input:enabled:visible:first").focus().closest("td")[0];for(var k=this.columns.length-1;k>=0;k--){if(!this.columns[k].readonly){var o=m.children().eq(k);if(o[0]!=this.td){o.prepend('')}}}this.validation()}}},extractValues:function(p,m){var n=this.modelBinder.bind(p);if(m){var o=this.dataItem(p.data("tr")||p);for(var l in this.dataKeys){var k=this.valueFor({member:l})(o);if(k instanceof Date){k=c.formatString("{0:G}",k)}n[this.ws?l:this.dataKeys[l]]=k}}return n},cancelRow:function(k){if(!k.length){return}var l=this.dataItem(k);this.rowEditor.cancel(k,l);if(k.is(".t-grid-new-row")){return}c.trigger(this.element,"rowDataBound",{row:k[0],dataItem:l})},validate:function(){var k=this.form();if(k.length){var m=k.validate();var l=m.form();if(m.pendingRequest){m.formSubmitted=true;return false}return l}return true},cancel:function(){this.cancelRow(this.$tbody.find(">.t-grid-edit-row"))},_convert:function(o){for(var l in o){var k=o[l];if(k instanceof Date){var n=this.columnFromMember(l);var m="{0:G}";if(n&&n.format){m=n.format}o[l]=this.ws?"\\/Date("+k.getTime()+")\\/":c.formatString(m,k)}if(k==undefined){delete o[l]}if(h.isPlainObject(k)){this._convert(k)}}return o},sendValues:function(n,k){if(this.editing.mode!="InCell"||!this.ws){this._convert(n);for(var l in this.dataKeys){var m=this.valueFor({member:l})(n);if(m!=undefined){n[this.ws?l:this.dataKeys[l]]=m}}}h.ajax(this.ajaxOptions({data:this.ws?(this.editing.mode=="InCell"?n:{value:n}):n,url:this.url(k),hasErrors:h.proxy(this.hasErrors,this),displayErrors:h.proxy(this.displayErrors,this)}))},displayErrors:function(k){this.errorView.bind(h("#"+this.formId()),k.modelState)},hasErrors:function(k){var l=k.modelState;var m=false;if(l){h.each(l,function(n,o){if("errors" in o){m=true;return false}})}return m},formId:function(){return h(this.element).attr("id")+"form"},validation:function(){this.validator().parse()},validator:function(){if(this.validationMetadata){return new f(this.validationMetadata)}else{return new g(h("#"+this.formId()))}}};c.grid.ModelBinder=function(){this.binders={":input.t-autocomplete":function(){return h(this).val()},".t-numerictextbox :input":function(){return h(this).val()},":input:not(.t-input):not(:radio),:radio:checked":function(){return h(this).val()},":checkbox":function(){return h(this).is(":checked")},".t-datepicker :input":function(){return h(this).data("tDatePicker").value()},".t-timepicker :input":function(){return h(this).data("tTimePicker").value()},".t-datetimepicker :input":function(){return h(this).data("tDateTimePicker").value()},".t-editor textarea:hidden":function(){var k=h(this).closest(".t-editor").data("tEditor");if(k.encoded){return k.encodedValue()}return k.value()}};this.bind=function(k){var l={};h.each(this.binders,function(m,n){k.find(m).each(function(){if(!this.disabled){l[this.name]=n.call(this)}})});return l}};c.grid.FormViewBinder=function(m){this.converters=m||{};this.binders={":input:not(:radio)":function(n){if(typeof n=="boolean"){n=n+""}h(this).val(n)},":checkbox":function(n){h(this).attr("checked",n==true)},":radio":function(o){var n=h(this).val();if(typeof o=="boolean"){n=n.toLowerCase()}if(n==o.toString()){h(this).attr("checked",true)}}};function l(n){return function(o){h(this).data(n).value(o)}}function k(){return function(n){h(this).closest(".t-editor").data("tEditor").value(n)}}this.binders[".t-numerictextbox :input"]=l("tTextBox");this.binders[".t-dropdown :input:hidden"]=l("tDropDownList");this.binders[".t-datepicker :input"]=l("tDatePicker");this.binders[".t-datetimepicker :input"]=l("tDateTimePicker");this.binders[".t-combobox :input:hidden"]=l("tComboBox");this.binders[".t-editor textarea:hidden"]=k();this.evaluate=function(o,r){if(r!=null){var n=o,p=false,t=r.split(".");while(t.length){var u=t.shift();if(n!=null&&typeof(n[u])!="undefined"){n=n[u];p=true}else{if(p){p=false;break}}}if(p&&!h.isPlainObject(n)){var q=j.exec(n);if(q){n=new Date(parseInt(q[1]))}var s=c.getType(n);if(s in this.converters){n=this.converters[s](r,n)}return n}}};this.bind=function(p,o){var n;h.each(this.binders,h.proxy(function(q,r){p.find(q).each(h.proxy(function(t,u){var s=this.evaluate(o,u.name);if(s!=n){r.call(u,s)}},this))},this))}};c.grid.CellBuilder=function(k){function l(n,m){return h.map(k.columns,function(p,o){return"':">")+p[o==0?m:"display"](n)+""}).join("")}this.edit=function(m){return l(m,"edit")};this.insert=function(m){return l(m,"insert")};this.display=function(m){return l(m,"display")}};c.grid.DataCellBuilder=function(k){function l(n,m){return h.map(k.columns,function(p,o){return"':">")+p[m](n)+""}).join("")}this.edit=function(m){return l(m,"edit")};this.insert=function(m){return l(m,"insert")};this.display=function(m){return l(m,"display")}};c.grid.FormContainerBuilder=function(k){function l(m){return'
    '+k.html()+k[m]()+"
    "}this.edit=function(){return l("edit")};this.insert=function(){return l("insert")}};function e(k){return h("",{className:"t-edit-form",id:k}).submit(c.preventDefault)}c.grid.PopUpEditor=function(m){var l;function k(){var o=l.data("tWindow");o&&o.close();l.remove()}function n(p,o){l=h("
    ",{id:m.container.id+"PopUp"}).appendTo(m.container).css({top:0,left:"50%",marginLeft:-90}).tWindow(m.settings).find(".t-window-content").append(m[o](p)).wrapInner(e(m.id)).end();h(m.container).one("dataBound",k);l.find("t-close").bind("close",c.stopAll(k)).end().data("tWindow").open().title(m[o+"Title"]);return l}this.edit=function(o,p){o.addClass("t-grid-edit-row");return n(p,"edit").data("tr",o)};this.insert=function(o,p){return n(p,"insert")};this.cancel=function(o){o.removeClass("t-grid-edit-row");k()}};c.grid.Editor=function(m){var l=m.groups||function(){return 0};function k(n,o,p){var q=n.find(".t-group-cell,.t-hierarchy-cell");n.addClass("t-grid-edit-row").empty().append(q).append(m[p](o)).closest("table").wrap(function(){if(!h(this).parent().is("form")){return e(m.id)}})}this.cancel=function(n,o){if(n.is(".t-grid-new-row")){n.remove()}else{k(n,o,"cancel");n.removeClass("t-grid-edit-row")}};this.insert=function(p,o){var q=''+new Array(l()+1).join('')+((m.details)?'':"")+"";var n=h(q);p.prepend(n);k(n,o,"insert");return n};this.edit=function(n,o){k(n,o,"edit");return n}};c.grid.CellEditor=function(k){this.edit=function(n,m){var l=k.columns[k.cellIndex(n)];if(!l.readonly){n.parent().addClass("t-grid-edit-row").end().empty().html(l.edit(m)).closest("table").wrap(function(){if(!h(this).parent().is("form")){return e(k.id)}});k.bind(n,m);k.validate();n.find(":input:visible:first").trigger("focusin").focus();n.addClass("t-grid-edit-cell")}return !l.readonly};this.display=function(n,m){var l=k.columns[k.cellIndex(n)];n.removeClass("t-grid-edit-cell").empty().html(l.display(m)).parent().removeClass("t-grid-edit-row")}};c.grid.ChangeLog=function(l){this.insert=function(m,o){if(o==undefined){o=m;this.inserted.splice(0,0,o)}else{var n=this.inserted[m];if(n===undefined){this.inserted.splice(0,0,o)}else{h.extend(n,o)}}};this.get=function(n){var m=this.inserted[n];if(this.inserted[n]){return m}return this.updated[n-this.inserted.length]};this.update=function(s,p,o){s=s-this.inserted.length;var t=this.updated[s]||p||{};var r=false;for(var m in o){var q=t[m],n=o[m];if(q instanceof Date){if(n.getTime()!==q.getTime()){r=true}}else{if(n!==q){r=true}}}if(r){this.updated[s]=h.extend({},t,o)}return r};this.erase=function(n,p){var m=this.inserted[n];if(m){this.inserted.splice(n,1)}else{n=n-this.inserted.length;var o=this.updated[n];if(o){delete this.updated[n]}this.deleted[n]=p}};this.clear=function(){this.updated=new Array(l);this.deleted=new Array(l);this.inserted=[]};function k(n,r,t){var u={};for(var s=0,o=0;s .t-grid-content",g.element).bind("scroll",function(){g.hideFilter()});c(document).click(function(h){if(h.which!=3){g.hideFilter()}});g.$header.find(".t-grid-filter").click(c.proxy(g.showFilter,g)).hover(function(){c(this).toggleClass("t-state-hover")})};b.filtering.implementation={createFilterCommands:function(h,g){var i={};c.each(this.localization,function(m,j){var k="filter"+g.type;var l=m.indexOf(k);if(l>-1){i[m.substring(l+k.length).toLowerCase()]=j}});h.cat('")},createTypeSpecificInput:function(j,g,h,i){if(g.type=="Date"){j.cat('
    ').cat('').cat('
    ')}else{if(g.type=="Boolean"){j.cat('
    ').cat('
    ")}else{if(g.type=="Enum"){j.cat("
    ")}else{if(g.type=="Number"){j.cat('
    ').cat('').cat("
    ")}else{j.cat('')}}}}},createFilterMenu:function(g){var j=new b.stringBuilder();j.cat('
    ");var i=c(j.string());c.each(g.filters||[],function(k){i.find(".t-filter-operator:eq("+k+")").val(this.operator).end().find(":text:eq("+k+"),select:not(.t-filter-operator):eq("+k+")").val(a(g,this.value));if(g.type=="Boolean"){i.find(":radio[id$="+this.value+"]").attr("checked",true)}});return i.find(".t-datepicker .t-input").each(function(){c(this).tDatePicker({format:f(g)})}).end().find(".t-numerictextbox .t-input").each(function(){c(this).tTextBox({type:"numeric",minValue:null,maxValue:null,numFormat:"",groupSeparator:""})}).end().appendTo(this.element)},showFilter:function(m){m.stopPropagation();var g=c(m.target).closest(".t-grid-filter");this.hideFilter(function(){return this.parentNode!=g[0]});var k=g.data("filter");if(!k){var h=this.columns[this.$columns().index(g.parent())];k=this.createFilterMenu(h).data("column",h).click(function(p){p.stopPropagation();if(c(p.target).parents(".t-datepicker").length==0){c(".t-datepicker .t-input",this).each(function(){c(this).data("tDatePicker").hidePopup()})}}).find(".t-filter-button").click(c.proxy(this.filterClick,this)).end().find(".t-clear-button").click(c.proxy(this.clearClick,this)).end().find("input[type=text]").keyup(c.proxy(function(p){if(p.keyCode==13){this.filterClick(p)}},this)).end();g.data("filter",k)}var l=0;c(this.element).find("> .t-grouping-header, > .t-grid-toolbar").add(this.$header).each(function(){l+=this.offsetHeight});var i={top:l};var n=-this.$headerWrap.scrollLeft()-1;g.parent().add(g.parent().prevAll("th")).each(function(){if(c(this).css("display")!="none"){n+=this.offsetWidth}});var j=n-g.outerWidth();var o=k.outerWidth()||k.find(".t-group").outerWidth();if(j+o>this.$header.outerWidth()){j=n-o+1}if(c(this.element).closest(".t-rtl").length){i.right=j+(c.browser.mozilla||c.browser.safari?18:0)}else{i.left=j}k.css(i);b.fx[k.find(".t-filter-options").is(":visible")?"rewind":"play"](d,k.find(".t-filter-options"),{direction:"bottom"})},hideFilter:function(g){g=g||function(){return true};c(".t-grid .t-animation-container").find(".t-datepicker .t-input").each(function(){c(this).data("tDatePicker").hidePopup()}).end().find(".t-filter-options").filter(g).each(function(){b.fx.rewind(d,c(this),{direction:"bottom"})})},clearClick:function(i){i.preventDefault();var h=c(i.target);var g=h.closest(".t-animation-container").data("column");g.filters=null;h.parent().find("input").removeAttr("checked").removeClass("t-state-error").not(":radio").val("").end().end().find("select").removeClass("t-state-error").find("option:first").attr("selected","selected");this.filter(this.filterExpr())},filterClick:function(j){j.preventDefault();var i=c(j.target);var g=i.closest(".t-animation-container").data("column");g.filters=[];var h=false;i.closest(".t-filter-options").find("input[type=text]:visible,select:not(.t-filter-operator)").each(c.proxy(function(p,n){var l=c(n);var k=c.trim(l.val());if(!k){l.removeClass("t-state-error");return true}var m=this.isValidFilterValue(g,k);l.toggleClass("t-state-error",!m);if(!m){h=true;return true}var o=l.prev("select").val()||l.parent().prev("select").val()||l.parent().parent().prev("select").val();if(k!=this.localization.filterSelectValue){g.filters.push({operator:o,value:k})}},this));i.parent().find("input:checked").each(c.proxy(function(m,l){var n=c(l);var k=c(l).attr("value");g.filters.push({operator:"eq",value:k})},this));if(!h){if(g.filters.length>0){this.filter(this.filterExpr())}this.hideFilter()}},isValidFilterValue:function(h,g){if(h.type=="Number"){return !isNaN(g)}return true},encodeFilterValue:function(g,h){switch(g.type){case"String":return"'"+h.replace(e,"''")+"'";case"Date":var i;if(h.indexOf("Date(")>-1){i=new Date(parseInt(h.replace(/^\/Date\((.*?)\)\/$/,"$1")))}else{i=b.datetime.parse({value:h,format:f(g)}).toDate()}return"datetime'"+b.formatString("{0:yyyy-MM-ddTHH-mm-ss}",i)+"'"}return h},filterExpr:function(){var h=[];for(var g=0;g .t-grid-content",g.element).bind("scroll",function(){g.hideFilter()});c(document).click(function(h){if(h.which!=3){g.hideFilter()}});g.$header.find(".t-grid-filter").click(c.proxy(g.showFilter,g)).hover(function(){c(this).toggleClass("t-state-hover")})};b.filtering.implementation={createFilterCommands:function(h,g){var i={};c.each(this.localization,function(m,j){var k="filter"+g.type;var l=m.indexOf(k);if(l>-1){i[m.substring(l+k.length).toLowerCase()]=j}});h.cat('")},createTypeSpecificInput:function(j,g,h,i){if(g.type=="Date"){j.cat('
    ').cat('').cat('
    ')}else{if(g.type=="Boolean"){j.cat('
    ').cat('
    ")}else{if(g.type=="Enum"){j.cat("
    ")}else{if(g.type=="Number"){j.cat('
    ').cat('').cat("
    ")}else{j.cat('')}}}}},createFilterMenu:function(g){var j=new b.stringBuilder();j.cat('
    ");var i=c(j.string());c.each(g.filters||[],function(k){i.find(".t-filter-operator:eq("+k+")").val(this.operator).end().find(":text:eq("+k+"),select:not(.t-filter-operator):eq("+k+")").val(a(g,this.value));if(g.type=="Boolean"){i.find(":radio[id$="+this.value+"]").attr("checked",true)}});return i.find(".t-datepicker .t-input").each(function(){c(this).tDatePicker({format:f(g)})}).end().find(".t-numerictextbox .t-input").each(function(){c(this).tTextBox({type:"numeric",minValue:null,maxValue:null,numFormat:"",groupSeparator:""})}).end().appendTo(this.element)},showFilter:function(m){m.stopPropagation();var g=c(m.target).closest(".t-grid-filter");this.hideFilter(function(){return this.parentNode!=g[0]});var k=g.data("filter");if(!k){var h=this.columns[this.$columns().index(g.parent())];k=this.createFilterMenu(h).data("column",h).click(function(p){p.stopPropagation();if(c(p.target).parents(".t-datepicker").length==0){c(".t-datepicker .t-input",this).each(function(){c(this).data("tDatePicker").hidePopup()})}}).find(".t-filter-button").click(c.proxy(this.filterClick,this)).end().find(".t-clear-button").click(c.proxy(this.clearClick,this)).end().find("input[type=text]").keyup(c.proxy(function(p){if(p.keyCode==13){this.filterClick(p)}},this)).end();g.data("filter",k)}var l=0;c(this.element).find("> .t-grouping-header, > .t-grid-toolbar").add(this.$header).each(function(){l+=this.offsetHeight});var i={top:l};var n=-this.$headerWrap.scrollLeft()-1;g.parent().add(g.parent().prevAll("th")).each(function(){if(c(this).css("display")!="none"){n+=this.offsetWidth}});var j=n-g.outerWidth();var o=k.outerWidth()||k.find(".t-group").outerWidth();if(j+o>this.$header.outerWidth()){j=n-o+1}if(c(this.element).closest(".t-rtl").length){i.right=j+(c.browser.mozilla||c.browser.safari?18:0)}else{i.left=j}k.css(i);b.fx[k.find(".t-filter-options").is(":visible")?"rewind":"play"](d,k.find(".t-filter-options"),{direction:"bottom"})},hideFilter:function(g){g=g||function(){return true};c(".t-grid .t-animation-container").find(".t-datepicker .t-input").each(function(){c(this).data("tDatePicker").hidePopup()}).end().find(".t-filter-options").filter(g).each(function(){b.fx.rewind(d,c(this),{direction:"bottom"})})},clearClick:function(i){i.preventDefault();var h=c(i.target);var g=h.closest(".t-animation-container").data("column");g.filters=null;h.parent().find("input").removeAttr("checked").removeClass("t-state-error").not(":radio").val("").end().end().find("select").removeClass("t-state-error").find("option:first").attr("selected","selected");this.filter(this.filterExpr())},filterClick:function(j){j.preventDefault();var i=c(j.target);var g=i.closest(".t-animation-container").data("column");g.filters=[];var h=false;i.closest(".t-filter-options").find("input[type=text]:visible,select:not(.t-filter-operator)").each(c.proxy(function(p,n){var l=c(n);var k=c.trim(l.val());if(!k){l.removeClass("t-state-error");return true}var m=this.isValidFilterValue(g,k);l.toggleClass("t-state-error",!m);if(!m){h=true;return true}var o=l.prev("select").val()||l.parent().prev("select").val()||l.parent().parent().prev("select").val();if(k!=this.localization.filterSelectValue){g.filters.push({operator:o,value:k})}},this));i.parent().find("input:checked").each(c.proxy(function(m,l){var n=c(l);var k=c(l).attr("value");g.filters.push({operator:"eq",value:k})},this));if(!h){if(g.filters.length>0){this.filter(this.filterExpr())}this.hideFilter()}},isValidFilterValue:function(g,h){if(g.type=="Number"){return !isNaN(h)}else{if(g.type=="Date"){var i;if(h.indexOf("Date(")>-1){i=new Date(parseInt(h.replace(/^\/Date\((.*?)\)\/$/,"$1")))}else{i=b.datetime.parse({value:h,format:f(g)})}return i!=undefined}}return true},encodeFilterValue:function(g,h){switch(g.type){case"String":return"'"+h.replace(e,"''")+"'";case"Date":var i;if(h.indexOf("Date(")>-1){i=new Date(parseInt(h.replace(/^\/Date\((.*?)\)\/$/,"$1")))}else{i=b.datetime.parse({value:h,format:f(g)}).toDate()}return"datetime'"+b.formatString("{0:yyyy-MM-ddTHH-mm-ss}",i)+"'"}return h},filterExpr:function(){var h=[];for(var g=0;g');f.$groupHeader=d("> .t-grouping-header",f.element);function h(){var k=d.map(f.$groupHeader.find(".t-group-indicator"),function(l){var m=d(l);var n=m.offset().left;var o=m.outerWidth();return{left:n,right:n+o,width:o,$group:m}});return{first:k[0],all:k,last:k[k.length-1]}}function g(u){var l=u.$cue.text();if(!d.contains(f.element,u.target)||!d(u.target).closest(".t-grouping-header").length||(f.groupFromTitle(l)&&u.$draggable.closest(".t-header").length)){f.$groupDropCue.remove();return}var w=d(f.element),o=w.find("> .t-grid-toolbar"),m=o.outerHeight()+c,q=h(),p=w.closest(".t-rtl").length;if(!q.all.length){var r=p?o.width()-a:a;f.$groupDropCue.css({top:m,left:r}).appendTo(f.$groupHeader);return}var v=q.first;var t=q.last;var k=parseInt(v.$group.css("marginLeft"));var s=parseInt(v.$group.css("marginRight"));var n=d.grep(q.all,function(x){return u.pageX>=x.left-k-s&&u.pageX<=x.right})[0];if(!n&&v){if(!p&&u.pageX=0){f.groups.splice(d.inArray(m,f.groups),1);f.groups.splice(o,0,m)}f.groupBy=d.map(f.groups,function(q){return q.member+"-"+q.order}).join("~");if(this.isAjax()){var p=this.$groupHeader.find('div:contains("'+l+'")');if(p.length==0){var k=new d.telerik.stringBuilder().cat('").string();p=d(k).appendTo(this.$groupHeader)}if(this.$groupDropCue.is(":visible")){p.insertBefore(this.$groupDropCue)}p.find(".t-link .t-icon").toggleClass("t-arrow-up-small",m.order=="asc").toggleClass("t-arrow-down-small",m.order=="desc").html("("+(m.order=="asc"?f.localization.sortedAsc:f.localization.sortedDesc)+")");this.ajaxRequest()}else{this.serverRequest()}};f.unGroup=function(l){var k=f.groupFromTitle(l);f.groups.splice(d.inArray(k,f.groups),1);if(f.groups.length==0){f.$groupHeader.html(f.localization.groupHint)}f.groupBy=d.map(f.groups,function(m){return m.member+"-"+m.order}).join("~");if(f.isAjax()){f.$groupHeader.find('div:contains("'+k.title+'")').remove();f.ajaxRequest()}else{f.serverRequest()}},f.normalizeColumns=function(n){var o=f.groups.length;var m=n-f.$tbody.parent().find(" > colgroup > col").length;if(m==0){return}var p=f.$tbody.parent().add(f.$headerWrap.find("table")).add(f.$footer.find("table"));if(d.browser.msie){if(m>0){d(new b.stringBuilder().rep('',m).string()).prependTo(p.find("colgroup"));d(new b.stringBuilder().rep(' ',m).string()).insertBefore(p.find("th.t-header:first"));d(new b.stringBuilder().rep(' ',m).string()).insertBefore(p.find("tr.t-footer-template > td:first"))}else{p.find("th:lt("+Math.abs(m)+"), tr.t-footer-template > td:lt("+Math.abs(m)+")").remove().end().find("col:lt("+Math.abs(m)+")").remove()}var k=[];var l=0;d("table, .t-grid-bottom",f.element).each(function(){k.push(this.parentNode)}).appendTo(d("
    ")).each(function(){k[l++].appendChild(this)})}else{p.find("col.t-group-col").remove();d(new b.stringBuilder().rep('',o).string()).prependTo(p.find("colgroup"));p.find("th.t-group-cell").remove();p.find("tr.t-footer-template > td.t-group-cell").remove();d(new b.stringBuilder().rep(' ',o).string()).insertBefore(p.find("th.t-header:first"));d(new b.stringBuilder().rep(' ',o).string()).insertBefore(p.find("tr.t-footer-template > td:first"))}},f.bindGroup=function(n,r,q,p){var o=f.groups[p];var t=n.Key;var m=d.grep(f.columns,function(l){return o.member==l.member})[0];if(m&&(m.format||m.type=="Date")){t=b.formatString(m.format||"{0:G}",t)}q.cat('').rep('',p).cat('

    ');if(m){q.cat(m.groupHeader(d.extend({Title:o.title,Key:t},n.Aggregates[m.member])))}else{q.cat(o.title+": "+t)}q.cat("

    ");if(n.HasSubgroups){for(var k=0,s=n.Items.length;k').rep('',f.groups.length);d.each(f.columns,function(){q.cat("");if(this.groupFooter){q.cat(this.groupFooter(n.Aggregates[this.member]))}q.cat("")});q.cat("")}}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.414/telerik.grid.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.grid.min.js new file mode 100644 index 000000000..e6ebd531e --- /dev/null +++ b/NzbDrone.Web/Scripts/2011.1.414/telerik.grid.min.js @@ -0,0 +1 @@ +(function(c){var g=c.telerik;var a=/"\\\/Date\((.*?)\)\\\/"/g;function d(h){return new Function("data",("var p=[];with(data){p.push('"+unescape(h).replace(/[\r\t\n]/g," ").replace(/'(?=[^#]*#>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<#=(.+?)#>/g,"',$1,'").split("<#").join("');").split("#>").join("p.push('")+"');}return p.join('');"))}function f(h){return(h!=null?h+"":"").replace(/&/g,"&").replace(//g,">")}g.grid=function(h,j){this.element=h;this.groups=[];this.editing={};this.filterBy="";this.groupBy="";this.orderBy="";c.extend(this,j);this.sorted=c.grep(this.columns,function(i){return i.order});this.$tbody=c("> .t-grid-content > table > tbody",h);this.scrollable=this.$tbody.length>0;if(!this.scrollable){this.$tbody=c("> table > tbody",h);this.$header=c("> table > thead tr",h);this.$footer=c("> table > tfoot",h)}else{c("> .t-grid-content",h).tScrollable();this.$header=c("> .t-grid-header tr",h);this.$footer=c("> .t-grid-footer",h)}this.$headerWrap=c("> .t-grid-header > .t-grid-header-wrap",h);this.$footerWrap=c("> .t-grid-footer > .t-grid-footer-wrap",h);var o=this.$headerWrap.add(this.$footerWrap);c("> .t-grid-content",h).bind("scroll",function(){o.scrollLeft(this.scrollLeft)});this.$tbody.delegate(".t-hierarchy-cell .t-plus, .t-hierarchy-cell .t-minus","click",g.stopAll(function(t){var r=c(t.target);var q=r.hasClass("t-plus");r.toggleClass("t-minus",q).toggleClass("t-plus",!q);var i=r.closest("tr.t-master-row");if(this.detail&&!i.next().hasClass("t-detail-row")){var s=0;c.each(this.columns,function(){if(!this.hidden){s++}});c(new g.stringBuilder().cat('').rep('',i.find(".t-group-cell").length).cat('').cat('').cat(this.displayDetails(this.dataItem(i))).cat("").string()).insertAfter(i)}g.trigger(this.element,q?"detailViewExpand":"detailViewCollapse",{masterRow:i[0],detailRow:i.next(".t-detail-row")[0]});i.next().toggle(q)},this));this.$pager=c("> .t-grid-pager .t-pager",h);var n=new g.dropDown({effects:g.fx.slide.defaults(),onClick:c.proxy(function(i){this.changePageSize(c(i.item).text());n.close()},this)});n.dataBind(j.pageSizesInDropDown||[]);c(document.documentElement).bind("mousedown",function(q){var i=n.$element[0];if(!c.contains(i,q.target)){n.close()}});this.$pager.delegate(".t-state-disabled","click",g.preventDefault).delegate(".t-link:not(.t-state-disabled)","mouseenter",g.hover).delegate(".t-link:not(.t-state-disabled)","mouseleave",g.leave).delegate("input[type=text]","keydown",c.proxy(this.pagerKeyDown,this)).delegate(".t-page-size .t-dropdown-wrap","click",function(){var i=c(this);n.open({offset:i.offset(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth(),zIndex:g.getElementZIndex(this)})});c("> .t-grid-pager",h).delegate(".t-refresh","click",c.proxy(this.refreshClick,this));c(h).delegate(".t-button","hover",g.preventDefault);if(this.sort){this.$header.delegate(".t-link","hover",function(){c(this).toggleClass("t-state-hover")})}var p="tr:not(.t-grouping-row,.t-detail-row,.t-no-data,:has(>.t-edit-container))";if(this.selectable){var m=this.$tbody[0];var l=this;this.$tbody.delegate(p,"click",function(i){if(this.parentNode==m){l.rowClick(i)}}).delegate(p,"hover",function(){if(this.parentNode==m){c(this).toggleClass("t-state-hover")}})}if(this.isAjax()){this.$pager.delegate(".t-link:not(.t-state-disabled)","click",g.stop(this.pagerClick,this));if(this.sort){this.$header.delegate(".t-link","click",g.stop(this.headerClick,this))}}for(var k=0;k.t-icon")){j.stopPropagation();var h=i.closest("tr").addClass("t-state-selected").siblings().removeClass("t-state-selected").end();g.trigger(this.element,"rowSelect",{row:h[0]})}},$rows:function(){return this.$tbody.find("> tr:not(.t-grouping-row,.t-detail-row)")},expandRow:function(h){c(h).find("> td .t-plus, > td .t-expand").click()},collapseRow:function(h){c(h).find("> td .t-minus, > td .t-collapse").click()},headerClick:function(h){h.preventDefault();this.toggleOrder(this.$columns().index(c(h.target).closest("th")));this.sort(this.sortExpr())},refreshClick:function(i,h){if(c(h).is(".t-loading")){return}if(this.isAjax()){i.preventDefault();this.ajaxRequest(true)}},sort:function(h){this.orderBy=h;this.ajaxRequest()},columnFromTitle:function(i){i=c.trim(i);var h=c.grep(this.$columns(),function(j){return c.trim(c(j).text())==i})[0];if(h){return this.columns[this.$columns().index(h)]}return c.grep(this.columns,function(j){return j.title==i})[0]},columnFromMember:function(h){var i=c.grep(this.columns,function(j){return j.member==h})[0];if(!i){i=c.grep(this.columns,function(k){var j="."+k.member;return h.substr(h.length-j.length)==j})[0]}return i},toggleOrder:function(h){h=typeof h=="number"?this.columns[h]:h;var j="asc";if(h.order=="asc"){j="desc"}else{if(h.order=="desc"){j=null}}h.order=j;var i=c.inArray(h,this.sorted);if(this.sortMode=="single"&&i<0){c.each(this.sorted,function(){this.order=null});this.sorted=[]}if(i<0&&j){this.sorted.push(h)}if(!j){this.sorted.splice(i,1)}},sortExpr:function(){return c.map(this.sorted,function(h){return h.member+"-"+h.order}).join("~")},pagerKeyDown:function(h){if(h.keyCode==13){var i=this.sanitizePage(c(h.target).val());if(i!=this.currentPage){this.pageTo(i)}else{c(h.target).val(i)}}},isAjax:function(){return this.ajax||this.ws||this.onDataBinding},url:function(h){return(this.ajax||this.ws)[h]},pagerClick:function(m){m.preventDefault();var i=c(m.target).closest(".t-link");var j=this.currentPage;var k=i.find(".t-icon");if(k.hasClass("t-arrow-next")){j++}else{if(k.hasClass("t-arrow-last")){j=this.totalPages()}else{if(k.hasClass("t-arrow-prev")){j--}else{if(k.hasClass("t-arrow-first")){j=1}else{var h=i.text();if(h=="..."){var l=i.parent().children().index(i);if(l==0){j=parseInt(i.next().text())-1}else{j=parseInt(i.prev().text())+1}}else{j=parseInt(h)}}}}}this.pageTo(isFinite(j)?j:this.currentPage)},changePageSize:function(i){var h=parseInt(i,10);if(isNaN(h)||h<1){return this.pageSize}h=Math.max(h,1);this.pageSize=h;if(this.isAjax()){this.ajaxRequest()}else{this.serverRequest()}},pageTo:function(h){this.currentPage=h;if(this.isAjax()){this.ajaxRequest()}else{this.serverRequest()}},ajaxOptions:function(i){var h={type:"POST",dataType:"text",dataFilter:function(k,l){return k.replace(a,"new Date($1)")},error:c.proxy(function(l,k){if(g.ajaxError(this.element,"error",l,k)){return}},this),complete:c.proxy(this.hideBusy,this),success:c.proxy(function(l,m,k){try{l=eval("("+l+")")}catch(n){if(!g.ajaxError(this.element,"error",k,"parseeror")){alert("Error! The requested URL did not return JSON.")}return}l=l.d||l;if(i.hasErrors&&i.hasErrors(l)){if(!g.trigger(this.element,"error",{XMLHttpRequest:k,textStatus:"modelstateerror",modelState:l.modelState})){i.displayErrors(l)}return}this.total=l.total||l.Total||0;this.aggregates=l.aggregates||{};this.dataBind(l.data||l.Data)},this)};c.extend(h,i);var j=this.ws?h.data.state={}:h.data;j[this.queryString.page]=this.currentPage;j[this.queryString.size]=this.pageSize;j[this.queryString.orderBy]=this.orderBy||"";j[this.queryString.groupBy]=this.groupBy;j[this.queryString.filter]=(this.filterBy||"").replace(/\"/g,'\\"');j[this.queryString.aggregates]=c.map(this.columns,function(k){if(k.aggregates){return k.member+"-"+k.aggregates.join("-")}}).join("~");if(this.ws){h.data=g.toJson(h.data);h.contentType="application/json; charset=utf-8"}return h},showBusy:function(){this.busyTimeout=setTimeout(c.proxy(function(){c("> .t-grid-pager .t-status .t-icon",this.element).addClass("t-loading")},this),100)},hideBusy:function(){clearTimeout(this.busyTimeout);c("> .t-grid-pager .t-status .t-icon",this.element).removeClass("t-loading")},serverRequest:function(){location.href=g.formatString(unescape(this.urlFormat),this.currentPage,this.orderBy||"~",this.groupBy||"~",encodeURIComponent(this.filterBy)||"~",this.pageSize||"~")},ajaxRequest:function(i){var h={page:this.currentPage,sortedColumns:this.sorted,filteredColumns:c.grep(this.columns,function(j){return j.filters})};if(g.trigger(this.element,"dataBinding",h)){return}if(!this.ajax&&!this.ws){return}this.showBusy();c.ajax(this.ajaxOptions({data:c.extend({},h.data,i),url:this.url("selectUrl")}))},valueFor:function(h){if(h.type=="Date"){return new Function("data","var value = data."+h.member+'; if (!value) return null; return value instanceof Date? value : new Date(parseInt(value.replace(/\\/Date\\((.*?)\\)\\//, "$1")));')}return new Function("data","return data"+(h.member?"."+h.member:"")+";")},displayFor:function(h){var j=this.localization;if(h.commands){var k=c.map(h.commands,function(l){var m=g.grid.ButtonBuilder.create(c.extend({text:j[l.name]},l));return m.build()}).join("");return function(){return k}}if(!h.template){var i=h.value||function(){return""};if(h.format||h.type=="Date"){i=function(l){var m=h.value(l);return m==null?"":g.formatString(h.format||"{0:G}",m)}}return h.encoded===false?i:function(l){return f(i(l))}}return d(h.template)},insertFor:function(h){return this.displayFor(h)},editFor:function(h){return this.displayFor(h)},initializeColumns:function(){c.each(this.columns,c.proxy(function(j,k){if(k.member!==undefined){k.value=this.valueFor(k)}else{k.readonly=true}k.insert=this.insertFor(k);k.edit=this.editFor(k);k.display=this.displayFor(k);if(k.footerTemplate){k.footer=d(k.footerTemplate)}if(k.groupFooterTemplate){this.showGroupFooter=true;k.groupFooter=d(k.groupFooterTemplate)}k.groupHeader=d("<#= Title #>: <#= Key #>");if(k.groupHeaderTemplate){k.groupHeader=d(k.groupHeaderTemplate)}},this));var i=this.columns.length-1;while(i>=0){var h=this.columns[i];if(h.hidden){i--;continue}if(!h.attr){h.attr=' class="t-last"';break}else{if(h.attr.indexOf("class")==-1){h.attr+=' class="t-last"';break}else{h.attr=h.attr.replace('class="','class="t-last ');break}}i--}if(this.detail){this.displayDetails=d(this.detail.template)}},bindData:function(j,l,n){Array.prototype.push.apply(this.data,j);var p=Math.min(this.pageSize,j.length);p=this.pageSize?p:j.length;if(c.browser.msie){c(this.element).find(".t-grid-content colgroup:first col").css("display","")}for(var q=0;q')}else{l.cat("")}l.rep('',n).catIf('',this.detail);for(var k=0,m=this.columns.length;k").cat(o.display(j[q]));l.cat("")}l.cat("")}},normalizeColumns:function(){},dataItem:function(h){return this.data[this.$tbody.find("> tr:not(.t-grouping-row,.t-detail-row,.t-grid-new-row)").index(c(h))]},bindTo:function(n){var k=new g.stringBuilder();var m=this.groups.length+this.columns.length+(this.detail?1:0);if(n&&n.length){this.normalizeColumns(m);if(typeof n[0].HasSubgroups!="undefined"){for(var h=0,j=n.length;h").cat("").cat(this.noRecordsTemplate?this.noRecordsTemplate:this.localization.noRecords).cat("")}this.$tbody.html(k.string());if(this.onRowDataBound){var o=jQuery.grep(this.$tbody[0].rows,function(i){return !c(i).hasClass("t-grouping-row")});for(var h=0,j=this.data.length;h=h).removeClass("t-state-hover");this.$pager.find(".t-arrow-prev").parent().add(this.$pager.find(".t-arrow-first").parent()).toggleClass("t-state-disabled",j==1).removeClass("t-state-hover");var i=this.localization;this.$pager.find(".t-page-i-of-n").each(function(){this.innerHTML=new g.stringBuilder().cat(i.page).cat(' ').cat(g.formatString(i.pageOf,h)).string()});this.$pager.find(".t-page-size").each(function(){var l='
    '+k+'select
    ';this.innerHTML=l});this.$pager.find(".t-numeric").each(c.proxy(function(m,l){this.numericPager(l,j,h)},this));this.$pager.parent().find(".t-status-text").text(g.formatString(i.displayingItems,this.firstItemInPage(),this.lastItemInPage(),this.total))},numericPager:function(i,o,p){var m=10;var k=1;if(o>m){var h=(o%m);k=(h==0)?(o-m)+1:(o-h)+1}var l=(k+m)-1;l=Math.min(l,p);var j=new g.stringBuilder();if(k>1){j.cat('
    ...')}for(var n=k;n<=l;n++){if(n==o){j.cat('').cat(n).cat("")}else{j.cat('').cat(n).cat("")}}if(l...')}i.innerHTML=j.string()},$columns:function(){return this.$header.find("th:not(.t-hierarchy-cell,.t-group-cell)")},updateSorting:function(){this.sorted=[];c.each(this.orderBy.split("~"),c.proxy(function(i,h){var j=h.split("-");var k=this.columnFromMember(j[0]);if(k){k.order=j[1];this.sorted.push(k)}},this));this.$columns().each(c.proxy(function(j,m){var k=this.columns[j].order;var h=c(m).children(".t-link");var l=h.children(".t-icon");if(!k){l.hide()}else{if(l.length==0){l=c('').appendTo(h)}l.toggleClass("t-arrow-up",k=="asc").toggleClass("t-arrow-down",k=="desc").html("("+(k=="asc"?this.localization.sortedAsc:this.localization.sortedDesc)+")").show()}},this))},sanitizePage:function(i){var h=parseInt(i,10);if(isNaN(h)||h<1){return this.currentPage}return Math.min(h,this.totalPages())},totalPages:function(){return Math.ceil(this.total/this.pageSize)},firstItemInPage:function(){return this.total>0?(this.currentPage-1)*this.pageSize+1:0},lastItemInPage:function(){return Math.min(this.currentPage*this.pageSize,this.total)},dataBind:function(h){this.data=[];this.bindTo(h);this.bindFooter();this.updatePager();this.updateSorting();g.trigger(this.element,"dataBound");g.trigger(this.element,"repaint")},bindFooter:function(){var i=this.$footer.find("td:not(.t-group-cell,.t-hierarchy-cell)");var h=this.aggregates;c.each(this.columns,function(j){if(this.footer){i.eq(j).html(this.footer(h[this.member]||{}))}})},rebind:function(h){this.sorted=[];this.orderBy="";this.filterBy="";this.currentPage=1;c.each(this.columns,function(){this.order=null;this.filters=null});c(".t-filter-options",this.element).find('input[type="text"], select').val("").removeClass("t-state-error").end().find("div.t-formatted-value").html("");c(".t-grid-filter",this.element).removeClass("t-active-filter");this.ajaxRequest(h)}};g.grid.ButtonBuilder=function(h){this.classNames=["t-button","t-grid-"+h.name];this.content=function(){return h.text};this.build=function(){return'"+this.content()+""}};g.grid.ButtonBuilder.create=function(h){return new (e[h.buttonType])(h)};function b(i,h){return'"}g.grid.ImageButtonBuilder=function(h){g.grid.ButtonBuilder.call(this,h);this.classNames.push("t-button-icon");this.content=function(){return b(h.name,h.imageAttr)}};g.grid.ImageTextButtonBuilder=function(h){g.grid.ButtonBuilder.call(this,h);this.classNames.push("t-button-icontext");this.content=function(){return'"+h.text}};g.grid.BareImageButtonBuilder=function(h,i){g.grid.ImageButtonBuilder.call(this,h,i);this.classNames.push("t-button-icon","t-button-bare")};var e={Text:g.grid.ButtonBuilder,ImageAndText:g.grid.ImageTextButtonBuilder,Image:g.grid.ImageButtonBuilder,BareImage:g.grid.BareImageButtonBuilder};c.fn.tGrid=function(h){return g.create(this,{name:"tGrid",init:function(i,j){return new g.grid(i,j)},options:h,success:function(i){if(i.$tbody.find("tr.t-no-data").length){i.ajaxRequest()}}})};c.fn.tGrid.defaults={columns:[],plugins:[],currentPage:1,pageSize:10,localization:{addNew:"Add new record","delete":"Delete",cancel:"Cancel",insert:"Insert",update:"Update",select:"Select",pageOf:"of {0}",displayingItems:"Displaying items {0} - {1} of {2}",edit:"Edit",noRecords:"No records to display.",page:"Page ",filter:"Filter",filterClear:"Clear Filter",filterShowRows:"Show rows with value that",filterAnd:"And",filterStringEq:"Is equal to",filterStringNe:"Is not equal to",filterStringStartsWith:"Starts with",filterStringSubstringOf:"Contains",filterStringEndsWith:"Ends with",filterNumberEq:"Is equal to",filterNumberNe:"Is not equal to",filterNumberLt:"Is less than",filterNumberLe:"Is less than or equal to",filterNumberGt:"Is greater than",filterNumberGe:"Is greater than or equal to",filterDateEq:"Is equal to",filterDateNe:"Is not equal to",filterDateLt:"Is before",filterDateLe:"Is before or equal to",filterDateGt:"Is after",filterDateGe:"Is after or equal to",filterEnumEq:"Is equal to",filterEnumNe:"Is not equal to",filterBoolIsTrue:"is true",filterBoolIsFalse:"is false",filterSelectValue:"-Select value-",filterOpenPopupHint:"Open the calendar popup",groupHint:"Drag a column header and drop it here to group by that column",deleteConfirmation:"Are you sure you want to delete this record?",sortedAsc:"sorted ascending",sortedDesc:"sorted descending",ungroup:"ungroup"},queryString:{page:"page",size:"size",orderBy:"orderBy",groupBy:"groupBy",filter:"filter",aggregates:"aggregates"}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.grid.reordering.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.grid.reordering.min.js similarity index 100% rename from NzbDrone.Web/Scripts/2011.1.315/telerik.grid.reordering.min.js rename to NzbDrone.Web/Scripts/2011.1.414/telerik.grid.reordering.min.js diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.grid.resizing.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.grid.resizing.min.js similarity index 100% rename from NzbDrone.Web/Scripts/2011.1.315/telerik.grid.resizing.min.js rename to NzbDrone.Web/Scripts/2011.1.414/telerik.grid.resizing.min.js diff --git a/NzbDrone.Web/Scripts/2011.1.414/telerik.imagebrowser.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.imagebrowser.min.js new file mode 100644 index 000000000..bba132ec0 --- /dev/null +++ b/NzbDrone.Web/Scripts/2011.1.414/telerik.imagebrowser.min.js @@ -0,0 +1 @@ +(function(i,o){var n=i.telerik,e=i.telerik.query;n.imageBrowser=function(q,r){this.element=q;this.wrapper=i(q);var t=r.filter||"*.png,*.gif,*.jpg,*.jpeg";var s=r.localization;this.wrapper.append('
    select
    ').append(k(s,r.uploadUrl,r.createDirectoryUrl,r.deleteFileUrl||r.deleteDirectoryUrl)).append('
      ');var u=this.wrapper.find(".t-breadcrumbs");var y=this.wrapper.find(".t-tiles");var v=this.wrapper.find(".t-search-wrap");if(r.uploadUrl){this.wrapper.find(".t-upload input").tUpload({async:{saveUrl:r.uploadUrl,autoUpload:true},multiple:false,onUpload:function(B){var C=new RegExp(("("+t.split(",").join(")|(")+")").replace(/\*\./g,".*."),"i");var A=B.files[0].name;if(C.test(A)){B.data={path:u.val()};y.trigger("t:upload",[{name:A},function(){B.preventDefault()}])}else{B.preventDefault();alert(n.formatString(s.invalidFileType,A,t))}},onError:function(A){A.preventDefault();y.trigger("t:error",[A.files[0]]);var B=A.XMLHttpRequest;if(n.ajaxError(r.element,"error",B,B.statusText)){return}},onSuccess:function(A){y.trigger("t:completeFile",[i.extend(A.response,{path:u.val()})])}})}new n.searchBox(v[0]);new n.fileListView(y[0],{thumbnailUrl:r.thumbUrl,localization:s});var w=new n.dropDown({effects:n.fx.slide.defaults(),onClick:function(A){i(q).find(".t-tiles-arrange a span:first").html(i(A.item).text());w.close();u.trigger("t:change")}});var z=[{Text:s.orderByName,Value:"name"},{Text:s.orderBySize,Value:"size"}];w.dataBind(z);this.wrapper.find(".t-tiles-arrange a").click(function(B){B.preventDefault();var A=i(this);w.open({offset:A.offset(),outerHeight:A.outerHeight(),outerWidth:A.outerWidth(),zIndex:n.getElementZIndex(this)})}).end().delegate(".t-button:not(.t-state-disabled):has(.t-delete)","click",function(){var A=y.find(".t-state-selected");if(A.length&&confirm(n.formatString(s.deleteFile,A.find("strong").text()))){i.ajax({type:"POST",url:A.data("kind")=="f"?r.deleteFileUrl:r.deleteDirectoryUrl,data:{path:A.data("url")},error:function(C,B){if(n.ajaxError(r.element,"error",C,B)){return}},success:function(){y.trigger("t:delete");i(q).find(".t-delete").parent().addClass("t-state-disabled")}})}}).delegate(".t-button:not(.t-state-disabled):has(.t-addfolder)","click",function(){y.trigger("t:createDirectory",[function(A){i.ajax({type:"POST",url:r.createDirectoryUrl,data:{path:u.val(),name:A},error:function(C,B){y.trigger("t:errorDirectory",{name:A});if(n.ajaxError(r.element,"error",C,B)){return}},success:function(){y.trigger("t:completeDirectory",{path:u.val(),name:A})}})}])});i(document.documentElement).bind("mousedown",function(B){var A=w.$element[0];if(!i.contains(A,B.target)){w.close()}});var x=new n.dataSource({error:function(A,C){var B=n.trigger(r.element,"error",{XMLHttpRequest:A,textStatus:C});if(!B){if(C=="error"){if(A.status=="404"){alert(r.localization.directoryNotFound)}else{if(A.status!="0"){alert("Error! The requested URL returned "+A.status+" - "+A.statusText)}}}else{if(C=="timeout"){alert("Error! Server timeout.")}}}},url:r.selectUrl,callback:function(B){i(q).find(".t-delete").parent().addClass("t-state-disabled");if(!u.val()){new n.breadcrumbs(u[0],{path:B.Path,roots:B.ContentPaths})}u.val(B.Path).trigger("t:refresh");var C=i(q).find(".t-tiles-arrange a span:first").text();var A=i.map(z,function(E){if(E.Text==C){return E.Value}})[0];var D=v.val();y.trigger("t:refresh",[B,A,D])}});v.bind("t:change",function(){u.trigger("t:change")});x.get({path:""});y.bind("t:select",function(A){if(A.kind=="d"){x.get({path:A.url})}else{r.apply(A)}}).bind("t:change",function(B){var C=i(q).find(".t-delete").parent().addClass("t-state-disabled");if(B.kind=="f"){var A=B.url;if(r.imageUrl){A=r.imageUrl+"?path="+A}i(q).parent().find("#t-editor-image-url").val(A)}if((B.kind=="f"&&r.deleteFileUrl)||(B.kind=="d"&&r.deleteDirectoryUrl)){C.removeClass("t-state-disabled")}});u.bind("t:change",function(){var A=i(this).val();if(!A.match(/\/$/)){A=A+"/"}x.get({path:A})})};function k(r,s,t,q){var v=!s?"":'
      '+r.uploadFile+'
      ',u=!t?"":'',w=!q?"":' ';return'
      '+v+u+w+'
      '+r.orderBy+' '+r.orderByName+'
      '}n.fileInfoReader=function(q){this._thumbnailUrl=q.thumbnailUrl||""};n.fileInfoReader.prototype={read:function(q,r){return r[q]||r[(q.charAt(0).toUpperCase()+q.substring(1))]},directories:function(q){return this.read("directories",q)},files:function(q){return this.read("files",q)},thumbUrl:function(q,r){return this._thumbnailUrl+"/?path="+q+r},size:function(s){var q=this.read("size",s);if(!q){return""}var r=" bytes";if(q>=1073741824){r=" GB";q/=1073741824}else{if(q>=1048576){r=" MB";q/=1048576}else{if(q>=1024){r=" KB";q/=1024}}}return Math.round(q*100)/100+r},name:function(q){return this.read("name",q)},path:function(q){return this.read("path",q)},concatPaths:function(q,r){if(q===o||!q.match(/\/$/)){q=(q||"")+"/"}return q+r}};n.fileListView=function(q,r){this.element=q;this.wrapper=i(q);this._localization=r.localization;this._reader=r.reader||new n.fileInfoReader({thumbnailUrl:r.thumbnailUrl});this._pageSize=r.pageSize||20;this.wrapper.bind({"t:refresh":i.proxy(this._refresh,this),"t:upload":i.proxy(this._upload,this),"t:completeFile":i.proxy(this._completeFile,this),"t:completeDirectory":i.proxy(this._completeDirectory,this),"t:delete":i.proxy(this._delete,this),"t:errorFile":i.proxy(this._errorFile,this),"t:errorDirectory":i.proxy(this._errorDirectory,this),"t:createDirectory":i.proxy(this._createDirectory,this),scroll:i.proxy(this._scroll,this)}).delegate("li[data-url]:not(.t-tile-empty)","click",i.proxy(this._click,this)).delegate("li[data-url]:not(.t-tile-empty)","dblclick",i.proxy(this._dblclick,this))};function d(q){return'
    • '+q.name+"
    • "}function m(q){return'
    • '+q+"
    • "}function h(q){return'
    • '+q.name+''+q.size+"";"
    • "}function l(q){return'
    • '+q.name+"
    • "}function p(q){return'
    • '}function b(r){var s=i(r);var q=i("",{src:s.data("thumbUrl"),alt:s.data("filename")}).hide().bind("load",function(){i(this).prev().remove().end().fadeIn()});s.find(".t-loading").after(q);r.loaded=true}if(i.browser.msie&&parseFloat(i.browser.version)<8){var a=function(q){return q.offsetTop}}else{var a=function(q){return q.offsetTop-i(q).height()}}var f=/(\:|\^|\$|\/|\.|\+|\||\(|\)|\[|\]|\{|\}|\\)/g,j=/\*/g,c=/\?/g;function g(q){return new RegExp(q.replace(f,"\\$1").replace(j,".*").replace(c,".?"),"ig")}n.fileListView.prototype={bindTo:function(r,t,s){this._filter=s;var x=this._reader;this.wrapper.empty();var q=e(this._reader.directories(r)||[]);var v=e(this._reader.files(r)||[]);if(s){var w=function(z){return g(s).test(x.name(z))};q=q.where(w);v=v.where(w)}var y=function(z){return x[t](z)};this._data=this._process(this._reader.path(r),q.orderBy(y),v.orderBy(y));var u=this._data.select(function(z){return z.kind=="f"?h(z):l(z)}).toArray().join("");this.wrapper.append(u);this._tiles=this.wrapper.find("li[data-kind=f]");this._scroll();this._asEmpty()},_asEmpty:function(){if(!this._data.any()&&!this._filter){this.wrapper.append(m(this._localization.emptyFolder))}},_completeFile:function(u,r){var t=this._reader.name(r);var q=this._reader.path(r);var s=i(h({kind:"f",thumbUrl:this._reader.thumbUrl(q,t),url:this._reader.concatPaths(q,t),name:t,size:this._reader.size(r)}));this.wrapper.find("li").eq(this.fileIndex(t)).replaceWith(s);b(s[0]);s.click()},_completeDirectory:function(u,r){var t=this._reader.name(r);var q=this._reader.path(r);var s=i(l({kind:"d",url:this._reader.concatPaths(q,t),name:t}));this.wrapper.find("li").eq(this.directoryIndex(t)).replaceWith(s)},_delete:function(){var q=this.wrapper.find(".t-state-selected");if(q.length){var r=this._data.toArray();r.splice(q.index(),1);this._data=e(r);q.remove();this._scroll();this._asEmpty()}},_scroll:function(q){clearTimeout(this._timeout);this._timeout=setTimeout(i.proxy(function(){var r=this.wrapper.outerHeight();var t=this.wrapper.scrollTop();var s=t+r;this._tiles.each(function(){var v=a(this);var u=v+this.offsetHeight;if((v>=t&&v=t&&us){return false}});this._tiles=this._tiles.filter(function(){return !this.loaded})},this),250)},_upload:function(u,q,v){var s=this.fileIndex(q.name);if(s>-1&&!confirm(n.formatString(this._localization.overwriteFile,q.name))){v()}else{this.wrapper.find(".t-tile-empty").remove();var w=i(d(q));if(s>-1){w.data("existing",true);this.wrapper.find("li").eq(s).replaceWith(w)}else{var t=this.wrapper.find("li[data-kind=f]:first");if(t.length){t.before(w)}else{this.wrapper.append(w)}var r=this._data.toArray();r.splice(w.index(),0,{name:q.name,kind:"f"})}this.wrapper.scrollTop(w.attr("offsetTop")-this.element.offsetHeight)}},_nameDirectory:function(){var t="New folder";var s=this._data.where(function(u){return u.kind=="d"&&u.name.indexOf(t)>-1}).select(function(u){return u.name}).toArray();if(i.inArray(t,s)>-1){var r=2;do{var q=t+" ("+r+")";r++}while(i.inArray(q,s)>-1);t=q}return t},_createDirectory:function(u,r){var t=this._nameDirectory();var w=i(p(t));var v=this.wrapper.find("li[data-kind=f]:first");if(v.length){v.before(w)}else{this.wrapper.append(w)}var q=this._data.toArray();var s=w.addClass("t-state-selected").siblings().removeClass("t-state-selected").end().find("input").keydown(function(x){if(x.keyCode==13){this.blur()}}).blur(i.proxy(function(x){var y=i.trim(x.target.value);if(!y||this._data.any(function(z){return z.kind=="d"&&z.name.toLowerCase()==y.toLowerCase()})){y=this._nameDirectory()}q.splice(w.index(),0,{name:y,kind:"d"});i(x.target).replaceWith(""+y+"");r(y)},this));setTimeout(function(){s.select()});this.wrapper.find(".t-tile-empty").remove();this.wrapper.scrollTop(w.attr("offsetTop")-this.element.offsetHeight)},_errorFile:function(u,s){var q=this.fileIndex(s.name);if(q>-1){var r=this.wrapper.find("li").eq(q);if(r.data("existing")){var t=i(h(this._data.toArray()[q]));r.replaceWith(t);b(t[0])}else{r.remove();this._data.toArray().splice(q,1)}this._asEmpty()}},_errorDirectory:function(s,r){var q=this.directoryIndex(r.name);if(q>-1){this.wrapper.find("li").eq(q).remove();this._data.toArray().splice(q,1);this._asEmpty()}},fileIndex:function(q){return this._index("f",q)},directoryIndex:function(q){return this._index("d",q)},_index:function(s,t){var q=-1,r=this._data?this._data.toArray():[];t=t.toLowerCase();i.each(r,function(u,v){if(v.kind==s&&v.name.toLowerCase()==t){q=u;return false}});return q},_raise:function(s,q){var r=i(s.currentTarget);n.trigger(this.wrapper,q,{kind:r.data("kind"),url:r.data("url")})},_click:function(q){i(q.currentTarget).addClass("t-state-selected").siblings().removeClass("t-state-selected");this._raise(q,"t:change")},_dblclick:function(q){if(document.selection&&document.selection.empty){document.selection.empty()}this._raise(q,"t:select")},_refresh:function(t,q,s,r){this.bindTo(q,s,r)},_process:function(s,q,r){var t=this._reader;var q=q.select(function(u){return{url:t.concatPaths(s,t.name(u)),name:t.name(u),kind:"d"}});var r=r.select(function(u){var v=t.name(u);return{url:t.concatPaths(s,v),name:v,kind:"f",thumbUrl:t.thumbUrl(s,v),size:t.size(u)}});return q.concat(r)}};n.dataSource=function(q){this._url=q.url;this._callback=q.callback;this._error=q.error};n.dataSource.prototype={_complete:function(q){if(this._callback){this._callback(q)}},get:function(q){i.ajax({type:"POST",url:this._url,data:q,success:i.proxy(this._complete,this),error:this._error})}};n.breadcrumbs=function(r,s){this.element=r;this.wrapper=i(r);this._gap=s.gap||50;this._initPaths(s.path);var q=new n.dropDown({effects:n.fx.slide.defaults(),onClick:i.proxy(function(t){var u=i(t.item).text();q.close();this._initPaths(u);i(r).val(u).trigger("t:change")},this)});q.dataBind(s.roots);this.wrapper.delegate("input","focus",i.proxy(this._focus,this)).delegate("input","blur",i.proxy(this._blur,this)).delegate("input","keydown",i.proxy(function(t){if(t.keyCode==13){this._blur()}},this)).delegate("a:not(.t-first)","click",n.stopAll(this._click,this)).delegate(".t-select","click",function(){var t=i(r);q.open({offset:t.offset(),outerHeight:t.outerHeight(),outerWidth:t.outerWidth(),zIndex:n.getElementZIndex(this)})}).bind("t:refresh",i.proxy(this.refresh,this));i(document.documentElement).bind("mousedown",function(u){var t=q.$element[0];if(!i.contains(t,u.target)){q.close()}});this.value(s.path)};n.breadcrumbs.prototype={_initPaths:function(q){this._basePath=(q||"").replace(/\/{2,}/g,"/").replace(/\/$/,"");q=this._basePath.split("/");q.pop();this._root=q.join("/")},_html:function(){var r=this._basePath.split("/").length-1;var q=this.value();if(q===o||!q.match(/^\//)){q="/"+(q||"")}return'
      '+i.map(q.split("/"),function(t,s){if(t&&s>=r){return''+t+""}}).join('>')+'
      select
      '},_path:function(q){return this._root+"/"+i.map(q,function(r){return i(r).text()}).join("/")},_update:function(q){q=q.charAt(0)==="/"?q:"/"+q;var r=this.value()!=q;this.value(q);if(r){this.wrapper.trigger("t:change")}},value:function(q){if(q!==o){this.wrapper.val(q.replace(/\/{2,}/g,"/"));this.refresh()}else{return this.wrapper.val()}},_click:function(q){this._update(this._path(i(q.target).prevAll("a").andSelf()))},refresh:function(){this.wrapper.empty().append(this._html());var r=this.wrapper.width()-this._gap;var q=this.wrapper.find("a");q.each(function(t){var s=i(this);if(s.parent().width()>r){if(t==q.length-1){s.width(r)}else{s.prev().andSelf().hide()}}})},_focus:function(){var q=this.wrapper.find(".t-breadcrumbs-wrap").hide().end().find("input").val(this.value());setTimeout(function(){q.select()})},_blur:function(){var q=this.wrapper.find("input").val().replace(/\/{2,}/g,"/");if(!q||q.toLowerCase().indexOf(this._basePath.toLowerCase())<0){q=this._basePath}this._update(q)}};n.searchBox=function(q){this.element=q;this.wrapper=i(q);this.wrapper.delegate("input","focus",i.proxy(this._focus,this)).delegate("input","blur",i.proxy(this._blur,this)).delegate("input","keydown",i.proxy(function(r){if(r.keyCode==13){this._blur()}},this)).delegate("a","click",n.stopAll(this._click,this));this._render()};n.searchBox.prototype={_render:function(){var q='search';this.wrapper.empty().append(i(q))},_focus:function(){this.wrapper.find("label").hide()},_blur:function(){this._update(this.wrapper.find("input").val());if(this.value()==""){this.wrapper.find("label").show()}},_update:function(q){var r=this.value()!=q;this.value(q);if(r){this.wrapper.trigger("t:change")}},value:function(q){if(q!==o){this.wrapper.val(q)}else{return this.wrapper.val()}},_click:function(){this._blur()}}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.414/telerik.list.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.list.min.js new file mode 100644 index 000000000..741fb2c60 --- /dev/null +++ b/NzbDrone.Web/Scripts/2011.1.414/telerik.list.min.js @@ -0,0 +1 @@ +(function(e){var a=e.telerik;var b=/\s+/;a.list={htmlBuilder:function(g,f,h){var k,n,l=g.id,m=g.name,o=new a.stringBuilder(),i=e(g);if(h){n=i.find("option:selected").text();k=i.val()}else{n=g.value}function j(){return e(['
      '].join(" "))}this.render=function(){i.wrap(j()).hide();var p=e('
      ').insertBefore(i);this.text({builder:o,text:n,id:l,name:m}).appendTo(p);e('select').appendTo(p);if(h){o.buffer=[];e(o.cat('").string()).insertAfter(p)}};this.text=function(p){return e(['',p.text||" ",""].join(""))}},initialize:function(){this.previousValue=this.value();a.bind(this,{dataBinding:this.onDataBinding,dataBound:this.onDataBound,error:this.onError,open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})},common:function(){this.open=function(){if(!this.loader.isAjax()&&(!this.data||this.data.length==0)){return}var g=this.$wrapper||this.$element,f=this.dropDown;var h={offset:g.offset(),outerHeight:g.outerHeight(),outerWidth:g.outerWidth(),zIndex:a.getElementZIndex(g[0])};if(f.$items){f.open(h)}else{this.fill(function(){f.open(h)})}};this.close=function(){this.dropDown.close()};this.dataBind=function(h,f){this.data=h=(h||[]);var l=-1,j=!!this.loader.isAjax();for(var g=0,k=h.length;g-1&&j0){m.filters[k](m,f,j);var g=m.filteredDataIndexes;if((g&&g.length>0)||(k==0&&m.selectedIndex!=-1)){s=false}}if(s){var p={};p[m.queryString.text]=j;m.loader.ajaxRequest(function(w){var v=m.trigger;var x=m.dropDown;if(w&&w.length==0){x.close();x.dataBind();return}if(m.encoded&&!m.onDataBinding){for(var t=0,y=w.length;t0){if(!x.isOpened()){v.open()}m.filtering.autoFill(m,u.first().text())}else{v.close()}},{data:p})}}else{s=false;m.filters[k](m,m.data,j)}if(!s){var r=l.$items;if(!r){return}var h=r.length,i=m.selectedIndex;var n=k==0?i!=-1?r[i].innerText||r[i].textContent:"":r.length>0?r.first().text():"";this.autoFill(m,n);if(h==0){o.close()}else{if(!l.isOpened()){o.open()}}}};this.multiple=function(f){return f}},filters:function(){this.filters=[function f(g,k,n){if(!k||k.length==0){return}var l=g.dropDown;var j=l.$items;if(!j||j.length==0||g.loader.isAjax()){l.dataBind(k);j=l.$items}for(var h=0,m=k.length;h .t-dropdown-wrap .t-icon").addClass("t-loading")},this),100)},this.hideBusy=function(){clearTimeout(this.busyTimeout);this.component.$wrapper.find("> .t-dropdown-wrap .t-icon").removeClass("t-loading")}},trigger:function(f){this.component=f;this.change=function(){var g=f.previousValue;var h=f.value();if(g==undefined||h!=g){a.trigger(f.element,"valueChange",{value:h})}f.previousValue=h};this.open=function(){var g=f.dropDown;if((g.$items&&g.$items.length>0)&&!g.isOpened()&&!a.trigger(f.element,"open")){f.open()}};this.close=function(){if(!f.dropDown.$element.is(":animated")&&f.dropDown.isOpened()&&!a.trigger(f.element,"close")){f.close()}}},retrieveData:function(l){var k=[];var h=e(l).find("option");for(var f=0,g=h.length;f]*)("+l.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)",f?"ig":"i");h.filteredDataIndexes=j;h.selectedIndex=-1;h.dropDown.onItemCreate=function(n){if(l){n.html=n.html.replace(m,"$1")}};h.dropDown.dataBind(e.map(j,function(o,n){return k[o]}));var i=h.dropDown.$items;i.removeClass("t-state-selected");a.list.highlightFirstOnFilter(h,i)}}function c(f,h,k){if(!f||!h){return null}var l=k.length;k=k.toLowerCase();for(var g=0,j=f.length;g .t-dropdown-wrap > .t-input");if(!this.$wrapper.attr("tabIndex")){this.$wrapper.attr("tabIndex",0)}this.dropDown=new a.dropDown({attr:this.dropDownAttr,effects:this.effects,onClick:e.proxy(function(n){this.select(n.item);this.trigger.change();this.trigger.close();this.$wrapper.focus()},this)});this.dropDown.$element.css("direction",this.$wrapper.closest(".t-rtl").length?"rtl":"");this.fill=function(q){function p(s){var r,u=s.selectedValue||s.value();if(u){r=function(x){return u==(x.Value||x.Text)}}else{var t=s.dropDown.$items,v=s.index,w=t.filter(".t-state-selected").length;r=v!=-1&&v0?w-1:0}s.select(r)}var n=this.dropDown,o=this.loader;if(!n.$items&&!o.ajaxError){if(o.isAjax()){o.ajaxRequest(function(r){this.dataBind(r);p(this);a.trigger(this.element,"dataBound");this.trigger.change();if(q){q()}})}else{this.dataBind(this.data);p(this);if(q){q()}}}};this.enable=function(){this.$wrapper.removeClass("t-state-disabled").bind({keydown:e.proxy(k,this),keypress:e.proxy(l,this),click:e.proxy(function(p){var o=this.trigger;var n=this.dropDown;this.$wrapper.focus();if(n.isOpened()){o.close()}else{if(!n.$items){this.fill(o.open)}else{o.open()}}},this)})};this.disable=function(){this.$wrapper.addClass("t-state-disabled").unbind()};this.reload=function(){this.dropDown.$items=null;this.fill()};this.select=function(o){var n=this.highlight(o);if(n==-1){return n}this.selectedIndex=n;a.list.updateTextAndValue(this,this.data[n].Text,this.data[n].Value)};this.text=function(n){if(n!==undefined){this.$text.html(n&&n.replace(b,"")?n:"  ")}else{return this.$text.html()}};this.value=function(o){if(o!==undefined){var n=this.select(function(p){return o==p.Value});if(n==-1){n=this.select(function(p){return o==p.Text})}if(n!=-1){this.previousValue=o}}else{return this.$element.val()}};a.list.common.call(this);a.list.initialize.call(this);e(document.documentElement).bind("mousedown",e.proxy(function(p){var n=this.dropDown.$element;var o=n&&n.parent().length>0;if(e.contains(this.$wrapper[0],p.target)||(o&&e.contains(n.parent()[0],p.target))){return}this.trigger.change();this.trigger.close()},this));this[this.enabled?"enable":"disable"]();function j(){clearTimeout(this.timeout);this.timeout=setTimeout(e.proxy(function(){i=""},this),1000)}function k(t){var q=this.trigger;var o=this.dropDown;var r=t.keyCode||t.which;if(t.altKey&&r==38){q.close();return}if(t.altKey&&r==40){q.open();return}if(r>34&&r<41){t.preventDefault();if(!o.$items){this.fill();return}var p=o.$items,s=e(p[this.selectedIndex]);var n=(r==35)?p.last():(r==36)?p.first():(r==37||r==38)?s.prev():(r==39||r==40)?s.next():[];if(n.length){var u=n[0];this.select(u);o.scrollTo(u);if(!o.isOpened()){q.change()}}}if(r==8){j();t.preventDefault();i=i.slice(0,-1)}if(r==9||r==13||r==27){q.change();q.close()}}function l(r){var n=this.dropDown;var o=r.keyCode||r.charCode;if(o==0||e.inArray(o,a.list.keycodes)!=-1||r.ctrlKey||r.altKey||r.shiftKey){return}if(!n.$items){this.fill();return}var p=i;p+=String.fromCharCode(o);if(p){var q=c(this.data,n.$items,p);if(q){this.select(q);n.scrollTo(q)}i=p}j()}};e.fn.tDropDownList=function(f){return a.create(this,{name:"tDropDownList",init:function(g,h){return new a.dropDownList(g,h)},options:f})};e.fn.tDropDownList.defaults={effects:a.fx.slide.defaults(),accessible:false,index:0,enabled:true,encoded:true}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.menu.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.menu.min.js similarity index 100% rename from NzbDrone.Web/Scripts/2011.1.315/telerik.menu.min.js rename to NzbDrone.Web/Scripts/2011.1.414/telerik.menu.min.js diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.panelbar.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.panelbar.min.js similarity index 100% rename from NzbDrone.Web/Scripts/2011.1.315/telerik.panelbar.min.js rename to NzbDrone.Web/Scripts/2011.1.414/telerik.panelbar.min.js diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.slider.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.slider.min.js similarity index 100% rename from NzbDrone.Web/Scripts/2011.1.315/telerik.slider.min.js rename to NzbDrone.Web/Scripts/2011.1.414/telerik.slider.min.js diff --git a/NzbDrone.Web/Scripts/2011.1.414/telerik.splitter.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.splitter.min.js new file mode 100644 index 000000000..a9f020eaa --- /dev/null +++ b/NzbDrone.Web/Scripts/2011.1.414/telerik.splitter.min.js @@ -0,0 +1 @@ +(function(f){var i=f.telerik,h=7,a=/^\d+px$/i,d=/^\d+(\.\d+)?%$/i;function b(j){return d.test(j)}function g(j){return a.test(j)}function c(j){return !b(j)&&!g(j)}i.splitter=function(j,k){this.element=j;var m=this.$element=f(j),l=this;f.extend(this,k);var r=this.orientation.toLowerCase()!="vertical"?"horizontal":"vertical",p=this.panes;this.orientation=r;i.bind(this,{load:this.onLoad,expand:this.onExpand,collapse:this.onCollapse,contentLoad:this.onContentLoad,resize:function(s){s.stopPropagation();l.resize.call(l,s);if(f.isFunction(l.onResize)){l.onResize.call(j,s)}}});var n=".t-splitbar-draggable-"+r,o=".t-splitbar .t-icon:not(.t-resize-handle)";var q=function(s){return function(v){var u=f(v.target),t;if(u.closest(".t-splitter")[0]!=j){return}if(u.is(".t-"+s+"-prev")){t=u.parent().prev()}else{t=u.parent().next()}if(!i.trigger(j,s,{pane:t[0]})){l[s](t[0])}}};m.addClass("t-widget").addClass("t-splitter").children().addClass("t-pane").each(f.proxy(function(t,u){var s=f(u);s.data("pane",p?p[t]:{}).toggleClass("t-scrollable",p?p[t].scrollable!==false:true);this.ajaxRequest(s)},this)).end().trigger("resize").delegate(n,"mouseenter",function(){f(this).addClass("t-splitbar-"+r+"-hover")}).delegate(n,"mouseleave",function(){f(this).removeClass("t-splitbar-"+r+"-hover")}).delegate(o,"mouseenter",i.hover).delegate(o,"mouseleave",i.leave).delegate(".t-splitbar .t-collapse-next, .t-splitbar .t-collapse-prev","click",q("collapse")).delegate(".t-splitbar .t-expand-next, .t-splitbar .t-expand-prev","click",q("expand")).delegate(".t-splitbar","dblclick",function(v){var t=f(v.target),u=function(x,w){if(!i.trigger(j,x,{pane:w[0]})){l[x](w[0])}};if(t.closest(".t-splitter")[0]!=j){return}var s=t.children(".t-icon:not(.t-resize-handle)");if(s.length!==1){return}if(s.is(".t-collapse-prev")){u("collapse",t.prev())}else{if(s.is(".t-collapse-next")){u("collapse",t.next())}else{if(s.is(".t-expand-prev")){u("expand",t.prev())}else{if(s.is(".t-expand-next")){u("expand",t.next())}}}}}).parent().closest(".t-splitter").bind("resize",function(){m.trigger("resize")});this.resizing=new i.splitter.PaneResizing(this)};function e(j,k){return function(n,l){var m=f(n).data("pane");if(arguments.length==1){return m[j]}m[j]=l;if(k){this.$element.trigger("resize")}}}i.splitter.prototype={toggle:function(l,n){var l=f(l),j=l.prev(".t-splitbar"),m=l.next(".t-splitbar"),o=j.add(m),k=l.data("pane");if(arguments.length==1){n=k.collapsed===undefined?false:k.collapsed}o.toggleClass("t-splitbar-draggable-"+this.orientation,n).removeClass("t-splitbar-"+this.orientation+"-hover");j.find(n?".t-expand-next":".t-collapse-next").toggleClass("t-expand-next",!n).toggleClass("t-collapse-next",n);m.find(n?".t-expand-prev":".t-collapse-prev").toggleClass("t-expand-prev",!n).toggleClass("t-collapse-prev",n);k.collapsed=!n;this.$element.trigger("resize")},collapse:function(j){this.toggle(j,false)},expand:function(j){this.toggle(j,true)},size:e("size",true),minSize:e("minSize"),maxSize:e("maxSize"),ajaxOptions:function(j,l){var k=this;return f.extend({type:"POST",dataType:"html",success:function(m){j.html(m);i.trigger(k.element,"contentLoad",{pane:j[0]})}},l)},ajaxRequest:function(m,j){var k=f(m),l=k.data("pane");if(j||l.contentUrl){k.append("");f.ajax(this.ajaxOptions(k,{url:j||l.contentUrl}))}},resize:function(){var v=this.$element,C=v.children(":not(.t-splitbar)"),k=this.orientation=="horizontal",q=v.children(".t-splitbar").length,z=k?"width":"height",D=v[z]();if(q===0){q=C.length-1;for(var l=0;l")}return this};t.cat("
      ").catIconIf("t-collapse-prev",n.collapsible&&!n.collapsed).catIconIf("t-expand-prev",n.collapsible&&n.collapsed).catIconIf("t-resize-handle",s).catIconIf("t-collapse-next",o.collapsible&&!o.collapsed).catIconIf("t-expand-next",o.collapsible&&o.collapsed).cat("
      ");j.after(t.string())}}D-=h*q;var y=0,x=0,p=f();C.css({position:"absolute",top:0})[z](function(){var E=f(this).data("pane"),F;if(E.collapsed){F=0}else{if(c(E.size)){p=p.add(this);return}else{F=parseInt(E.size,10);if(b(E.size)){F=Math.floor(F*D/100)}}}x++;y+=F;return F});D-=y;var u=p.length,B=Math.floor(D/u);p.slice(0,u-1).css(z,B).end().eq(u-1).css(z,D-(u-1)*B);var w=0,r=k?"height":"width",m=k?"left":"top",A=k?"offsetWidth":"offsetHeight";v.children().css(r,v[r]()).each(function(E,F){F.style[m]=Math.floor(w)+"px";w+=F[A]})}};i.splitter.PaneResizing=function(j){this.owner=j;new i.draggable({distance:0,owner:j.element,selector:".t-splitbar-draggable-horizontal, .t-splitbar-draggable-vertical",scope:j.element.id,start:f.proxy(this.start,this),drag:f.proxy(this.drag,this),stop:f.proxy(this.stop,this)})};i.splitter.PaneResizing.prototype={start:function(x){var l=x.$draggable,o=l.prev(),p=l.next(),m=o.data("pane"),q=p.data("pane"),u=this.owner.orientation==="horizontal",y=u?"width":"height",z=u?"offsetWidth":"offsetHeight",s=u?"height":"width";this.positioningProperty=u?"left":"top";this.mousePositioningProperty=u?"pageX":"pageY";this.previousPane=o;this.nextPane=p;this.initialSplitBarPosition=parseInt(l[0].style[this.positioningProperty]);this.initialMousePosition=x[this.mousePositioningProperty];this.ghostSplitBar=f("
      ").css(s,x.$draggable[s]()).css(this.positioningProperty,this.initialSplitBarPosition).appendTo(this.owner.element);var A=parseInt(o[0].style[this.positioningProperty]),n=parseInt(p[0].style[this.positioningProperty])+p[0][z]-h,w=this.owner.$element.css(y),t=function(C){var B=parseInt(C,10);return(g(C)?B:(w*B)/100)||0},v=t(m.minSize),k=t(m.maxSize)||n-A,j=t(q.minSize),r=t(q.maxSize)||n-A;this.maxSize=Math.min(n-j,A+k);this.minSize=Math.max(A+v,n-r);f(document.body).css("cursor",l.css("cursor"))},drag:function(k){var j=Math.min(this.maxSize,Math.max(this.minSize,this.initialSplitBarPosition+(k[this.mousePositioningProperty]-this.initialMousePosition)));this.ghostSplitBar.toggleClass("t-restricted-size-"+this.owner.orientation,j==this.maxSize||j==this.minSize)[0].style[this.positioningProperty]=j+"px"},stop:function(r){if(r.keyCode!==27){var n=parseInt(this.ghostSplitBar[0].style[this.positioningProperty]),j=this.owner.orientation==="horizontal",p=j?"width":"height",o=j?"offsetWidth":"offsetHeight",k=this.previousPane.data("pane"),q=this.nextPane.data("pane"),l=n-parseInt(this.previousPane[0].style[this.positioningProperty]),t=parseInt(this.nextPane[0].style[this.positioningProperty])+this.nextPane[0][o]-n-h,m=this.owner.$element[p]();m-=h*this.owner.$element.children(".t-splitbar").length;var s=this.owner.$element.children(".t-pane").filter(function(){return c(f(this).data("pane").size)}).length;if(!c(k.size)||s>1){if(c(k.size)){s--}k.size=l+"px"}if(!c(q.size)||s>1){q.size=t+"px"}}this.ghostSplitBar.remove();if(r.keyCode!==27){this.owner.$element.trigger("resize")}f(document.body).css("cursor","");return false}};f.fn.tSplitter=function(j){return i.create(this,{name:"tSplitter",init:function(k,l){return new i.splitter(k,l)},options:j})};f.fn.tSplitter.defaults={orientation:"horizontal"}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Scripts/2011.1.315/telerik.tabstrip.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.tabstrip.min.js similarity index 100% rename from NzbDrone.Web/Scripts/2011.1.315/telerik.tabstrip.min.js rename to NzbDrone.Web/Scripts/2011.1.414/telerik.tabstrip.min.js diff --git a/NzbDrone.Web/Scripts/2011.1.414/telerik.textbox.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.textbox.min.js new file mode 100644 index 000000000..a93462bb6 --- /dev/null +++ b/NzbDrone.Web/Scripts/2011.1.414/telerik.textbox.min.js @@ -0,0 +1 @@ +(function(e){var j=e.telerik,a=[8,9,37,38,39,40,46,35,36,44],b=["font-family","font-size","font-stretch","font-style","font-weight","letter-spacing","line-height","color","text-align","text-decoration","text-transform"];function g(m){var p={};for(var l=0,o=b.length;l
      '));if(this.showIncreaseButton){p.cat('Increment')}if(this.showDecreaseButton){p.cat('Decrement')}if(p.buffer.length>0){e(p.string()).insertAfter(m)}}this.$wrapper=m.closest(".t-numerictextbox").find(".t-arrow-up, .t-arrow-down").bind({click:j.preventDefault,dragstart:j.preventDefault}).end().bind({focusin:e.proxy(this._focus,this),focusout:e.proxy(this._blur,this)});this.enabled=!m.is("[disabled]");p.buffer=[];p.cat("[ |").cat(this.groupSeparator).catIf("|"+this.symbol,this.symbol).cat("]");this.replaceRegExp=new RegExp(p.string(),"g");var n=m.attr("value"),o=m.attr("class").replace("t-input","");p.buffer=[];p.cat('
      ').cat(n||(this.enabled?this.text:"")).cat("
      ");this.$text=e(p.string()).insertBefore(m).css(g(m)).click(function(q){k.focus()});this._blur();this[this.enabled?"enable":"disable"]();this.numFormat=this.numFormat===undefined?this.type.charAt(0):this.numFormat;this.step=this.parse(this.step);this.val=this.parse(this.val);this.minValue=this.parse(this.minValue);this.maxValue=this.parse(this.maxValue);this.decimals={"190":".","188":",","110":this.separator};this.value(n||this.val);j.bind(this,{load:this.onLoad,valueChange:this.onChange})};j.textbox.prototype={_paste:function(o){var m=this.$element.val();if(e.browser.msie){var l=this.element.document.selection.createRange().text;var k=window.clipboardData.getData("Text");if(l&&l.length>0){m=m.replace(l,k)}else{m+=k}}if(m=="-"){return true}var n=this.parse(m);if(n||n==0){this._update(n)}},_keydown:function(q){var n=q.keyCode,l=this.$element,p=this.separator,k=l.val();setTimeout(e.proxy(function(){l.toggleClass("t-state-error",!this.inRange(this.parse(l.val()),this.minValue,this.maxValue))},this));var m=this.decimals[n];if(m){if(m==p&&this.digits>0&&k.indexOf(p)==-1){return true}else{q.preventDefault()}}if(n==8||n==46){setTimeout(e.proxy(function(){this._update(this.parse(l.val()))},this));return true}if(n==38||n==40){var o=n==38?1:-1;this._modify(o*this.step);return true}if(n==222){q.preventDefault()}},_keypress:function(m){var l=e(m.target),k=m.keyCode||m.which;if(m.shiftKey&&k!=45){return false}if(k==0||e.inArray(k,a)!=-1||m.ctrlKey||(m.shiftKey&&k==45)){return true}if(((this.minValue!==null?this.minValue<0:true)&&String.fromCharCode(k)=="-"&&j.caretPos(l[0])==0&&l.val().indexOf("-")==-1)||this.inRange(k,48,57)){setTimeout(e.proxy(function(){var n=this.val,o=this.parse(l.val());if(o!=null&&this.digits){o=h(o,this.digits)}if(n!=o){this._value(o);if(j.trigger(this.element,"valueChange",{oldValue:n,newValue:o})){this._value(n)}}},this));return true}m.preventDefault()},_focus:function(){this.$element.css("text-indent","0").css("color",this.$text.css("color"));this.$text.hide()},_blur:function(){this.$element.css("color",this.$element.css("background-color")).removeClass("t-state-error");if(this.enabled){this.$text.show();if(!e.browser.msie){this.$element.css("text-indent","-4444px")}}var k=this.minValue,m=this.maxValue,l=this.parse(this.$element.val());if(l!=null){if(k!=null&&lm){l=m}}l=parseFloat(l.toFixed(this.digits))}this._update(l)},_clearTimer:function(k){clearTimeout(this.timeout);clearInterval(this.timer);clearInterval(this.acceleration)},_stepper:function(m,k){if(m.which==1){var l=this.step;this._modify(k*l);this.timeout=setTimeout(e.proxy(function(){this.timer=setInterval(e.proxy(function(){this._modify(k*l)},this),80);this.acceleration=setInterval(function(){l+=1},1000)},this),200)}},_modify:function(n){var k=this.parse(this.element.value),l=this.minValue,m=this.maxValue;k=k?k+n:n;if(l!==null&&km){k=m}}this._update(parseFloat(k.toFixed(this.digits)))},_update:function(k){var l=this.val;this._value(k);if(l!=k){if(j.trigger(this.element,"valueChange",{oldValue:l,newValue:k})){this._value(l)}}},_value:function(k){var m=(typeof k==="number")?k:this.parse(k),n=this.enabled?this.text:"",l=m===null;if(m!=null){m=parseFloat(m.toFixed(this.digits))}this.val=m;this.$element.val(l?"":this.formatEdit(m));this.$text.html(l?n:this.format(m));if(l){this.$text.addClass("t-state-empty")}else{this.$text.removeClass("t-state-empty")}},enable:function(){var k=this.$wrapper.find(".t-arrow-up, .t-arrow-down"),l=e.proxy(this._clearTimer,this);this.enabled=true;this.$element.removeAttr("disabled");if(!this.val&&this.val!=0){this.$text.addClass("t-state-empty").html(this.text)}else{if(true==e.browser.msie){this.$text.show()}else{this.$element.css("text-indent","-4444px").css("color",this.$element.css("background-color"))}}this.$wrapper.removeClass("t-state-disabled");k.unbind("mouseup").unbind("mouseout").unbind("dblclick").bind({mouseup:l,mouseout:l,dblclick:l});var m="mousedown";k.eq(0).unbind(m).bind(m,e.proxy(function(n){this._stepper(n,1)},this));k.eq(1).unbind(m).bind(m,e.proxy(function(n){this._stepper(n,-1)},this))},disable:function(){this.enabled=false;this.$wrapper.addClass("t-state-disabled").find(".t-icon").unbind("mousedown").bind("mousedown",j.preventDefault);this.$element.attr("disabled","disabled");if(!this.val&&this.val!=0){this.$text.html("")}else{if(true==e.browser.msie){this.$text.hide()}else{this.$element.css("text-indent","-4444px").css("color",this.$element.css("background-color"))}}},value:function(l){if(l===undefined){return this.val}var k=(typeof l==="number")?l:this.parse(l);if(!this.inRange(k,this.minValue,this.maxValue)){k=null}this._value(k)},formatEdit:function(l){var k=this.separator;if(l&&k!="."){l=l.toString().replace(".",k)}return l},format:function(k){return j.textbox.formatNumber(k,this.numFormat,this.digits,this.separator,this.groupSeparator,this.groupSize,this.positive,this.negative,this.symbol,true)},inRange:function(m,k,l){return m===null||((k!==null?m>=k:true)&&(l!==null?m<=l:true))},parse:function(k){var l=null,m=this.separator;if(k||k=="0"){if(typeof k==typeof 1){return k}k=k.replace(this.replaceRegExp,"");if(m&&m!="."){k=k.replace(m,".")}var o=e.fn.tTextBox.patterns[this.type].negative[this.negative].replace(/(\(|\))/g,"\\$1").replace("*","").replace("n","([\\d|\\.]*)"),n=new RegExp(o);if(n.test(k)){l=-parseFloat(n.exec(k)[1])}else{l=parseFloat(k)}}return isNaN(l)?null:l}};e.fn.tTextBox=function(m){var l="numeric";if(m&&m.type){l=m.type}var k=e.fn.tTextBox.defaults[l];k.digits=j.cultureInfo[l+"decimaldigits"];k.separator=j.cultureInfo[l+"decimalseparator"];k.groupSeparator=j.cultureInfo[l+"groupseparator"];k.groupSize=j.cultureInfo[l+"groupsize"];k.positive=j.cultureInfo[l+"positive"];k.negative=j.cultureInfo[l+"negative"];k.symbol=j.cultureInfo[l+"symbol"];m=e.extend({},k,m);m.type=l;return this.each(function(){var n=e(this);m=e.meta?e.extend({},m,n.data()):m;if(!n.data("tTextBox")){n.data("tTextBox",new j.textbox(this,m));j.trigger(this,"load")}})};var d={val:null,text:"",step:1,inputAttributes:"",increaseButtonTitle:"Increase value",decreaseButtonTitle:"Decrease value",showIncreaseButton:true,showDecreaseButton:true};e.fn.tTextBox.defaults={numeric:e.extend(d,{minValue:-100,maxValue:100}),currency:e.extend(d,{minValue:0,maxValue:1000}),percent:e.extend(d,{minValue:0,maxValue:100})};e.fn.tTextBox.patterns={numeric:{negative:["(n)","-n","- n","n-","n -"]},currency:{positive:["*n","n*","* n","n *"],negative:["(*n)","-*n","*-n","*n-","(n*)","-n*","n-*","n*-","-n *","-* n","n *-","* n-","* -n","n- *","(* n)","(n *)"]},percent:{positive:["n *","n*","*n"],negative:["-n *","-n*","-*n"]}};if(!j.cultureInfo.numericnegative){e.extend(j.cultureInfo,{currencydecimaldigits:2,currencydecimalseparator:".",currencygroupseparator:",",currencygroupsize:3,currencynegative:0,currencypositive:0,currencysymbol:"$",numericdecimaldigits:2,numericdecimalseparator:".",numericgroupseparator:",",numericgroupsize:3,numericnegative:1,percentdecimaldigits:2,percentdecimalseparator:".",percentgroupseparator:",",percentgroupsize:3,percentnegative:0,percentpositive:0,percentsymbol:"%"})}var i=/[0#?]/;function h(k,m){var l=Math.pow(10,m||0);return Math.round(k*l)/l}function c(k){return k.split("").reverse().join("")}function f(o,k,r){var l=0,m=0,q=k.length,s=o.length,v=new j.stringBuilder();while(l=0){if(k.charAt(l).match(i)){v.cat(o.charAt(m++))}else{v.cat(k.charAt(l))}l++}v.catIf(o.substring(m),m-1){t=u.indexOf("0")}if(t>-1){var n=u.slice(0,t),p=u.slice(t,u.length);u=n.replace(/#/g,"")+p.replace(/#/g,"0")}else{u=u.replace(/#/g,"")}if(u.indexOf(",")==0){u=u.replace(/,/g,"")}return r?u:c(u)}j.textbox.formatNumber=function(M,q,v,x,l,S,r,t,O,H){if(!q){return M}var R,I,N,p,L=M<0;q=q.split(":");q=q.length>1?q[1].replace("}",""):q[0];var o=q.search(i)!=-1;if(o){q=q.split(";");I=q[0];N=q[1];p=q[2];q=(L&&N?N:I).indexOf("%")!=-1?"p":"n"}switch(q.toLowerCase()){case"d":return Math.round(M).toString();case"c":R="currency";break;case"n":R="numeric";break;case"p":R="percent";if(!H){M=Math.abs(M)*100}break;default:return M.toString()}var C=function(V,T,U){for(var W=V.length;W1?E[1]:"",k=j.lastIndexOf(D,"0"),A=j.lastIndexOf(D,"#");v=(A>k?A:k)+1}var P=h(M,v);M=isFinite(P)?P:M;var y=M.toString().split(/e/i);B=y.length>1?parseInt(y[1]):0;y=y[0].split(".");m=y[0];m=L?m.replace("-",""):m;u=y.length>1?y[1]:"";if(B){if(!L){u=C(u,B,false);m+=u.slice(0,B);u=u.substr(B)}else{m=C(m,B+1,true);u=m.slice(B,m.length)+u;m=m.slice(0,B)}}var Q=u.length;if(v<1||(o&&k==-1&&Q===0)){u=""}else{u=Q>v?u.slice(0,v):C(u,v,false)}var n;if(o){if(m==0){m=""}m=f(c(m),c(z),true);m=z.indexOf(",")!=-1?K(m,l,S):m;u=u&&D?f(u,D):"";n=M===0&&p?p:(L&&!N?"-":"")+m+(u.length>0?x+u:"")}else{m=K(m,l,S);J=J[R];var w=L?J.negative[t]:O?J.positive[r]:null;var s=m+(u.length>0?x+u:"");n=w?w.replace("n",s).replace("*",O):s}return n};e.extend(j.formatters,{number:j.textbox.formatNumber})})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.timepicker.min.js b/NzbDrone.Web/Scripts/2011.1.414/telerik.timepicker.min.js similarity index 61% rename from packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.timepicker.min.js rename to NzbDrone.Web/Scripts/2011.1.414/telerik.timepicker.min.js index 0b409cf94..5a20c36f3 100644 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.timepicker.min.js +++ b/NzbDrone.Web/Scripts/2011.1.414/telerik.timepicker.min.js @@ -1 +1 @@ -(function(a){var b=a.telerik;b.timeView=function(c){a.extend(this,c);var d=this.dropDown=new b.dropDown({attr:this.dropDownAttr,effects:this.effects,onClick:function(f){var g=f.item;c.onChange(g.innerText||g.textContent)}});d.$element.addClass("t-time-popup").css("direction",this.isRtl?"rtl":"")};b.timeView.prototype={_ensureItems:function(){if(!this.dropDown.$items){this.bind()}},open:function(c){this._ensureItems();this.dropDown.open(c)},close:function(){this.dropDown.close()},bind:function(){var j=b.timeView.getTimeMilliseconds;var g=[];var c=this.format;var n=this.interval;var p=new b.datetime(this.minValue);var d=j(p);var f=j(this.maxValue);var l=n*b.datetime.msPerMinute;var k=parseInt(b.datetime.msPerDay/(n*b.datetime.msPerMinute));if(d!=f){var o=di?i+d:i;h=e>h?h+d:h;return e-h==0||i>=e&&i<=h},getTimeMilliseconds:function(c){c=c.value?c:new b.datetime(c);return((c.hours()*60)+c.minutes())*b.datetime.msPerMinute+c.seconds()*1000+c.milliseconds()}});b.timepicker=function(d,e){a.extend(this,e);if(d.nodeName.toLowerCase()!=="input"&&d.type.toLowerCase()!=="text"){throw"Target element is not a INPUT"}this.element=d;var f=this.$element=a(d).addClass("t-input").attr("autocomplete","off").bind({keydown:a.proxy(this._keydown,this),focus:a.proxy(function(j){if(this.openOnFocus){this._open()}this.$element.removeClass("t-state-error")},this)});if(!f.parent().hasClass("t-picker-wrap")){f.wrap('
      ');if(e.showButton){var i=new b.stringBuilder(),g=e.buttonTitle;a(i.cat('').cat('').string()).insertAfter(f)}}this.timeView=new b.timeView({effects:this.effects,dropDownAttr:this.dropDownAttr,format:this.format,interval:this.interval,isRtl:f.closest(".t-rtl").length,minValue:this.minValue,maxValue:this.maxValue,onNavigateWithOpenPopup:a.proxy(function(j){this.$element.val(j)},this),onChange:a.proxy(function(j){if(j!=this.inputValue){this._update(j)}this._close()},this)});this.inputValue=f.val();var c=this.selectedValue||this.inputValue;if(c){this._value(this.parse(c))}var h=this.enabled?a.proxy(this._togglePopup,this):b.preventDefault;this.$wrapper=f.closest(".t-timepicker").find(".t-icon").bind("click",h).end();a(document.documentElement).bind("mousedown",a.proxy(function(m){var l=this.$element.val();if(l!=this.inputValue){this._update(l)}var j=this.timeView.dropDown.$element;var k=j&&j.parent().length>0;if(!k||a.contains(this.$wrapper[0],m.target)||a.contains(j.parent()[0],m.target)){return}this._close()},this));b.bind(this,{open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})};b.timepicker.prototype={_close:function(){var c=this.timeView.dropDown;if(!c.$element.is(":animated")&&c.isOpened()){this._trigger("close")}},_open:function(){if(!this.timeView.isOpened()){this._trigger("open")}},_trigger:function(c){if(!b.trigger(this.element,c)){this[c]()}},_togglePopup:function(){if(this.timeView.isOpened()){this._close()}else{this.element.focus();this._open()}},_update:function(f){var k=this.minValue,d=this.maxValue,i=this.parse(f),m=this.selectedValue;if(i!=null&&!b.timeView.isInRange(i,k,d)){var e=b.timeView.getTimeMilliseconds,h=e(i),j=Math.abs(e(k)-h),l=Math.abs(e(d)-h);i=new Date(ji?i+d:i;h=e>h?h+d:h;return e-h==0||i>=e&&i<=h},getTimeMilliseconds:function(c){c=c.value?c:new b.datetime(c);return((c.hours()*60)+c.minutes())*b.datetime.msPerMinute+c.seconds()*1000+c.milliseconds()}});b.timepicker=function(d,e){a.extend(this,e);if(d.nodeName.toLowerCase()!=="input"&&d.type.toLowerCase()!=="text"){throw"Target element is not a INPUT"}this.element=d;var f=this.$element=a(d).addClass("t-input").attr("autocomplete","off").bind({keydown:a.proxy(this._keydown,this),focus:a.proxy(function(j){if(this.openOnFocus){this._open()}this.$element.removeClass("t-state-error")},this)});if(!f.parent().hasClass("t-picker-wrap")){f.wrap('
      ');if(e.showButton){var i=new b.stringBuilder(),g=e.buttonTitle;a(i.cat('').cat('').string()).insertAfter(f)}}this.timeView=new b.timeView({effects:this.effects,dropDownAttr:this.dropDownAttr,format:this.format,interval:this.interval,isRtl:f.closest(".t-rtl").length,minValue:this.minValue,maxValue:this.maxValue,onNavigateWithOpenPopup:a.proxy(function(j){this.$element.val(j)},this),onChange:a.proxy(function(j){if(j!=this.inputValue){this._update(j)}this._close()},this)});this.inputValue=f.val();var c=this.selectedValue||this.inputValue;if(c){this._value(this.parse(c))}var h=this.enabled?a.proxy(this._togglePopup,this):b.preventDefault;this.$wrapper=f.closest(".t-timepicker").find(".t-icon").bind("click",h).end();a(document.documentElement).bind("mousedown",a.proxy(function(m){var l=this.$element.val();if(l!=this.inputValue){this._update(l)}var j=this.timeView.dropDown.$element;var k=j&&j.parent().length>0;if(!k||a.contains(this.$wrapper[0],m.target)||a.contains(j.parent()[0],m.target)){return}this._close()},this));b.bind(this,{open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})};b.timepicker.prototype={_close:function(){var c=this.timeView.dropDown;if(!c.$element.is(":animated")&&c.isOpened()){this._trigger("close")}},_open:function(){if(!this.timeView.isOpened()){this._trigger("open")}},_trigger:function(c){if(!b.trigger(this.element,c)){this[c]()}},_togglePopup:function(){if(this.timeView.isOpened()){this._close()}else{this.element.focus();this._open()}},_update:function(f){var k=this.minValue,c=this.maxValue,f=this.parse(f),d=this.selectedValue;if(f!=null&&!b.timeView.isInRange(f,k,c)){var e=b.timeView.getTimeMilliseconds,i=e(f),j=Math.abs(e(k)-i),l=Math.abs(e(c)-i);f=new Date(j0){var v=r.trigger(this.wrapper,"select",{files:w});if(!v){n(".t-dropzone",this.wrapper).trigger("t:select",[w])}}},_enqueueFile:function(y,v){var w=n(".t-upload-files",this.wrapper);if(w.length==0){w=n("
        ").appendTo(this.wrapper);if(!this.showFileList){w.hide()}}var u=n(".t-file",w);var x=n("
      • "+y+"
      • ").appendTo(w).data(v);if(!this.multiple){u.trigger("t:remove")}return x},_removeFileEntry:function(v){var u=v.closest(".t-upload-files");if(n(".t-file",u).length==1){u.remove();this._hideUploadButton()}else{v.remove()}},_setFileAction:function(w,u){var v={remove:"t-delete",cancel:"t-cancel",retry:"t-retry"};if(!v.hasOwnProperty(u)){return}this._clearFileAction(w);w.append(this._renderAction(v[u],this.localization[u]).addClass("t-upload-action"))},_setFileState:function(u,w){var x={uploading:{cssClass:"t-loading",text:this.localization.statusUploading},uploaded:{cssClass:"t-success",text:this.localization.statusUploaded},failed:{cssClass:"t-fail",text:this.localization.statusFailed}};var v=x[w];if(v){var y=u.children(".t-icon").text(v.text);y[0].className="t-icon "+v.cssClass}},_renderAction:function(v,u){if(v!=""){return n("")}else{return n("")}},_clearFileAction:function(u){u.find(".t-upload-action").remove()},_onFileAction:function(y){if(!this.wrapper.hasClass("t-state-disabled")){var u=n(y.target).closest(".t-upload-action"),x=u.find(".t-icon"),w=u.closest(".t-file"),v={files:w.data("fileNames")};if(x.hasClass("t-delete")){if(!r.trigger(this.wrapper,"remove",v)){w.trigger("t:remove")}}else{if(x.hasClass("t-cancel")){r.trigger(this.wrapper,"cancel",v);w.trigger("t:cancel")}else{if(x.hasClass("t-retry")){w.trigger("t:retry")}}}}return false},_onUploadSelected:function(){this.wrapper.trigger("t:saveSelected");return false},_onFileProgress:function(w,v){var u=n(".t-progress-status",w.target);if(u.length==0){u=n("").appendTo(n(".t-filename",w.target)).find(".t-progress-status")}u.width(v+"%")},_onUploadSuccess:function(x,w,u){var v=q(x);this._setFileState(v,"uploaded");r.trigger(this.wrapper,"success",{files:v.data("fileNames"),response:w,operation:"upload",XMLHttpRequest:u});if(this._supportsRemove()){this._setFileAction(v,"remove")}else{this._clearFileAction(v)}this._checkAllComplete()},_onUploadError:function(x,u){var w=q(x);this._setFileState(w,"failed");this._setFileAction(w,"retry");var v=r.trigger(this.wrapper,"error",{operation:"upload",files:w.data("fileNames"),XMLHttpRequest:u});t("Server response: "+u.responseText);if(!v){this._alert("Error! Upload failed. Unexpected server response - see console.")}this._checkAllComplete()},_showUploadButton:function(){var u=n(".t-upload-selected",this.wrapper);if(u.length==0){u=this._renderAction("",this.localization.uploadSelectedFiles).addClass("t-upload-selected")}this.wrapper.append(u)},_hideUploadButton:function(){n(".t-upload-selected",this.wrapper).remove()},_onParentFormSubmit:function(){this.element.trigger("t:abort");var v=this;if(!this.element.value){var u=n(this.element).attr("name","");setTimeout(function(){u.attr("name",v.name)},0)}},_onParentFormReset:function(){n(".t-file",this.wrapper).trigger("t:remove")},_getSupportsFormData:function(){return typeof(FormData)!="undefined"},_getSupportsMultiple:function(){return !n.browser.opera},_getSupportsDrop:function(){var x=this._getUserAgent().toLowerCase(),v=/chrome/.test(x),u=!v&&/safari/.test(x),w=u&&/windows/.test(x);return !w&&this._getSupportsFormData()&&(this.async.saveUrl!=s)},_getUserAgent:function(){return navigator.userAgent},_setupDropZone:function(){n(".t-upload-button",this.wrapper).wrap("
        ");var u=n(".t-dropzone",this.wrapper).append(n(""+this.localization.dropFilesHere+"")).bind({dragenter:d,dragover:function(v){v.preventDefault()},drop:n.proxy(this._onDrop,this)});h(u,function(){u.addClass("t-dropzone-hovered")},function(){u.removeClass("t-dropzone-hovered")});h(n(document),function(){u.addClass("t-dropzone-active")},function(){u.removeClass("t-dropzone-active")})},_supportsRemove:function(){return this.async.removeUrl!=s},_submitRemove:function(w,u,x){var v={};v.fileNames=w;n.ajax({type:"POST",dataType:"json",url:this.async.removeUrl,traditional:true,data:v,success:u,error:x})},_alert:function(u){alert(u)},_wrapInput:function(u){u.wrap("
        ");u.closest(".t-button").append(""+this.localization.select+"");return u.closest(".t-upload")},_checkAllComplete:function(){if(n(".t-file .t-icon.t-loading",this.wrapper).length==0){r.trigger(this.wrapper,"complete")}}};n.fn.tUpload=function(u){return r.create(this,{name:"tUpload",init:function(v,w){return new r.upload(v,w)},options:u})};n.fn.tUpload.defaults={enabled:true,multiple:true,showFileList:true,async:{},localization:{select:"Select...",cancel:"Cancel",retry:"Retry",remove:"Remove",uploadSelectedFiles:"Upload files",dropFilesHere:"drop files here to upload",statusUploading:"uploading",statusUploaded:"uploaded",statusFailed:"failed"}};var g=function(u){this.name="syncUploadModule";this.element=u.wrapper;this.upload=u;this.element.bind("t:select",n.proxy(this.onSelect,this)).bind("t:remove",n.proxy(this.onRemove,this)).closest("form").attr("enctype","multipart/form-data").attr("encoding","multipart/form-data")};g.prototype={onSelect:function(x){var u=this.upload;var v=n(x.target);u._addInput(v.clone().val(""));var w=u._enqueueFile(m(v),{relatedInput:v});u._setFileAction(w,"remove")},onRemove:function(v){var u=q(v);u.data("relatedInput").remove();this.upload._removeFileEntry(u)}};var f=function(u){this.name="iframeUploadModule";this.element=u.wrapper;this.upload=u;this.iframes=[];this.element.bind("t:select",n.proxy(this.onSelect,this)).bind("t:cancel",n.proxy(this.onCancel,this)).bind("t:retry",n.proxy(this.onRetry,this)).bind("t:remove",n.proxy(this.onRemove,this)).bind("t:saveSelected",n.proxy(this.onSaveSelected,this)).bind("t:abort",n.proxy(this.onAbort,this))};f.prototype={onSelect:function(x){var u=this.upload,v=n(x.target);var w=this.prepareUpload(v);if(u.async.autoUpload){this.performUpload(w)}else{if(u._supportsRemove()){this.upload._setFileAction(w,"remove")}u._showUploadButton()}},prepareUpload:function(z){var x=this.upload;var w=n(x.element);x._addInput(z.clone().val(""));var y=this.createFrame(x.name+"_"+this.iframes.length);this.registerFrame(y);var v=this.createForm(x.async.saveUrl,y.attr("name")).append(w);var u=x._enqueueFile(m(z),{frame:y,relatedInput:w,fileNames:j(z)});y.data({form:v,file:u});return u},performUpload:function(u){var y={files:u.data("fileNames")},w=u.data("frame"),z=this.upload;if(!r.trigger(z.wrapper,"upload",y)){z._hideUploadButton();w.appendTo(document.body);var v=w.data("form").appendTo(document.body);var x=z.async.saveUrl;if(y.data){v[0].action=x+(/\?/.test(x)?"&":"?")+n.param(y.data)}z._setFileAction(u,"cancel");z._setFileState(u,"uploading");w.one("load",n.proxy(this.onIframeLoad,this));v[0].submit()}else{z._removeFileEntry(w.data("file"));this.cleanupFrame(w);this.unregisterFrame(w)}},onSaveSelected:function(v){var u=this;n(".t-file",this.element).each(function(){var w=n(this),x=a(w);if(!x){u.performUpload(w)}})},onIframeLoad:function(w){var v=n(w.target);try{var u=v.contents().text()}catch(w){u="Error trying to get server response: "+w}this.processResponse(v,u)},processResponse:function(w,y){var u=w.data("file"),x=this,v={responseText:y};i(y,function(z){n.extend(v,{statusText:"OK",status:"200"});u.trigger("t:upload-success",[z,v]);x.cleanupFrame(w);x.unregisterFrame(w)},function(){n.extend(v,{statusText:"error",status:"500"});u.trigger("t:upload-error",[v])})},onCancel:function(v){var u=n(v.target).data("frame");this.stopFrameSubmit(u);this.cleanupFrame(u);this.unregisterFrame(u);this.upload._removeFileEntry(u.data("file"))},onRetry:function(v){var u=q(v);this.performUpload(u)},onRemove:function(w){var u=q(w);var v=u.data("frame");if(v){this.unregisterFrame(v);this.upload._removeFileEntry(u);this.cleanupFrame(v)}else{e(u,this.upload)}},onAbort:function(){var u=this.element,v=this;n.each(this.iframes,function(){n("input",this.data("form")).appendTo(u);v.stopFrameSubmit(this[0]);this.data("form").remove();this.remove()});this.iframes=[]},createFrame:function(u){return n("',g.contentUrl&&!c(g.contentUrl)).cat("
      ").catIf("
      ",!f);if(f){d(f).html(e.string())}else{return d(e.string()).appendTo(document.body).tWindow(g)}},getResizeHandlesHtml:function(){var e=new a.stringBuilder();d.each("n e s w se sw ne nw".split(" "),function(f,g){e.cat('
      ')});return e.string()}});d.fn.tWindow=function(e){return a.create(this,{name:"tWindow",init:function(f,g){return new a.window(f,g)},success:function(h){var g=h.element,f=d(g);if(f.is(":visible")){a.trigger(g,"open");a.trigger(g,"activated")}},options:e})};d.fn.tWindow.defaults={effects:{list:[{name:"zoom"},{name:"property",properties:["opacity"]}],openDuration:"fast",closeDuration:"fast"},modal:false,resizable:true,draggable:true,minWidth:50,minHeight:50}})(jQuery); \ No newline at end of file diff --git a/NzbDrone.Web/Views/AddSeries/AddNew.cshtml b/NzbDrone.Web/Views/AddSeries/AddNew.cshtml index 291f115ee..0944f372c 100644 --- a/NzbDrone.Web/Views/AddSeries/AddNew.cshtml +++ b/NzbDrone.Web/Views/AddSeries/AddNew.cshtml @@ -36,7 +36,7 @@ var addNewSeriesUrl = '@Url.Action("AddNewSeries", "AddSeries")'; function addNewSeries() { - var seriesComboBox = $("#seriesList_new").data("tComboBox"); + var seriesComboBox = $("#seriesList_new").data("tDropDownList"); var qualityComboBox = $("#qualityList_new").data("tDropDownList"); var path = $("input[name='selectedRootDir']:checked").val(); diff --git a/NzbDrone.Web/Views/Shared/_Layout.cshtml b/NzbDrone.Web/Views/Shared/_Layout.cshtml index fd86eb49d..4b99531e1 100644 --- a/NzbDrone.Web/Views/Shared/_Layout.cshtml +++ b/NzbDrone.Web/Views/Shared/_Layout.cshtml @@ -51,22 +51,26 @@
      Scanning Series Folder...
      - @(Html.Telerik().ScriptRegistrar().jQuery(true).Scripts( - c => c.AddGroup("CDN", group => group - .Add("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js") - .Add("http://ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js")) - - .AddGroup("3rdParty", group => group - .Add("jquery.form.js") - .Add("jquery.jgrowl.js") - .Add("jquery-tgc-countdown-1.0.js") - .Add("MicrosoftMvcValidation.js").Combined(true).Compress(true)) - - .AddGroup("NzbDrone", group => group - .Add("Notification.js") - .Add("gridLoad.js") - .Add("episodeSearch.js")) - + @(Html.Telerik().ScriptRegistrar().jQuery(true).Scripts( + c => c.AddGroup("CDN", group => group + .Add("http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.13/jquery-ui.min.js") + .Add("http://ajax.aspnetcdn.com/ajax/4.0/1/MicrosoftAjax.js")) + .Add("2011.1.414/telerik.list.min.js") + .Add("2011.1.414/telerik.combobox.min.js") + .Add("2011.1.414/telerik.textbox.min.js") + .Add("2011.1.414/telerik.window.min.js") + .Add("2011.1.414/telerik.autocomplete.min.js") + .AddGroup("3rdParty", group => group + .Add("jquery.form.js") + .Add("jquery.jgrowl.js") + .Add("jquery-tgc-countdown-1.0.js") + .Add("MicrosoftMvcValidation.js")) + + .AddGroup("NzbDrone", group => group + .Add("Notification.js") + .Add("gridLoad.js") + .Add("episodeSearch.js")) + )) ")}},b:{start:function(){a5.push("")},end:function(){a5.push("")}},i:{start:function(){a5.push("")},end:function(){a5.push("")}},u:{start:function(){a5.push('')},end:function(){a5.push("")}},font:{start:function(a8){a5.push('')},end:function(a6){a5.push("")}}};function a1(a7){var be=[],bm=a7.attributes,bj=s.trim;if(D.is(a7,"img")){var bp=a7.style.width,bf=a7.style.height,bd=s(a7);if(bp){bd.attr("width",parseInt(bp));D.unstyle(a7,{width:undefined})}if(bf){bd.attr("height",parseInt(bf));D.unstyle(a7,{height:undefined})}}for(var bc=0,bh=bm.length;bcbr.nodeName?1:bq.nodeName=0){a6=D.toHex(a6)}if(a8.indexOf("font-family")>=0){a6=a6.replace(K,"'")}a5.push(a8);a5.push(":");a5.push(a6);a5.push(";")}}}else{if(bo=="src"||bo=="href"){a5.push(a7.getAttribute(bo,2))}else{a5.push(M[bo]?bo:bi)}}a5.push('"')}}function a0(a6,a7){for(var a8=a6.firstChild;a8;a8=a8.nextSibling){a3(a8,a7)}}function a3(a9,ba){var bd=a9.nodeType;if(bd==1){if(a9.attributes._moz_dirty&&D.is(a9,"br")){return}var a7=D.name(a9);var bb=a4[a7];if(bb){bb.start(a9);a0(a9);bb.end(a9);return}a5.push("<");a5.push(a7);a1(a9);if(aL[a7]){a5.push(" />")}else{a5.push(">");a0(a9,ba||D.is(a9,"pre"));a5.push("")}}else{if(bd==3){var a6=a9.nodeValue;if(!ba&&s.support.leadingWhitespace){var bc=a9.parentNode;var a8=(D.isInline(bc)?bc:a9).previousSibling;if(!a8||a8.innerHTML==""||D.isBlock(a8)){a6=a6.replace(/^[\r\n\v\f\t ]+/,"")}a6=a6.replace(/ +/," ")}a5.push(D.encode(a6))}else{if(bd==4){a5.push("")}else{if(bd==8){if(a9.data.indexOf("[CDATA[")<0){a5.push("")}else{a5.push("")}}}}}}a0(a2);return a5.join("")}var v=0,aq=1,a=2,T=3;function q(a1){var a0=a1.startContainer;return a0.nodeType==9?a0:a0.ownerDocument}function E(a0){if(s.browser.msie){return new aw(a0.document)}return a0.getSelection()}function al(a1){var a0=q(a1);return aY(a0)}function aY(a0){return E(az(a0))}function az(a0){return a0.defaultView||a0.parentWindow}function am(a0,a1,a3){function a2(a6){var a4=a0.cloneRange();a4.collapse(a6);a4[a6?"setStartBefore":"setEndAfter"](a1);var a5=a4.extractContents();if(a3){a5=D.trim(a5)}D[a6?"insertBefore":"insertAfter"](a5,a1)}a2(true);a2(false)}function O(a1){var a2=U.image(a1);if(a2){a1.setStartAfter(a2);a1.setEndAfter(a2)}var a0=al(a1);a0.removeAllRanges();a0.addRange(a1)}function L(a0){s.extend(this,{ownerDocument:a0,startContainer:a0,endContainer:a0,commonAncestorContainer:a0,startOffset:0,endOffset:0,collapsed:true})}L.prototype={setStart:function(a0,a1){this.startContainer=a0;this.startOffset=a1;w(this);u(this,true)},setEnd:function(a0,a1){this.endContainer=a0;this.endOffset=a1;w(this);u(this,false)},setStartBefore:function(a0){this.setStart(a0.parentNode,p(a0))},setStartAfter:function(a0){this.setStart(a0.parentNode,p(a0)+1)},setEndBefore:function(a0){this.setEnd(a0.parentNode,p(a0))},setEndAfter:function(a0){this.setEnd(a0.parentNode,p(a0)+1)},selectNode:function(a0){this.setStartBefore(a0);this.setEndAfter(a0)},selectNodeContents:function(a0){this.setStart(a0,0);this.setEnd(a0,a0[a0.nodeType===1?"childNodes":"nodeValue"].length)},collapse:function(a0){if(a0){this.setEnd(this.startContainer,this.startOffset)}else{this.setStart(this.endContainer,this.endOffset)}},deleteContents:function(){var a1=this.cloneRange();if(this.startContainer!=this.commonAncestorContainer){this.setStartAfter(aB(this.commonAncestorContainer,this.startContainer))}this.collapse(true);(function a0(a2){while(a2.next()){a2.hasPartialSubtree()?a0(a2.getSubtreeIterator()):a2.remove()}})(new l(a1))},cloneContents:function(){var a0=q(this);return(function a1(a4){for(var a3,a2=a0.createDocumentFragment();a3=a4.next();){a3=a3.cloneNode(!a4.hasPartialSubtree());if(a4.hasPartialSubtree()){a3.appendChild(a1(a4.getSubtreeIterator()))}a2.appendChild(a3)}return a2})(new l(this))},extractContents:function(){var a1=this.cloneRange();if(this.startContainer!=this.commonAncestorContainer){this.setStartAfter(aB(this.commonAncestorContainer,this.startContainer))}this.collapse(true);var a2=this;var a0=q(this);return(function a3(a6){for(var a5,a4=a0.createDocumentFragment();a5=a6.next();){a6.hasPartialSubtree()?a5=a5.cloneNode(false):a6.remove(a2.originalRange);if(a6.hasPartialSubtree()){a5.appendChild(a3(a6.getSubtreeIterator()))}a4.appendChild(a5)}return a4})(new l(a1))},insertNode:function(a0){if(af(this.startContainer)){if(this.startOffset!=this.startContainer.nodeValue.length){av(this.startContainer,this.startOffset)}D.insertAfter(a0,this.startContainer)}else{D.insertAt(this.startContainer,a0,this.startOffset)}this.setStart(this.startContainer,this.startOffset)},cloneRange:function(){return s.extend(new L(this.ownerDocument),{startContainer:this.startContainer,endContainer:this.endContainer,commonAncestorContainer:this.commonAncestorContainer,startOffset:this.startOffset,endOffset:this.endOffset,collapsed:this.collapsed,originalRange:this})},toString:function(){var a1=this.startContainer.nodeName,a0=this.endContainer.nodeName;return[a1=="#text"?this.startContainer.nodeValue:a1,"(",this.startOffset,") : ",a0=="#text"?this.endContainer.nodeValue:a0,"(",this.endOffset,")"].join("")}};function m(a2,a0,a7,a4){if(a2==a0){return a4-a7}var a6=a0;while(a6&&a6.parentNode!=a2){a6=a6.parentNode}if(a6){return p(a6)-a7}a6=a2;while(a6&&a6.parentNode!=a0){a6=a6.parentNode}if(a6){return a4-p(a6)-1}var a5=D.commonAncestor(a2,a0);var a3=a2;while(a3&&a3.parentNode!=a5){a3=a3.parentNode}if(!a3){a3=a5}var a1=a0;while(a1&&a1.parentNode!=a5){a1=a1.parentNode}if(!a1){a1=a5}if(a3==a1){return 0}return p(a1)-p(a3)}function u(a1,a2){function a0(a4){try{return m(a4.startContainer,a4.endContainer,a4.startOffset,a4.endOffset)<0}catch(a3){return true}}if(a0(a1)){if(a2){a1.commonAncestorContainer=a1.endContainer=a1.startContainer;a1.endOffset=a1.startOffset}else{a1.commonAncestorContainer=a1.startContainer=a1.endContainer;a1.startOffset=a1.endOffset}a1.collapsed=true}}function w(a1){a1.collapsed=a1.startContainer==a1.endContainer&&a1.startOffset==a1.endOffset;var a0=a1.startContainer;while(a0&&a0!=a1.endContainer&&!k(a0,a1.endContainer)){a0=a0.parentNode}a1.commonAncestorContainer=a0}function aP(a0){if(s.browser.msie){return new L(a0)}return a0.createRange()}function l(a1){s.extend(this,{range:a1,_current:null,_next:null,_end:null});if(a1.collapsed){return}var a0=a1.commonAncestorContainer;this._next=a1.startContainer==a0&&!af(a1.startContainer)?a1.startContainer.childNodes[a1.startOffset]:aB(a0,a1.startContainer);this._end=a1.endContainer==a0&&!af(a1.endContainer)?a1.endContainer.childNodes[a1.endOffset]:aB(a0,a1.endContainer).nextSibling}l.prototype={hasNext:function(){return !!this._next},next:function(){var a0=this._current=this._next;this._next=this._current&&this._current.nextSibling!=this._end?this._current.nextSibling:null;if(af(this._current)){if(this.range.endContainer==this._current){(a0=a0.cloneNode(true)).deleteData(this.range.endOffset,a0.length-this.range.endOffset)}if(this.range.startContainer==this._current){(a0=a0.cloneNode(true)).deleteData(0,this.range.startOffset)}}return a0},traverse:function(a1){function a0(){this._current=this._next;this._next=this._current&&this._current.nextSibling!=this._end?this._current.nextSibling:null;return this._current}var a2;while(a2=a0.call(this)){if(this.hasPartialSubtree()){this.getSubtreeIterator().traverse(a1)}else{a1(a2)}}return a2},remove:function(a5){var a4=this.range.startContainer==this._current;var a2=this.range.endContainer==this._current;if(af(this._current)&&(a4||a2)){var a1=a4?this.range.startOffset:0;var a0=a2?this.range.endOffset:this._current.length;var a7=a0-a1;if(a5&&(a4||a2)){if(this._current==a5.startContainer&&a1<=a5.startOffset){a5.startOffset-=a7}if(this._current==a5.endContainer&&a0<=a5.endOffset){a5.endOffset-=a7}}this._current.deleteData(a1,a7)}else{var a6=this._current.parentNode;if(a5&&(this.range.startContainer==a6||this.range.endContainer==a6)){var a3=p(this._current);if(a6==a5.startContainer&&a3<=a5.startOffset){a5.startOffset-=1}if(a6==a5.endContainer&&a30&&a3.previousSibling);a6.setEndPoint(a0?"EndToStart":"EndToEnd",a5);var a4=a3.nextSibling;if(!a4){a4=a3.previousSibling;if(a4&&af(a4)){a1.setEnd(a4,a4.nodeValue.length);D.remove(a3)}else{a1.selectNodeContents(a2);D.remove(a3);a1.endOffset-=1}return}D.remove(a3);if(af(a4)){a1[a0?"setStart":"setEnd"](a4,a6.text.length)}else{a1[a0?"setStartBefore":"setEndBefore"](a4)}}function aj(a0){this.enumerate=function(){var a2=[];function a1(a3){if(D.is(a3,"img")||(a3.nodeType==3&&!D.isWhitespace(a3))){a2.push(a3)}else{a3=a3.firstChild;while(a3){a1(a3);a3=a3.nextSibling}}}new l(a0).traverse(a1);return a2}}function j(a0){return new aj(a0).enumerate()}function Z(a4){var a0=[];for(var a1=0,a3=a4.length;a1'}a2.selectNodeContents(a6)}}a2.collapse(true)};this.add=function(a1,a3){if(a3&&a1.collapsed){this.addCaret(a1);a1=U.expand(a1)}var a2=a1.cloneRange();a2.collapse(false);this.end=D.create(q(a1),"span",{className:"t-marker"});a2.insertNode(this.end);a2=a1.cloneRange();a2.collapse(true);this.start=this.end.cloneNode(true);a2.insertNode(this.start);a1.setStartBefore(this.start);a1.setEndAfter(this.end);g(a1.commonAncestorContainer);return a1};this.remove=function(a8){var a1=this.start,bd=this.end;g(a8.commonAncestorContainer);while(!a1.nextSibling&&a1.parentNode){a1=a1.parentNode}while(!bd.previousSibling&&bd.parentNode){bd=bd.parentNode}var a3=(a1.previousSibling&&a1.previousSibling.nodeType==3)&&(a1.nextSibling&&a1.nextSibling.nodeType==3);var a9=(bd.previousSibling&&bd.previousSibling.nodeType==3)&&(bd.nextSibling&&bd.nextSibling.nodeType==3);a1=a1.nextSibling;bd=bd.previousSibling;var bc=false;var a6=false;if(a1==this.end){a6=!!this.start.previousSibling;a1=bd=this.start.previousSibling||this.end.nextSibling;bc=true}D.remove(this.start);D.remove(this.end);if(a1==null||bd==null){a8.selectNodeContents(a8.commonAncestorContainer);a8.collapse(true);return}var bb=bc?af(a1)?a1.nodeValue.length:a1.childNodes.length:0;var a4=af(bd)?bd.nodeValue.length:bd.childNodes.length;if(a1.nodeType==3){while(a1.previousSibling&&a1.previousSibling.nodeType==3){a1=a1.previousSibling;bb+=a1.nodeValue.length}}if(bd.nodeType==3){while(bd.previousSibling&&bd.previousSibling.nodeType==3){bd=bd.previousSibling;a4+=bd.nodeValue.length}}var a7=p(a1),ba=a1.parentNode;var a5=p(bd),a2=bd.parentNode;for(var bf=a1;bf.previousSibling;bf=bf.previousSibling){if(bf.nodeType==3&&bf.previousSibling.nodeType==3){a7--}}for(var be=bd;be.previousSibling;be=be.previousSibling){if(be.nodeType==3&&be.previousSibling.nodeType==3){a5--}}g(ba);if(a1.nodeType==3){a1=ba.childNodes[a7]}g(a2);if(bd.nodeType==3){bd=a2.childNodes[a5]}if(bc){if(a1.nodeType==3){a8.setStart(a1,bb)}else{a8[a6?"setStartAfter":"setStartBefore"](a1)}a8.collapse(true)}else{if(a1.nodeType==3){a8.setStart(a1,bb)}else{a8.setStartBefore(a1)}if(bd.nodeType==3){a8.setEnd(bd,a4)}else{a8.setEndAfter(bd)}}if(a0){this.removeCaret(a8)}}}var at=/[\u0009-\u000d]|\u0020|\u00a0|\ufeff|\.|,|;|:|!|\(|\)|\?/;var U={nodes:function(a1){var a0=j(a1);if(!a0.length){a1.selectNodeContents(a1.commonAncestorContainer);a0=j(a1);if(!a0.length){a0=D.significantChildNodes(a1.commonAncestorContainer)}}return a0},image:function(a1){var a0=[];new l(a1).traverse(function(a2){if(D.is(a2,"img")){a0.push(a2)}});if(a0.length==1){return a0[0]}},expand:function(a1){var a2=a1.cloneRange();var a5=a2.startContainer.childNodes[a2.startOffset==0?0:a2.startOffset-1];var a6=a2.endContainer.childNodes[a2.endOffset];if(!af(a5)||!af(a6)){return a2}var a3=a5.nodeValue;var a4=a6.nodeValue;if(a3==""||a4==""){return a2}var a0=a3.split("").reverse().join("").search(at);var a7=a4.search(at);if(a0==0||a7==0){return a2}a7=a7==-1?a4.length:a7;a0=a0==-1?0:a3.length-a0;a2.setStart(a5,a0);a2.setEnd(a6,a7);return a2},isExpandable:function(a1){var a6=a1.startContainer;var a5=q(a1);if(a6==a5||a6==a5.body){return false}var a2=a1.cloneRange();var a0=a6.nodeValue;if(!a0){return false}var a3=a0.substring(0,a2.startOffset);var a4=a0.substring(a2.startOffset);var a7=0,a8=0;if(a3!=""){a7=a3.split("").reverse().join("").search(at)}if(a4!=""){a8=a4.search(at)}return a7!=0&&a8!=0}};function c(a1){var a2=new an(a1.range);var a0=new ac();this.formatter=a1.formatter;this.getRange=function(){return a2.toRange()};this.lockRange=function(a3){return a0.add(this.getRange(),a3)};this.releaseRange=function(a3){a0.remove(a3);O(a3)};this.undo=function(){a2.body.innerHTML=a2.html;O(a2.toRange())};this.redo=function(){this.exec()};this.exec=function(){var a3=this.lockRange(true);this.formatter.editor=this.editor;this.formatter.toggle(a3);this.releaseRange(a3)}}function aV(a2,a1){var a0=a2.body;this.redo=function(){a0.innerHTML=a1.html;O(a1.toRange())};this.undo=function(){a0.innerHTML=a2.html;O(a2.toRange())}}function t(a0){c.call(this,a0);this.managesUndoRedo=true;this.exec=function(){var a2=this.editor;var a1=a2.getRange();var a3=new an(a1);a2.clipboard.paste(a0.value||"");a2.undoRedoStack.push(new aV(a3,new an(a2.getRange())));a2.focus()}}function x(){X.call(this);this.command=function(a0){return new t(a0)};this.update=function(a0,a1){a0.data("tSelectBox").close()};this.init=function(a2,a0){var a1=a0.editor;a2.tSelectBox({data:a1.insertHtml,onItemCreate:function(a3){a3.html=''+a3.dataItem.Text+""},onChange:function(a3){X.exec(a1,"insertHtml",a3.value)},highlightFirst:false}).find(".t-input").html(a1.localization.insertHtml)}}function R(){var a1=[],a0=-1;this.push=function(a2){a1=a1.slice(0,a0+1);a0=a1.push(a2)-1};this.undo=function(){if(this.canUndo()){a1[a0--].undo()}};this.redo=function(){if(this.canRedo()){a1[++a0].redo()}};this.canUndo=function(){return a0>=0};this.canRedo=function(){return a0!=a1.length-1}}function aQ(a0){this.keydown=function(a4){var a3=a0.keyboard;var a1=a3.isTypingKey(a4);if(a1&&!a3.typingInProgress()){var a2=a0.getRange();this.startRestorePoint=new an(a2);a3.startTyping(s.proxy(function(){a0.selectionRestorePoint=this.endRestorePoint=new an(a0.getRange());a0.undoRedoStack.push(new aV(this.startRestorePoint,this.endRestorePoint))},this));return true}return false};this.keyup=function(a1){var a2=a0.keyboard;if(a2.typingInProgress()){a2.endTyping();return true}return false}}function A(a1){var a0=false;this.createUndoCommand=function(){this.endRestorePoint=new an(a1.getRange());a1.undoRedoStack.push(new aV(this.startRestorePoint,this.endRestorePoint));this.startRestorePoint=this.endRestorePoint};this.changed=function(){if(this.startRestorePoint){return this.startRestorePoint.html!=a1.body.innerHTML}return false};this.keydown=function(a2){var a3=a1.keyboard;if(a3.isModifierKey(a2)){if(a3.typingInProgress()){a3.endTyping(true)}this.startRestorePoint=new an(a1.getRange());return true}if(a3.isSystem(a2)){a0=true;if(this.changed()){a0=false;this.createUndoCommand()}return true}return false};this.keyup=function(a2){if(a0&&this.changed()){a0=false;this.createUndoCommand(a2);return true}return false}}function aH(a1){var a3=false;var a6;var a2;function a0(a7){return(a7>=48&&a7<=90)||(a7>=96&&a7<=111)||(a7>=186&&a7<=192)||(a7>=219&&a7<=222)}this.toolFromShortcut=function(a9,bb){var a8=String.fromCharCode(bb.keyCode);for(var ba in a9){var a7=a9[ba];if((a7.key==a8||a7.key==bb.keyCode)&&!!a7.ctrl==bb.ctrlKey&&!!a7.alt==bb.altKey&&!!a7.shift==bb.shiftKey){return ba}}};this.isTypingKey=function(a8){var a7=a8.keyCode;return(a0(a7)&&!a8.ctrlKey&&!a8.altKey)||a7==32||a7==13||a7==8||(a7==46&&!a8.shiftKey&&!a8.ctrlKey&&!a8.altKey)};this.isModifierKey=function(a8){var a7=a8.keyCode;return(a7==17&&!a8.shiftKey&&!a8.altKey)||(a7==16&&!a8.ctrlKey&&!a8.altKey)||(a7==18&&!a8.ctrlKey&&!a8.shiftKey)};this.isSystem=function(a7){return a7.keyCode==46&&a7.ctrlKey&&!a7.altKey&&!a7.shiftKey};this.startTyping=function(a7){a2=a7;a3=true};function a4(){a3=false;a2()}this.endTyping=function(a7){this.clearTimeout();if(a7){a4()}else{a6=window.setTimeout(a4,1000)}};this.typingInProgress=function(){return a3};this.clearTimeout=function(){window.clearTimeout(a6)};function a5(a9,a8){for(var a7=0;a7$/g,"li>");var a6=a0(a9);var a8=a4.getRange();a8.deleteContents();if(a8.startContainer==a4.document){a8.selectNodeContents(a4.body)}var ba=new ac();var bd=ba.addCaret(a8);var bc=a2(a6,bd);var bb=false;if(!/body|td/.test(D.name(bc))&&(a6||D.isInline(bc))){a8.selectNode(bd);am(a8,bc,true);bb=true}var be=a1(a9);a8.insertNode(be);bc=a2(a6,bd);if(bb){while(bd.parentNode!=bc){D.unwrap(bd.parentNode)}D.unwrap(bd.parentNode)}g(a8.commonAncestorContainer);bd.style.display="inline";D.scrollTo(bd);ba.removeCaret(a8);O(a8)}}function f(){var a0=[//g,"",/mso-[^;"]*;?/ig,"",/<\/?(meta|link|style|o:|v:)[^>]*>((?:.|\n)*?<\/(meta|link|style|o:|v:)[^>]*>)?/ig,""];this.applicable=function(a3){return/class="?Mso|style="[^"]*mso-/i.test(a3)};function a1(a3){if(/^[\u2022\u00b7\u00a7\u00d8o\-]\u00a0+/.test(a3)){return"ul"}if(/^\s*\w+[\.\)]\u00a0{2,}/.test(a3)){return"ol"}}function a2(bg){var a8=D.create(document,"div",{innerHTML:bg});var bf=s(H.join(","),a8);var ba=-1,a5,be={ul:{},ol:{}},a3=a8;for(var bb=0;bb]*>/g,"").replace(/ /g,"\u00a0");var a9=a1(bg);if(!a9||D.name(a6)!="p"){if(a6.innerHTML==""){D.remove(a6)}else{be={ul:{},ol:{}};a3=a8;ba=-1}continue}var bc=parseFloat(a6.style.marginLeft||0);var bd=be[a9][bc];if(bc>ba||!bd){bd=D.create(document,a9);if(a3==a8){D.insertBefore(bd,a6)}else{a3.appendChild(bd)}be[a9][bc]=bd}if(a5!=a9){for(var a7 in be){for(var a4 in be[a7]){if(s.contains(bd,be[a7][a4])){delete be[a7][a4]}}}}D.remove(a6.firstChild);a3=D.create(document,"li",{innerHTML:a6.innerHTML});bd.appendChild(a3);D.remove(a6);ba=bc;a5=a9}return a8.innerHTML}this.clean=function(a4){for(var a3=0,a5=a0.length;a3]*"?/ig,"");return a4}}function i(a0){function a1(a4){var a2=0;for(var a3=a4.parentNode.firstChild;a3;a3=a3.nextSibling){if(a3!=a4&&a3.className!="t-marker"&&a3.nodeType==1){a2++}}return a2}this.findSuitable=function(a3,a2){if(!a2&&a1(a3)>0){return null}return D.parentOfType(a3,a0[0].tags)};this.findFormat=function(a6){for(var a2=0;a20){this.activate(a6,a5)}};this.apply=function(a8){var a7=[];for(var a5=0,a6=a8.length;a50){for(var a5=0,a8=a9.length;a51){var a5=a7.pop();var a6=a7[a7.length-1];if(a5.previousSibling&&a5.previousSibling.className=="t-marker"){a6.appendChild(a5.previousSibling)}if(a5.previousSibling==a6&&a5.style.cssText==a6.style.cssText){while(a5.firstChild){a6.appendChild(a5.firstChild)}D.remove(a5)}}}}function aZ(a1,a0){i.call(this,a1);function a2(a6){var bh=a6.attributes,be=s.trim;if(!bh){return}for(var a5=0,bc=bh.length;a5=0?D.toHex(a4):a4}}}}return}function a3(a8){var a9=s(af(a8)?a8.parentNode:a8);var a7=a9.parents().andSelf();for(var a5=0,a6=a7.length;a5'+a8.dataItem.Text+"
      "}}}function aX(a2){X.call(this,a2);var a1=[{tags:["span"]}],a0=new aZ(a1,a2.cssAttr);this.update=function(a3){a3.data("tColorPicker").close()};this.command=function(a3){return new aI(s.extend(a3,{formatter:function(){var a4={};a4[a2.domAttr]=a3.value;return new F(a1,{style:a4},a2.cssAttr)}}))};this.willDelayExecution=ad;this.init=function(a5,a3){var a4=a3.editor;a5.tColorPicker({selectedColor:"#000000",onChange:function(a6){X.exec(a4,a2.name,a6.value)}})}}function ab(){X.call(this);var a1=[{tags:["span"]}],a0=new aZ(a1,"className");this.command=function(a2){return new aI(s.extend(a2,{formatter:function(){return new F(a1,{className:a2.value})}}))};this.update=function(a2,a4){var a3=a2.data("tSelectBox");a3.close();a3.value(a0.getFormat(a4))};this.init=function(a4,a2){var a3=a2.editor;a4.tSelectBox({data:a3.style,title:a3.localization.style,onItemCreate:function(a5){var a6=D.inlineStyle(a3.document,"span",{className:a5.dataItem.Value});a5.html=''+a5.html+""},onChange:function(a5){X.exec(a3,"style",a5.value)}})}}function y(a1){function a0(a4,a5){for(var a2=0;a2'+a5.dataItem.Text+""},onChange:function(a4){X.exec(a2,"formatBlock",a4.value)},highlightFirst:false})}}function aR(a0){c.call(this,a0);this.exec=function(){var a3=this.getRange(),bd=q(a3),a6,bb=s.browser.msie?"":'
      ';var a5="p,h1,h2,h3,h4,h5,h6".split(","),be=D.parentOfType(a3.startContainer,a5),a1=D.parentOfType(a3.endContainer,a5),a2=(be&&!a1)||(!be&&a1);a3.deleteContents();var bc=D.create(bd,"a");a3.insertNode(bc);g(bc.parentNode);var a4=D.parentOfType(bc,["li"]),bf=D.parentOfType(bc,"h1,h2,h3,h4,h5,h6".split(","));if(a4){var a8=a3.cloneRange();a8.selectNode(a4);if(j(a8).length==0){var bg=D.create(bd,"p");if(a4.nextSibling){am(a8,a4.parentNode)}D.insertAfter(bg,a4.parentNode);D.remove(a4.parentNode.childNodes.length==1?a4.parentNode:a4);bg.innerHTML=bb;a6=bg}}else{if(bf&&!bc.nextSibling){var bg=D.create(bd,"p");D.insertAfter(bg,bf);bg.innerHTML=bb;D.remove(bc);a6=bg}}if(!a6){if(!(a4||bf)){new W([{tags:["p"]}]).apply([bc])}a3.selectNode(bc);var a7=D.parentOfType(bc,[a4?"li":bf?D.name(bf):"p"]);am(a3,a7,a2);var a9=a7.previousSibling;if(D.is(a9,"li")&&a9.firstChild&&!D.is(a9.firstChild,"br")){a9=a9.firstChild}a6=a7.nextSibling;if(D.is(a6,"li")&&a6.firstChild&&!D.is(a6.firstChild,"br")){a6=a6.firstChild}D.remove(a7);function ba(bh){if(bh.firstChild&&D.is(bh.firstChild,"br")){D.remove(bh.firstChild)}if(af(bh)&&bh.nodeValue==""){bh=bh.parentNode}if(bh&&!D.is(bh,"img")&&bh.innerHTML==""){bh.innerHTML=bb}}ba(a9);ba(a6);g(a9)}g(a6);if(!D.is(a6,"img")){a3.selectNodeContents(a6)}else{a3.setStartBefore(a6)}a3.collapse(true);D.scrollTo(a6);O(a3)}}function d(a0){c.call(this,a0);this.exec=function(){var a2=this.getRange();a2.deleteContents();var a1=D.create(q(a2),"br");a2.insertNode(a1);g(a1.parentNode);if(!s.browser.msie&&(!a1.nextSibling||D.isWhitespace(a1.nextSibling))){var a3=a1.cloneNode(true);a3.setAttribute("_moz_dirty","");D.insertAfter(a3,a1)}a2.setStartAfter(a1);a2.collapse(true);O(a2)}}function ap(a1){var a0=[a1=="ul"?"ol":"ul",a1];y.call(this,[{tags:a0}]);this.isFormatted=function(a5){var a2=[],a3;for(var a4=0;a41){D.insertAfter(a3[a3.length-1],a4);D.insertAfter(a3[1],a4);D[a2.length>0?"insertBefore":"insertAfter"](a3[0],a4)}}else{var a5=new b([{tags:["a"]}],a6);a5.finder=this.finder;a5.apply(a2)}}}function ao(a0){a0.formatter={toggle:function(a1){new b([{tags:["a"]}]).remove(j(a1))}};c.call(this,a0)}function aa(a1){c.call(this,a1);var a0;this.async=true;var a2=new aW();this.exec=function(){var a7=this.getRange();var a5=a7.collapsed;a7=this.lockRange(true);var ba=j(a7);var a9=null;var a4=this;function bb(bh){var bg=s("#t-editor-link-url",a8.element).val();if(bg&&bg!="http://"){a0={href:bg};var bd=s("#t-editor-link-title",a8.element).val();if(bd){a0.title=bd}var be=s("#t-editor-link-text",a8.element).val();if(be!==a9){a0.innerHTML=be}var bf=s("#t-editor-link-target",a8.element).is(":checked");if(bf){a0.target="_blank"}a2.apply(a7,a0)}a6(bh);if(a4.change){a4.change()}}function a6(bd){bd.preventDefault();a8.destroy();az(q(a7)).focus();a4.releaseRange(a7)}var bc=ba.length?a2.finder.findSuitable(ba[0]):null;var a3=ba.length<=1||(ba.length==2&&a5);var a8=ar.window.create(s.extend({},this.editor.dialogOptions,{title:"Insert link",html:new s.telerik.stringBuilder().cat('
      ').cat("
        ").cat('
      1. ').catIf('
      2. ',a3).cat('
      3. ').cat('
      4. ').cat("
      ").cat('
      ').cat('').cat(" or ").cat('Close').cat("
      ").cat("
      ").string(),onClose:a6})).hide().find(".t-dialog-insert").click(bb).end().find(".t-dialog-close").click(a6).end().find(".t-form-text-row input").keydown(function(bd){if(bd.keyCode==13){bb(bd)}else{if(bd.keyCode==27){a6(bd)}}}).end().find("#t-editor-link-url").val(bc?bc.getAttribute("href",2):"http://").end().find("#t-editor-link-text").val(ba.length>0?(ba.length==1?ba[0].nodeValue:ba[0].nodeValue+ba[1].nodeValue):"").end().find("#t-editor-link-title").val(bc?bc.title:"").end().find("#t-editor-link-target").attr("checked",bc?bc.target=="_blank":false).end().show().data("tWindow").center();if(a3&&ba.length>0){a9=s("#t-editor-link-text",a8.element).val()}s("#t-editor-link-url",a8.element).focus().select()},this.redo=function(){var a3=this.lockRange(true);a2.apply(a3,a0);this.releaseRange(a3)}}function aS(a1){X.call(this,s.extend(a1,{command:ao}));var a0=new i([{tags:["a"]}]);this.init=function(a2){a2.attr("unselectable","on").addClass("t-state-disabled")};this.update=function(a2,a3){a2.toggleClass("t-state-disabled",!a0.isFormatted(a3)).removeClass("t-state-hover")}}function aN(a1){c.call(this,a1);this.async=true;var a0;function a2(a3,a4){if(a0.src&&a0.src!="http://"){if(!a3){a3=D.create(q(a4),"img",a0);a3.onload=a3.onerror=function(){a3.removeAttribute("complete");a3.removeAttribute("width");a3.removeAttribute("height")};a4.deleteContents();a4.insertNode(a3);a4.setStartAfter(a3);a4.setEndAfter(a3);O(a4);return true}else{D.attr(a3,a0)}}return false}this.redo=function(){var a3=this.lockRange();if(!a2(U.image(a3),a3)){this.releaseRange(a3)}};this.exec=function(){var a6=this.lockRange();var a3=false;var a9=U.image(a6);var a4=this;function ba(bd){a0={src:s("#t-editor-image-url",a7.element).val(),alt:s("#t-editor-image-title",a7.element).val()};a3=a2(a9,a6);a5(bd);if(a4.change){a4.change()}}function a5(bd){bd.preventDefault();a7.destroy();az(q(a6)).focus();if(!a3){a4.releaseRange(a6)}}var a8=this.editor.fileBrowser;var bb=a8&&a8.selectUrl!==undefined;function bc(){if(bb){new ar.imageBrowser(s(this).find(".t-image-browser"),s.extend(a8,{apply:ba,element:a4.editor.element,localization:a4.editor.localization}))}}var a7=ar.window.create(s.extend({width:750},this.editor.dialogOptions,{title:"Insert image",html:new s.telerik.stringBuilder().cat('
      ').catIf('
      ',bb).cat("
        ").cat('
      1. ').cat('
      2. ').cat("
      ").cat('
      ').cat('').cat(" or ").cat('Close').cat("
      ").cat("
      ").string(),onClose:a5,onActivate:bc})).hide().find(".t-dialog-insert").click(ba).end().find(".t-dialog-close").click(a5).end().find(".t-form-text-row input").keydown(function(bd){if(bd.keyCode==13){ba(bd)}else{if(bd.keyCode==27){a5(bd)}}}).end().toggleClass("t-imagebrowser",bb).find("#t-editor-image-url").val(a9?a9.getAttribute("src",2):"http://").end().find("#t-editor-image-title").val(a9?a9.alt:"").end().show().data("tWindow").center();s("#t-editor-image-url",a7.element).focus().select()}}ar.selectbox=function(a0,a1){var a8;var a2=s(a0);var a4=a2.find(".t-input");var a5=this.dropDown=new ar.dropDown({effects:ar.fx.slide.defaults(),onItemCreate:a1.onItemCreate,onClick:function(a9){a7(a1.data[s(a9.item).index()].Value);a1.onChange({value:a8})}});function a3(){if(!a5.$items){a5.dataBind(a1.data)}}function a6(a9){a4.html(a9?a9:" ")}function a7(bb){a3();var ba=-1;for(var a9=0,bc=a1.data.length;a90?"rtl":"");s(document.documentElement).bind("mousedown",s.proxy(function(bb){var a9=a5.$element;var ba=a9&&a9.parent().length>0;if(ba&&!s.contains(a0,bb.target)&&!s.contains(a9.parent()[0],bb.target)){a5.close()}},this))};s.fn.tSelectBox=function(a0){return ar.create(this,{name:"tSelectBox",init:function(a1,a2){return new ar.selectbox(a1,a2)},options:a0})};s.fn.tSelectBox.defaults={effects:ar.fx.slide.defaults()};ar.colorpicker=function(a0,a1){this.element=a0;var a2=s(a0);s.extend(this,a1);a2.bind("click",s.proxy(this.click,this)).find("*").attr("unselectable","on");if(this.selectedColor){a2.find(".t-selected-color").css("background-color",this.selectedColor)}s(a0.ownerDocument.documentElement).bind("mousedown",s.proxy(function(a3){if(!s(a3.target).closest(".t-colorpicker-popup").length){this.close()}},this));ar.bind(this,{change:this.onChange,load:this.onLoad})};ar.colorpicker.prototype={select:function(a0){if(a0){a0=D.toHex(a0);if(!ar.trigger(this.element,"change",{value:a0})){this.value(a0);this.close()}}else{ar.trigger(this.element,"change",{value:this.selectedColor})}},open:function(){var a0=this.popup();var a3=s(this.element);var a2=a3.offset();a2.top+=a3.outerHeight();if(a3.closest(".t-rtl").length){a2.left-=a0.outerWidth()-a3.outerWidth()}var a1="auto";a3.parents().andSelf().each(function(){a1=s(this).css("zIndex");if(Number(a1)){a1=Number(a1)+1;return false}});ar.fx._wrap(a0).css(s.extend({position:"absolute",zIndex:a1},a2));a0.find(".t-item").bind("click",s.proxy(function(a5){var a4=s(a5.target,a5.target.ownerDocument).css("background-color");this.select(a4)},this));ar.fx.play(this.effects,a0,{direction:"bottom"})},close:function(){if(!this.$popup){return}ar.fx.rewind(this.effects,this.$popup,{direction:"bottom"},s.proxy(function(){D.remove(this.$popup[0].parentNode);this.$popup=null},this))},toggle:function(){if(!this.$popup||!this.$popup.is(":visible")){this.open()}else{this.close()}},click:function(a0){if(s(a0.target).closest(".t-tool-icon").length>0){this.select()}else{this.toggle()}},value:function(a0){if(!a0){return this.selectedColor}a0=D.toHex(a0);this.selectedColor=a0;s(".t-selected-color",this.element).css("background-color",a0)},popup:function(){if(!this.$popup){this.$popup=s(ar.colorpicker.buildPopup(this)).hide().appendTo(document.body).find("*").attr("unselectable","on").end()}return this.$popup}};s.extend(ar.colorpicker,{buildPopup:function(a0){var a3=new ar.stringBuilder();a3.cat('
      ').cat('
        ');var a5=a0.data;var a2=(a0.value()||"").substring(1);for(var a1=0,a4=a5.length;a1')}a3.cat("
      ");return a3.string()}});s.fn.tColorPicker=function(a0){return ar.create(this,{name:"tColorPicker",init:function(a1,a2){return new ar.colorpicker(a1,a2)},options:a0})};s.fn.tColorPicker.defaults={data:"000000,7f7f7f,880015,ed1c24,ff7f27,fff200,22b14c,00a2e8,3f48cc,a349a4,ffffff,c3c3c3,b97a57,ffaec9,ffc90e,efe4b0,b5e61d,99d9ea,7092be,c8bfe7".split(","),selectedColor:null,effects:ar.fx.slide.defaults()};function aU(){var a1=new y([{tags:H}]);function a0(a2){return a2.style.marginLeft||0}this.apply=function(a7){var a5=a1.findSuitable(a7);if(a5.length){var a4=[];for(var a3=0;a3ul")[0];if(!ba){ba=D.create(a8.ownerDocument,D.name(bb));a6.append(ba)}while(a8&&a8.parentNode==bb){ba.appendChild(a8);a8=a4.shift()}}else{var a2=parseInt(a0(a8))+30;D.style(a8,{marginLeft:a2})}}}else{var a9=new W([{tags:H}],{style:{marginLeft:30}});a9.apply(a7)}};this.remove=function(a4){var a6=a1.findSuitable(a4);for(var a2=0;a21)||(D.ofType(a3[a2],["ul","ol"])&&a6>0)}if(a4){a1.removeClass("t-state-disabled");return}}a1.addClass("t-state-disabled").removeClass("t-state-hover")}}function aE(a0){this.editor=a0;this.formats=[]}aE.prototype={apply:function(a4){if(!this.hasPending()){return}var a3=new ac();a3.addCaret(a4);var a0=a4.startContainer.childNodes[a4.startOffset];var a6=a0.previousSibling;if(!a6.nodeValue){a6=a6.previousSibling}a4.setStart(a6,a6.nodeValue.length-1);a3.add(a4);if(j(a4).length==0){a3.remove(a4);a4.collapse(true);this.editor.selectRange(a4);return}var a2=a3.end.previousSibling.previousSibling;var a8,a5=this.formats;for(var a1=0;a10},isPending:function(a0){return !!this.getPending(a0)},getPending:function(a1){var a2=this.formats;for(var a0=0;a0",{src:'javascript:""',frameBorder:"0",className:"t-content"}).css("display","").insertBefore(a0)[0];var a1=a4.contentWindow||a4;var a3=a1.document||a4.contentDocument;var a2=a0.val().replace(/(<\/?img[^>]*>)[\r\n\v\f\t ]+/ig,"$1");if(!a2.length&&s.browser.mozilla){a2='
      '}a3.designMode="On";a3.open();a3.write(new ar.stringBuilder().cat("").cat('').cat('").cat(s.map(a5,function(a6){return[''].join("")}).join("")).cat('').cat(a2).cat("").string());a3.close();return a1}function V(a0){ar.trigger(a0.element,"selectionChange")}ar.editor=function(a0,a1){if(/Mobile.*Safari/.test(navigator.userAgent)){return}var a2=this;this.element=a0;var a3=s(a0);a3.closest("form").bind("submit",function(){a2.update()});s.extend(this,a1);ar.bind(this,{load:this.onLoad,selectionChange:this.onSelectionChange,change:this.onChange,execute:this.onExecute,error:this.onError});for(var a6 in this.tools){this.tools[a6].name=a6.toLowerCase()}this.textarea=a3.find("textarea").attr("autocomplete","off")[0];this.window=ax(s(this.textarea),this.stylesheets);this.document=this.window.contentDocument||this.window.document;this.body=this.document.body;this.keyboard=new aH([new aQ(this),new A(this)]);this.clipboard=new aA(this);this.pendingFormats=new aE(this);this.undoRedoStack=new R();function bb(bc){var bd=s.grep(bc.className.split(" "),function(be){return !/^t-(widget|tool-icon|state-hover|header|combobox|dropdown|selectbox|colorpicker)$/i.test(be)});return bd[0]?bd[0].substring(2):"custom"}function a7(bd,bc){if(!bc.key){return bd}return new ar.stringBuilder().cat(bd).cat(" (").catIf("Ctrl + ",bc.ctrl).catIf("Shift + ",bc.shift).catIf("Alt + ",bc.alt).cat(bc.key).cat(")").string()}s(this.window).bind("blur",function(){var bc=a2.textarea.value,bd=a2.encodedValue();a2.update(bd);if(bd!=bc){ar.trigger(a2.element,"change")}});var a5=".t-editor-toolbar > li > *",a4=".t-editor-button .t-tool-icon",a8=a4+":not(.t-state-disabled)",ba=a4+".t-state-disabled";a3.delegate(a8,"mouseenter",ar.hover).delegate(a8,"mouseleave",ar.leave).delegate(a4,"mousedown",ar.preventDefault).delegate(a8,"click",ar.stopAll(function(bc){a2.focus();a2.exec(bb(this))})).delegate(ba,"click",function(bc){bc.preventDefault()}).find(a5).each(function(){var bg=bb(this),bd=a2.tools[bg],bf=a2.localization[bg],be=s(this);if(!bd){return}if(bg=="fontSize"||bg=="fontName"){var bc=a2.localization[bg+"Inherit"]||aO[bg+"Inherit"];a2[bg][0].Text=bc;be.find("input").val(bc).end().find("span.t-input").text(bc).end()}bd.init(be,{title:a7(bf,bd),editor:a2})}).end().bind("selectionChange",function(){var bd=a2.getRange();a2.selectionRestorePoint=new an(bd);var bc=j(bd);if(!bc.length){bc=[bd.startContainer]}a3.find(a5).each(function(){var be=a2.tools[bb(this)];if(be){be.update(s(this),bc,a2.pendingFormats)}})});s(document).bind("DOMNodeInserted",function(bc){if(s.contains(bc.target,a2.element)||a2.element==bc.target){s(a2.element).find("iframe").remove();a2.window=ax(s(a2.textarea),a2.stylesheets);a2.document=a2.window.contentDocument||a2.window.document;a2.body=a2.document.body}});var a9=true;s(this.document).bind({keydown:function(be){var bc=a2.keyboard.toolFromShortcut(a2.tools,be);if(bc){be.preventDefault();a2.exec(bc);return false}if(a2.keyboard.isTypingKey(be)&&a2.pendingFormats.hasPending()){if(a9){a9=false}else{var bd=a2.getRange();a2.pendingFormats.apply(bd);a2.selectRange(bd)}}a2.keyboard.clearTimeout();a2.keyboard.keydown(be)},keyup:function(be){var bd=[8,9,33,34,35,36,37,38,39,40,40,45,46];if(s.browser.mozilla&&be.keyCode==8){aJ(a2,be)}if(s.inArray(be.keyCode,bd)>-1||(be.keyCode==65&&be.ctrlKey&&!be.altKey&&!be.shiftKey)){a2.pendingFormats.clear();V(a2)}if(a2.keyboard.isTypingKey(be)){var bc=a2.getRange();a2.pendingFormats.apply(bc);a2.selectRange(bc)}else{a9=true}a2.keyboard.keyup(be)},mousedown:function(bc){a2.pendingFormats.clear();var bd=s(bc.target);if(!s.browser.gecko&&bc.which==2&&bd.is("a[href]")){window.open(bd.attr("href"),"_new")}},mouseup:function(){V(a2)}});s(this.body).bind("focusout",function(bc){if(a2.keyboard.typingInProgress()){a2.keyboard.endTyping(true)}try{if(!a2.selectionRestorePoint){a2.selectionRestorePoint=new an(a2.getRange())}}catch(bc){}}).bind("cut paste",function(bc){a2.clipboard["on"+bc.type](bc)})};function aJ(a0,a3){var a1=a0.getRange(),a4=a1.startContainer;if(a4==a0.body.firstChild||!D.isBlock(a4)||(a4.childNodes.length>0&&!(a4.childNodes.length==1&&D.is(a4.firstChild,"br")))){return}var a6=a4.previousSibling;while(a6&&!D.isBlock(a6)){a6=a6.previousSibling}if(!a6){return}var a5=a0.document.createTreeWalker(a6,NodeFilter.SHOW_TEXT,null,false);var a2;while(a2=a5.nextNode()){a6=a2}a1.setStart(a6,af(a6)?a6.nodeValue.length:0);a1.collapse(true);O(a1);D.remove(a4);a3.preventDefault()}s.extend(ar.editor,{BlockFormatFinder:y,BlockFormatter:W,Dom:D,FormatCommand:aI,GenericCommand:aV,GreedyBlockFormatter:au,GreedyInlineFormatFinder:aZ,GreedyInlineFormatter:F,ImageCommand:aN,IndentCommand:o,IndentFormatter:aU,InlineFormatFinder:i,InlineFormatter:b,InsertHtmlCommand:t,Keyboard:aH,LinkCommand:aa,LinkFormatFinder:I,LinkFormatter:aW,ListCommand:ay,ListFormatFinder:ap,ListFormatter:J,MSWordFormatCleaner:f,Marker:ac,NewLineCommand:d,OutdentCommand:S,ParagraphCommand:aR,PendingFormats:aE,RangeEnumerator:aj,RangeUtils:U,RestorePoint:an,SystemHandler:A,TypingHandler:aQ,UndoRedoStack:R,UnlinkCommand:ao});ar.editor.prototype={value:function(a2){var a0=this.body;if(a2===undefined){return C(a0)}this.pendingFormats.clear();a2=a2.replace(//g,"");a2=a2.replace(/]*)>(.*)?<\/script>/ig,"$2");if(s.browser.mozilla){a2=a2.replace(/]*)>(\s*)?<\/p>/ig,'


      ')}if(s.browser.msie&&parseInt(s.browser.version)<9){a2="
      "+a2;var a3="originalsrc",a1="originalhref";a2=a2.replace(/href\s*=\s*(?:'|")?([^'">\s]*)(?:'|")?/,a1+'="$1"');a2=a2.replace(/src\s*=\s*(?:'|")?([^'">\s]*)(?:'|")?/,a3+'="$1"');a0.innerHTML=a2;D.remove(a0.firstChild);s(a0).find("telerik\\:script,script,link,img,a").each(function(){var a4=this;if(a4[a1]){a4.setAttribute("href",a4[a1]);a4.removeAttribute(a1)}if(a4[a3]){a4.setAttribute("src",a4[a3]);a4.removeAttribute(a3)}})}else{a0.innerHTML=a2;if(s.browser.msie){g(a0)}}this.update()},focus:function(){this.window.focus()},update:function(a0){this.textarea.value=a0||this.encoded?this.encodedValue():this.value()},encodedValue:function(){return D.encode(this.value())},createRange:function(a0){return aP(a0||this.document)},getSelection:function(){return aY(this.document)},selectRange:function(a1){var a0=this.getSelection();a0.removeAllRanges();a0.addRange(a1)},getRange:function(){var a1=this.getSelection();var a0=a1.rangeCount>0?a1.getRangeAt(0):this.createRange();if(a0.startContainer==this.document&&a0.endContainer==this.document&&a0.startOffset==0&&a0.endOffset==0){a0.setStart(this.body,0);a0.collapse(true)}return a0},selectedHtml:function(){return C(this.getRange().cloneContents())},paste:function(a0){this.clipboard.paste(a0)},exec:function(a3,a0){a3=a3.toLowerCase();var a5="";for(var a2 in this.tools){if(a2.toLowerCase()==a3){a5=this.tools[a2];break}}if(a5){var a1=this.getRange();if(!/undo|redo/i.test(a3)&&a5.willDelayExecution(a1)){this.pendingFormats.toggle({name:a3,params:a0,command:a5.command});V(this);return}var a4=a5.command?a5.command(s.extend({range:a1},a0)):null;ar.trigger(this.element,"execute",{name:a3,command:a4});if(/undo|redo/i.test(a3)){this.undoRedoStack[a3]()}else{if(a4){if(!a4.managesUndoRedo){this.undoRedoStack.push(a4)}a4.editor=this;a4.exec();if(a4.async){a4.change=s.proxy(function(){V(this)},this);return}}}V(this)}}};s.fn.tEditor=function(a0){return ar.create(this,{name:"tEditor",init:function(a1,a2){return new ar.editor(a1,a2)},options:a0})};var ak={bold:[{tags:["strong"]},{tags:["span"],attr:{style:{fontWeight:"bold"}}}],italic:[{tags:["em"]},{tags:["span"],attr:{style:{fontStyle:"italic"}}}],underline:[{tags:["span"],attr:{style:{textDecoration:"underline"}}}],strikethrough:[{tags:["del"]},{tags:["span"],attr:{style:{textDecoration:"line-through"}}}],justifyLeft:[{tags:H,attr:{style:{textAlign:"left"}}},{tags:["img"],attr:{style:{"float":"left"}}}],justifyCenter:[{tags:H,attr:{style:{textAlign:"center"}}},{tags:["img"],attr:{style:{display:"block",marginLeft:"auto",marginRight:"auto"}}}],justifyRight:[{tags:H,attr:{style:{textAlign:"right"}}},{tags:["img"],attr:{style:{"float":"right"}}}],justifyFull:[{tags:H,attr:{style:{textAlign:"justify"}}}]};function ae(a2,a1){for(var a0=0;a0=0){return a1[a0]}}}function X(a0){s.extend(this,a0);this.init=function(a1,a2){a1.attr({unselectable:"on",title:a2.title})};this.command=function(a1){return new a0.command(a1)};this.update=function(){};this.willDelayExecution=function(){return false}}X.exec=function(a1,a2,a0){a1.focus();if(a1.selectionRestorePoint){a1.selectRange(a1.selectionRestorePoint.toRange());a1.selectionRestorePoint=null}a1.exec(a2,{value:a0})};function ai(a0){X.call(this,a0);this.command=function(a1){return new aI(s.extend(a1,{formatter:a0.formatter}))};this.update=function(a1,a5,a3){var a2=a3.isPending(this.name),a4=a0.finder.isFormatted(a5),a6=a2?!a4:a4;a1.toggleClass("t-state-active",a6)}}var Q=function(){return{isFormatted:function(){return false}}};var aO={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",justifyCenter:"Center text",justifyLeft:"Align text left",justifyRight:"Align text right",justifyFull:"Justify",insertUnorderedList:"Insert unordered list",insertOrderedList:"Insert ordered list",indent:"Indent",outdent:"Outdent",createLink:"Insert hyperlink",unlink:"Remove hyperlink",insertImage:"Insert image",insertHtml:"Insert HTML",fontName:"Select font family",fontNameInherit:"(inherited font)",fontSize:"Select font size",fontSizeInherit:"(inherited size)",formatBlock:"Format",style:"Styles",emptyFolder:"Empty Folder",uploadFile:"Upload",orderBy:"Arrange by:",orderBySize:"Size",orderByName:"Name",invalidFileType:'The selected file "{0}" is not valid. Supported file types are {1}.',deleteFile:'Are you sure you want to delete "{0}"?',overwriteFile:'A file with name "{0}" already exists in the current directory. Do you want to overwrite it?',directoryNotFound:"A directory with this name was not found."};s.fn.tEditor.defaults={localization:aO,formats:ak,encoded:true,stylesheets:[],dialogOptions:{modal:true,resizable:false,draggable:true,effects:{list:[{name:"toggle"}]}},fontName:[{Text:aO.fontNameInherit,Value:"inherit"},{Text:"Arial",Value:"Arial,Helvetica,sans-serif"},{Text:"Courier New",Value:"'Courier New',Courier,monospace"},{Text:"Georgia",Value:"Georgia,serif"},{Text:"Impact",Value:"Impact,Charcoal,sans-serif"},{Text:"Lucida Console",Value:"'Lucida Console',Monaco,monospace"},{Text:"Tahoma",Value:"Tahoma,Geneva,sans-serif"},{Text:"Times New Roman",Value:"'Times New Roman',Times,serif"},{Text:"Trebuchet MS",Value:"'Trebuchet MS',Helvetica,sans-serif"},{Text:"Verdana",Value:"Verdana,Geneva,sans-serif"}],fontSize:[{Text:aO.fontSizeInherit,Value:"inherit"},{Text:"1 (8pt)",Value:"xx-small"},{Text:"2 (10pt)",Value:"x-small"},{Text:"3 (12pt)",Value:"small"},{Text:"4 (14pt)",Value:"medium"},{Text:"5 (18pt)",Value:"large"},{Text:"6 (24pt)",Value:"x-large"},{Text:"7 (36pt)",Value:"xx-large"}],formatBlock:[{Text:"Paragraph",Value:"p"},{Text:"Quotation",Value:"blockquote"},{Text:"Heading 1",Value:"h1"},{Text:"Heading 2",Value:"h2"},{Text:"Heading 3",Value:"h3"},{Text:"Heading 4",Value:"h4"},{Text:"Heading 5",Value:"h5"},{Text:"Heading 6",Value:"h6"}],tools:{bold:new Y({key:"B",ctrl:true,format:ak.bold}),italic:new Y({key:"I",ctrl:true,format:ak.italic}),underline:new Y({key:"U",ctrl:true,format:ak.underline}),strikethrough:new Y({format:ak.strikethrough}),undo:{key:"Z",ctrl:true},redo:{key:"Y",ctrl:true},insertLineBreak:new X({key:13,shift:true,command:d}),insertParagraph:new X({key:13,command:aR}),justifyCenter:new P({format:ak.justifyCenter}),justifyLeft:new P({format:ak.justifyLeft}),justifyRight:new P({format:ak.justifyRight}),justifyFull:new P({format:ak.justifyFull}),insertUnorderedList:new aM({tag:"ul"}),insertOrderedList:new aM({tag:"ol"}),createLink:new X({key:"K",ctrl:true,command:aa}),unlink:new aS({key:"K",ctrl:true,shift:true}),insertImage:new X({command:aN}),indent:new X({command:o}),outdent:new ag(),insertHtml:new x(),style:new ab(),fontName:new aC({cssAttr:"font-family",domAttr:"fontFamily",name:"fontName"}),fontSize:new aC({cssAttr:"font-size",domAttr:"fontSize",name:"fontSize"}),formatBlock:new n(),foreColor:new aX({cssAttr:"color",domAttr:"color",name:"foreColor"}),backColor:new aX({cssAttr:"background-color",domAttr:"backgroundColor",name:"backColor"})}}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.editing.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.editing.min.js deleted file mode 100644 index f792af60a..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.editing.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(h){var c=h.telerik,j=/^\/Date\((.*?)\)\/$/;var g=function(l){this.formId=l;this._isBuild=false;var n="tUnobtrusiveValidation";var m="tUnobtrusiveContainer";var k=this.unobtrusive={adapters:[],parseElement:function(o,r){var p=h(o),q=p.parents("form")[0],t,s,u;if(!q){return}t=k.validationInfo(q);t.options.rules[o.name]=s={};t.options.messages[o.name]=u={};h.each(this.adapters,function(){var v="data-val-"+this.name,w=p.attr(v),x={};if(w!==undefined){v+="-";h.each(this.params,function(){x[this]=p.attr(v+this)});this.adapt({element:o,form:q,message:w,params:x,rules:s,messages:u})}});if(!r){t.attachValidation()}},parse:function(o){h(o).find(":input[data-val=true]").each(function(){k.parseElement(this,true)});h("form").each(function(){var p=k.validationInfo(this);if(p){p.attachValidation()}})},onError:function(o,r){var q=h(this).find("[data-valmsg-for='"+r[0].name+"']"),p=h.parseJSON(q.attr("data-valmsg-replace"))!==false;q.removeClass("field-validation-valid").addClass("field-validation-error");o.data(m,q);if(p){q.empty();o.removeClass("input-validation-error").appendTo(q)}else{o.hide()}},onErrors:function(o,r){var q=h(this).find("[data-valmsg-summary=true]"),p=q.find("ul");if(p&&p.length&&r.errorList.length){p.empty();q.addClass("validation-summary-errors").removeClass("validation-summary-valid");h.each(r.errorList,function(){h("
    • ").html(this.message).appendTo(p)})}},onSuccess:function(o){var q=o.data(m),p=h.parseJSON(q.attr("data-valmsg-replace"));if(q){q.addClass("field-valiion-valid").removeClass("field-validation-error");o.removeData(m);if(p){q.empty()}}},validationInfo:function(o){var q=h(o),p=q.data(n);if(!p){p={options:{errorClass:"input-validation-error",errorElement:"span",errorPlacement:h.proxy(k.onError,o),invalidHandler:h.proxy(k.onErrors,o),messages:{},rules:{},success:h.proxy(k.onSuccess,o)},attachValidation:function(){q.validate(this.options)},validate:function(){q.validate();return q.valid()}};q.data(n,p)}return p}}};g.prototype={build:function(){if(this._isBuild){return}this._isBuild=true;var o=[];function m(r,q,p){r.rules[q]=p;if(r.message){r.messages[q]=r.message}}function n(p){return p.replace(/^\s+|\s+$/g,"").split(/\s*,\s*/g)}function l(p){return p.substr(0,p.lastIndexOf(".")+1)}function k(q,p){if(q.indexOf("*.")===0){q=q.replace("*.",p)}return q}o=this.unobtrusive.adapters;o.add=function(r,q,p){if(!p){p=q;q=[]}this.push({name:r,params:q,adapt:p});return this};o.addBool=function(q,p){return this.add(q,function(r){m(r,p||q,true)})};o.addMinMax=function(s,q,u,p,r,t){return this.add(s,[r||"min",t||"max"],function(x){var v=x.params.min,w=x.params.max;if(v&&w){m(x,p,[v,w])}else{if(v){m(x,q,v)}else{if(w){m(x,u,w)}}}})};o.addSingleVal=function(q,r,p){return this.add(q,[r||"val"],function(s){m(s,p||q,s.params[r])})};o.addSingleVal("accept","exts").addSingleVal("regex","pattern");o.addBool("creditcard").addBool("date").addBool("digits").addBool("email").addBool("number").addBool("url");o.addMinMax("length","minlength","maxlength","rangelength").addMinMax("range","min","max","range");o.add("equalto",["other"],function(q){var p=h(q.form).find(":input[name="+q.params.other+"]")[0];m(q,"equalTo",p)});o.add("required",function(p){if(p.element.tagName.toUpperCase()!=="INPUT"||p.element.type.toUpperCase()!=="CHECKBOX"){m(p,"required",true)}});o.add("remote",["url","type","additionalfields"],function(r){var p={url:r.params.url,type:r.params.type||"GET",data:{}},q=l(r.element.name);h.each(n(r.params.additionalfields||r.element.name),function(s,u){var t=k(u,q);p.data[t]=function(){return h(r.form).find(":input[name='"+t+"']").val()}});m(r,"remote",p)});if(h.validator.unobtrusive&&h.validator.unobtrusive.adapters){h.extend(o,h.validator.unobtrusive.adapters)}h.validator.addMethod("regex",function(p,r,q){if(this.optional(r)){return true}var s=new RegExp(q).exec(p);return s&&s.index==0&&s[0].length==p.length});h.validator.addMethod("number",function(p,s){var q=c.cultureInfo.numericgroupsize;var r=new c.stringBuilder();r.cat("^-?(?:\\d+|\\d{1,").cat(q).cat("}(?:").cat(c.cultureInfo.numericgroupseparator).cat("\\d{").cat(q).cat("})+)(?:\\").cat(c.cultureInfo.numericdecimalseparator).cat("\\d+)?$");return this.optional(s)||new RegExp(r.string()).test(p)})},parse:function(){this.build();this.unobtrusive.parse(this.formId)}};var f=function(k){this.validationMetaData=k};f.prototype={build:function(o){h.validator.addMethod("regex",function(A,C,B){if(this.optional(C)){return true}var D=new RegExp(B).exec(A);return D&&D.index==0&&D[0].length==A.length});h.validator.addMethod("number",function(A,D){var B=c.cultureInfo.numericgroupsize;var C=new c.stringBuilder();C.cat("^-?(?:\\d+|\\d{1,").cat(B).cat("}(?:").cat(c.cultureInfo.numericgroupseparator).cat("\\d{").cat(B).cat("})+)(?:\\").cat(c.cultureInfo.numericdecimalseparator).cat("\\d+)?$");return this.optional(D)||new RegExp(C.string()).test(A)});function t(B,A,C){B.range=[A,C]}function p(A,B){A.regex=B}function z(A){A.required=true}function v(A,B){A.maxlength=B}function m(A,B,C){A[B]=C}function x(D){var A={};for(var C=0;C-1){var m=o.substring(0,n);var l=k[m]||{};l[o.substring(n+1)]=k[o];k[m]=i(l);delete k[o]}}return k}function d(l){var m,k,n;for(m in l){k=l[m];if(typeof k==="string"){n=j.exec(k);if(n){l[m]=new Date(parseInt(n[1]))}}else{if(h.isPlainObject(k)){d(k)}}}}c.editing.initialize=function(l){h.extend(l,this.implementation);var k=h(l.element);l.modelBinder=new c.grid.ModelBinder();l.formViewBinder=new c.grid.FormViewBinder({date:function(u,r){var t=l.columnFromMember(u);var s=t?t.format:"";return c.formatString(s||"{0:G}",r)}});if(l.isAjax()){if(l.editing.mode=="InCell"){d(l.editing.defaultDataItem||{});l.changeLog=new c.grid.ChangeLog(l.pageSize||(l.data&&l.data.length)||0);h(l.element).bind("dataBound",function(){l.changeLog.clear()});l.cellEditor=new c.grid.CellEditor({columns:l.columns,cellIndex:function(r){return r.index()},id:l.formId(),bind:h.proxy(l.formViewBinder.bind,l.formViewBinder),validate:h.proxy(l.validation,l)});k.delegate(".t-grid-save-changes:not(.t-state-disabled)","click",c.stopAll(function(r){l.submitChanges()}));k.delegate(".t-grid-cancel-changes","click",c.stopAll(function(r){l.cancelChanges()}));l.hasChanges=function(){return l.changeLog.dirty()};l.submitChanges=function(){if(l.changeLog.dirty()){var r=l.changeLog.inserted;var t=h.grep(l.changeLog.updated,function(v){return v!=undefined});var s=h.grep(l.changeLog.deleted,function(v){return v!=undefined});if(c.trigger(l.element,"submitChanges",{inserted:r,updated:t,deleted:s})){return}var u=l.ws?{inserted:h.map(r,function(v){return l._convert(v)}),updated:h.map(t,function(v){return l._convert(v)}),deleted:h.map(s,function(v){return l._convert(v)})}:l.changeLog.serialize(r,t,s);l.sendValues(u,"updateUrl")}};l.cancelChanges=function(){l.changeLog.clear();l.dataBind(l.data.slice(0));l.valid=true};l.cellIndex=function(r){return h(r).parent().find("td:not(.t-group-cell,.t-hierarchy-cell)").index(r)};l.rowIndex=function(r){return h(r).parent().find("tr:not(.t-detail-row,.t-grouping-row)").index(r)};var o;l.valid=true;l.editCell=function(u){var r=l.columns[l.cellIndex(u)];if(l.valid&&(r&&!r.readonly)){l.td=u;u=h(u);var t=u.parent();var v=l.rowIndex(t);var s=l.changeLog.get(v)||l.dataItem(t);o=u.find(".t-dirty");l.cellEditor.edit(u,s);c.trigger(l.element,"edit",{mode:t.hasClass("t-grid-new-row")?"insert":"edit",form:l.form()[0],dataItem:s,cell:u[0]})}};l.saveCell=function(u){l.valid=l.validate();if(l.valid){u=h(u);var t=u.parent();var s=l.dataItem(t);var v=i(l.modelBinder.bind(u));var r=false;if(c.trigger(l.element,"save",{mode:t.hasClass("t-grid-new-row")?"insert":"edit",dataItem:s,values:v,form:l.form()[0],cell:u[0]})){return}if(t.hasClass("t-grid-new-row")){l.changeLog.insert(l.rowIndex(t),v)}else{r=l.changeLog.update(l.rowIndex(t),s,v)}l.cellEditor.display(u,v);if(r||t.hasClass("t-grid-new-row")){o=h('')}if(o&&o.length){o.prependTo(l.td)}l.td=null}};l.td=null;l.$tbody.delegate("td:not(.t-grid-edit-cell)",l.editing.beginEdit||"click",function(r){l.editCell(this)});h(document).mousedown(function(r){if(l.td&&!h.contains(l.td,r.target)&&l.td!=r.target&&!h(r.target).closest(".t-animation-container").length){l.saveCell(l.td)}})}else{if(l.editing.beginEdit){l.$tbody.delegate("tr:not(.t-detail-row,.t-grouping-row,.t-grid-edit-row,.t-group-footer)",l.editing.beginEdit,function(r){if(!h(r.target).is(":button,a,:input,a>.t-icon")){l.editRow(h(this))}})}}k.delegate(".t-grid-edit","click",c.stopAll(function(r){l.editRow(h(this).closest("tr"))})).delegate(".t-grid-delete","click",c.stopAll(function(r){l.deleteRow(h(this).closest("tr"))})).delegate(".t-grid-add","click",c.stopAll(function(r){l.addRow()}))}else{k.delegate(".t-grid-delete","click",c.stop(function(r){if(l.editing.confirmDelete!==false&&!confirm(l.localization.deleteConfirmation)){r.preventDefault()}}));l.validation()}l.errorView=new c.grid.ErrorView();var q=new c.grid.DataCellBuilder({columns:l.columns});var m=h.grep(l.columns,function(r){return r.commands&&h.grep(r.commands,function(s){return s.name=="edit"})[0]})[0];var n=new c.grid.FormContainerBuilder({html:function(){return unescape(l.editing.editor)},insert:function(){return m.insert()},edit:function(){return m.edit()}});var p=l.editing.mode;if(p=="InLine"){l.rowEditor=new c.grid.Editor({id:l.formId(),cancel:q.display,edit:q.edit,insert:q.insert,groups:(l.groups||[]).length,details:l.detail})}else{if(p=="InForm"){l.rowEditor=new c.grid.Editor({id:l.formId(),cancel:q.display,groups:(l.groups||[]).length,details:l.detail,edit:function(){return''+n.edit()+""},insert:function(){return''+n.insert()+""}})}else{if(p=="PopUp"){l.rowEditor=new c.grid.PopUpEditor({id:l.formId(),edit:n.edit,container:l.element,settings:l.editing.popup,insert:n.insert,editTitle:l.localization.edit,insertTitle:l.localization.insert})}else{q=new c.grid.CellBuilder({columns:l.columns});l.rowEditor=new c.grid.Editor({id:l.formId(),cancel:q.display,edit:q.edit,insert:q.insert})}}}k.delegate(":input:not(.t-button):not(textarea)","keydown",function(s){if(s.keyCode==13||s.keyCode==27){s.preventDefault();var r={13:".t-grid-update, .t-grid-insert",27:".t-grid-cancel"};h(this).closest("tr").find(r[s.keyCode]).click()}})};c.editing.implementation={editFor:function(l){var m=this.localization;if(l.commands){var o=h.grep(l.commands,function(q){return q.name=="edit"})[0];if(o){var p=c.grid.ButtonBuilder.create(h.extend({text:m.update},o,{name:"update"}));var n=c.grid.ButtonBuilder.create(h.extend({text:m.cancel},o,{name:"cancel"}));var k=p.build()+n.build();return function(){return k}}else{return function(){return""}}}else{if(!l.readonly&&l.editor){return function(){return unescape(l.editor)}}}return this.displayFor(l)},insertFor:function(l){var m=this.localization;if(l.commands){var o=h.grep(l.commands,function(q){return q.name=="edit"})[0];if(o){var p=c.grid.ButtonBuilder.create(h.extend({text:m.insert},o,{name:"insert"}));var n=c.grid.ButtonBuilder.create(h.extend({text:m.cancel},o,{name:"cancel"}));var k=p.build()+n.build();return function(){return k}}else{return function(){return""}}}else{return this.editFor(l)}},insertRow:function(k){if(this.validate()){var l=this.extractValues(k);if(c.trigger(this.element,"save",{mode:"insert",values:l,form:this.form()[0]})){return}this.sendValues(l,"insertUrl")}},updateRow:function(k){if(this.validate()){var l=this.dataItem(k.data("tr")||k);var m=this.extractValues(k);if(c.trigger(this.element,"save",{mode:"edit",dataItem:l,values:m,form:this.form()[0]})){return}this.sendValues(h.extend(l,m),"updateUrl")}},deleteRow:function(k){var l=this.dataItem(k);if(this.editing.mode!="InCell"){if(c.trigger(this.element,"delete",{dataItem:l})){return}if(this.editing.confirmDelete===false||confirm(this.localization.deleteConfirmation)){this.sendValues(l,"deleteUrl")}}else{if(this.editing.confirmDelete===false||confirm(this.localization.deleteConfirmation)){this.changeLog.erase(this.rowIndex(k),l);this.cancelRow(k);k.hide()}}},editRow:function(k){var m=this.dataItem(k);if(this.editing.mode!="InCell"){b();var n=this.rowEditor.edit(k,m);var l=this.form();l.undelegate(".t-grid-update").delegate(".t-grid-update","click",c.stopAll(h.proxy(function(){this.updateRow(n)},this))).undelegate(".t-grid-cancel").delegate(".t-grid-cancel","click",c.stopAll(h.proxy(function(){this.cancelRow(k)},this)));this.formViewBinder.bind(n,m);c.trigger(this.element,"edit",{mode:"edit",form:l[0],dataItem:m});this.validation()}else{if(this.valid){this.rowEditor.edit(k,m);this.td=row.find(":input:visible:first").focus().closest("td")[0];this.validation()}}},form:function(){return h("#"+this.formId())},addRow:function(){var n=h.extend(true,{},this.editing.defaultDataItem);if(this.editing.mode!="InCell"){b();var p=this.rowEditor.insert(this.$tbody,n);var l=this.form();l.undelegate(".t-grid-insert").delegate(".t-grid-insert","click",c.stopAll(h.proxy(function(){this.insertRow(p)},this))).undelegate(".t-grid-cancel").delegate(".t-grid-cancel","click",c.stopAll(h.proxy(function(){this.cancelRow(p)},this)));c.trigger(this.element,"edit",{mode:"insert",form:l[0]});this.validation()}else{if(this.valid){var m=this.rowEditor.insert(this.$tbody,n);this.changeLog.insert(n);this.td=m.find(":input:enabled:visible:first").focus().closest("td")[0];for(var k=this.columns.length-1;k>=0;k--){if(!this.columns[k].readonly){var o=m.children().eq(k);if(o[0]!=this.td){o.prepend('')}}}this.validation()}}},extractValues:function(k){return this.modelBinder.bind(k)},cancelRow:function(k){if(!k.length){return}var l=this.dataItem(k);this.rowEditor.cancel(k,l);c.trigger(this.element,"rowDataBound",{row:k[0],dataItem:l})},validate:function(){var k=this.form();if(k.length){return k.validate().form()}return true},cancel:function(){this.cancelRow(this.$tbody.find(">.t-grid-edit-row"))},_convert:function(o){for(var l in o){var k=o[l];if(k instanceof Date){var n=this.columnFromMember(l);var m="{0:G}";if(n&&n.format){m=n.format}o[l]=this.ws?"\\/Date("+k.getTime()+")\\/":c.formatString(m,k)}if(k==undefined){delete o[l]}}return o},sendValues:function(n,k){if(this.editing.mode!="InCell"||!this.ws){this._convert(n);for(var l in this.dataKeys){var m=this.valueFor({member:l})(n);if(m!=undefined){n[this.ws?l:this.dataKeys[l]]=m}}}h.ajax(this.ajaxOptions({data:this.ws?(this.editing.mode=="InCell"?n:{value:n}):n,url:this.url(k),hasErrors:h.proxy(this.hasErrors,this),displayErrors:h.proxy(this.displayErrors,this)}))},displayErrors:function(k){this.errorView.bind(h("#"+this.formId()),k.modelState)},hasErrors:function(k){var l=k.modelState;var m=false;if(l){h.each(l,function(n,o){if("errors" in o){m=true;return false}})}return m},formId:function(){return h(this.element).attr("id")+"form"},validation:function(){this.validator().parse()},validator:function(){if(this.validationMetadata){return new f(this.validationMetadata)}else{return new g(h("#"+this.formId()))}}};c.grid.ModelBinder=function(){this.binders={":input:not(.t-input):not(:radio),:radio:checked":function(){return h(this).val()},":checkbox":function(){return h(this).is(":checked")},".t-datepicker :input":function(){return h(this).data("tDatePicker").value()},".t-numerictextbox :input":function(){return h(this).data("tTextBox").value()},".t-editor textarea:hidden":function(){var k=h(this).closest(".t-editor").data("tEditor");if(k.encoded){return k.encodedValue()}return k.value()}};this.bind=function(k){var l={};h.each(this.binders,function(m,n){k.find(m).each(function(){if(!this.disabled){l[this.name]=n.call(this)}})});return l}};c.grid.FormViewBinder=function(m){this.converters=m||{};this.binders={":input:not(:radio)":function(n){h(this).val(n)},":checkbox":function(n){h(this).attr("checked",n==true)},":radio":function(o){var n=h(this).val();if(typeof o=="boolean"){n=n.toLowerCase()}if(n==o.toString()){h(this).attr("checked",true)}}};function l(n){return function(o){h(this).data(n).value(o)}}function k(){return function(n){h(this).closest(".t-editor").data("tEditor").value(n)}}this.binders[".t-numerictextbox :input"]=l("tTextBox");this.binders[".t-dropdown :input:hidden"]=l("tDropDownList");this.binders[".t-combobox :input:hidden"]=l("tComboBox");this.binders[".t-editor textarea:hidden"]=k();this.evaluate=function(o,r){if(r!=null){var n=o,p=false,t=r.split(".");while(t.length){var u=t.shift();if(n!=null&&typeof(n[u])!="undefined"){n=n[u];p=true}else{if(p){p=false;break}}}if(p&&!h.isPlainObject(n)){var q=j.exec(n);if(q){n=new Date(parseInt(q[1]))}var s=c.getType(n);if(s in this.converters){n=this.converters[s](r,n)}return n}}};this.bind=function(p,o){var n;h.each(this.binders,h.proxy(function(q,r){p.find(q).each(h.proxy(function(t,u){var s=this.evaluate(o,u.name);if(s!=n){r.call(u,s)}},this))},this))}};c.grid.CellBuilder=function(k){function l(n,m){return h.map(k.columns,function(p,o){return"':">")+p[o==0?m:"display"](n)+""}).join("")}this.edit=function(m){return l(m,"edit")};this.insert=function(m){return l(m,"insert")};this.display=function(m){return l(m,"display")}};c.grid.DataCellBuilder=function(k){function l(n,m){return h.map(k.columns,function(p,o){return"':">")+p[m](n)+""}).join("")}this.edit=function(m){return l(m,"edit")};this.insert=function(m){return l(m,"insert")};this.display=function(m){return l(m,"display")}};c.grid.FormContainerBuilder=function(k){function l(m){return'
      '+k.html()+k[m]()+"
      "}this.edit=function(){return l("edit")};this.insert=function(){return l("insert")}};function e(k){return h("",{className:"t-edit-form",id:k}).submit(c.preventDefault)}c.grid.PopUpEditor=function(m){var l;function k(){var o=l.data("tWindow");o&&o.close();l.remove()}function n(p,o){l=h("
      ",{id:m.container.id+"PopUp"}).appendTo(m.container).css({top:0,left:"50%",marginLeft:-90}).tWindow(m.settings).find(".t-window-content").append(m[o](p)).wrapInner(e(m.id)).end();h(m.container).one("dataBound",k);l.find("t-close").bind("close",c.stopAll(k)).end().data("tWindow").open().title(m[o+"Title"]);return l}this.edit=function(o,p){o.addClass("t-grid-edit-row");return n(p,"edit").data("tr",o)};this.insert=function(o,p){return n(p,"insert")};this.cancel=function(o){o.removeClass("t-grid-edit-row");k()}};c.grid.Editor=function(m){var l=(m.groups||0);function k(n,o,p){var q=n.find(".t-group-cell,.t-hierarchy-cell");n.addClass("t-grid-edit-row").empty().append(q).append(m[p](o)).closest("table").wrap(function(){if(!h(this).parent().is("form")){return e(m.id)}})}this.cancel=function(n,o){if(n.is(".t-grid-new-row")){n.remove()}else{k(n,o,"cancel");n.removeClass("t-grid-edit-row")}};this.insert=function(p,o){var q=''+new Array(l+1).join('')+((m.details)?'':"")+"";var n=h(q);p.prepend(n);k(n,o,"insert");return n};this.edit=function(n,o){k(n,o,"edit");return n}};c.grid.CellEditor=function(k){this.edit=function(n,m){var l=k.columns[k.cellIndex(n)];if(!l.readonly){n.parent().addClass("t-grid-edit-row").end().empty().html(l.edit(m)).closest("table").wrap(function(){if(!h(this).parent().is("form")){return e(k.id)}});k.bind(n,m);k.validate();n.find(":input:visible:first").trigger("focusin").focus();n.addClass("t-grid-edit-cell")}return !l.readonly};this.display=function(n,m){var l=k.columns[k.cellIndex(n)];n.removeClass("t-grid-edit-cell").empty().html(l.display(m)).parent().removeClass("t-grid-edit-row")}};c.grid.ChangeLog=function(l){this.insert=function(m,o){if(o==undefined){o=m;this.inserted.splice(0,0,o)}else{var n=this.inserted[m];if(n===undefined){this.inserted.splice(0,0,o)}else{h.extend(n,o)}}};this.get=function(n){var m=this.inserted[n];if(this.inserted[n]){return m}return this.updated[n-this.inserted.length]};this.update=function(s,p,o){s=s-this.inserted.length;var t=this.updated[s]||p||{};var r=false;for(var m in o){var q=t[m],n=o[m];if(q instanceof Date){if(n.getTime()!==q.getTime()){r=true}}else{if(n!==q){r=true}}}if(r){this.updated[s]=h.extend({},t,o)}return r};this.erase=function(n,p){var m=this.inserted[n];if(m){this.inserted.splice(n,1)}else{n=n-this.inserted.length;var o=this.updated[n];if(o){delete this.updated[n]}this.deleted[n]=p}};this.clear=function(){this.updated=new Array(l);this.deleted=new Array(l);this.inserted=[]};function k(n,r,t){var u={};for(var s=0,o=0;s .t-grid-content",g.element).bind("scroll",function(){g.hideFilter()});c(document).click(function(h){if(h.which!=3){g.hideFilter()}});g.$header.find(".t-grid-filter").click(c.proxy(g.showFilter,g)).hover(function(){c(this).toggleClass("t-state-hover")})};b.filtering.implementation={createFilterCommands:function(h,g){var i={};c.each(this.localization,function(m,j){var k="filter"+g.type;var l=m.indexOf(k);if(l>-1){i[m.substring(l+k.length).toLowerCase()]=j}});h.cat('")},createTypeSpecificInput:function(j,g,h,i){if(g.type=="Date"){j.cat('
      ').cat('').cat('
      ')}else{if(g.type=="Boolean"){j.cat('
      ').cat('
      ")}else{if(g.type=="Enum"){j.cat("
      ")}else{if(g.type=="Number"){j.cat('
      ').cat('').cat("
      ")}else{j.cat('')}}}}},createFilterMenu:function(g){var j=new b.stringBuilder();j.cat('
      ");var i=c(j.string());c.each(g.filters||[],function(k){i.find(".t-filter-operator:eq("+k+")").val(this.operator).end().find(":text:eq("+k+"),select:not(.t-filter-operator):eq("+k+")").val(a(g,this.value));if(g.type=="Boolean"){i.find(":radio[id$="+this.value+"]").attr("checked",true)}});return i.find(".t-datepicker .t-input").each(function(){c(this).tDatePicker({format:f(g)})}).end().find(".t-numerictextbox .t-input").each(function(){c(this).tTextBox({type:"numeric",minValue:null,maxValue:null,numFormat:"",groupSeparator:""})}).end().appendTo(this.element)},showFilter:function(m){m.stopPropagation();var g=c(m.target).closest(".t-grid-filter");this.hideFilter(function(){return this.parentNode!=g[0]});var k=g.data("filter");if(!k){var h=this.columns[this.$columns().index(g.parent())];k=this.createFilterMenu(h).data("column",h).click(function(p){p.stopPropagation();if(c(p.target).parents(".t-datepicker").length==0){c(".t-datepicker .t-input",this).each(function(){c(this).data("tDatePicker").hidePopup()})}}).find(".t-filter-button").click(c.proxy(this.filterClick,this)).end().find(".t-clear-button").click(c.proxy(this.clearClick,this)).end().find("input[type=text]").keyup(c.proxy(function(p){if(p.keyCode==13){this.filterClick(p)}},this)).end();g.data("filter",k)}var l=0;c(this.element).find("> .t-grouping-header, > .t-grid-toolbar").add(this.$header).each(function(){l+=this.offsetHeight});var i={top:l};var n=-this.$headerWrap.scrollLeft()-1;g.parent().add(g.parent().prevAll("th")).each(function(){if(c(this).css("display")!="none"){n+=this.offsetWidth}});var j=n-g.outerWidth();var o=k.outerWidth()||k.find(".t-group").outerWidth();if(j+o>this.$header.outerWidth()){j=n-o+1}if(c(this.element).closest(".t-rtl").length){i.right=j+(c.browser.mozilla||c.browser.safari?18:0)}else{i.left=j}k.css(i);b.fx[k.find(".t-filter-options").is(":visible")?"rewind":"play"](d,k.find(".t-filter-options"),{direction:"bottom"})},hideFilter:function(g){g=g||function(){return true};c(".t-grid .t-animation-container").find(".t-datepicker .t-input").each(function(){c(this).data("tDatePicker").hidePopup()}).end().find(".t-filter-options").filter(g).each(function(){b.fx.rewind(d,c(this),{direction:"bottom"})})},clearClick:function(i){i.preventDefault();var h=c(i.target);var g=h.closest(".t-animation-container").data("column");g.filters=null;h.parent().find("input").removeAttr("checked").removeClass("t-state-error").not(":radio").val("").end().end().find("select").removeClass("t-state-error").find("option:first").attr("selected","selected");this.filter(this.filterExpr())},filterClick:function(j){j.preventDefault();var i=c(j.target);var g=i.closest(".t-animation-container").data("column");g.filters=[];var h=false;i.closest(".t-filter-options").find("input[type=text]:visible,select:not(.t-filter-operator)").each(c.proxy(function(p,n){var l=c(n);var k=c.trim(l.val());if(!k){l.removeClass("t-state-error");return true}var m=this.isValidFilterValue(g,k);l.toggleClass("t-state-error",!m);if(!m){h=true;return true}var o=l.prev("select").val()||l.parent().prev("select").val()||l.parent().parent().prev("select").val();if(k!=this.localization.filterSelectValue){g.filters.push({operator:o,value:k})}},this));i.parent().find("input:checked").each(c.proxy(function(m,l){var n=c(l);var k=c(l).attr("value");g.filters.push({operator:"eq",value:k})},this));if(!h){if(g.filters.length>0){this.filter(this.filterExpr())}this.hideFilter()}},isValidFilterValue:function(h,g){if(h.type=="Number"){return !isNaN(g)}return true},encodeFilterValue:function(g,h){switch(g.type){case"String":return"'"+h.replace(e,"''")+"'";case"Date":var i;if(h.indexOf("Date(")>-1){i=new Date(parseInt(h.replace(/^\/Date\((.*?)\)\/$/,"$1")))}else{i=b.datetime.parse({value:h,format:f(g)}).toDate()}return"datetime'"+b.formatString("{0:yyyy-MM-ddTHH-mm-ss}",i)+"'"}return h},filterExpr:function(){var h=[];for(var g=0;g');f.$groupHeader=d("> .t-grouping-header",f.element);function h(){var k=d.map(f.$groupHeader.find(".t-group-indicator"),function(l){var m=d(l);var n=m.offset().left;var o=m.outerWidth();return{left:n,right:n+o,width:o,$group:m}});return{first:k[0],all:k,last:k[k.length-1]}}function g(r){var m=r.$cue.text();if(!d.contains(f.element,r.target)||!d(r.target).closest(".t-grouping-header").length||(f.groupFromTitle(m)&&r.$draggable.closest(".t-header").length)){f.$groupDropCue.remove();return}var n=d("> .t-grid-toolbar",f.element).outerHeight()+c;var o=h();if(!o.all.length){f.$groupDropCue.css({top:n,left:a}).appendTo(f.$groupHeader);return}var q=o.first;var s=o.last;var l=parseInt(q.$group.css("marginLeft"));var k=parseInt(q.$group.css("marginRight"));var p=d.grep(o.all,function(t){return r.pageX>=t.left-l-k&&r.pageX<=t.right})[0];if(!p&&q&&r.pageX=0){f.groups.splice(d.inArray(m,f.groups),1);f.groups.splice(o,0,m)}f.groupBy=d.map(f.groups,function(q){return q.member+"-"+q.order}).join("~");if(this.isAjax()){var p=this.$groupHeader.find('div:contains("'+l+'")');if(p.length==0){var k=new d.telerik.stringBuilder().cat('").string();p=d(k).appendTo(this.$groupHeader)}if(this.$groupDropCue.is(":visible")){p.insertBefore(this.$groupDropCue)}p.find(".t-link .t-icon").toggleClass("t-arrow-up-small",m.order=="asc").toggleClass("t-arrow-down-small",m.order=="desc").html("("+(m.order=="asc"?f.localization.sortedAsc:f.localization.sortedDesc)+")");this.ajaxRequest()}else{this.serverRequest()}};f.unGroup=function(l){var k=f.groupFromTitle(l);f.groups.splice(d.inArray(k,f.groups),1);if(f.groups.length==0){f.$groupHeader.html(f.localization.groupHint)}f.groupBy=d.map(f.groups,function(m){return m.member+"-"+m.order}).join("~");if(f.isAjax()){f.$groupHeader.find('div:contains("'+k.title+'")').remove();f.ajaxRequest()}else{f.serverRequest()}},f.normalizeColumns=function(n){var o=f.groups.length;var m=n-f.$tbody.parent().find(" > colgroup > col").length;if(m==0){return}var p=f.$tbody.parent().add(f.$headerWrap.find("table")).add(f.$footer.find("table"));if(d.browser.msie){if(m>0){d(new b.stringBuilder().rep('',m).string()).prependTo(p.find("colgroup"));d(new b.stringBuilder().rep(' ',m).string()).insertBefore(p.find("th.t-header:first"));d(new b.stringBuilder().rep(' ',m).string()).insertBefore(p.find("tr.t-footer-template > td:first"))}else{p.find("th:lt("+Math.abs(m)+"), tr.t-footer-template > td:lt("+Math.abs(m)+")").remove().end().find("col:lt("+Math.abs(m)+")").remove()}var k=[];var l=0;d("table, .t-grid-bottom",f.element).each(function(){k.push(this.parentNode)}).appendTo(d("
      ")).each(function(){k[l++].appendChild(this)})}else{p.find("col.t-group-col").remove();d(new b.stringBuilder().rep('',o).string()).prependTo(p.find("colgroup"));p.find("th.t-group-cell").remove();p.find("tr.t-footer-template > td.t-group-cell").remove();d(new b.stringBuilder().rep(' ',o).string()).insertBefore(p.find("th.t-header:first"));d(new b.stringBuilder().rep(' ',o).string()).insertBefore(p.find("tr.t-footer-template > td:first"))}},f.bindGroup=function(n,r,q,p){var o=f.groups[p];var t=n.Key;var m=d.grep(f.columns,function(l){return o.member==l.member})[0];if(m&&(m.format||m.type=="Date")){t=b.formatString(m.format||"{0:G}",t)}q.cat('').rep('',p).cat('

      ');if(m){q.cat(m.groupHeader(d.extend({Title:o.title,Key:t},n.Aggregates[m.member])))}else{q.cat(o.title+": "+t)}q.cat("

      ");if(n.HasSubgroups){for(var k=0,s=n.Items.length;k').rep('',f.groups.length);d.each(f.columns,function(){q.cat("");if(this.groupFooter){q.cat(this.groupFooter(n.Aggregates[this.member]))}q.cat("")});q.cat("")}}}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.min.js deleted file mode 100644 index e7943bc55..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(c){var g=c.telerik;var a=/"\\\/Date\((.*?)\)\\\/"/g;function d(h){return new Function("data",("var p=[];with(data){p.push('"+unescape(h).replace(/[\r\t\n]/g," ").replace(/'(?=[^#]*#>)/g,"\t").split("'").join("\\'").split("\t").join("'").replace(/<#=(.+?)#>/g,"',$1,'").split("<#").join("');").split("#>").join("p.push('")+"');}return p.join('');"))}function f(h){return(h!=null?h+"":"").replace(/&/g,"&").replace(//g,">")}g.grid=function(h,j){this.element=h;this.groups=[];this.editing={};this.filterBy="";this.groupBy="";this.orderBy="";c.extend(this,j);this.sorted=c.grep(this.columns,function(i){return i.order});this.$tbody=c("> .t-grid-content > table > tbody",h);this.scrollable=this.$tbody.length>0;if(!this.scrollable){this.$tbody=c("> table > tbody",h);this.$header=c("> table > thead tr",h);this.$footer=c("> table > tfoot",h)}else{c("> .t-grid-content",h).tScrollable();this.$header=c("> .t-grid-header tr",h);this.$footer=c("> .t-grid-footer",h)}this.$headerWrap=c("> .t-grid-header > .t-grid-header-wrap",h);this.$footerWrap=c("> .t-grid-footer > .t-grid-footer-wrap",h);var o=this.$headerWrap.add(this.$footerWrap);c("> .t-grid-content",h).bind("scroll",function(){o.scrollLeft(this.scrollLeft)});this.$tbody.delegate(".t-hierarchy-cell .t-plus, .t-hierarchy-cell .t-minus","click",g.stopAll(function(s){var r=c(s.target);var q=r.hasClass("t-plus");r.toggleClass("t-minus",q).toggleClass("t-plus",!q);var i=r.closest("tr.t-master-row");if(this.detail&&!i.next().hasClass("t-detail-row")){c(new g.stringBuilder().cat('').rep('',i.find(".t-group-cell").length).cat('').cat('').cat(this.displayDetails(this.dataItem(i))).cat("").string()).insertAfter(i)}g.trigger(this.element,q?"detailViewExpand":"detailViewCollapse",{masterRow:i[0],detailRow:i.next(".t-detail-row")[0]});i.next().toggle(q)},this));this.$pager=c("> .t-grid-pager .t-pager",h);var n=new g.dropDown({effects:g.fx.slide.defaults(),onClick:c.proxy(function(i){this.changePageSize(c(i.item).text());n.close()},this)});n.dataBind(j.pageSizesInDropDown||[]);c(document.documentElement).bind("mousedown",function(q){var i=n.$element[0];if(!c.contains(i,q.target)){n.close()}});this.$pager.delegate(".t-state-disabled","click",g.preventDefault).delegate(".t-link:not(.t-state-disabled)","mouseenter",g.hover).delegate(".t-link:not(.t-state-disabled)","mouseleave",g.leave).delegate("input[type=text]","keydown",c.proxy(this.pagerKeyDown,this)).delegate(".t-page-size .t-dropdown-wrap","click",function(){var i=c(this);n.open({offset:i.offset(),outerHeight:i.outerHeight(),outerWidth:i.outerWidth(),zIndex:g.getElementZIndex(this)})});c("> .t-grid-pager",h).delegate(".t-refresh","click",c.proxy(this.refreshClick,this));c(h).delegate(".t-button","hover",g.preventDefault);if(this.sort){this.$header.delegate(".t-link","hover",function(){c(this).toggleClass("t-state-hover")})}var p="tr:not(.t-grouping-row,.t-detail-row,.t-no-data,:has(>.t-edit-container))";if(this.selectable){var m=this.$tbody[0];var l=this;this.$tbody.delegate(p,"click",function(i){if(this.parentNode==m){l.rowClick(i)}}).delegate(p,"hover",function(){if(this.parentNode==m){c(this).toggleClass("t-state-hover")}})}if(this.isAjax()){this.$pager.delegate(".t-link:not(.t-state-disabled)","click",g.stop(this.pagerClick,this));if(this.sort){this.$header.delegate(".t-link","click",g.stop(this.headerClick,this))}}for(var k=0;k.t-icon")){j.stopPropagation();var h=i.closest("tr").addClass("t-state-selected").siblings().removeClass("t-state-selected").end();g.trigger(this.element,"rowSelect",{row:h[0]})}},$rows:function(){return this.$tbody.find("> tr:not(.t-grouping-row,.t-detail-row)")},expandRow:function(h){c(h).find("> td .t-plus, > td .t-expand").click()},collapseRow:function(h){c(h).find("> td .t-minus, > td .t-collapse").click()},headerClick:function(h){h.preventDefault();this.toggleOrder(this.$columns().index(c(h.target).closest("th")));this.sort(this.sortExpr())},refreshClick:function(i,h){if(c(h).is(".t-loading")){return}if(this.isAjax()){i.preventDefault();this.ajaxRequest(true)}},sort:function(h){this.orderBy=h;this.ajaxRequest()},columnFromTitle:function(i){i=c.trim(i);var h=c.grep(this.$columns(),function(j){return c.trim(c(j).text())==i})[0];if(h){return this.columns[this.$columns().index(h)]}return c.grep(this.columns,function(j){return j.title==i})[0]},columnFromMember:function(h){var i=c.grep(this.columns,function(j){return j.member==h})[0];if(!i){i=c.grep(this.columns,function(k){var j="."+k.member;return h.substr(h.length-j.length)==j})[0]}return i},toggleOrder:function(h){h=typeof h=="number"?this.columns[h]:h;var j="asc";if(h.order=="asc"){j="desc"}else{if(h.order=="desc"){j=null}}h.order=j;var i=c.inArray(h,this.sorted);if(this.sortMode=="single"&&i<0){c.each(this.sorted,function(){this.order=null});this.sorted=[]}if(i<0&&j){this.sorted.push(h)}if(!j){this.sorted.splice(i,1)}},sortExpr:function(){return c.map(this.sorted,function(h){return h.member+"-"+h.order}).join("~")},pagerKeyDown:function(h){if(h.keyCode==13){var i=this.sanitizePage(c(h.target).val());if(i!=this.currentPage){this.pageTo(i)}else{c(h.target).val(i)}}},isAjax:function(){return this.ajax||this.ws||this.onDataBinding},url:function(h){return(this.ajax||this.ws)[h]},pagerClick:function(m){m.preventDefault();var i=c(m.target).closest(".t-link");var j=this.currentPage;var k=i.find(".t-icon");if(k.hasClass("t-arrow-next")){j++}else{if(k.hasClass("t-arrow-last")){j=this.totalPages()}else{if(k.hasClass("t-arrow-prev")){j--}else{if(k.hasClass("t-arrow-first")){j=1}else{var h=i.text();if(h=="..."){var l=i.parent().children().index(i);if(l==0){j=parseInt(i.next().text())-1}else{j=parseInt(i.prev().text())+1}}else{j=parseInt(h)}}}}}this.pageTo(isFinite(j)?j:this.currentPage)},changePageSize:function(i){var h=parseInt(i,10);if(isNaN(h)||h<1){return this.pageSize}h=Math.max(h,1);this.pageSize=h;if(this.isAjax()){this.ajaxRequest()}else{this.serverRequest()}},pageTo:function(h){this.currentPage=h;if(this.isAjax()){this.ajaxRequest()}else{this.serverRequest()}},ajaxOptions:function(i){var h={type:"POST",dataType:"text",dataFilter:function(k,l){return k.replace(a,"new Date($1)")},error:c.proxy(function(l,k){if(g.ajaxError(this.element,"error",l,k)){return}},this),complete:c.proxy(this.hideBusy,this),success:c.proxy(function(l,m,k){try{l=eval("("+l+")")}catch(n){if(!g.ajaxError(this.element,"error",k,"parseeror")){alert("Error! The requested URL did not return JSON.")}return}l=l.d||l;if(i.hasErrors&&i.hasErrors(l)){if(!g.trigger(this.element,"error",{XMLHttpRequest:k,textStatus:"modelstateerror",modelState:l.modelState})){i.displayErrors(l)}return}this.total=l.total||l.Total||0;this.aggregates=l.aggregates||{};this.dataBind(l.data||l.Data)},this)};c.extend(h,i);var j=this.ws?h.data.state={}:h.data;j[this.queryString.page]=this.currentPage;j[this.queryString.size]=this.pageSize;j[this.queryString.orderBy]=this.orderBy||"";j[this.queryString.groupBy]=this.groupBy;j[this.queryString.filter]=(this.filterBy||"").replace(/\"/g,'\\"');j[this.queryString.aggregates]=c.map(this.columns,function(k){if(k.aggregates){return k.member+"-"+k.aggregates.join("-")}}).join("~");if(this.ws){h.data=g.toJson(h.data);h.contentType="application/json; charset=utf-8"}return h},showBusy:function(){this.busyTimeout=setTimeout(c.proxy(function(){c("> .t-grid-pager .t-status .t-icon",this.element).addClass("t-loading")},this),100)},hideBusy:function(){clearTimeout(this.busyTimeout);c("> .t-grid-pager .t-status .t-icon",this.element).removeClass("t-loading")},serverRequest:function(){location.href=g.formatString(unescape(this.urlFormat),this.currentPage,this.orderBy||"~",this.groupBy||"~",encodeURIComponent(this.filterBy)||"~",this.pageSize||"~")},ajaxRequest:function(i){var h={page:this.currentPage,sortedColumns:this.sorted,filteredColumns:c.grep(this.columns,function(j){return j.filters})};if(g.trigger(this.element,"dataBinding",h)){return}if(!this.ajax&&!this.ws){return}this.showBusy();c.ajax(this.ajaxOptions({data:c.extend({},h.data,i),url:this.url("selectUrl")}))},valueFor:function(h){if(h.type=="Date"){return new Function("data","var value = data."+h.member+'; if (!value) return null; return value instanceof Date? value : new Date(parseInt(value.replace(/\\/Date\\((.*?)\\)\\//, "$1")));')}return new Function("data","return data"+(h.member?"."+h.member:"")+";")},displayFor:function(h){var j=this.localization;if(h.commands){var k=c.map(h.commands,function(l){var m=g.grid.ButtonBuilder.create(c.extend({text:j[l.name]},l));return m.build()}).join("");return function(){return k}}if(!h.template){var i=h.value||function(){return""};if(h.format||h.type=="Date"){i=function(l){var m=h.value(l);return m==null?"":g.formatString(h.format||"{0:G}",m)}}return h.encoded===false?i:function(l){return f(i(l))}}return d(h.template)},insertFor:function(h){return this.displayFor(h)},editFor:function(h){return this.displayFor(h)},initializeColumns:function(){c.each(this.columns,c.proxy(function(h,i){if(i.member!==undefined){i.value=this.valueFor(i)}else{i.readonly=true}i.insert=this.insertFor(i);i.edit=this.editFor(i);i.display=this.displayFor(i);if(i.footerTemplate){i.footer=d(i.footerTemplate)}if(i.groupFooterTemplate){this.showGroupFooter=true;i.groupFooter=d(i.groupFooterTemplate)}i.groupHeader=d("<#= Title #>: <#= Key #>");if(i.groupHeaderTemplate){i.groupHeader=d(i.groupHeaderTemplate)}},this));if(this.detail){this.displayDetails=d(this.detail.template)}},bindData:function(j,l,n){Array.prototype.push.apply(this.data,j);var p=Math.min(this.pageSize,j.length);p=this.pageSize?p:j.length;if(c.browser.msie){c(this.element).find(".t-grid-content colgroup:first col").css("display","")}for(var q=0;q')}else{l.cat("")}l.rep('',n).catIf('',this.detail);for(var k=0,m=this.columns.length;k").cat(o.display(j[q]));l.cat("")}l.cat("")}},normalizeColumns:function(){},dataItem:function(h){return this.data[this.$tbody.find("> tr:not(.t-grouping-row,.t-detail-row,.t-grid-new-row)").index(c(h))]},bindTo:function(n){var k=new g.stringBuilder();var m=this.groups.length+this.columns.length+(this.detail?1:0);if(n&&n.length){this.normalizeColumns(m);if(typeof n[0].HasSubgroups!="undefined"){for(var h=0,j=n.length;h").cat("").cat(this.noRecordsTemplate?this.noRecordsTemplate:this.localization.noRecords).cat("")}this.$tbody.html(k.string());if(this.onRowDataBound){var o=jQuery.grep(this.$tbody[0].rows,function(i){return !c(i).hasClass("t-grouping-row")});for(var h=0,j=this.data.length;h=h).removeClass("t-state-hover");this.$pager.find(".t-arrow-prev").parent().add(this.$pager.find(".t-arrow-first").parent()).toggleClass("t-state-disabled",j==1).removeClass("t-state-hover");var i=this.localization;this.$pager.find(".t-page-i-of-n").each(function(){this.innerHTML=new g.stringBuilder().cat(i.page).cat(' ').cat(g.formatString(i.pageOf,h)).string()});this.$pager.find(".t-page-size").each(function(){var l='
      '+k+'select
      ';this.innerHTML=l});this.$pager.find(".t-numeric").each(c.proxy(function(m,l){this.numericPager(l,j,h)},this));this.$pager.parent().find(".t-status-text").text(g.formatString(i.displayingItems,this.firstItemInPage(),this.lastItemInPage(),this.total))},numericPager:function(i,o,p){var m=10;var k=1;if(o>m){var h=(o%m);k=(h==0)?(o-m)+1:(o-h)+1}var l=(k+m)-1;l=Math.min(l,p);var j=new g.stringBuilder();if(k>1){j.cat('
      ...')}for(var n=k;n<=l;n++){if(n==o){j.cat('').cat(n).cat("")}else{j.cat('').cat(n).cat("")}}if(l...')}i.innerHTML=j.string()},$columns:function(){return this.$header.find("th:not(.t-hierarchy-cell,.t-group-cell)")},updateSorting:function(){this.sorted=[];c.each(this.orderBy.split("~"),c.proxy(function(i,h){var j=h.split("-");var k=this.columnFromMember(j[0]);if(k){k.order=j[1];this.sorted.push(k)}},this));this.$columns().each(c.proxy(function(j,m){var k=this.columns[j].order;var h=c(m).children(".t-link");var l=h.children(".t-icon");if(!k){l.hide()}else{if(l.length==0){l=c('').appendTo(h)}l.toggleClass("t-arrow-up",k=="asc").toggleClass("t-arrow-down",k=="desc").html("("+(k=="asc"?this.localization.sortedAsc:this.localization.sortedDesc)+")").show()}},this))},sanitizePage:function(i){var h=parseInt(i,10);if(isNaN(h)||h<1){return this.currentPage}return Math.min(h,this.totalPages())},totalPages:function(){return Math.ceil(this.total/this.pageSize)},firstItemInPage:function(){return this.total>0?(this.currentPage-1)*this.pageSize+1:0},lastItemInPage:function(){return Math.min(this.currentPage*this.pageSize,this.total)},dataBind:function(h){this.data=[];this.bindTo(h);this.bindFooter();this.updatePager();this.updateSorting();g.trigger(this.element,"dataBound");g.trigger(this.element,"repaint")},bindFooter:function(){var i=this.$footer.find("td:not(.t-group-cell,.t-hierarchy-cell)");var h=this.aggregates;c.each(this.columns,function(j){if(this.footer){i.eq(j).html(this.footer(h[this.member]))}})},rebind:function(h){this.sorted=[];this.orderBy="";this.filterBy="";this.currentPage=1;c.each(this.columns,function(){this.order=null;this.filters=null});c(".t-filter-options",this.element).find('input[type="text"], select').val("").removeClass("t-state-error").end().find("div.t-formatted-value").html("");c(".t-grid-filter",this.element).removeClass("t-active-filter");this.ajaxRequest(h)}};g.grid.ButtonBuilder=function(h){this.classNames=["t-button","t-grid-"+h.name];this.content=function(){return h.text};this.build=function(){return'"+this.content()+""}};g.grid.ButtonBuilder.create=function(h){return new (e[h.buttonType])(h)};function b(i,h){return'"}g.grid.ImageButtonBuilder=function(h){g.grid.ButtonBuilder.call(this,h);this.classNames.push("t-button-icon");this.content=function(){return b(h.name,h.imageAttr)}};g.grid.ImageTextButtonBuilder=function(h){g.grid.ButtonBuilder.call(this,h);this.classNames.push("t-button-icontext");this.content=function(){return'"+h.text}};g.grid.BareImageButtonBuilder=function(h,i){g.grid.ImageButtonBuilder.call(this,h,i);this.classNames.push("t-button-icon","t-button-bare")};var e={Text:g.grid.ButtonBuilder,ImageAndText:g.grid.ImageTextButtonBuilder,Image:g.grid.ImageButtonBuilder,BareImage:g.grid.BareImageButtonBuilder};c.fn.tGrid=function(h){return g.create(this,{name:"tGrid",init:function(i,j){return new g.grid(i,j)},options:h,success:function(i){if(i.$tbody.find("tr.t-no-data").length){i.ajaxRequest()}}})};c.fn.tGrid.defaults={columns:[],plugins:[],currentPage:1,pageSize:10,localization:{addNew:"Add new record","delete":"Delete",cancel:"Cancel",insert:"Insert",update:"Update",select:"Select",pageOf:"of {0}",displayingItems:"Displaying items {0} - {1} of {2}",edit:"Edit",noRecords:"No records to display.",page:"Page ",filter:"Filter",filterClear:"Clear Filter",filterShowRows:"Show rows with value that",filterAnd:"And",filterStringEq:"Is equal to",filterStringNe:"Is not equal to",filterStringStartsWith:"Starts with",filterStringSubstringOf:"Contains",filterStringEndsWith:"Ends with",filterNumberEq:"Is equal to",filterNumberNe:"Is not equal to",filterNumberLt:"Is less than",filterNumberLe:"Is less than or equal to",filterNumberGt:"Is greater than",filterNumberGe:"Is greater than or equal to",filterDateEq:"Is equal to",filterDateNe:"Is not equal to",filterDateLt:"Is before",filterDateLe:"Is before or equal to",filterDateGt:"Is after",filterDateGe:"Is after or equal to",filterEnumEq:"Is equal to",filterEnumNe:"Is not equal to",filterBoolIsTrue:"is true",filterBoolIsFalse:"is false",filterSelectValue:"-Select value-",filterOpenPopupHint:"Open the calendar popup",groupHint:"Drag a column header and drop it here to group by that column",deleteConfirmation:"Are you sure you want to delete this record?",sortedAsc:"sorted ascending",sortedDesc:"sorted descending",ungroup:"ungroup"},queryString:{page:"page",size:"size",orderBy:"orderBy",groupBy:"groupBy",filter:"filter",aggregates:"aggregates"}}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.reordering.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.reordering.min.js deleted file mode 100644 index ebd306594..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.reordering.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(a){var b=a.telerik;b.reordering={};b.reordering.initialize=function(d){d.$reorderDropCue=a('
      ');var c=d.$header.children("th").length-1;var e=function(i,l){var k=a.inArray(l,d.columns);d.columns.splice(k,1);d.columns.splice(i,0,l);h(d.$columns(),k,i);h(d.$tbody.parent().find("> colgroup > col:not(.t-group-col,.t-hierarchy-col)"),k,i);h(d.$headerWrap.find("table").find("> colgroup > col:not(.t-group-col,.t-hierarchy-col)"),k,i);var j=d.$footer.find("table");h(j.find("> colgroup > col:not(.t-group-col,.t-hierarchy-col)"),k,i);h(j.find("> tbody > tr.t-footer-template > td:not(.t-group-cell,.t-hierarchy-cell)").add(d.$footer.find("tr.t-footer-template > td:not(.t-group-cell,.t-hierarchy-cell)")),k,i);a.each(d.$tbody.children(),function(){h(a(this).find(" > td:not(.t-group-cell, .t-hierarchy-cell, .t-detail-cell)"),k,i)})};d.reorderColumn=e;function f(i,k,l,j){g(i,k,l,j,"th","t-last-header");g(i,k,l,j,"td","t-last")}function g(j,l,k,m,i,n){if(k.is(i)&&m==c){j.addClass(n);k.removeClass(n)}if(j.is(i)&&l==c){j.removeClass(n).prev(i).addClass(n)}}function h(j,k,i){var l=j.eq(k);var m=j.eq(i);f(l,k,m,i);l[k>i?"insertBefore":"insertAfter"](m)}new b.draggable({owner:d.$header,selector:".t-header:not(.t-group-cell,.t-hierarchy-cell)",scope:d.element.id+"-reodering",cue:function(i){return b.dragCue(i.$draggable.text())},destroy:function(i){i.$cue.remove()}});new b.droppable({owner:d.$header,scope:d.element.id+"-reodering",selector:".t-header:not(.t-group-cell,.t-hierarchy-cell)",over:function(k){var i=a.trim(k.$draggable.text())==a.trim(k.$droppable.text());b.dragCueStatus(k.$cue,i?"t-denied":"t-add");var j=0;a("> .t-grid-top, > .t-grouping-header",d.element).each(function(){j+=a(this).outerHeight()});if(!i){d.$reorderDropCue.css({height:k.$droppable.outerHeight(),top:j,left:function(){return k.$droppable.position().left+((k.$droppable.index()>k.$draggable.index())?k.$droppable.outerWidth():0)}}).appendTo(d.element)}},out:function(i){d.$reorderDropCue.remove();b.dragCueStatus(i.$cue,"t-denied")},drop:function(k){d.$reorderDropCue.remove();if(k.$cue.find(".t-drag-status").is(".t-add")){var i=d.columnFromTitle(a.trim(k.$draggable.text()));var j=d.$columns().index(k.$droppable);b.trigger(d.element,"columnReorder",{column:i,oldIndex:a.inArray(i,d.columns),newIndex:j});e(j,i);b.trigger(d.element,"repaint")}}})}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.resizing.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.resizing.min.js deleted file mode 100644 index c0f72e29e..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.grid.resizing.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(a){var b=a.telerik;b.resizing={};b.resizing.initialize=function(p){var c,o=a('
      '),i,d,h,l=3;function m(q,r){a("th, th .t-grid-filter, th .t-link",q).add(document.body).css("cursor",r)}function k(q){var r=0;a("> .t-grouping-header, > .t-grid-top",q).each(function(){r+=this.offsetHeight});return r}function e(t){var r=0;a(".t-resize-handle",p.element).each(function(){r+=a(this).data("th").outerWidth();a(this).css("left",r-l)});r=-p.$tbody.closest(".t-grid-content").scrollLeft();t.prevAll("th").add(t).each(function(){r+=this.offsetWidth});var q=p.scrollable?a(".t-grid-content",p.element):a("tbody",p.element);var s=q.attr(p.scrollable?"clientWidth":"offsetWidth");if(r>=s){o.remove()}else{o.css({left:r,top:k(p.element),height:t.outerHeight()+q.attr(p.scrollable?"clientHeight":"offsetHeight")});if(!o.parent().length){o.appendTo(p.element)}}}function j(r){var q=r.$draggable.data("th");c=a("colgroup",p.element).find("col:eq("+q.index()+")");h=r.pageX;d=q.outerWidth();i=p.$tbody.outerWidth()}function g(q){var r=d+q.pageX-h;if(r>10){c.css("width",r);if(p.scrollable){p.$tbody.parent().add(p.$headerWrap.find("table")).add(p.$footer.find("table")).css("width",i+q.pageX-h)}e(q.$draggable.data("th"))}}function f(s){o.remove();m(p.element,"");var r=s.$draggable.data("th");var q=r.outerWidth();if(p.onColumnResize&&q!=d){b.trigger(p.element,"columnResize",{column:p.columns[p.$columns().index(r)],oldWidth:d,newWidth:q})}return false}function n(){var r=0,q=p.element.id+"-column-resizing";var s=b.draggable.get(q);if(s){s._destroy()}p.$headerWrap.add(p.element).find("> .t-resize-handle").remove();p.$header.find(".t-header:visible:not(.t-group-cell)").each(function(){r+=this.offsetWidth;var t=a(this);a('
      ').css({left:r-l,top:p.scrollable?0:k(p.element),width:l*2}).appendTo(p.scrollable?p.$headerWrap:p.element).data("th",t).mousedown(function(){e(t);m(p.element,a(this).css("cursor"))}).mouseup(function(){m(p.element,"")})});new b.draggable({owner:p.element,selector:".t-resize-handle",scope:q,distance:0,start:j,drag:g,stop:f})}n();a(p.element).one("mouseenter",n).bind("repaint",n)}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.imagebrowser.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.imagebrowser.min.js deleted file mode 100644 index 5bd0143d5..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.imagebrowser.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(i,o){var n=i.telerik,e=i.telerik.query;n.imageBrowser=function(q,r){this.element=q;this.wrapper=i(q);var t=r.filter||"*.png,*.gif,*.jpg,*.jpeg";var s=r.localization;this.wrapper.append('
      select
      ').append(k(s,r.uploadUrl,r.createDirectoryUrl,r.deleteFileUrl||r.deleteDirectoryUrl)).append('
        ');var u=this.wrapper.find(".t-breadcrumbs");var y=this.wrapper.find(".t-tiles");var v=this.wrapper.find(".t-search-wrap");if(r.uploadUrl){this.wrapper.find(".t-upload input").tUpload({async:{saveUrl:r.uploadUrl,autoUpload:true},multiple:false,onUpload:function(B){var C=new RegExp(("("+t.split(",").join(")|(")+")").replace(/\*\./g,".*."),"i");var A=B.files[0].name;if(C.test(A)){B.data={path:u.val()};y.trigger("t:upload",[{name:A},function(){B.preventDefault()}])}else{B.preventDefault();alert(n.formatString(s.invalidFileType,A,t))}},onError:function(A){A.preventDefault();y.trigger("t:error",[A.files[0]]);var B=A.XMLHttpRequest;if(n.ajaxError(r.element,"error",B,B.statusText)){return}},onSuccess:function(A){y.trigger("t:completeFile",[i.extend(A.response,{path:u.val()})])}})}new n.searchBox(v[0]);new n.fileListView(y[0],{thumbnailUrl:r.thumbUrl,localization:s});var w=new n.dropDown({effects:n.fx.slide.defaults(),onClick:function(A){i(q).find(".t-tiles-arrange a span:first").html(i(A.item).text());w.close();u.trigger("t:change")}});var z=[{Text:s.orderByName,Value:"name"},{Text:s.orderBySize,Value:"size"}];w.dataBind(z);this.wrapper.find(".t-tiles-arrange a").click(function(B){B.preventDefault();var A=i(this);w.open({offset:A.offset(),outerHeight:A.outerHeight(),outerWidth:A.outerWidth(),zIndex:n.getElementZIndex(this)})}).end().delegate(".t-button:not(.t-state-disabled):has(.t-delete)","click",function(){var A=y.find(".t-state-selected");if(A.length&&confirm(n.formatString(s.deleteFile,A.find("strong").text()))){i.ajax({type:"POST",url:A.data("kind")=="f"?r.deleteFileUrl:r.deleteDirectoryUrl,data:{path:A.data("url")},error:function(C,B){if(n.ajaxError(r.element,"error",C,B)){return}},success:function(){y.trigger("t:delete");i(q).find(".t-delete").parent().addClass("t-state-disabled")}})}}).delegate(".t-button:not(.t-state-disabled):has(.t-addfolder)","click",function(){y.trigger("t:createDirectory",[function(A){i.ajax({type:"POST",url:r.createDirectoryUrl,data:{path:u.val(),name:A},error:function(C,B){y.trigger("t:errorDirectory",{name:A});if(n.ajaxError(r.element,"error",C,B)){return}},success:function(){y.trigger("t:completeDirectory",{path:u.val(),name:A})}})}])});i(document.documentElement).bind("mousedown",function(B){var A=w.$element[0];if(!i.contains(A,B.target)){w.close()}});var x=new n.dataSource({error:function(A,C){var B=n.trigger(r.element,"error",{XMLHttpRequest:A,textStatus:C});if(!B){if(C=="error"){if(A.status=="404"){alert(r.localization.directoryNotFound)}else{if(A.status!="0"){alert("Error! The requested URL returned "+A.status+" - "+A.statusText)}}}else{if(C=="timeout"){alert("Error! Server timeout.")}}}},url:r.selectUrl,callback:function(B){i(q).find(".t-delete").parent().addClass("t-state-disabled");if(!u.val()){new n.breadcrumbs(u[0],{path:B.Path,roots:B.ContentPaths})}u.val(B.Path).trigger("t:refresh");var C=i(q).find(".t-tiles-arrange a span:first").text();var A=i.map(z,function(E){if(E.Text==C){return E.Value}})[0];var D=v.val();y.trigger("t:refresh",[B,A,D])}});v.bind("t:change",function(){u.trigger("t:change")});x.get({path:""});y.bind("t:select",function(A){if(A.kind=="d"){x.get({path:A.url})}else{r.apply(A)}}).bind("t:change",function(B){var C=i(q).find(".t-delete").parent().addClass("t-state-disabled");if(B.kind=="f"){var A=B.url;if(r.imageUrl){A=r.imageUrl+"?path="+A}i(q).parent().find("#t-editor-image-url").val(A)}if((B.kind=="f"&&r.deleteFileUrl)||(B.kind=="d"&&r.deleteDirectoryUrl)){C.removeClass("t-state-disabled")}});u.bind("t:change",function(){var A=i(this).val();if(!A.match(/\/$/)){A=A+"/"}x.get({path:A})})};function k(r,s,t,q){var v=!s?"":'
        '+r.uploadFile+'
        ',u=!t?"":'',w=!q?"":' ';return'
        '+v+u+w+'
        '+r.orderBy+' '+r.orderByName+'
        '}n.fileInfoReader=function(q){this._thumbnailUrl=q.thumbnailUrl||""};n.fileInfoReader.prototype={read:function(q,r){return r[q]||r[(q.charAt(0).toUpperCase()+q.substring(1))]},directories:function(q){return this.read("directories",q)},files:function(q){return this.read("files",q)},thumbUrl:function(q,r){return this._thumbnailUrl+"/?path="+q+r},size:function(s){var q=this.read("size",s);if(!q){return""}var r=" bytes";if(q>=1073741824){r=" GB";q/=1073741824}else{if(q>=1048576){r=" MB";q/=1048576}else{if(q>=1024){r=" KB";q/=1024}}}return Math.round(q*100)/100+r},name:function(q){return this.read("name",q)},path:function(q){return this.read("path",q)},concatPaths:function(q,r){if(q===o||!q.match(/\/$/)){q=(q||"")+"/"}return q+r}};n.fileListView=function(q,r){this.element=q;this.wrapper=i(q);this._localization=r.localization;this._reader=r.reader||new n.fileInfoReader({thumbnailUrl:r.thumbnailUrl});this._pageSize=r.pageSize||20;this.wrapper.bind({"t:refresh":i.proxy(this._refresh,this),"t:upload":i.proxy(this._upload,this),"t:completeFile":i.proxy(this._completeFile,this),"t:completeDirectory":i.proxy(this._completeDirectory,this),"t:delete":i.proxy(this._delete,this),"t:errorFile":i.proxy(this._errorFile,this),"t:errorDirectory":i.proxy(this._errorDirectory,this),"t:createDirectory":i.proxy(this._createDirectory,this),scroll:i.proxy(this._scroll,this)}).delegate("li[data-url]:not(.t-tile-empty)","click",i.proxy(this._click,this)).delegate("li[data-url]:not(.t-tile-empty)","dblclick",i.proxy(this._dblclick,this))};function d(q){return'
      • '+q.name+"
      • "}function m(q){return'
      • '+q+"
      • "}function h(q){return'
      • '+q.name+''+q.size+"";"
      • "}function l(q){return'
      • '+q.name+"
      • "}function p(q){return'
      • '}function b(r){var s=i(r);var q=i("",{src:s.data("thumbUrl"),alt:s.data("filename")}).hide().bind("load",function(){i(this).prev().remove().end().fadeIn()});s.find(".t-loading").after(q);r.loaded=true}if(i.browser.msie&&parseFloat(i.browser.version)<8){var a=function(q){return q.offsetTop}}else{var a=function(q){return q.offsetTop-i(q).height()}}var f=/(\:|\^|\$|\/|\.|\+|\||\(|\)|\[|\]|\{|\}|\\)/g,j=/\*/g,c=/\?/g;function g(q){return new RegExp(q.replace(f,"\\$1").replace(j,".*").replace(c,".?"),"ig")}n.fileListView.prototype={bindTo:function(r,t,s){this._filter=s;var x=this._reader;this.wrapper.empty();var q=e(this._reader.directories(r)||[]);var v=e(this._reader.files(r)||[]);if(s){var y=g(s);var w=function(A){return y.test(x.name(A))};q=q.where(w);v=v.where(w)}var z=function(A){return x[t](A)};this._data=this._process(this._reader.path(r),q.orderBy(z),v.orderBy(z));var u=this._data.select(function(A){return A.kind=="f"?h(A):l(A)}).toArray().join("");this.wrapper.append(u);this._tiles=this.wrapper.find("li[data-kind=f]");this._scroll();this._asEmpty()},_asEmpty:function(){if(!this._data.any()&&!this._filter){this.wrapper.append(m(this._localization.emptyFolder))}},_completeFile:function(u,r){var t=this._reader.name(r);var q=this._reader.path(r);var s=i(h({kind:"f",thumbUrl:this._reader.thumbUrl(q,t),url:this._reader.concatPaths(q,t),name:t,size:this._reader.size(r)}));this.wrapper.find("li").eq(this.fileIndex(t)).replaceWith(s);b(s[0]);s.click()},_completeDirectory:function(u,r){var t=this._reader.name(r);var q=this._reader.path(r);var s=i(l({kind:"d",url:this._reader.concatPaths(q,t),name:t}));this.wrapper.find("li").eq(this.directoryIndex(t)).replaceWith(s)},_delete:function(){var q=this.wrapper.find(".t-state-selected");if(q.length){var r=this._data.toArray();r.splice(q.index(),1);this._data=e(r);q.remove();this._scroll();this._asEmpty()}},_scroll:function(q){clearTimeout(this._timeout);this._timeout=setTimeout(i.proxy(function(){var r=this.wrapper.outerHeight();var t=this.wrapper.scrollTop();var s=t+r;this._tiles.each(function(){var v=a(this);var u=v+this.offsetHeight;if((v>=t&&v=t&&us){return false}});this._tiles=this._tiles.filter(function(){return !this.loaded})},this),250)},_upload:function(u,q,v){var s=this.fileIndex(q.name);if(s>-1&&!confirm(n.formatString(this._localization.overwriteFile,q.name))){v()}else{this.wrapper.find(".t-tile-empty").remove();var w=i(d(q));if(s>-1){w.data("existing",true);this.wrapper.find("li").eq(s).replaceWith(w)}else{var t=this.wrapper.find("li[data-kind=f]:first");if(t.length){t.before(w)}else{this.wrapper.append(w)}var r=this._data.toArray();r.splice(w.index(),0,{name:q.name,kind:"f"})}this.wrapper.scrollTop(w.attr("offsetTop")-this.element.offsetHeight)}},_nameDirectory:function(){var t="New folder";var s=this._data.where(function(u){return u.kind=="d"&&u.name.indexOf(t)>-1}).select(function(u){return u.name}).toArray();if(i.inArray(t,s)>-1){var r=2;do{var q=t+" ("+r+")";r++}while(i.inArray(q,s)>-1);t=q}return t},_createDirectory:function(u,r){var t=this._nameDirectory();var w=i(p(t));var v=this.wrapper.find("li[data-kind=f]:first");if(v.length){v.before(w)}else{this.wrapper.append(w)}var q=this._data.toArray();var s=w.addClass("t-state-selected").siblings().removeClass("t-state-selected").end().find("input").keydown(function(x){if(x.keyCode==13){this.blur()}}).blur(i.proxy(function(x){var y=i.trim(x.target.value);if(!y||this._data.any(function(z){return z.kind=="d"&&z.name.toLowerCase()==y.toLowerCase()})){y=this._nameDirectory()}q.splice(w.index(),0,{name:y,kind:"d"});i(x.target).replaceWith(""+y+"");r(y)},this));setTimeout(function(){s.select()});this.wrapper.find(".t-tile-empty").remove();this.wrapper.scrollTop(w.attr("offsetTop")-this.element.offsetHeight)},_errorFile:function(u,s){var q=this.fileIndex(s.name);if(q>-1){var r=this.wrapper.find("li").eq(q);if(r.data("existing")){var t=i(h(this._data.toArray()[q]));r.replaceWith(t);b(t[0])}else{r.remove();this._data.toArray().splice(q,1)}this._asEmpty()}},_errorDirectory:function(s,r){var q=this.directoryIndex(r.name);if(q>-1){this.wrapper.find("li").eq(q).remove();this._data.toArray().splice(q,1);this._asEmpty()}},fileIndex:function(q){return this._index("f",q)},directoryIndex:function(q){return this._index("d",q)},_index:function(s,t){var q=-1,r=this._data?this._data.toArray():[];t=t.toLowerCase();i.each(r,function(u,v){if(v.kind==s&&v.name.toLowerCase()==t){q=u;return false}});return q},_raise:function(s,q){var r=i(s.currentTarget);n.trigger(this.wrapper,q,{kind:r.data("kind"),url:r.data("url")})},_click:function(q){i(q.currentTarget).addClass("t-state-selected").siblings().removeClass("t-state-selected");this._raise(q,"t:change")},_dblclick:function(q){if(document.selection&&document.selection.empty){document.selection.empty()}this._raise(q,"t:select")},_refresh:function(t,q,s,r){this.bindTo(q,s,r)},_process:function(s,q,r){var t=this._reader;var q=q.select(function(u){return{url:t.concatPaths(s,t.name(u)),name:t.name(u),kind:"d"}});var r=r.select(function(u){var v=t.name(u);return{url:t.concatPaths(s,v),name:v,kind:"f",thumbUrl:t.thumbUrl(s,v),size:t.size(u)}});return q.concat(r)}};n.dataSource=function(q){this._url=q.url;this._callback=q.callback;this._error=q.error};n.dataSource.prototype={_complete:function(q){if(this._callback){this._callback(q)}},get:function(q){i.ajax({type:"POST",url:this._url,data:q,success:i.proxy(this._complete,this),error:this._error})}};n.breadcrumbs=function(r,s){this.element=r;this.wrapper=i(r);this._gap=s.gap||50;this._initPaths(s.path);var q=new n.dropDown({effects:n.fx.slide.defaults(),onClick:i.proxy(function(t){var u=i(t.item).text();q.close();this._initPaths(u);i(r).val(u).trigger("t:change")},this)});q.dataBind(s.roots);this.wrapper.delegate("input","focus",i.proxy(this._focus,this)).delegate("input","blur",i.proxy(this._blur,this)).delegate("input","keydown",i.proxy(function(t){if(t.keyCode==13){this._blur()}},this)).delegate("a:not(.t-first)","click",n.stopAll(this._click,this)).delegate(".t-select","click",function(){var t=i(r);q.open({offset:t.offset(),outerHeight:t.outerHeight(),outerWidth:t.outerWidth(),zIndex:n.getElementZIndex(this)})}).bind("t:refresh",i.proxy(this.refresh,this));i(document.documentElement).bind("mousedown",function(u){var t=q.$element[0];if(!i.contains(t,u.target)){q.close()}});this.value(s.path)};n.breadcrumbs.prototype={_initPaths:function(q){this._basePath=(q||"").replace(/\/{2,}/g,"/").replace(/\/$/,"");q=this._basePath.split("/");q.pop();this._root=q.join("/")},_html:function(){var r=this._basePath.split("/").length-1;var q=this.value();if(q===o||!q.match(/^\//)){q="/"+(q||"")}return'
        '+i.map(q.split("/"),function(t,s){if(t&&s>=r){return''+t+""}}).join('>')+'
        select
        '},_path:function(q){return this._root+"/"+i.map(q,function(r){return i(r).text()}).join("/")},_update:function(q){q=q.charAt(0)==="/"?q:"/"+q;var r=this.value()!=q;this.value(q);if(r){this.wrapper.trigger("t:change")}},value:function(q){if(q!==o){this.wrapper.val(q.replace(/\/{2,}/g,"/"));this.refresh()}else{return this.wrapper.val()}},_click:function(q){this._update(this._path(i(q.target).prevAll("a").andSelf()))},refresh:function(){this.wrapper.empty().append(this._html());var r=this.wrapper.width()-this._gap;var q=this.wrapper.find("a");q.each(function(t){var s=i(this);if(s.parent().width()>r){if(t==q.length-1){s.width(r)}else{s.prev().andSelf().hide()}}})},_focus:function(){var q=this.wrapper.find(".t-breadcrumbs-wrap").hide().end().find("input").val(this.value());setTimeout(function(){q.select()})},_blur:function(){var q=this.wrapper.find("input").val().replace(/\/{2,}/g,"/");if(!q||q.toLowerCase().indexOf(this._basePath.toLowerCase())<0){q=this._basePath}this._update(q)}};n.searchBox=function(q){this.element=q;this.wrapper=i(q);this.wrapper.delegate("input","focus",i.proxy(this._focus,this)).delegate("input","blur",i.proxy(this._blur,this)).delegate("input","keydown",i.proxy(function(r){if(r.keyCode==13){this._blur()}},this)).delegate("a","click",n.stopAll(this._click,this));this._render()};n.searchBox.prototype={_render:function(){var q='search';this.wrapper.empty().append(i(q))},_focus:function(){this.wrapper.find("label").hide()},_blur:function(){this._update(this.wrapper.find("input").val());if(this.value()==""){this.wrapper.find("label").show()}},_update:function(q){var r=this.value()!=q;this.value(q);if(r){this.wrapper.trigger("t:change")}},value:function(q){if(q!==o){this.wrapper.val(q)}else{return this.wrapper.val()}},_click:function(){this._blur()}}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.list.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.list.min.js deleted file mode 100644 index 15e8bb9f9..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.list.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(e){var a=e.telerik;var b=/\s+/;a.list={htmlBuilder:function(g,f,h){var k,n,l=g.id,m=g.name,o=new a.stringBuilder(),i=e(g);if(h){n=i.find("option:selected").text();k=i.val()}else{n=g.value}function j(){return e(['
        '].join(" "))}this.render=function(){i.wrap(j()).hide();var p=e('
        ').insertBefore(i);this.text({builder:o,text:n,id:l,name:m}).appendTo(p);e('select').appendTo(p);if(h){o.buffer=[];e(o.cat('").string()).insertAfter(p)}};this.text=function(p){return e(['',p.text||" ",""].join(""))}},initialize:function(){this.previousValue=this.value();a.bind(this,{dataBinding:this.onDataBinding,dataBound:this.onDataBound,error:this.onError,open:this.onOpen,close:this.onClose,valueChange:this.onChange,load:this.onLoad})},common:function(){this.open=function(){if(this.data.length==0){return}var g=this.$wrapper||this.$element,f=this.dropDown;var h={offset:g.offset(),outerHeight:g.outerHeight(),outerWidth:g.outerWidth(),zIndex:a.getElementZIndex(g[0])};if(f.$items){f.open(h)}else{this.fill(function(){f.open(h)})}};this.close=function(){this.dropDown.close()};this.dataBind=function(h,f){this.data=h=(h||[]);var l=-1,j=!!this.loader.isAjax();for(var g=0,k=h.length;g-1&&j0){m.filters[k](m,f,j);var g=m.filteredDataIndexes;if((g&&g.length>0)||(k==0&&m.selectedIndex!=-1)){s=false}}if(s){var p={};p[m.queryString.text]=j;m.loader.ajaxRequest(function(w){var v=m.trigger;var x=m.dropDown;if(w&&w.length==0){x.close();x.dataBind();return}if(m.encoded&&!m.onDataBinding){for(var t=0,y=w.length;t0){if(!x.isOpened()){v.open()}m.filtering.autoFill(m,u.first().text())}else{v.close()}},{data:p})}}else{s=false;m.filters[k](m,m.data,j)}if(!s){var r=l.$items;if(!r){return}var h=r.length,i=m.selectedIndex;var n=k==0?i!=-1?r[i].innerText||r[i].textContent:"":r.length>0?r.first().text():"";this.autoFill(m,n);if(h==0){o.close()}else{if(!l.isOpened()){o.open()}}}};this.multiple=function(f){return f}},filters:function(){this.filters=[function f(g,k,n){if(!k||k.length==0){return}var l=g.dropDown;var j=l.$items;if(!j||j.length==0||g.loader.isAjax()){l.dataBind(k);j=l.$items}for(var h=0,m=k.length;h .t-dropdown-wrap .t-icon").addClass("t-loading")},this),100)},this.hideBusy=function(){clearTimeout(this.busyTimeout);this.component.$wrapper.find("> .t-dropdown-wrap .t-icon").removeClass("t-loading")}},trigger:function(f){this.component=f;this.change=function(){var g=f.previousValue;var h=f.value();if(g==undefined||h!=g){a.trigger(f.element,"valueChange",{value:h})}f.previousValue=h};this.open=function(){var g=f.dropDown;if((g.$items&&g.$items.length>0)&&!g.isOpened()&&!a.trigger(f.element,"open")){f.open()}};this.close=function(){if(!f.dropDown.$element.is(":animated")&&f.dropDown.isOpened()&&!a.trigger(f.element,"close")){f.close()}}},retrieveData:function(l){var k=[];var h=e(l).find("option");for(var f=0,g=h.length;f]*)("+l.replace(/([\^\$\(\)\[\]\{\}\*\.\+\?\|\\])/gi,"\\$1")+")(?![^<>]*>)(?![^&;]+;)",f?"ig":"i");h.filteredDataIndexes=j;h.selectedIndex=-1;h.dropDown.onItemCreate=function(n){if(l){n.html=n.html.replace(m,"$1")}};h.dropDown.dataBind(e.map(j,function(o,n){return k[o]}));var i=h.dropDown.$items;i.removeClass("t-state-selected");a.list.highlightFirstOnFilter(h,i)}}function c(f,h,k){if(!f||!h){return null}var l=k.length;k=k.toLowerCase();for(var g=0,j=f.length;g .t-dropdown-wrap > .t-input");if(!this.$wrapper.attr("tabIndex")){this.$wrapper.attr("tabIndex",0)}this.dropDown=new a.dropDown({attr:this.dropDownAttr,effects:this.effects,onClick:e.proxy(function(n){this.select(n.item);this.trigger.change();this.trigger.close();this.$wrapper.focus()},this)});this.dropDown.$element.css("direction",this.$wrapper.closest(".t-rtl").length?"rtl":"");this.fill=function(q){function p(s){var r,u=s.selectedValue||s.value();if(u){r=function(x){return u==(x.Value||x.Text)}}else{var t=s.dropDown.$items,v=s.index,w=t.filter(".t-state-selected").length;r=v!=-1&&v0?w-1:0}s.select(r)}var n=this.dropDown,o=this.loader;if(!n.$items&&!o.ajaxError){if(o.isAjax()){o.ajaxRequest(function(r){this.dataBind(r);p(this);a.trigger(this.element,"dataBound");this.trigger.change();if(q){q()}})}else{this.dataBind(this.data);p(this);if(q){q()}}}};this.enable=function(){this.$wrapper.removeClass("t-state-disabled").bind({keydown:e.proxy(k,this),keypress:e.proxy(l,this),click:e.proxy(function(p){var o=this.trigger;var n=this.dropDown;this.$wrapper.focus();if(n.isOpened()){o.close()}else{if(!n.$items){this.fill(o.open)}else{o.open()}}},this)})};this.disable=function(){this.$wrapper.addClass("t-state-disabled").unbind()};this.reload=function(){this.dropDown.$items=null;this.fill()};this.select=function(o){var n=this.highlight(o);if(n==-1){return n}this.selectedIndex=n;a.list.updateTextAndValue(this,this.data[n].Text,this.data[n].Value)};this.text=function(n){if(n!==undefined){this.$text.html(n&&n.replace(b,"")?n:"  ")}else{return this.$text.html()}};this.value=function(o){if(o!==undefined){var n=this.select(function(p){return o==p.Value});if(n==-1){n=this.select(function(p){return o==p.Text})}if(n!=-1){this.previousValue=o}}else{return this.$element.val()}};a.list.common.call(this);a.list.initialize.call(this);e(document.documentElement).bind("mousedown",e.proxy(function(p){var n=this.dropDown.$element;var o=n&&n.parent().length>0;if(e.contains(this.$wrapper[0],p.target)||(o&&e.contains(n.parent()[0],p.target))){return}this.trigger.change();this.trigger.close()},this));this[this.enabled?"enable":"disable"]();function j(){clearTimeout(this.timeout);this.timeout=setTimeout(e.proxy(function(){i=""},this),1000)}function k(t){var q=this.trigger;var o=this.dropDown;var r=t.keyCode||t.which;if(t.altKey&&r==38){q.close();return}if(t.altKey&&r==40){q.open();return}if(r>34&&r<41){t.preventDefault();if(!o.$items){this.fill();return}var p=o.$items,s=e(p[this.selectedIndex]);var n=(r==35)?p.last():(r==36)?p.first():(r==37||r==38)?s.prev():(r==39||r==40)?s.next():[];if(n.length){var u=n[0];this.select(u);o.scrollTo(u);if(!o.isOpened()){q.change()}}}if(r==8){j();t.preventDefault();i=i.slice(0,-1)}if(r==9||r==13||r==27){q.change();q.close()}}function l(r){var n=this.dropDown;var o=r.keyCode||r.charCode;if(o==0||e.inArray(o,a.list.keycodes)!=-1||r.ctrlKey||r.altKey||r.shiftKey){return}if(!n.$items){this.fill();return}var p=i;p+=String.fromCharCode(o);if(p){var q=c(this.data,n.$items,p);if(q){this.select(q);n.scrollTo(q)}i=p}j()}};e.fn.tDropDownList=function(f){return a.create(this,{name:"tDropDownList",init:function(g,h){return new a.dropDownList(g,h)},options:f})};e.fn.tDropDownList.defaults={effects:a.fx.slide.defaults(),accessible:false,index:0,enabled:true,encoded:true}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.menu.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.menu.min.js deleted file mode 100644 index 745beba2c..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.menu.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(d){var a=d.telerik;a.menu=function(e,f){this.element=e;this.nextItemZIndex=100;d.extend(this,f);d(".t-item:not(.t-state-disabled)",e).live("mouseenter",a.delegate(this,this.mouseenter),true).live("mouseleave",a.delegate(this,this.mouseleave),true).live("click",a.delegate(this,this.click));d(".t-item").live("click",a.delegate(this,this.click));d(".t-item:not(.t-state-disabled) > .t-link",e).live("mouseenter",a.hover).live("mouseleave",a.leave);d(document).click(a.delegate(this,this.documentClick));a.bind(this,{select:this.onSelect,open:this.onOpen,close:this.onClose,load:this.onLoad})};function b(e){var f=e.parent();return{direction:f.hasClass("t-menu")?f.hasClass("t-menu-vertical")?"right":"bottom":"right"}}function c(f,g){try{return d.contains(f,g)}catch(h){return false}}a.menu.prototype={toggle:function(f,e){d(f).each(function(){d(this).toggleClass("t-state-default",e).toggleClass("t-state-disabled",!e)})},enable:function(e){this.toggle(e,true)},disable:function(e){this.toggle(e,false)},open:function(f){var e=this;d(f).each(function(){var g=d(this);clearTimeout(g.data("timer"));g.data("timer",setTimeout(function(){var h=g.find(".t-group:first");if(h.length){a.fx.play(e.effects,h,b(g));g.css("z-index",e.nextItemZIndex++)}},100))})},close:function(f){var e=this;d(f).each(function(h,i){var g=d(i);clearTimeout(g.data("timer"));g.data("timer",setTimeout(function(){var j=g.find(".t-group:first");if(j.length){a.fx.rewind(e.effects,j,b(g),function(){g.css("zIndex","");if(d(e.element).find(".t-group:visible").length==0){e.nextItemZIndex=100}});j.find(".t-group").stop(false,true)}},100))})},mouseenter:function(i,h){var g=d(h);if(!this.openOnClick||this.clicked){if(!c(h,i.relatedTarget)){this.triggerEvent("open",g);this.open(g);var f=g.parent().closest(".t-item")[0];if(f&&!c(f,i.relatedTarget)){this.mouseenter(i,f)}}}if(this.openOnClick&&this.clicked){this.triggerEvent("close",g);g.siblings().each(d.proxy(function(j,e){this.close(d(e))},this))}},mouseleave:function(i,h){if(!this.openOnClick&&!c(h,i.relatedTarget)){var g=d(h);this.triggerEvent("close",g);this.close(g);var f=g.parent().closest(".t-item")[0];if(f&&!c(f,i.relatedTarget)){this.mouseleave(i,f)}}},click:function(h,g){h.stopPropagation();var f=d(g);if(f.hasClass("t-state-disabled")){h.preventDefault();return}a.trigger(this.element,"select",{item:f[0]});if(!f.parent().hasClass("t-menu")||!this.openOnClick){return}h.preventDefault();this.clicked=true;this.triggerEvent("open",f);this.open(f)},documentClick:function(g,f){if(d.contains(this.element,g.target)){return}if(this.clicked){this.clicked=false;d(this.element).children(".t-item").each(d.proxy(function(e,h){this.close(d(h))},this))}},hasChildren:function(e){return e.find(".t-group:first").length},triggerEvent:function(e,f){if(this.hasChildren(f)){a.trigger(this.element,e,{item:f[0]})}}};d.fn.tMenu=function(e){return a.create(this,{name:"tMenu",init:function(f,g){return new a.menu(f,g)},options:e})};d.fn.tMenu.defaults={orientation:"horizontal",effects:a.fx.slide.defaults(),openOnClick:false}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.panelbar.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.panelbar.min.js deleted file mode 100644 index 641357aec..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.panelbar.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(c){var a=c.telerik,b={single:0,multi:1};c.extend(a,{panelbar:function(f,g){this.element=f;c.extend(this,g);var h=c(f),e=h.find("li.t-state-active > .t-content"),d=".t-item:not(.t-state-disabled) > .t-link";h.delegate(d,"click",c.proxy(this._click,this)).delegate(d,"mouseenter",a.hover).delegate(d,"mouseleave",a.leave).delegate(".t-item.t-state-disabled > .t-link","click",a.preventDefault);a.bind(this,{expand:this.onExpand,collapse:this.onCollapse,select:c.proxy(function(i){if(i.target==this.element&&this.onSelect){this.onSelect(i)}},this),error:this.onError,load:this.onLoad});if(this.contentUrls){h.find("> .t-item").each(c.proxy(function(i,j){c(j).find(".t-link").data("ContentUrl",this.contentUrls[i])},this))}if(e.length>0&&e.is(":empty")){this.expand(e.parent())}}});a.panelbar.prototype={expand:function(d){c(d).each(c.proxy(function(f,g){var e=c(g);if(!e.hasClass(".t-state-disabled")&&e.find("> .t-group, > .t-content").length>0){if(this.expandMode==b.single&&this._collapseAllExpanded(e)){return}this._toggleItem(e,false,null)}},this))},collapse:function(d){c(d).each(c.proxy(function(f,g){var e=c(g);if(!e.hasClass(".t-state-disabled")&&e.find("> .t-group, > .t-content").is(":visible")){this._toggleItem(e,true,null)}},this))},toggle:function(e,d){c(e).each(function(){c(this).toggleClass("t-state-default",d).toggleClass("t-state-disabled",!d)})},enable:function(d){this.toggle(d,true)},disable:function(d){this.toggle(d,false)},_click:function(m){var f=c(m.target),g=this.element;if(f.closest(".t-widget")[0]!=g){return}var d=f.closest(".t-link"),j=d.closest(".t-item");c(".t-state-selected",g).removeClass("t-state-selected");d.addClass("t-state-selected");if(a.trigger(g,"select",{item:j[0]})){m.preventDefault()}var l=j.find("> .t-content, > .t-group"),h=d.attr("href"),k=d.data("ContentUrl")||(h&&(h.charAt(h.length-1)=="#"||h.indexOf("#"+g.id+"-")!=-1));if(k||l.length>0){m.preventDefault()}else{return}if(this.expandMode==b.single){if(this._collapseAllExpanded(j)){return}}if(l.length!=0){var i=l.is(":visible");if(!a.trigger(g,!i?"expand":"collapse",{item:j[0]})){this._toggleItem(j,i,m)}}},_toggleItem:function(f,h,i){var j=f.find("> .t-group");if(j.length){this._toggleGroup(j,h);if(i!=null){i.preventDefault()}}else{var g=f.parent().children().index(f),d=f.find("> .t-content");if(d.length){if(i!=null){i.preventDefault()}if(!d.is(":empty")){this._toggleGroup(d,h)}else{this._ajaxRequest(f,d,h)}}}},_toggleGroup:function(d,e){if(d.data("animating")){return}d.data("animating",true).parent().toggleClass("t-state-default",e).toggleClass("t-state-active",!e).find("> .t-link > .t-icon").toggleClass("t-arrow-up",!e).toggleClass("t-panelbar-collapse",!e).toggleClass("t-arrow-down",e).toggleClass("t-panelbar-expand",e);a.fx[!e?"play":"rewind"](this.effects,d,null,function(){d.data("animating",false)})},_collapseAllExpanded:function(d){if(d.find("> .t-link").hasClass("t-header")){if(d.find("> .t-content, > .t-group").is(":visible")||d.find("> .t-content, > .t-group").length==0){return true}else{c(this.element).children().find("> .t-content, > .t-group").filter(function(){return c(this).is(":visible")}).each(c.proxy(function(f,e){this._toggleGroup(c(e),true)},this))}}},_ajaxRequest:function(f,d,h){var i=f.find(".t-panelbar-collapse, .t-panelbar-expand"),e=f.find(".t-link"),g=setTimeout(function(){i.addClass("t-loading")},100),j={};c.ajax({type:"GET",cache:false,url:e.data("ContentUrl")||e.attr("href"),dataType:"html",data:j,error:c.proxy(function(l,k){if(a.ajaxError(this.element,"error",l,k)){return}},this),complete:function(){clearTimeout(g);i.removeClass("t-loading")},success:c.proxy(function(k,l){d.html(k);this._toggleGroup(d,h)},this)})}};c.fn.tPanelBar=function(d){return a.create(this,{name:"tPanelBar",init:function(e,f){return new a.panelbar(e,f)},options:d})};c.fn.tPanelBar.defaults={effects:a.fx.property.defaults("height")}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.slider.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.slider.min.js deleted file mode 100644 index 740e8343d..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.slider.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(f){var k=f.telerik;k.slider=function(n,o){var p=f(n);this.element=n;o.distance=o.maxValue-o.minValue;f.extend(this,o);o.position=this.orientation=="horizontal"?"left":"bottom";o.size=this.orientation=="horizontal"?"width":"height";o.orientation=this.orientation;j(n,o);this.wrapper=p.closest(".t-slider");this.trackDiv=this.wrapper.find(".t-slider-track");k.slider.setTrackDivWidth(this.wrapper,o);this.maxSelection=this.trackDiv[o.size]();var l=this.maxSelection/((this.maxValue-this.minValue)/this.smallStep);if(o.tickPlacement!="none"&&l>=2){this.trackDiv.before(a(o));k.slider.setItemsWidth(this.wrapper,this.trackDiv,o);k.slider.setItemsTitle(this.wrapper,o);k.slider.setItemsLargeTick(this.wrapper,o)}else{this.pixelStepsArray=k.slider.getPixelSteps(this.trackDiv,o)}var m={element:n,dragHandle:this.wrapper.find(".t-draghandle"),orientation:o.orientation,size:o.size,position:o.position,owner:this};this._setValueInRange(o.val);this[o.enabled?"enable":"disable"]();new k.slider.Selection(m);new k.slider.Drag(m);this.keyMap={37:g(o.smallStep),40:g(o.smallStep),39:h(o.smallStep),38:h(o.smallStep),35:d(o.maxValue),36:d(o.minValue),33:h(o.largeStep),34:g(o.largeStep)};k.bind(this,{slide:this.onSlide,change:this.onChange,load:this.onLoad})};f.extend(k.slider,{setTrackDivWidth:function(n,o){var m=n.find(".t-slider-track");var l=parseFloat(m.css(o.position),10)*2;m[o.size]((n[o.size]()-2)-l)},setItemsWidth:function(t,p,m){var l=Math.floor(m.distance/m.smallStep),r=t.find(".t-tick"),q=0,s=p[m.size]();var o=this.calculateItemsWidth(t,m,l);if(m.orientation=="horizontal"){for(var n=0;n=0;l--){f(p[l]).attr("title",k.formatString(o.tooltip.format||"{0}",parseFloat(m.toFixed(3),10)));m+=o.smallStep}}},setItemsLargeTick:function(q,n){if((1000*n.largeStep)%(1000*n.smallStep)==0){var p=q.find(".t-tick"),o={},l=parseFloat((n.largeStep/n.smallStep).toFixed(3),10);if(n.orientation=="horizontal"){for(var m=0;m").html(o.attr("title")))}}else{for(var m=p.length-1;m>=0;m=parseFloat((m-l).toFixed(3),10)){o=f(p[m]);o.addClass("t-tick-large").html(f("").html(o.attr("title")));if(m!=0&&m!=p.length-1){o.css("line-height",o[n.size]()+"px")}}}}},calculateItemsWidth:function(s,n,m){var r=parseFloat(s.find(".t-slider-track").css(n.size))+1,o=r/n.distance;if((n.distance/n.smallStep)-Math.floor(n.distance/n.smallStep)>0){r-=((n.distance%n.smallStep)*o)}var l=r/m,q=new Array();for(var p=0;p=r){while(p>l){p-=l;m+=q.smallStep}}return parseFloat((q.minValue+m).toFixed(3))},getDragableArea:function(m,n,l){var p=m.offset().left,o=m.offset().top;return{startPoint:l=="horizontal"?p:o+n,endPoint:l=="horizontal"?p+n:o}},fixDragHandlePosition:function(q,r,m){var o=q-m.owner.minValue,n=0;if(q==m.owner.minValue||q==m.owner.maxValue){if(q==m.owner.maxValue){n=m.owner.maxSelection}}else{var p=parseInt(((m.orientation=="horizontal"?o:m.owner.maxValue-q)/m.owner.smallStep).toFixed(3)),u=f(r.find(".t-tick")[p]),s=u[m.size]()/2,t=u.offset(),l=k.slider.getDragableArea(m.owner.trackDiv,m.owner.maxSelection,m.orientation);if(m.orientation=="horizontal"){n=t.left-l.startPoint+s}else{n=(l.startPoint-(t.top+s))+1;if(!f.browser.mozilla){n+=(n-Math.floor(n))>0?1:0}}}return n}});function h(l){return function(m){return m+l}}function g(l){return function(m){return m-l}}function d(l){return function(){return l}}k.slider.prototype={enable:function(){this.wrapper.removeAttr("disabled").removeClass("t-state-disabled").addClass("t-state-default");var l=f.proxy(function(p){var o=this.orientation=="horizontal"?p.pageX:p.pageY,n=k.slider.getDragableArea(this.trackDiv,this.maxSelection,this.orientation);this._update(k.slider.getValueFromPosition(o,n,this))},this);this.wrapper.find(".t-tick").bind("click",l).end().find(".t-slider-track").bind("click",l);if(this.showButtons){var m=f.proxy(function(n,o){if(n.which==1){this._setValueInRange(this.val+(o*this.smallStep));this.timeout=setTimeout(f.proxy(function(){this.timer=setInterval(f.proxy(function(){this._setValueInRange(this.val+(o*this.smallStep))},this),60)},this),200)}},this);this.wrapper.find(".t-button").unbind("mousedown").unbind("mouseup").bind("mouseup",f.proxy(function(n){this._clearTimer()},this)).unbind("mouseover").bind("mouseover",function(n){f(n.currentTarget).addClass("t-state-hover")}).unbind("mouseout").bind("mouseout",f.proxy(function(n){f(n.currentTarget).removeClass("t-state-hover");this._clearTimer()},this)).eq(0).bind("mousedown",f.proxy(function(n){m(n,1)},this)).end().eq(1).bind("mousedown",f.proxy(function(n){m(n,-1)},this))}this.wrapper.find(".t-draghandle").bind({keydown:f.proxy(this._keydown,this)});this.enabled=true},disable:function(){this.wrapper.attr("disabled","disabled").removeClass("t-state-default").addClass("t-state-disabled");var l=k.preventDefault;this.wrapper.find(".t-button").unbind("mousedown").bind("mousedown",l).unbind("mouseup").bind("mouseup",l).unbind("mouseleave").bind("mouseleave",l).unbind("mouseover").bind("mouseover",l);this.wrapper.find(".t-tick").unbind("click").end().find(".t-slider-track").unbind("click");this.wrapper.find(".t-draghandle").unbind("keydown").bind("keydown",l);this.enabled=false},_update:function(l){var m=this.value()!=l;this.value(l);if(m){k.trigger(this.element,"change",{value:this.val})}},value:function(l){l=parseFloat(parseFloat(l,10).toFixed(3),10);if(isNaN(l)){return this.val}if(l>=this.minValue&&l<=this.maxValue){if(this.val!=l){f(this.element).val(l);this.val=l;this.refresh()}}},refresh:function(){k.trigger(this.element,"t:moveSelection",{value:this.val})},_clearTimer:function(l){clearTimeout(this.timeout);clearInterval(this.timer)},_keydown:function(l){if(l.keyCode in this.keyMap){this._setValueInRange(this.keyMap[l.keyCode](this.val));l.preventDefault()}},_setValueInRange:function(l){l=parseFloat(parseFloat(l,10).toFixed(3),10);if(isNaN(l)){this._update(this.minValue);return}l=Math.max(l,this.minValue);l=Math.min(l,this.maxValue);this._update(l)}};k.slider.Selection=function(n){var o=f(n.element);function m(s){var r=s-n.owner.minValue,t=n.owner.wrapper.find(".t-slider-items"),p=0,q=0;if(t.length!=0){q=k.slider.fixDragHandlePosition(s,t,n)}else{if(n.owner.pixelStepsArray.length==0){q=0}else{while(r>0){r=parseFloat((r-n.owner.smallStep).toFixed(5),10);q+=n.owner.pixelStepsArray[p];p++}}}var v=n.owner.trackDiv.find(".t-slider-selection"),u=parseInt(n.dragHandle[n.size]()/2,10)+1;v[n.size](q);n.dragHandle.css(n.position,q-u)}m(parseFloat(o.val(),10));var l=function(p){m(parseFloat(p.value,10))};o.bind({change:l,slide:l,"t:moveSelection":l})};k.slider.Drag=function(m){m.dragHandleSize=m.dragHandle[m.size]();f.extend(this,m);var l="";switch(m.type){case"leftHandle":l=".t-draghandle:first";break;case"rightHandle":l=".t-draghandle:last";break;default:l=".t-draghandle";break}new k.draggable({distance:0,owner:m.owner.wrapper[0],selector:l,scope:m.element.id,start:f.proxy(this.start,this),drag:f.proxy(this.drag,this),stop:f.proxy(this.stop,this)})};k.slider.Drag.prototype={start:function(o){if(!this.owner.enabled){return false}f(this.element).unbind("mouseover");this.val=parseFloat(f(this.element).val());this.dragableArea=k.slider.getDragableArea(this.owner.trackDiv,this.owner.maxSelection,this.orientation);this.step=Math.max(this.owner.smallStep*(this.owner.maxSelection/this.owner.distance),0);this.selectionStart=this.owner.selectionStart;this.selectionEnd=this.owner.selectionEnd;this.oldVal=this.val;this.format=this.owner.tooltip.format||"{0}";if(this.type){this.owner._setZIndex(this.type)}if(this.owner.tooltip.enabled){this.tooltipDiv=f("
        ").appendTo(document.body);if(this.type){var m=k.formatString(this.format,this.selectionStart),l=k.formatString(this.format,this.selectionEnd);this.tooltipDiv.html(m+" - "+l)}else{var n="t-callout-";if(this.orientation=="horizontal"){if(this.owner.tickPlacement=="topLeft"){n+="n"}else{n+="s"}}else{if(this.owner.tickPlacement=="topLeft"){n+="w"}else{n+="e"}}this.tooltipInnerDiv="
        ";this.tooltipDiv.html(k.formatString(this.owner.tooltip.format||"{0}",this.val)+this.tooltipInnerDiv)}this.moveTooltip(this.tooltipDiv)}},drag:function(n){if(this.orientation=="horizontal"){this.val=this.horizontalDrag(n)}else{this.val=this.verticalDrag(n)}if(this.oldVal!=this.val){this.oldVal=this.val;if(this.type){if(this.type=="leftHandle"){if(this.valthis.selectionStart){this.selectionEnd=this.val}else{this.selectionStart=this.selectionEnd=this.val}}k.trigger(this.element,"slide",{values:[this.selectionStart,this.selectionEnd]});if(this.owner.tooltip.enabled){var m=k.formatString(this.format,this.selectionStart),l=k.formatString(this.format,this.selectionEnd);this.tooltipDiv.html(m+" - "+l)}}else{k.trigger(this.element,"slide",{value:this.val});if(this.owner.tooltip.enabled){this.tooltipDiv.html(k.formatString(this.format,this.val)+this.tooltipInnerDiv)}}if(this.owner.tooltip.enabled){this.moveTooltip(this.tooltipDiv)}}},stop:function(l){if(l.keyCode==27){this.owner.refresh()}else{if(this.type){this.owner._update(this.selectionStart,this.selectionEnd)}else{this.owner._update(this.val)}}if(this.owner.tooltip.enabled){this.tooltipDiv.remove()}f(this.element).bind("mouseover");return false},moveTooltip:function(r){var q=0,o=0;if(this.type){var n=this.owner.wrapper.find(".t-draghandle"),m=n.eq(0).offset(),s=n.eq(1).offset();if(this.orientation=="horizontal"){q=s.top;o=m.left+((s.left-m.left)/2)}else{q=m.top+((s.top-m.top)/2);o=s.left}}else{var p=this.dragHandle.offset();q=p.top;o=p.left}var l=r[this.size]()/2;if(this.orientation=="horizontal"){o-=l;if(this.owner.tickPlacement!="topLeft"){q-=35}else{q+=33}}else{q-=l;if(this.owner.tickPlacement!="topLeft"){o-=r.width()+23}else{o+=31}}r.css({top:q,left:o})},horizontalDrag:function(l){var m=0;if(this.dragableArea.startPoint=this.dragableArea.endPoint){m=this.owner.maxValue}else{m=this.owner.minValue}}return m},verticalDrag:function(l){var m=0;if(this.dragableArea.startPoint>l.pageY&&l.pageY>this.dragableArea.endPoint){m=k.slider.getValueFromPosition(l.pageY,this.dragableArea,this.owner)}else{if(l.pageY<=this.dragableArea.endPoint){m=this.owner.maxValue}else{m=this.owner.minValue}}return m}};function b(m,l){var n=f(l),q=m.orientation=="horizontal"?" t-slider-horizontal":" t-slider-vertical",o;if(m.tickPlacement=="bottomRight"){o=" t-slider-bottomright"}else{if(m.tickPlacement=="topLeft"){o=" t-slider-topleft"}}var p=m.style?m.style:n.attr("style");return new k.stringBuilder().cat("
        ").cat("
        ").string()}function c(o,n){var m,l=o.orientation=="horizontal";if(n=="increase"){m=l?"t-arrow-next":"t-arrow-up"}else{m=l?"t-arrow-prev":"t-arrow-down"}return new k.stringBuilder().cat("").cat(o[n+"ButtonTitle"]).cat("").string()}function a(l){return new k.stringBuilder().cat("
          ").rep("
        •  
        • ",(Math.floor((l.distance/l.smallStep).toFixed(3),10)+1)).cat("
        ").string()}function e(l){var m=l.is("input")?1:2;return new k.stringBuilder().cat("
        ").cat("
        ").cat("Drag").catIf("Drag",m>1).cat("
        ").string()}function j(l,m){var n=f(l);n.val(m.val);n.wrap(b(m,l)).hide();if(m.showButtons){n.before(c(m,"increase")).before(c(m,"decrease"))}n.before(e(n))}f.fn.tSlider=function(l){return k.create(this,{name:"tSlider",init:function(m,n){return new k.slider(m,n)},options:l})};f.fn.tSlider.defaults={enabled:true,minValue:0,maxValue:10,val:0,smallStep:1,largeStep:5,showButtons:true,increaseButtonTitle:"Increase",decreaseButtonTitle:"Decrease",orientation:"horizontal",tickPlacement:"both",tooltip:{enabled:true,format:"{0}"}};k.rangeSlider=function(l,m){var n=f(l);this.element=l;m.distance=m.maxValue-m.minValue;f.extend(this,m);m.position=this.orientation=="horizontal"?"left":"bottom";m.size=this.orientation=="horizontal"?"width":"height";j(l,m);this.wrapper=n.closest(".t-slider");this.trackDiv=this.wrapper.find(".t-slider-track");k.slider.setTrackDivWidth(this.wrapper,m);this.maxSelection=this.trackDiv[m.size]();var o=this.maxSelection/((this.maxValue-this.minValue)/this.smallStep);if(m.tickPlacement!="none"&&o>=2){this.trackDiv.before(a(m));k.slider.setItemsWidth(this.wrapper,this.trackDiv,m);k.slider.setItemsTitle(this.wrapper,m);k.slider.setItemsLargeTick(this.wrapper,m)}else{this.pixelStepsArray=k.slider.getPixelSteps(this.trackDiv,m)}this._correctValues(this.selectionStart,this.selectionEnd);var q={element:l,type:"leftHandle",dragHandle:this.wrapper.find(".t-draghandle:first"),orientation:m.orientation,size:m.size,position:m.position,owner:this};new k.slider.Drag(q);new k.rangeSlider.Selection(q);var p={element:l,type:"rightHandle",dragHandle:this.wrapper.find(".t-draghandle:last"),orientation:m.orientation,size:m.size,position:m.position,owner:this};new k.slider.Drag(p);this[m.enabled?"enable":"disable"]();this.keyMap={37:g(m.smallStep),40:g(m.smallStep),39:h(m.smallStep),38:h(m.smallStep),35:d(m.maxValue),36:d(m.minValue),33:h(m.largeStep),34:g(m.largeStep)};k.bind(this,{slide:this.onSlide,change:this.onChange,load:this.onLoad})};k.rangeSlider.prototype={enable:function(){this.wrapper.removeAttr("disabled").removeClass("t-state-disabled").addClass("t-state-default");var l=f.proxy(function(p){var n=this.orientation=="horizontal"?p.pageX:p.pageY,m=k.slider.getDragableArea(this.trackDiv,this.maxSelection,this.orientation),o=k.slider.getValueFromPosition(n,m,this);if(othis.selectionEnd){this._setValueInRange(this.selectionStart,o)}else{if(o-this.selectionStart<=this.selectionEnd-o){this._setValueInRange(o,this.selectionEnd)}else{this._setValueInRange(this.selectionStart,o)}}}},this);this.wrapper.find(".t-tick").bind("click",l).end().find(".t-slider-track").bind("click",l);this.wrapper.find(".t-draghandle").eq(0).bind({keydown:f.proxy(function(m){this._keydown(m,true)},this)}).end().eq(1).bind({keydown:f.proxy(function(m){this._keydown(m,false)},this)});this.enabled=true},disable:function(){this.wrapper.attr("disabled","disabled").removeClass("t-state-default").addClass("t-state-disabled");this.wrapper.find(".t-tick").unbind("click").end().find(".t-slider-track").unbind("click");this.wrapper.find(".t-draghandle").unbind("keydown").bind("keydown",k.preventDefault);this.enabled=false},_keydown:function(o,l){var n=this.selectionStart,m=this.selectionEnd;if(o.keyCode in this.keyMap){if(l){n=this.keyMap[o.keyCode](n);if(n>m){m=n}}else{m=this.keyMap[o.keyCode](m);if(m=this.minValue&&m<=this.maxValue&&l>=this.minValue&&l<=this.maxValue&&m<=l){if(this.selectionStart!=m||this.selectionEnd!=l){f(this.element).find("input").eq(0).val(m).end().eq(1).val(l);this.selectionStart=m;this.selectionEnd=l;this.refresh()}}},refresh:function(){k.trigger(this.element,"t:moveSelection",{values:[this.selectionStart,this.selectionEnd]});if(this.selectionStart==this.maxValue&&this.slectionEnd==this.maxValue){this._setZIndex("leftHandle")}},_setValueInRange:function(l,m){l=Math.max(l,this.minValue);l=Math.min(l,this.maxValue);m=Math.max(m,this.minValue);m=Math.min(m,this.maxValue);if(this.selectionStart==this.maxValue&&this.slectionEnd==this.maxValue){this._setZIndex("leftHandle")}this._update(l,m)},_correctValues:function(m,l){if(m>=l){this._setValueInRange(l,m)}else{this._setValueInRange(m,l)}},_setZIndex:function(n){var p=this.wrapper.find(".t-draghandle"),l=p.eq(0),o=p.eq(1),m="z-index";if(n=="leftHandle"){l.css(m,"1");o.css(m,"")}else{l.css(m,"");o.css(m,"1")}}};k.rangeSlider.Selection=function(p){function o(s){var x=s[0]-p.owner.minValue,w=s[1]-p.owner.minValue,u=p.owner.wrapper.find(".t-slider-items"),t=0,v=0,r=0;if(u.length!=0){t=k.slider.fixDragHandlePosition(s[0],u,p);v=k.slider.fixDragHandlePosition(s[1],u,p)}else{while(x>0){x=parseFloat((x-p.owner.smallStep).toFixed(5),10);t+=p.owner.pixelStepsArray[r];r++}r=0;while(w>0){w=parseFloat((w-p.owner.smallStep).toFixed(5),10);v+=p.owner.pixelStepsArray[r];r++}}var q=p.owner.wrapper.find(".t-draghandle");var y=parseInt(q.eq(0)[p.size]()/2,10)+1;q.eq(0).css(p.position,t-y).end().eq(1).css(p.position,v-y);m(t,v)}function m(t,r){var s=0,u=0;if(t");f.ajax(this.ajaxOptions(k,{url:j||l.contentUrl}))}},resize:function(){var v=this.$element,C=v.children(":not(.t-splitbar)"),k=this.orientation=="horizontal",q=v.children(".t-splitbar").length,z=k?"width":"height",D=v[z]();if(q===0){q=C.length-1;for(var l=0;l")}return this};t.cat("
        ").catIconIf("t-collapse-prev",n.collapsible&&!n.collapsed).catIconIf("t-expand-prev",n.collapsible&&n.collapsed).catIconIf("t-resize-handle",s).catIconIf("t-collapse-next",o.collapsible&&!o.collapsed).catIconIf("t-expand-next",o.collapsible&&o.collapsed).cat("
        ");j.after(t.string())}}D-=h*q;var y=0,x=0,p=f();C.css({position:"absolute",top:0})[z](function(){var E=f(this).data("pane"),F;if(E.collapsed){F=0}else{if(c(E.size)){p=p.add(this);return}else{F=parseInt(E.size,10);if(b(E.size)){F=Math.floor(F*D/100)}}}x++;y+=F;return F});D-=y;var u=p.length,B=Math.floor(D/u);p.slice(0,u-1).css(z,B).end().eq(u-1).css(z,D-(u-1)*B);var w=0,r=k?"height":"width",m=k?"left":"top",A=k?"offsetWidth":"offsetHeight";v.children().css(r,v[r]()).each(function(E,F){F.style[m]=Math.floor(w)+"px";w+=F[A]})}};i.splitter.PaneResizing=function(j){this.owner=j;new i.draggable({distance:0,owner:j.element,selector:".t-splitbar-draggable-horizontal, .t-splitbar-draggable-vertical",scope:j.element.id,start:f.proxy(this.start,this),drag:f.proxy(this.drag,this),stop:f.proxy(this.stop,this)})};i.splitter.PaneResizing.prototype={start:function(x){var l=x.$draggable,o=l.prev(),p=l.next(),m=o.data("pane"),q=p.data("pane"),u=this.owner.orientation==="horizontal",y=u?"width":"height",z=u?"offsetWidth":"offsetHeight",s=u?"height":"width";this.positioningProperty=u?"left":"top";this.mousePositioningProperty=u?"pageX":"pageY";this.previousPane=o;this.nextPane=p;this.initialSplitBarPosition=parseInt(l[0].style[this.positioningProperty]);this.initialMousePosition=x[this.mousePositioningProperty];this.ghostSplitBar=f("
        ").css(s,x.$draggable[s]()).css(this.positioningProperty,this.initialSplitBarPosition).appendTo(this.owner.element);var A=parseInt(o[0].style[this.positioningProperty]),n=parseInt(p[0].style[this.positioningProperty])+p[0][z]-h,w=this.owner.$element.css(y),t=function(C){var B=parseInt(C,10);return(g(C)?B:(w*B)/100)||0},v=t(m.minSize),k=t(m.maxSize)||n-A,j=t(q.minSize),r=t(q.maxSize)||n-A;this.maxSize=Math.min(n-j,A+k);this.minSize=Math.max(A+v,n-r);f(document.body).css("cursor",l.css("cursor"))},drag:function(k){var j=Math.min(this.maxSize,Math.max(this.minSize,this.initialSplitBarPosition+(k[this.mousePositioningProperty]-this.initialMousePosition)));this.ghostSplitBar.toggleClass("t-restricted-size-"+this.owner.orientation,j==this.maxSize||j==this.minSize)[0].style[this.positioningProperty]=j+"px"},stop:function(r){if(r.keyCode!==27){var n=parseInt(this.ghostSplitBar[0].style[this.positioningProperty]),j=this.owner.orientation==="horizontal",p=j?"width":"height",o=j?"offsetWidth":"offsetHeight",k=this.previousPane.data("pane"),q=this.nextPane.data("pane"),l=n-parseInt(this.previousPane[0].style[this.positioningProperty]),t=parseInt(this.nextPane[0].style[this.positioningProperty])+this.nextPane[0][o]-n-h,m=this.owner.$element[p]();m-=h*this.owner.$element.children(".t-splitbar").length;var s=this.owner.$element.children(".t-pane").filter(function(){return c(f(this).data("pane").size)}).length;if(!c(k.size)||s>1){if(c(k.size)){s--}k.size=l+"px"}if(!c(q.size)||s>1){q.size=t+"px"}}this.ghostSplitBar.remove();if(r.keyCode!==27){this.owner.$element.trigger("resize")}f(document.body).css("cursor","");return false}};f.fn.tSplitter=function(j){return i.create(this,{name:"tSplitter",init:function(k,l){return new i.splitter(k,l)},options:j})};f.fn.tSplitter.defaults={orientation:"horizontal"}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.tabstrip.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.tabstrip.min.js deleted file mode 100644 index d6406d7a8..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.tabstrip.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(a){var b=a.telerik;b.tabstrip=function(c,d){this.element=c;var f=a(c);this.$contentElements=f.find("> .t-content");a.extend(this,d);if(this.contentUrls){f.find(".t-tabstrip-items > .t-item").each(a.proxy(function(i,j){a(j).find(".t-link").data("ContentUrl",this.contentUrls[i])},this))}var h=".t-tabstrip-items > .t-item:not(.t-state-disabled)";f.delegate(h,"mouseenter",b.hover).delegate(h,"mouseleave",b.leave).delegate(h,d.activateEvent,b.delegate(this,this._click)).delegate(".t-tabstrip-items > .t-state-disabled .t-link","click",b.preventDefault);b.bind(this,{select:a.proxy(function(i){if(i.target==this.element&&this.onSelect){this.onSelect(i)}},this),contentLoad:this.onContentLoad,error:this.onError,load:this.onLoad});var g=f.find("li.t-state-active"),e=a(this.getContentElement(g.parent().children().index(g)));if(e.length>0&&e[0].childNodes.length==0){this.activateTab(g.eq(0))}};a.extend(b.tabstrip.prototype,{select:function(c){a(c).each(a.proxy(function(e,f){var d=a(f);if(d.is(".t-state-disabled,.t-state-active")){return}this.activateTab(d)},this))},enable:function(c){a(c).addClass("t-state-default").removeClass("t-state-disabled")},disable:function(c){a(c).removeClass("t-state-default").removeClass("t-state-active").addClass("t-state-disabled")},reload:function(d){var c=this;a(d).each(function(){var f=a(this),e=f.find(".t-link").data("ContentUrl");if(e){c.ajaxRequest(f,a(c.getContentElement(f.index())),null,e)}})},_click:function(j,f){var h=a(f),c=h.find(".t-link"),d=c.attr("href"),g=a(this.getContentElement(h.index()));if(h.is(".t-state-disabled,.t-state-active")){j.preventDefault();return}if(b.trigger(this.element,"select",{item:h[0],contentElement:g[0]})){j.preventDefault()}var i=c.data("ContentUrl")||(d&&(d.charAt(d.length-1)=="#"||d.indexOf("#"+this.element.id+"-")!=-1));if(!d||i||(g.length>0&&g[0].childNodes.length==0)){j.preventDefault()}else{return}if(this.activateTab(h)){j.preventDefault()}},activateTab:function(d){var f=d.parent().children().removeClass("t-state-active").addClass("t-state-default").index(d);d.removeClass("t-state-default").addClass("t-state-active");var g=this.$contentElements;if(g.length==0){return false}var j=g.filter(".t-state-active");var e=a(this.getContentElement(f));var h=this;if(e.length==0){j.removeClass("t-state-active");b.fx.rewind(h.effects,j,{});return false}var c=e.is(":empty"),i=function(){e.addClass("t-state-active");b.fx.play(h.effects,e,{})};j.removeClass("t-state-active").stop(false,true);b.fx.rewind(h.effects,j,{},function(){if(d.hasClass("t-state-active")){if(!c){i()}else{h.ajaxRequest(d,e,function(){if(d.hasClass("t-state-active")){i()}})}}});return true},getSelectedTabIndex:function(){return a(this.element).find("li.t-state-active").index()},getContentElement:function(g){if(isNaN(g-0)){return}var c=this.$contentElements,e=new RegExp("-"+(g+1)+"$");for(var d=0,f=c.length;d').prependTo(d)},100);a.ajax({type:"GET",cache:false,url:g||d.data("ContentUrl")||d.attr("href"),dataType:"html",data:c,error:a.proxy(function(l,k){if(b.ajaxError(this.element,"error",l,k)){return}},this),complete:function(){clearTimeout(h);if(i!==null){i.remove()}},success:a.proxy(function(k,l){e.html(k);if(j){j.call(this,e)}b.trigger(this.element,"contentLoad",{item:f[0],contentElement:e[0]})},this)})}});a.fn.tTabStrip=function(c){return b.create(this,{name:"tTabStrip",init:function(d,e){return new b.tabstrip(d,e)},options:c})};a.fn.tTabStrip.defaults={activateEvent:"click",effects:b.fx.toggle.defaults()}})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.textbox.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.textbox.min.js deleted file mode 100644 index 4c0c2cb10..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.textbox.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(d){var i=d.telerik,a=[8,9,37,38,39,40,46,35,36,44],b=["font-family","font-size","font-stretch","font-style","font-weight","letter-spacing","line-height","color","text-align","text-decoration","text-indent","text-transform"];function f(l){var o={};for(var k=0,n=b.length;k
        '));if(this.showIncreaseButton){o.cat('Increment')}if(this.showDecreaseButton){o.cat('Decrement')}if(o.buffer.length>0){d(o.string()).insertAfter(l)}}this.$wrapper=l.closest(".t-numerictextbox").find(".t-arrow-up, .t-arrow-down").bind({click:i.preventDefault,dragstart:i.preventDefault}).end().bind({focusin:d.proxy(this._focus,this),focusout:d.proxy(this._blur,this)});this.enabled=!l.is("[disabled]");o.buffer=[];o.cat("[ |").cat(this.groupSeparator).catIf("|"+this.symbol,this.symbol).cat("]");this.replaceRegExp=new RegExp(o.string(),"g");var m=l.attr("value");o.buffer=[];o.cat('
        ').cat(m||(this.enabled?this.text:"")).cat("
        ");this.$text=d(o.string()).insertBefore(l).css(f(l)).click(function(p){j.focus()});this._blur();this[this.enabled?"enable":"disable"]();this.numFormat=this.numFormat===undefined?this.type.charAt(0):this.numFormat;var n=this.separator;this.step=this.parse(this.step,n);this.val=this.parse(this.val,n);this.minValue=this.parse(this.minValue,n);this.maxValue=this.parse(this.maxValue,n);this.decimals={"190":".","188":",","110":n};this.value(m||this.val);i.bind(this,{load:this.onLoad,valueChange:this.onChange})};i.textbox.prototype={_paste:function(n){var l=this.$element.val();if(d.browser.msie){var k=this.element.document.selection.createRange().text;var j=window.clipboardData.getData("Text");if(k&&k.length>0){l=l.replace(k,j)}else{l+=j}}if(l=="-"){return true}var m=this.parse(l,this.separator);if(m||m==0){this._update(m)}},_keydown:function(p){var m=p.keyCode,k=this.$element,o=this.separator,j=k.val();setTimeout(d.proxy(function(){k.toggleClass("t-state-error",!this.inRange(this.parse(k.val(),this.separator),this.minValue,this.maxValue))},this));var l=this.decimals[m];if(l){if(l==o&&this.digits>0&&j.indexOf(o)==-1){return true}else{p.preventDefault()}}if(m==8||m==46){setTimeout(d.proxy(function(){this._update(this.parse(k.val()))},this));return true}if(m==38||m==40){var n=m==38?1:-1;this._modify(n*this.step);return true}if(m==222){p.preventDefault()}},_keypress:function(l){var k=d(l.target),j=l.keyCode||l.which;if(l.shiftKey&&j!=45){return false}if(j==0||d.inArray(j,a)!=-1||l.ctrlKey||(l.shiftKey&&j==45)){return true}if(((this.minValue!==null?this.minValue<0:true)&&String.fromCharCode(j)=="-"&&i.caretPos(k[0])==0&&k.val().indexOf("-")==-1)||this.inRange(j,48,57)){setTimeout(d.proxy(function(){var m=this.parse(k.val());if(m!=null&&this.digits){var n=Math.pow(10,this.digits);m=parseInt(m*n)/n}if(this.val!=m){if(i.trigger(this.element,"valueChange",{oldValue:this.val,newValue:m})){m=this.val}this._value(m)}},this));return true}l.preventDefault()},_focus:function(){this.$element.css("color",this.$text.css("color"));this.$text.hide()},_blur:function(){this.$element.css("color",this.$element.css("background-color")).removeClass("t-state-error");if(this.enabled){this.$text.show()}var j=this.minValue,l=this.maxValue,k=this.parse(this.$element.val());if(k!=null){if(j!=null&&kl){k=l}}k=parseFloat(k.toFixed(this.digits))}this._update(k)},_clearTimer:function(j){clearTimeout(this.timeout);clearInterval(this.timer);clearInterval(this.acceleration)},_stepper:function(l,j){if(l.which==1){var k=this.step;this._modify(j*k);this.timeout=setTimeout(d.proxy(function(){this.timer=setInterval(d.proxy(function(){this._modify(j*k)},this),80);this.acceleration=setInterval(function(){k+=1},1000)},this),200)}},_modify:function(m){var j=this.parse(this.element.value),k=this.minValue,l=this.maxValue;j=j?j+m:m;if(k!==null&&jl){j=l}}this._update(parseFloat(j.toFixed(this.digits)))},_update:function(j){if(this.val!=j){if(i.trigger(this.element,"valueChange",{oldValue:this.val,newValue:j})){j=this.val}}this._value(j)},_value:function(j){var l=(typeof j==="number")?j:this.parse(j,this.separator),m=this.enabled?this.text:"",k=l===null;if(l!=null){l=parseFloat(l.toFixed(this.digits))}this.val=l;this.$element.val(k?"":this.formatEdit(l));this.$text.html(k?m:this.format(l));if(k){this.$text.addClass("t-state-empty")}else{this.$text.removeClass("t-state-empty")}},enable:function(){var j=this.$wrapper.find(".t-arrow-up, .t-arrow-down"),k=d.proxy(this._clearTimer,this);this.enabled=true;this.$element.removeAttr("disabled");if(!this.val&&this.val!=0){this.$text.addClass("t-state-empty").html(this.text)}else{if(true==d.browser.msie){this.$text.show()}else{this.$element.css("color",this.$element.css("background-color"))}}this.$wrapper.removeClass("t-state-disabled");j.unbind("mouseup").unbind("mouseout").unbind("dblclick").bind({mouseup:k,mouseout:k,dblclick:k});var l="mousedown";j.eq(0).unbind(l).bind(l,d.proxy(function(m){this._stepper(m,1)},this));j.eq(1).unbind(l).bind(l,d.proxy(function(m){this._stepper(m,-1)},this))},disable:function(){this.enabled=false;this.$wrapper.addClass("t-state-disabled").find(".t-icon").unbind("mousedown").bind("mousedown",i.preventDefault);this.$element.attr("disabled","disabled");if(!this.val&&this.val!=0){this.$text.html("")}else{if(true==d.browser.msie){this.$text.hide()}else{this.$element.css("color",this.$element.css("background-color"))}}},value:function(k){if(k===undefined){return this.val}var j=(typeof k==="number")?k:this.parse(k,this.separator);if(!this.inRange(j,this.minValue,this.maxValue)){j=null}this._value(j)},formatEdit:function(k){var j=this.separator;if(k&&j!="."){k=k.toString().replace(".",j)}return k},format:function(j){return i.textbox.formatNumber(j,this.numFormat,this.digits,this.separator,this.groupSeparator,this.groupSize,this.positive,this.negative,this.symbol,true)},inRange:function(l,j,k){return l===null||((j!==null?l>=j:true)&&(k!==null?l<=k:true))},parse:function(j,l){var k=null;if(j||j=="0"){if(typeof j==typeof 1){return j}j=j.replace(this.replaceRegExp,"");if(l&&l!="."){j=j.replace(l,".")}var n=d.fn.tTextBox.patterns[this.type].negative[this.negative].replace(/(\(|\))/g,"\\$1").replace("*","").replace("n","([\\d|\\.]*)"),m=new RegExp(n);if(m.test(j)){k=-parseFloat(m.exec(j)[1])}else{k=parseFloat(j)}}return isNaN(k)?null:k}};d.fn.tTextBox=function(l){var k="numeric";if(l&&l.type){k=l.type}var j=d.fn.tTextBox.defaults[k];j.digits=i.cultureInfo[k+"decimaldigits"];j.separator=i.cultureInfo[k+"decimalseparator"];j.groupSeparator=i.cultureInfo[k+"groupseparator"];j.groupSize=i.cultureInfo[k+"groupsize"];j.positive=i.cultureInfo[k+"positive"];j.negative=i.cultureInfo[k+"negative"];j.symbol=i.cultureInfo[k+"symbol"];l=d.extend({},j,l);l.type=k;return this.each(function(){var m=d(this);l=d.meta?d.extend({},l,m.data()):l;if(!m.data("tTextBox")){m.data("tTextBox",new i.textbox(this,l));i.trigger(this,"load")}})};var c={val:null,text:"",step:1,inputAttributes:"",increaseButtonTitle:"Increase value",decreaseButtonTitle:"Decrease value",showIncreaseButton:true,showDecreaseButton:true};d.fn.tTextBox.defaults={numeric:d.extend(c,{minValue:-100,maxValue:100}),currency:d.extend(c,{minValue:0,maxValue:1000}),percent:d.extend(c,{minValue:0,maxValue:100})};d.fn.tTextBox.patterns={numeric:{negative:["(n)","-n","- n","n-","n -"]},currency:{positive:["*n","n*","* n","n *"],negative:["(*n)","-*n","*-n","*n-","(n*)","-n*","n-*","n*-","-n *","-* n","n *-","* n-","* -n","n- *","(* n)","(n *)"]},percent:{positive:["n *","n*","*n"],negative:["-n *","-n*","-*n"]}};if(!i.cultureInfo.numericnegative){d.extend(i.cultureInfo,{currencydecimaldigits:2,currencydecimalseparator:".",currencygroupseparator:",",currencygroupsize:3,currencynegative:0,currencypositive:0,currencysymbol:"$",numericdecimaldigits:2,numericdecimalseparator:".",numericgroupseparator:",",numericgroupsize:3,numericnegative:1,percentdecimaldigits:2,percentdecimalseparator:".",percentgroupseparator:",",percentgroupsize:3,percentnegative:0,percentpositive:0,percentsymbol:"%"})}var h=/[0#?]/;function g(j){return j.split("").reverse().join("")}function e(o,k,r){var l=0,m=0,q=k.length,s=o.length,v=new i.stringBuilder();while(l=0){if(k.charAt(l).match(h)){v.cat(o.charAt(m++))}else{v.cat(k.charAt(l))}l++}v.catIf(o.substring(m),m-1){t=u.indexOf("0")}if(t>-1){var n=u.slice(0,t),p=u.slice(t,u.length);u=n.replace(/#/g,"")+p.replace(/#/g,"0")}else{u=u.replace(/#/g,"")}if(u.indexOf(",")==0){u=u.replace(/,/g,"")}return r?u:g(u)}i.textbox.formatNumber=function(M,p,u,w,k,S,q,s,O,H){if(!p){return M}var R,I,N,o,L=M<0;p=p.split(":");p=p.length>1?p[1].replace("}",""):p[0];var n=p.search(h)!=-1;if(n){p=p.split(";");I=p[0];N=p[1];o=p[2];p=(L&&N?N:I).indexOf("%")!=-1?"p":"n"}switch(p.toLowerCase()){case"d":return Math.round(M).toString();case"c":R="currency";break;case"n":R="numeric";break;case"p":R="percent";if(!H){M=Math.abs(M)*100}break;default:return M.toString()}var B=function(V,T,U){for(var W=V.length;W1?E[1]:"",j=i.lastIndexOf(C,"0"),z=i.lastIndexOf(C,"#");u=(z>j?z:j)+1}var D=Math.pow(10,u);var P=(Math.round(M*D)/D);M=isFinite(P)?P:M;var x=M.toString().split(/e/i);A=x.length>1?parseInt(x[1]):0;x=x[0].split(".");l=x[0];l=L?l.replace("-",""):l;t=x.length>1?x[1]:"";if(A){if(!L){t=B(t,A,false);l+=t.slice(0,A);t=t.substr(A)}else{l=B(l,A+1,true);t=l.slice(A,l.length)+t;l=l.slice(0,A)}}var Q=t.length;if(u<1||(n&&j==-1&&Q===0)){t=""}else{t=Q>u?t.slice(0,u):B(t,u,false)}var m;if(n){if(l==0){l=""}l=e(g(l),g(y),true);l=y.indexOf(",")!=-1?K(l,k,S):l;t=t&&C?e(t,C):"";m=M===0&&o?o:(L&&!N?"-":"")+l+(t.length>0?w+t:"")}else{l=K(l,k,S);J=J[R];var v=L?J.negative[s]:O?J.positive[q]:null;var r=l+(t.length>0?w+t:"");m=v?v.replace("n",r).replace("*",O):r}return m};d.extend(i.formatters,{number:i.textbox.formatNumber})})(jQuery); \ No newline at end of file diff --git a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.treeview.min.js b/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.treeview.min.js deleted file mode 100644 index 0243be270..000000000 --- a/packages/TelerikMvcExtensions.2011.1.315/content/Scripts/2011.1.315/telerik.treeview.min.js +++ /dev/null @@ -1 +0,0 @@ -(function(c){var b=c.telerik;function a(d){d.find(".t-plus").each(function(){var e=c(this.parentNode);e.parent().data("loaded",e.next(".t-group").length>0)})}b.treeview=function(f,g){this.element=f;var h=c(f);c.extend(this,g);var d=".t-in:not(.t-state-selected,.t-state-disabled)";c(".t-in.t-state-selected",f).live("mouseenter",b.preventDefault);h.delegate(d,"mouseenter",b.hover).delegate(d,"mouseleave",b.leave).delegate(d,"click",b.delegate(this,this.nodeSelect)).delegate("div:not(.t-state-disabled) .t-in","dblclick",b.delegate(this,this.nodeClick)).delegate(":checkbox","click",b.delegate(this,this.checkboxClick)).delegate(".t-plus, .t-minus","click",b.delegate(this,this.nodeClick));if(this.isAjax()){a(h)}if(this.dragAndDrop){b.bind(this,{nodeDragStart:this.onNodeDragStart,nodeDragging:this.onNodeDragging,nodeDragCancelled:this.onNodeDragCancelled,nodeDrop:this.onNodeDrop,nodeDropped:this.onNodeDropped});(function(k){var i=c('
        ');var n;function j(o){if(b.trigger(k.element,"nodeDragStart",{item:o.$draggable.closest(".t-item")[0]})){return false}i.appendTo(k.element)}function l(w){var r;n=c(w.target);b.trigger(k.element,"nodeDragging",{pageY:w.pageY,pageX:w.pageX,dropTarget:w.target,setStatusClass:function(z){r=z},item:w.$draggable.closest(".t-item")[0]});if(r){i.css("visibility","hidden");b.dragCueStatus(w.$cue,r);return}r="t-insert-middle";if(k.dragAndDrop.dropTargets&&c(w.target).closest(k.dragAndDrop.dropTargets).length>0){b.dragCueStatus(w.$cue,"t-add");return}if(!c.contains(k.element,w.target)){i.css("visibility","hidden");return}else{if(c.contains(w.$draggable.closest(".t-item")[0],w.target)){i.css("visibility","hidden");b.dragCueStatus(w.$cue,"t-denied");return}}i.css("visibility","visible");var q=n.closest(".t-top,.t-mid,.t-bot");if(q.length>0){var v=q.outerHeight();var t=q.offset().top;var y=n.closest(".t-in");var x=v/(y.length>0?4:2);var u=w.pageY<(t+x);var o=(t+v-x)0&&!u&&!o;y.toggleClass("t-state-hover",p);i.css("visibility",p?"hidden":"visible");if(p){r="t-add"}else{var s=q.position();s.top+=u?0:v;i.css(s)[u?"prependTo":"appendTo"](n.closest(".t-item").find("> div:first"));r="t-insert-middle";if(u&&q.hasClass("t-top")){r="t-insert-top"}if(o&&q.hasClass("t-bot")){r="t-insert-bottom"}}}b.dragCueStatus(w.$cue,r)}function m(v){if(v.keyCode==27){b.trigger(k.element,"nodeDragCancelled",{item:v.$draggable.closest(".t-item")[0]})}else{var q="over",p;if(i.css("visibility")=="visible"){q=i.prevAll(".t-in").length>0?"after":"before";p=i.closest(".t-item").find("> div")}else{if(n){p=n.closest(".t-top,.t-mid,.t-bot")}}var r=b.trigger(k.element,"nodeDrop",{isValid:!v.$cue.find(".t-drag-status").hasClass("t-denied"),dropTarget:v.target,destinationItem:p.parent()[0],dropPosition:q,item:v.$draggable.closest(".t-item")[0]});if(r||!c.contains(k.element,v.target)){return !r}var t=v.$draggable.closest(".t-top,.t-mid,.t-bot");var u=t.parent();var x=t.closest(".t-group");if(c.contains(u[0],v.target)){return false}if(u.hasClass("t-last")){u.removeClass("t-last").prev().addClass("t-last").find("> div").removeClass("t-top t-mid").addClass("t-bot")}if(i.css("visibility")=="visible"){p.parent()[q](u)}else{var o=p.next(".t-group");if(o.length===0){o=c('
          ').appendTo(p.parent());if(!k.isAjax()){p.prepend('')}else{o.hide();k.nodeToggle(null,p.parent(),true);o.show()}}o.append(u);if(p.find("> .t-icon").hasClass("t-plus")){k.nodeToggle(null,p.parent(),true)}}var s=u.parents(".t-group").length;function w(z){var A=z.prev().length===0;var y=z.next().length===0;z.toggleClass("t-first",A&&s===1).toggleClass("t-last",y).find("> div").toggleClass("t-top",A&&!y).toggleClass("t-mid",!A&&!y).toggleClass("t-bot",y)}w(u);w(u.prev());w(u.next());if(x.children().length===0){x.prev("div").find(".t-plus,.t-minus").remove();x.remove()}b.trigger(k.element,"nodeDropped",{destinationItem:p.closest(".t-item")[0],dropPosition:q,item:t.parent(".t-item")[0]});return false}}new b.draggable({owner:k.element,selector:"div:not(.t-state-disabled) .t-in",scope:k.element.id,cue:function(o){return b.dragCue(o.$draggable.text())},start:j,drag:l,stop:m,destroy:function(o){i.remove();o.$cue.remove()}})})(this)}var e=h.find(".t-item > .t-content");if(e.length>0&&c(e[0]).children().length==0){h.find(".t-icon").hide()}b.bind(this,{expand:this.onExpand,collapse:this.onCollapse,select:c.proxy(function(i){if(i.target==this.element&&this.onSelect){this.onSelect(i)}},this),checked:this.onChecked,error:this.onError,load:this.onLoad,dataBinding:this.onDataBinding,dataBound:this.onDataBound})};b.treeview.prototype={expand:function(d){c(d,this.element).each(c.proxy(function(g,h){var f=c(h);var e=f.find("> .t-group, > .t-content");if((e.length>0&&!e.is(":visible"))||this.isAjax()){this.nodeToggle(null,f)}},this))},collapse:function(d){c(d,this.element).each(c.proxy(function(g,h){var f=c(h),e=f.find("> .t-group, > .t-content");if(e.length>0&&e.is(":visible")){this.nodeToggle(null,f)}},this))},enable:function(d){this.toggle(d,true)},disable:function(d){this.toggle(d,false)},toggle:function(e,d){c(e,this.element).each(c.proxy(function(g,h){var f=c(h),i=!f.find("> .t-group, > .t-content").is(":visible");if(!d){this.collapse(f);i=true}f.find("> div > .t-in").toggleClass("t-state-default",d).toggleClass("t-state-disabled",!d).end().find("> div > .t-checkbox > :checkbox").attr("disabled",d?"":"disabled").end().find("> div > .t-icon").toggleClass("t-plus",i&&d).toggleClass("t-plus-disabled",i&&!d).toggleClass("t-minus",!i&&d).toggleClass("t-minus-disabled",!i&&!d)},this))},reload:function(e){var d=this;c(e).each(function(){var f=c(this);f.find(".t-group").remove();d.ajaxRequest(f)})},shouldNavigate:function(e){var d=c(e).closest(".t-item").find("> .t-content, > .t-group");var f=c(e).attr("href");return !((f&&(f.charAt(f.length-1)=="#"||f.indexOf("#"+this.element.id+"-")!=-1))||(d.length>0&&d.children().length==0))},nodeSelect:function(g,f){if(!this.shouldNavigate(f)){g.preventDefault()}var d=c(f);if(!d.hasClass(".t-state-selected")&&!b.trigger(this.element,"select",{item:d.closest(".t-item")[0]})){c(".t-in",this.element).removeClass("t-state-hover t-state-selected");d.addClass("t-state-selected")}},nodeToggle:function(i,f,h){if(f.find(".t-minus").length==0&&f.find(".t-plus").length==0){return}if(i!=null){i.preventDefault()}if(f.data("animating")||f.find("> div > .t-in").hasClass("t-state-disabled")){return}f.data("animating",!h);var d=f.find(">.t-group, >.t-content, >.t-animation-container>.t-group, >.t-animation-container>.t-content"),g=!d.is(":visible");if(d.children().length>0&&f.data("loaded")!==false&&!b.trigger(this.element,g?"expand":"collapse",{item:f[0]})){f.find("> div > .t-icon").toggleClass("t-minus",g).toggleClass("t-plus",!g);if(!h){b.fx[g?"play":"rewind"](this.effects,d,{direction:"bottom"},function(){f.data("animating",false)})}else{d[g?"show":"hide"]()}}else{if(g&&this.isAjax()&&(d.length==0||f.data("loaded")===false)){if(!b.trigger(this.element,g?"expand":"collapse",{item:f[0]})){this.ajaxRequest(f)}}}},nodeClick:function(h,g){var f=c(g),d=f.closest(".t-item");if(f.hasClass("t-plus-disabled")||f.hasClass("t-minus-disabled")){return}this.nodeToggle(h,d)},isAjax:function(){return this.ajax||this.ws||this.onDataBinding},url:function(d){return(this.ajax||this.ws)[d]},ajaxOptions:function(e,h){var f={type:"POST",dataType:"text",error:c.proxy(function(j,i){if(b.ajaxError(this.element,"error",j,i)){return}if(i=="parsererror"){alert("Error! The requested URL did not return JSON.")}},this),success:c.proxy(function(i){i=eval("("+i+")");i=i.d||i;this.dataBind(e,i)},this)};f=c.extend(f,h);var g=this.ws?f.data.node={}:f.data;if(e.hasClass("t-item")){g[this.queryString.value]=this.getItemValue(e);g[this.queryString.text]=this.getItemText(e);var d=e.find(".t-checkbox:first :checkbox");if(d.length){g[this.queryString.checked]=d.is(":checked")}}if(this.ws){f.data=b.toJson(f.data);f.contentType="application/json; charset=utf-8"}return f},ajaxRequest:function(f){f=f||c(this.element);var d={item:f[0]};if(b.trigger(this.element,"dataBinding",d)||(!this.ajax&&!this.ws)){return}f.data("loadingIconTimeout",setTimeout(function(){f.find("> div > .t-icon").addClass("t-loading")},100));c.ajax(this.ajaxOptions(f,{data:c.extend({},d.data),url:this.url("selectUrl")}))},bindTo:function(d){this.dataBind(this.element,d)},dataBind:function(d,h){d=c(d);if(h.length==0){c(".t-icon",d).hide();return}var g=new b.stringBuilder(),e=d.find("> .t-group"),f=e.length==0;b.treeview.getGroupHtml({data:h,html:g,isAjax:this.isAjax(),isFirstLevel:d.hasClass("t-treeview"),showCheckBoxes:this.showCheckBox,groupLevel:d.find('> div > .t-checkbox :input[name="'+this.element.id+'_checkedNodes.Index"]').val(),isExpanded:(f?d.eq(0).is(".t-treeview")?true:h[0].Expanded:false),renderGroup:f,elementId:this.element.id});d.data("animating",true);if(e.length>0&&d.data("loaded")===false){c(g.string()).prependTo(e)}else{if(e.length>0&&d.data("loaded")!==false){e.html(g.string())}else{if(e.length==0){e=c(g.string()).appendTo(d)}}}b.fx.play(this.effects,e,{direction:"bottom"},function(){d.data("animating",false)});clearTimeout(d.data("loadingIconTimeout"));if(d.hasClass("t-item")){d.data("loaded",true).find(".t-icon:first").removeClass("t-loading").removeClass("t-plus").addClass("t-minus")}if(this.isAjax()){a(d)}b.trigger(this.element,"dataBound")},checkboxClick:function(h,f){var d=c(f).is(":checked");var g=b.trigger(this.element,"checked",{item:c(f).closest(".t-item")[0],checked:d});if(!g){this.nodeCheck(f,d)}else{h.preventDefault()}return g},nodeCheck:function(e,d){c(e,this.element).each(c.proxy(function(h,i){var f=c(i).closest(".t-item"),g=c("> div > .t-checkbox",f),j=this.element.id+"_checkedNodes",h=g.find(':input[name="'+j+'.Index"]').val();g.find(':input[name="'+j+"["+h+'].Text"]').remove();g.find(':input[name="'+j+"["+h+'].Value"]').remove();g.find(":checkbox").attr({checked:d?"checked":"",value:d});if(d){c(b.treeview.getNodeInputsHtml(this.getItemValue(f),this.getItemText(f),j,h)).appendTo(g)}},this))},getItemText:function(d){return c(d).find("> div > .t-in").text()},getItemValue:function(d){return c(d).find('>div>:input[name="itemValue"]').val()||this.getItemText(d)}};c.extend(b.treeview,{getNodeInputsHtml:function(g,e,f,d){return new b.stringBuilder().cat('').cat('').string()},getItemHtml:function(e){var m=e.item,h=e.html,i=e.isFirstLevel,f=e.groupLevel,g=e.itemIndex,d=e.itemsCount,l=new b.stringBuilder().cat(f).catIf(":",f).cat(g).string();h.cat('
        • ').cat('
          ');if((e.isAjax&&m.LoadOnDemand)||(m.Items&&m.Items.length>0)){h.cat('')}if(e.showCheckBoxes&&m.Checkable!==false){var j=e.elementId+"_checkedNodes";h.cat('').cat('').cat('");if(m.Checked){h.cat(b.treeview.getNodeInputsHtml(m.Value,m.Text,j,l))}h.cat("")}var k=m.NavigateUrl||m.Url;h.cat(k?'');if(m.ImageUrl!=null){h.cat('')}if(m.SpriteCssClasses!=null){h.cat('')}h.catIf(m.Text,m.Encoded===false).catIf(m.Text.replace(//g,">"),m.Encoded!==false).cat(k?"":"");if(m.Value){h.cat('')}h.cat("
          ");if(m.Items&&m.Items.length>0){b.treeview.getGroupHtml({data:m.Items,html:h,isAjax:e.isAjax,isFirstLevel:false,showCheckBoxes:e.showCheckBoxes,groupLevel:l,isExpanded:m.Expanded,elementId:e.elementId})}h.cat("
        • ")},getGroupHtml:function(e){var d=e.data;var g=e.html;var j=e.isFirstLevel;var k=e.renderGroup;if(k!==false){g.cat('