SHARE
TWEET

Untitled

a guest Mar 20th, 2017 79 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <table class="table table-bordered table-striped table-booking-history">
  2.         <thead>
  3.             <tr>
  4.                 <th>@detalji.published_type</th>
  5.                 <th>@detalji.published_title</th>
  6.                 <th>@detalji.published_location</th>
  7.                 <th>@detalji.published_datestart</th>
  8.                 <th>@detalji.published_price</th>
  9.                 <th>@detalji.published_active</th>
  10.                 <th>@detalji.published_btnvisible</th>
  11.                 <th>@detalji.published_btnshow</th>
  12.                 <th>@detalji.delete</th>
  13.             </tr>
  14.         </thead>
  15.         <tbody id="publisheditems">
  16.             @foreach (Model_GridEstate item in Model)
  17.             {
  18.                 <tr>
  19.                     <td class="booking-history-type">
  20.                         <i class='@item.Icon'></i><small>@item.Type</small>
  21.                     </td>
  22.                     <td class="booking-history-title">@item.Name</td>
  23.                     <td>@item.City</td>
  24.                     <td>@item.DateOnMarket.ToShortDateString()</td>
  25.                     <td>KM @item.Price</td>
  26.                     <td id='visible_@item.PublicID' class="text-center">
  27.                         @if (item.Visible == true)
  28.                         {
  29.                             <span id="visibleicon_@item.PublicID" class="badge"><i class="fa fa-check"></i></span>
  30.                             <img id="loading_@item.PublicID" src="~/assets/img/loaders/ajaxloader1.gif" class="loading" />
  31.                         }
  32.                         else
  33.                         {
  34.                             <span id="visibleicon_@item.PublicID" class="badge"><i class="fa fa-times"></i></span>
  35.                             <img id="loading_@item.PublicID" src="~/assets/img/loaders/ajaxloader1.gif" class="loading" />
  36.                         }
  37.                     </td>
  38.  
  39.                     <td class="text-center">
  40.                         <a class="btn btn-default btn-sm" href="~/nekretnine/pregled/@item.PublicID">Pregled</a>
  41.                     </td>
  42.  
  43.                 </tr>
  44.             }
  45.         </tbody>
  46.     </table>
  47.  
  48.    <ul class="pagination" id="myPager"></ul>
  49.    
  50. $(document).ready(function () {
  51. $('#publisheditems').pageMe({
  52.     pagerSelector: '#myPager', showPrevNext: true, hidePageNumbers: false, perPage: 2, numbersPerPage: 2
  53. });
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top