Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

107 строки
2.5 KiB

  1. #pragma warning disable 1591
  2. //------------------------------------------------------------------------------
  3. // <auto-generated>
  4. // This code was generated by a tool.
  5. // Runtime Version:4.0.30319.42000
  6. //
  7. // Changes to this file may cause incorrect behavior and will be lost if
  8. // the code is regenerated.
  9. // </auto-generated>
  10. //------------------------------------------------------------------------------
  11. namespace DotNetCore.CAP.Dashboard.Pages
  12. {
  13. using System;
  14. using System.Collections.Generic;
  15. using System.Linq;
  16. using System.Text;
  17. #line 2 "..\..\Pages\_PerPageSelector.cshtml"
  18. using DotNetCore.CAP.Dashboard.Resources;
  19. #line default
  20. #line hidden
  21. [System.CodeDom.Compiler.GeneratedCodeAttribute("RazorGenerator", "2.0.0.0")]
  22. internal partial class PerPageSelector : DotNetCore.CAP.Dashboard.RazorPage
  23. {
  24. #line hidden
  25. public override void Execute()
  26. {
  27. WriteLiteral("\r\n");
  28. WriteLiteral("\r\n<div class=\"btn-group pull-right paginator\">\r\n");
  29. #line 6 "..\..\Pages\_PerPageSelector.cshtml"
  30. foreach (var count in new[] {10, 20, 50, 100, 500})
  31. {
  32. #line default
  33. #line hidden
  34. WriteLiteral(" <a class=\"btn btn-sm btn-default ");
  35. #line 8 "..\..\Pages\_PerPageSelector.cshtml"
  36. Write(count == _pager.RecordsPerPage ? "active" : null);
  37. #line default
  38. #line hidden
  39. WriteLiteral("\"\r\n href=\"");
  40. #line 9 "..\..\Pages\_PerPageSelector.cshtml"
  41. Write(_pager.RecordsPerPageUrl(count));
  42. #line default
  43. #line hidden
  44. WriteLiteral("\">\r\n ");
  45. #line 10 "..\..\Pages\_PerPageSelector.cshtml"
  46. Write(count);
  47. #line default
  48. #line hidden
  49. WriteLiteral("</a>\r\n");
  50. #line 11 "..\..\Pages\_PerPageSelector.cshtml"
  51. }
  52. #line default
  53. #line hidden
  54. WriteLiteral("</div>\r\n<div class=\"btn-toolbar-spacer pull-right\"></div>\r\n<div class=\"btn-toolba" +
  55. "r-label btn-toolbar-label-sm pull-right\">\r\n ");
  56. #line 15 "..\..\Pages\_PerPageSelector.cshtml"
  57. Write(Strings.PerPageSelector_ItemsPerPage);
  58. #line default
  59. #line hidden
  60. WriteLiteral(":\r\n</div>");
  61. }
  62. }
  63. }
  64. #pragma warning restore 1591