25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

96 lines
4.4KB

  1. <h2><%= H(Model.Title) %></h2>
  2. <div class="row">
  3. <div class="col-md-8 col-sm-8 col-xs-12">
  4. <%= H(Model.RecordCount) %> Kit found. Showing <%= H(Model.PageSize) %> records per page.
  5. <%= HTML.LinkToExt("<i class='bi bi-plus-square-fill'></i> New","Kit", "Create", empty, Array("class", "btn btn-xs btn-primary")) %>
  6. </div>
  7. <div class="col-md-4 col-sm-4 col-xs-12">
  8. <%= HTML.FormTag("Kit", "Search", empty, empty) %>
  9. <div class="col-md-10 col-sm-10 col-xs-12">
  10. <label class="sr-only" for="search">Search</label>
  11. <div class="input-group">
  12. <input type="text" class="form-control input-search" value='<%= Choice(Request.Form.Count = 0,Request.QueryString("q"),Request.Form("q")) %>' name="q" id="search" placeholder="Search">
  13. <span class="input-group-addon group-icon"><span class="glyphicon glyphicon-eye-open"></span>
  14. <button type="submit" class="btn btn-success"><i class="bi bi-search"></i>Search</buttton>
  15. </div>
  16. </div>
  17. </form>
  18. </div>
  19. </div>
  20. <table id="Kit" class="table table-striped">
  21. <thead>
  22. <tr>
  23. <th></th>
  24. <th style="text-align: left">ID</th>
  25. <th style="text-align: left">JobNumber</th>
  26. <th style="text-align: left">Jcode</th>
  27. <th style="text-align: left">CreatedOn</th>
  28. <th style="text-align: left">LabelsPrinted</th>
  29. <th style="text-align: left">ExportedToSnailWorks</th>
  30. <th style="text-align: left">InkJetJob</th>
  31. <th style="text-align: left">JobType</th>
  32. <th style="text-align: left">Filename</th>
  33. <th style="text-align: left">Cass</th>
  34. <th style="text-align: left">Status</th>
  35. <th style="text-align: left">OutboundSTID</th>
  36. <th style="text-align: left">InboundSTID</th>
  37. <th style="text-align: left">Office Copies Amount</th>
  38. <th></th>
  39. </tr>
  40. </thead>
  41. <tbody>
  42. <% dim it : set it = Model.Kit.Iterator %>
  43. <% dim Kit %>
  44. <% While it.HasNext %>
  45. <% set Kit = it.GetNext() %>
  46. <tr>
  47. <td>
  48. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "Kit", "Edit", Array("Id", Kit.ID), Array("class", "btn btn-primary")) %>
  49. </td>
  50. <td><% = H(Kit.ID) %></td>
  51. <td><% = H(Kit.JobNumber) %></td>
  52. <td><% = H(Kit.Jcode) %></td>
  53. <td><% = H(Kit.CreatedOn) %></td>
  54. <td><% = H(Kit.LabelsPrinted) %></td>
  55. <td><% = H(Kit.ExportedToSnailWorks) %></td>
  56. <td><% = H(Kit.InkJetJob) %></td>
  57. <td><% = H(Kit.JobType) %></td>
  58. <td><% = H(Kit.Filename) %></td>
  59. <td><% = H(Kit.Cass) %></td>
  60. <td><% = H(Kit.Status) %></td>
  61. <td><% = H(Kit.OutboundSTID) %></td>
  62. <td><% = H(Kit.InboundSTID) %></td>
  63. <td><% = H(Kit.OfficeCopiesAmount) %></td>
  64. </tr>
  65. <% Wend %>
  66. </tbody>
  67. </table>
  68. <div>
  69. <% If Model.CurrentPageNumber <> 1 then %>
  70. <%= HTML.LinkToExt("<i class='bi bi-chevron-left'></i><i class='bi bi-chevron-left'></i>", MVC.ControllerName, MVC.ActionName, Array("page_num", 1,"q", Choice(Request.Form.Count = 0,Request.QueryString("q"),Request.Form("q"))), Array("class", "btn btn-default")) %>
  71. &nbsp;
  72. <%= HTML.LinkToExt("<i class='bi bi-chevron-left'></i>", MVC.ControllerName, MVC.ActionName, Array("page_num", Model.CurrentPageNumber - 1,"q", Choice(Request.Form.Count = 0,Request.QueryString("q"),Request.Form("q"))), Array("class", "btn btn-default")) %>
  73. &nbsp;
  74. <% Else %>
  75. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i><i class='bi bi-chevron-left'></i></a>
  76. &nbsp;
  77. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i></a>
  78. &nbsp;
  79. <% End If %>
  80. <% If CInt(Model.CurrentPageNumber) < CInt(Model.PageCount) then %>
  81. <%= HTML.LinkToExt("<i class='bi bi-chevron-right'></i>", MVC.ControllerName, MVC.ActionName, Array("page_num", Model.CurrentPageNumber + 1,"q", Choice(Request.Form.Count = 0,Request.QueryString("q"),Request.Form("q"))), Array("class", "btn btn-default")) %>
  82. &nbsp;
  83. <%= HTML.LinkToExt("<i class='bi bi-chevron-right'></i><i class='bi bi-chevron-right'></i>", MVC.ControllerName, MVC.ActionName, Array("page_num", Model.PageCount,"q", Choice(Request.Form.Count = 0,Request.QueryString("q"),Request.Form("q"))), Array("class", "btn btn-default")) %>
  84. &nbsp;
  85. <% Else %>
  86. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i><i class='bi bi-chevron-right'></i></a>
  87. &nbsp;
  88. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i></a>
  89. &nbsp;
  90. <% End If %>
  91. </div>
  92. </div>

Powered by TurnKey Linux.