Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

SwitchBoardIndex.asp 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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">Label Print Date</th>
  29. <th style="text-align: left">SnailWorks Export Date</th>
  30. </tr>
  31. </thead>
  32. <tbody>
  33. <% dim it : set it = Model.Kit.Iterator %>
  34. <% dim Kit %>
  35. <% While it.HasNext %>
  36. <% set Kit = it.GetNext() %>
  37. <tr>
  38. <td>
  39. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "Kit", "SwitchBoardEdit", Array("Id", Kit.ID), Array("class", "btn btn-primary")) %>
  40. </td>
  41. <td><% = H(Kit.JobNumber) %></td>
  42. <td><% = H(Kit.Jurisdiction) %></td>
  43. <td><% = H(Kit.LabelCount) %></td>
  44. <td><% = H(Kit.CreatedOn) %></td>
  45. <td><% = H(Kit.LabelsPrinted) %></td>
  46. <td><% = H(Kit.ExportedToSnailWorks) %></td>
  47. </tr>
  48. <% Wend %>
  49. </tbody>
  50. </table>
  51. <div>
  52. <% If Model.CurrentPageNumber <> 1 then %>
  53. <%= 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")) %>
  54. &nbsp;
  55. <%= 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")) %>
  56. &nbsp;
  57. <% Else %>
  58. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i><i class='bi bi-chevron-left'></i></a>
  59. &nbsp;
  60. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i></a>
  61. &nbsp;
  62. <% End If %>
  63. <% If CInt(Model.CurrentPageNumber) < CInt(Model.PageCount) then %>
  64. <%= 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")) %>
  65. &nbsp;
  66. <%= 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")) %>
  67. &nbsp;
  68. <% Else %>
  69. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i><i class='bi bi-chevron-right'></i></a>
  70. &nbsp;
  71. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i></a>
  72. &nbsp;
  73. <% End If %>
  74. </div>
  75. </div>

Powered by TurnKey Linux.