Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <table class="table table-bordered table-striped table-booking-history">
- <thead>
- <tr>
- <th>@detalji.published_type</th>
- <th>@detalji.published_title</th>
- <th>@detalji.published_location</th>
- <th>@detalji.published_datestart</th>
- <th>@detalji.published_price</th>
- <th>@detalji.published_active</th>
- <th>@detalji.published_btnvisible</th>
- <th>@detalji.published_btnshow</th>
- <th>@detalji.delete</th>
- </tr>
- </thead>
- <tbody id="publisheditems">
- @foreach (Model_GridEstate item in Model)
- {
- <tr>
- <td class="booking-history-type">
- <i class='@item.Icon'></i><small>@item.Type</small>
- </td>
- <td class="booking-history-title">@item.Name</td>
- <td>@item.City</td>
- <td>@item.DateOnMarket.ToShortDateString()</td>
- <td>KM @item.Price</td>
- <td id='visible_@item.PublicID' class="text-center">
- @if (item.Visible == true)
- {
- <span id="visibleicon_@item.PublicID" class="badge"><i class="fa fa-check"></i></span>
- <img id="loading_@item.PublicID" src="~/assets/img/loaders/ajaxloader1.gif" class="loading" />
- }
- else
- {
- <span id="visibleicon_@item.PublicID" class="badge"><i class="fa fa-times"></i></span>
- <img id="loading_@item.PublicID" src="~/assets/img/loaders/ajaxloader1.gif" class="loading" />
- }
- </td>
- <td class="text-center">
- <a class="btn btn-default btn-sm" href="~/nekretnine/pregled/@item.PublicID">Pregled</a>
- </td>
- </tr>
- }
- </tbody>
- </table>
- <ul class="pagination" id="myPager"></ul>
- $(document).ready(function () {
- $('#publisheditems').pageMe({
- pagerSelector: '#myPager', showPrevNext: true, hidePageNumbers: false, perPage: 2, numbersPerPage: 2
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement