您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

90 行
4.2KB

  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">Job Number</th>
  25. <th style="text-align: left">Jurisdiction</th>
  26. <th style="text-align: left">Number of Labels</th>
  27. <th style="text-align: left">Created On</th>
  28. <th style="text-align: left">SnailWorks Export Date</th>
  29. <th style="text-align: left">Inkjet File Created</th>
  30. <th style="text-align: left">Import File</th>
  31. <th style="text-align: left">Has Been Cassed</th>
  32. <th style="text-align: left">Status</th>
  33. <th style="text-align: left">Outbound STID</th>
  34. <th style="text-align: left">Inbound STID</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. <% dim it : set it = Model.Kit.Iterator %>
  39. <% dim Kit %>
  40. <% While it.HasNext %>
  41. <% set Kit = it.GetNext() %>
  42. <tr>
  43. <td>
  44. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "Kit", "SwitchBoardPurpleEnvelopeEdit", Array("Id", Kit.ID), Array("class", "btn btn-primary")) %>
  45. </td>
  46. <td><% = H(Kit.JobNumber) %></td>
  47. <td><% = H(Kit.Jurisdiction) %></td>
  48. <td><% = H(Kit.LabelCount) %></td>
  49. <td><% = H(Kit.CreatedOn) %></td>
  50. <td><% = H(Kit.ExportedToSnailWorks) %></td>
  51. <td><% = H(Kit.InkJetJob) %></td>
  52. <td><% = H(Kit.Filename) %></td>
  53. <td><% = H(Kit.Cass) %></td>
  54. <td><% = H(Kit.Status) %></td>
  55. <td><% = H(Kit.OutboundSTID) %></td>
  56. <td><% = H(Kit.InboundSTID) %></td>
  57. </tr>
  58. <% Wend %>
  59. </tbody>
  60. </table>
  61. <div>
  62. <% If Model.CurrentPageNumber <> 1 then %>
  63. <%= 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")) %>
  64. &nbsp;
  65. <%= 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")) %>
  66. &nbsp;
  67. <% Else %>
  68. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i><i class='bi bi-chevron-left'></i></a>
  69. &nbsp;
  70. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i></a>
  71. &nbsp;
  72. <% End If %>
  73. <% If CInt(Model.CurrentPageNumber) < CInt(Model.PageCount) then %>
  74. <%= 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")) %>
  75. &nbsp;
  76. <%= 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")) %>
  77. &nbsp;
  78. <% Else %>
  79. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i><i class='bi bi-chevron-right'></i></a>
  80. &nbsp;
  81. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i></a>
  82. &nbsp;
  83. <% End If %>
  84. </div>
  85. </div>

Powered by TurnKey Linux.