|
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123 |
- <h2><%= H(Model.Title) %></h2>
- <div class="row">
- <div class="col-md-8 col-sm-8 col-xs-12">
- <%= H(Model.RecordCount) %> InkjetRecords found. Showing <%= H(Model.PageSize) %> records per page.
- <%= HTML.LinkToExt("<i class='bi bi-plus-square-fill'></i> New","InkjetRecords", "Create", empty, Array("class", "btn btn-xs btn-primary")) %>
- </div>
- <div class="col-md-4 col-sm-4 col-xs-12">
-
- <%= HTML.FormTag("InkjetRecords", "Search", empty, empty) %>
-
- <div class="col-md-10 col-sm-10 col-xs-12">
- <label class="sr-only" for="search">Search</label>
- <div class="input-group">
- <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">
- <span class="input-group-addon group-icon"><span class="glyphicon glyphicon-eye-open"></span>
- <button type="submit" class="btn btn-success"><i class="bi bi-search"></i>Search</buttton>
- </div>
- </div>
-
- </form>
- </div>
- </div>
- <table id="InkjetRecords" class="table table-striped">
- <thead>
- <tr>
- <th></th>
- <th style="text-align: left">ID</th>
- <th style="text-align: left">KitID</th>
- <th style="text-align: left">KitLabelID</th>
- <th style="text-align: left">VOTERID</th>
- <th style="text-align: left">LASTNAME</th>
- <th style="text-align: left">FIRSTNAME</th>
- <th style="text-align: left">MIDDLENAME</th>
- <th style="text-align: left">SUFFIX</th>
- <th style="text-align: left">PRECINCT</th>
- <th style="text-align: left">ADDRESS1</th>
- <th style="text-align: left">ADDRESS2</th>
- <th style="text-align: left">ADDRESS3</th>
- <th style="text-align: left">ADDRESS4</th>
- <th style="text-align: left">ADDRESS5</th>
- <th style="text-align: left">APPSENT</th>
- <th style="text-align: left">APPRETURNED</th>
- <th style="text-align: left">BALSENT</th>
- <th style="text-align: left">BALRETURNED</th>
- <th style="text-align: left">CountingBoard</th>
- <th style="text-align: left">UOCAVASTATUS</th>
- <th style="text-align: left">EMAILADDRESS</th>
- <th style="text-align: left">PHONENUMBER</th>
- <th style="text-align: left">BALLOT_NUMBER</th>
- <th style="text-align: left">CassADDRESS1</th>
- <th style="text-align: left">CassADDRESS2</th>
- <th style="text-align: left">CassADDRESS3</th>
- <th style="text-align: left">CassADDRESS4</th>
- <th style="text-align: left">CassADDRESS5</th>
- <th></th>
- </tr>
- </thead>
- <tbody>
- <% dim it : set it = Model.InkjetRecords.Iterator %>
- <% dim InkjetRecords %>
- <% While it.HasNext %>
- <% set InkjetRecords = it.GetNext() %>
- <tr>
- <td>
- <%= HTML.LinkToExt("<i class='bi bi-search'></i>", "InkjetRecords", "Edit", Array("Id", InkjetRecords.ID), Array("class", "btn btn-primary")) %>
- </td>
- <td><% = H(InkjetRecords.ID) %></td>
- <td><% = H(InkjetRecords.KitID) %></td>
- <td><% = H(InkjetRecords.KitLabelID) %></td>
- <td><% = H(InkjetRecords.VOTERID) %></td>
- <td><% = H(InkjetRecords.LASTNAME) %></td>
- <td><% = H(InkjetRecords.FIRSTNAME) %></td>
- <td><% = H(InkjetRecords.MIDDLENAME) %></td>
- <td><% = H(InkjetRecords.SUFFIX) %></td>
- <td><% = H(InkjetRecords.PRECINCT) %></td>
- <td><% = H(InkjetRecords.ADDRESS1) %></td>
- <td><% = H(InkjetRecords.ADDRESS2) %></td>
- <td><% = H(InkjetRecords.ADDRESS3) %></td>
- <td><% = H(InkjetRecords.ADDRESS4) %></td>
- <td><% = H(InkjetRecords.ADDRESS5) %></td>
- <td><% = H(InkjetRecords.APPSENT) %></td>
- <td><% = H(InkjetRecords.APPRETURNED) %></td>
- <td><% = H(InkjetRecords.BALSENT) %></td>
- <td><% = H(InkjetRecords.BALRETURNED) %></td>
- <td><% = H(InkjetRecords.CountingBoard) %></td>
- <td><% = H(InkjetRecords.UOCAVASTATUS) %></td>
- <td><% = H(InkjetRecords.EMAILADDRESS) %></td>
- <td><% = H(InkjetRecords.PHONENUMBER) %></td>
- <td><% = H(InkjetRecords.BALLOT_NUMBER) %></td>
- <td><% = H(InkjetRecords.CassADDRESS1) %></td>
- <td><% = H(InkjetRecords.CassADDRESS2) %></td>
- <td><% = H(InkjetRecords.CassADDRESS3) %></td>
- <td><% = H(InkjetRecords.CassADDRESS4) %></td>
- <td><% = H(InkjetRecords.CassADDRESS5) %></td>
- </tr>
- <% Wend %>
- </tbody>
- </table>
- <div>
- <% If Model.CurrentPageNumber <> 1 then %>
- <%= 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")) %>
-
- <%= 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")) %>
-
- <% Else %>
- <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i><i class='bi bi-chevron-left'></i></a>
-
- <a class='btn btn-default disabled'><i class='bi bi-chevron-left'></i></a>
-
- <% End If %>
- <% If CInt(Model.CurrentPageNumber) < CInt(Model.PageCount) then %>
- <%= 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")) %>
-
- <%= 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")) %>
-
- <% Else %>
- <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i><i class='bi bi-chevron-right'></i></a>
-
- <a class='btn btn-default disabled'><i class='bi bi-chevron-right'></i></a>
-
- <% End If %>
- </div>
- </div>
|