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

90 行
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) %> KitLabels found. Showing <%= H(Model.PageSize) %> records per page.
  5. <%= HTML.LinkToExt("<i class='bi bi-plus-square-fill'></i> New","KitLabels", "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("KitLabels", "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="KitLabels" 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">KitId</th>
  26. <th style="text-align: left">OutboundSerial</th>
  27. <th style="text-align: left">InBoundSerial</th>
  28. <th style="text-align: left">Outbound Font Encoded</th>
  29. <th style="text-align: left">InBound Font Encoded</th>
  30. <th style="text-align: left">OutboundIMBDigits</th>
  31. <th style="text-align: left">InBoundIMBDigits</th>
  32. <th style="text-align: left">OutboundIMB</th>
  33. <th style="text-align: left">InBoundIMB</th>
  34. <th style="text-align: left">SetNumber</th>
  35. <th></th>
  36. </tr>
  37. </thead>
  38. <tbody>
  39. <% dim it : set it = Model.KitLabels.Iterator %>
  40. <% dim KitLabels %>
  41. <% While it.HasNext %>
  42. <% set KitLabels = it.GetNext() %>
  43. <tr>
  44. <td>
  45. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "KitLabels", "Edit", Array("Id", KitLabels.ID), Array("class", "btn btn-primary")) %>
  46. </td>
  47. <td><% = H(KitLabels.ID) %></td>
  48. <td><% = H(KitLabels.KitId) %></td>
  49. <td><% = H(KitLabels.OutboundSerial) %></td>
  50. <td><% = H(KitLabels.InBoundSerial) %></td>
  51. <td><% = H(KitLabels.OutboundIMB) %></td>
  52. <td><% = H(KitLabels.InBoundIMB) %></td>
  53. <td><% = H(KitLabels.OutboundIMBDigits) %></td>
  54. <td><% = H(KitLabels.InBoundIMBDigits) %></td>
  55. <td><img src='data:image/png;base64, <% = KitLabels.OutboundIMBPNG%>' alt='Barcode'</td>
  56. <td><img src='data:image/png;base64, <% = KitLabels.INBOUNDIMBPNG %>' alt='Barcode'</td>
  57. <td><% = H(KitLabels.SetNumber) %></td>
  58. </tr>
  59. <% Wend %>
  60. </tbody>
  61. </table>
  62. <div>
  63. <% If Model.CurrentPageNumber <> 1 then %>
  64. <%= 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")) %>
  65. &nbsp;
  66. <%= 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")) %>
  67. &nbsp;
  68. <% Else %>
  69. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i><i class='bi bi-chevron-left'></i></a>
  70. &nbsp;
  71. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i></a>
  72. &nbsp;
  73. <% End If %>
  74. <% If CInt(Model.CurrentPageNumber) < CInt(Model.PageCount) then %>
  75. <%= 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")) %>
  76. &nbsp;
  77. <%= 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")) %>
  78. &nbsp;
  79. <% Else %>
  80. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i><i class='bi bi-chevron-right'></i></a>
  81. &nbsp;
  82. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i></a>
  83. &nbsp;
  84. <% End If %>
  85. </div>
  86. </div>

Powered by TurnKey Linux.