D:
/
vhosts
/
kolejfm.com.tr
/
admin.kolejfm.com.tr
/
Views
/
Settings
/
Upload File
HOME
@model List<kolejfm.Models.Slayt> @{ ViewBag.Title = "list"; Layout = "~/Views/Shared/_LayoutPage1.cshtml"; } <head> <script src="~/content/assets/js/jquery.min.js"></script> <link href="~/content/assets/plugins/bootstrap-datatable/css/dataTables.bootstrap4.min.css" rel="stylesheet" type="text/css"> <link href="~/content/assets/plugins/bootstrap-datatable/css/buttons.bootstrap4.min.css" rel="stylesheet" type="text/css"> <!-- animate CSS--> <!-- Icons CSS--> <link href="~/content/assets/css/icons.css" rel="stylesheet" type="text/css" /> <!-- Sidebar CSS--> <!-- Custom Style--> <link href="~/content/assets/css/app-style.css" rel="stylesheet" /> </head> <div class="row"> <div class="col-lg-12"> <div class="card"> <div class="card-header"><i class="fa fa-table"></i> Başvuru listesi</div> <div class="card-body"> <div class="table-responsive"> <table id="example" class="table table-bordered"> <thead> <tr> <th>No</th> <th>Slayt 1</th> <th>Sil</th> </tr> </thead> <tbody> @foreach (var item in Model) { <tr> <td>@item.Id</td> @if (item.İmg1 != null && item.İmg1 != "") { if (item.İmg1.Split(';')[0].Length > 0) { <td> <a data-lightbox="mygallery" href="http://admin.kolejfm.com.tr/\content\Slaytİmg\@item.İmg1.Split(';')[0]"> <img title="Görüntüle" src="http://admin.kolejfm.com.tr/\content\Slaytİmg\@item.İmg1.Split(';')[0]" style="wIdth:80px;height:50px" class="ıbfoto" /> </a> </td> } } <td> <a href="/Settings/sil/@item.Id" class="btn btn-danger" data-placement="top" data-toggle="tooltip" title="Sil" style="font-size:x-small" onclick="return confirm('Kaydı Silmek İstediğine Emin misin?') ">Sil</a> </td> </tr> } </tbody> </table> </div> </div> </div> </div> </div> @Scripts.Render("~/bundles/datatable") <script> $(document).ready(function () { //Default data table $('#default-datatable').DataTable(); var table = $('#example').DataTable({ lengthChange: false, buttons: ['copy', 'excel', 'pdf', 'print'] }); table.buttons().container() .appendTo('#example_wrapper .col-md-6:eq(0)'); }); </script>