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

82 行
4.1KB

  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) %> CustomOfficeCopyJob found. Showing <%= H(Model.PageSize) %> records per page.
  5. <%= HTML.LinkToExt("<i class='bi bi-plus-square-fill'></i> New","CustomOfficeCopyJob", "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("CustomOfficeCopyJob", "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="CustomOfficeCopyJob" 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">Jcode</th>
  26. <th style="text-align: left">Precinct</th>
  27. <th style="text-align: left">StartingBallotNumber</th>
  28. <th style="text-align: left">Amount</th>
  29. <th style="text-align: left">Status</th>
  30. <th style="text-align: left">Donedate</th>
  31. <th></th>
  32. </tr>
  33. </thead>
  34. <tbody>
  35. <% dim it : set it = Model.CustomOfficeCopyJob.Iterator %>
  36. <% dim CustomOfficeCopyJob %>
  37. <% While it.HasNext %>
  38. <% set CustomOfficeCopyJob = it.GetNext() %>
  39. <tr>
  40. <td>
  41. <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "CustomOfficeCopyJob", "Edit", Array("Id", CustomOfficeCopyJob.ID), Array("class", "btn btn-primary")) %>
  42. </td>
  43. <td><% = H(CustomOfficeCopyJob.ID) %></td>
  44. <td><% = H(CustomOfficeCopyJob.Jcode) %></td>
  45. <td><% = H(CustomOfficeCopyJob.Precinct) %></td>
  46. <td><% = H(CustomOfficeCopyJob.StartingBallotNumber) %></td>
  47. <td><% = H(CustomOfficeCopyJob.Amount) %></td>
  48. <td><% = H(CustomOfficeCopyJob.Status) %></td>
  49. <td><% = H(CustomOfficeCopyJob.Donedate) %></td>
  50. </tr>
  51. <% Wend %>
  52. </tbody>
  53. </table>
  54. <div>
  55. <% If Model.CurrentPageNumber <> 1 then %>
  56. <%= 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")) %>
  57. &nbsp;
  58. <%= 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")) %>
  59. &nbsp;
  60. <% Else %>
  61. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i><i class='bi bi-chevron-left'></i></a>
  62. &nbsp;
  63. <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i></a>
  64. &nbsp;
  65. <% End If %>
  66. <% If CInt(Model.CurrentPageNumber) < CInt(Model.PageCount) then %>
  67. <%= 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")) %>
  68. &nbsp;
  69. <%= 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")) %>
  70. &nbsp;
  71. <% Else %>
  72. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i><i class='bi bi-chevron-right'></i></a>
  73. &nbsp;
  74. <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i></a>
  75. &nbsp;
  76. <% End If %>
  77. </div>
  78. </div>

Powered by TurnKey Linux.