選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

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

Powered by TurnKey Linux.