25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

122 lines
5.9KB

  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) %> InkjetRecords found. Showing <%= H(Model.PageSize) %> records per page.
  5. <%= HTML.LinkToExt("<i class='bi bi-plus-square-fill'></i> New","InkjetRecords", "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("InkjetRecords", "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="InkjetRecords" 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">VOTERID</th>
  27. <th style="text-align: left">LASTNAME</th>
  28. <th style="text-align: left">FIRSTNAME</th>
  29. <th style="text-align: left">MIDDLENAME</th>
  30. <th style="text-align: left">SUFFIX</th>
  31. <th style="text-align: left">PRECINCT</th>
  32. <th style="text-align: left">ADDRESS1</th>
  33. <th style="text-align: left">ADDRESS2</th>
  34. <th style="text-align: left">ADDRESS3</th>
  35. <th style="text-align: left">ADDRESS4</th>
  36. <th style="text-align: left">ADDRESS5</th>
  37. <th style="text-align: left">APPSENT</th>
  38. <th style="text-align: left">APPRETURNED</th>
  39. <th style="text-align: left">BALSENT</th>
  40. <th style="text-align: left">BALRETURNED</th>
  41. <th style="text-align: left">CountingBoard</th>
  42. <th style="text-align: left">UOCAVASTATUS</th>
  43. <th style="text-align: left">EMAILADDRESS</th>
  44. <th style="text-align: left">PHONENUMBER</th>
  45. <th style="text-align: left">BALLOT_NUMBER</th>
  46. <th style="text-align: left">CassADDRESS1</th>
  47. <th style="text-align: left">CassADDRESS2</th>
  48. <th style="text-align: left">CassADDRESS3</th>
  49. <th style="text-align: left">CassADDRESS4</th>
  50. <th style="text-align: left">CassADDRESS5</th>
  51. <th></th>
  52. </tr>
  53. </thead>
  54. <tbody>
  55. <% dim it : set it = Model.InkjetRecords.Iterator %>
  56. <% dim InkjetRecords %>
  57. <% While it.HasNext %>
  58. <% set InkjetRecords = it.GetNext() %>
  59. <tr>
  60. <td>
  61. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "InkjetRecords", "Edit", Array("Id", InkjetRecords.ID), Array("class", "btn btn-primary")) %>
  62. </td>
  63. <td><% = H(InkjetRecords.ID) %></td>
  64. <td><% = H(InkjetRecords.KitID) %></td>
  65. <td><% = H(InkjetRecords.VOTERID) %></td>
  66. <td><% = H(InkjetRecords.LASTNAME) %></td>
  67. <td><% = H(InkjetRecords.FIRSTNAME) %></td>
  68. <td><% = H(InkjetRecords.MIDDLENAME) %></td>
  69. <td><% = H(InkjetRecords.SUFFIX) %></td>
  70. <td><% = H(InkjetRecords.PRECINCT) %></td>
  71. <td><% = H(InkjetRecords.ADDRESS1) %></td>
  72. <td><% = H(InkjetRecords.ADDRESS2) %></td>
  73. <td><% = H(InkjetRecords.ADDRESS3) %></td>
  74. <td><% = H(InkjetRecords.ADDRESS4) %></td>
  75. <td><% = H(InkjetRecords.ADDRESS5) %></td>
  76. <td><% = H(InkjetRecords.APPSENT) %></td>
  77. <td><% = H(InkjetRecords.APPRETURNED) %></td>
  78. <td><% = H(InkjetRecords.BALSENT) %></td>
  79. <td><% = H(InkjetRecords.BALRETURNED) %></td>
  80. <td><% = H(InkjetRecords.CountingBoard) %></td>
  81. <td><% = H(InkjetRecords.UOCAVASTATUS) %></td>
  82. <td><% = H(InkjetRecords.EMAILADDRESS) %></td>
  83. <td><% = H(InkjetRecords.PHONENUMBER) %></td>
  84. <td><% = H(InkjetRecords.BALLOT_NUMBER) %></td>
  85. <td><% = H(InkjetRecords.CassADDRESS1) %></td>
  86. <td><% = H(InkjetRecords.CassADDRESS2) %></td>
  87. <td><% = H(InkjetRecords.CassADDRESS3) %></td>
  88. <td><% = H(InkjetRecords.CassADDRESS4) %></td>
  89. <td><% = H(InkjetRecords.CassADDRESS5) %></td>
  90. </tr>
  91. <% Wend %>
  92. </tbody>
  93. </table>
  94. <div>
  95. <% If Model.CurrentPageNumber <> 1 then %>
  96. <%= 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")) %>
  97. &nbsp;
  98. <%= 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")) %>
  99. &nbsp;
  100. <% Else %>
  101. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i><i class='bi bi-chevron-left'></i></a>
  102. &nbsp;
  103. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i></a>
  104. &nbsp;
  105. <% End If %>
  106. <% If CInt(Model.CurrentPageNumber) < CInt(Model.PageCount) then %>
  107. <%= 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")) %>
  108. &nbsp;
  109. <%= 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")) %>
  110. &nbsp;
  111. <% Else %>
  112. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i><i class='bi bi-chevron-right'></i></a>
  113. &nbsp;
  114. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i></a>
  115. &nbsp;
  116. <% End If %>
  117. </div>
  118. </div>

Powered by TurnKey Linux.