25'ten fazla konu seçemezsiniz Konular bir harf veya rakamla başlamalı, kısa çizgiler ('-') içerebilir ve en fazla 35 karakter uzunluğunda olabilir.

94 satır
4.3KB

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

Powered by TurnKey Linux.