Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

86 rindas
4.1KB

  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. </tr>
  34. </thead>
  35. <tbody>
  36. <% dim it : set it = Model.Kit.Iterator %>
  37. <% dim Kit %>
  38. <% While it.HasNext %>
  39. <% set Kit = it.GetNext() %>
  40. <tr>
  41. <td>
  42. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "Kit", "SwitchBoardPurpleEnvelopeEdit", Array("Id", Kit.ID), Array("class", "btn btn-primary")) %>
  43. </td>
  44. <td><% = H(Kit.JobNumber) %></td>
  45. <td><% = H(Kit.Jurisdiction) %></td>
  46. <td><% = H(Kit.LabelCount) %></td>
  47. <td><% = H(Kit.CreatedOn) %></td>
  48. <td><% = H(Kit.ExportedToSnailWorks) %></td>
  49. <td><% = H(Kit.InkJetJob) %></td>
  50. <td><% = H(Kit.Filename) %></td>
  51. <td><% = H(Kit.Cass) %></td>
  52. <td><% = H(Kit.Status) %></td>
  53. </tr>
  54. <% Wend %>
  55. </tbody>
  56. </table>
  57. <div>
  58. <% If Model.CurrentPageNumber <> 1 then %>
  59. <%= 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")) %>
  60. &nbsp;
  61. <%= 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")) %>
  62. &nbsp;
  63. <% Else %>
  64. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i><i class='bi bi-chevron-left'></i></a>
  65. &nbsp;
  66. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i></a>
  67. &nbsp;
  68. <% End If %>
  69. <% If CInt(Model.CurrentPageNumber) < CInt(Model.PageCount) then %>
  70. <%= 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")) %>
  71. &nbsp;
  72. <%= 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")) %>
  73. &nbsp;
  74. <% Else %>
  75. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i><i class='bi bi-chevron-right'></i></a>
  76. &nbsp;
  77. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i></a>
  78. &nbsp;
  79. <% End If %>
  80. </div>
  81. </div>

Powered by TurnKey Linux.