57 lines
1.6 KiB
Plaintext
57 lines
1.6 KiB
Plaintext
@model IEnumerable<Weee.Models.PublicReferenceFile>
|
|
|
|
@using PagedList.Mvc
|
|
@using PagedList
|
|
@using Resources
|
|
|
|
@{
|
|
Layout = Layout = "~/Views/Shared/_Layout.cshtml"; ;
|
|
ViewBag.Title = Resource.StaticLabelDownloadFile;
|
|
}
|
|
|
|
@section PageStyles
|
|
{
|
|
@Styles.Render("~/bootstrap/css")
|
|
@Styles.Render("~/publicFiles/css")
|
|
}
|
|
|
|
@section PageScripts
|
|
{
|
|
@Scripts.Render("~/jQuery")
|
|
@Scripts.Render("~/bootstrap")
|
|
}
|
|
|
|
<div class="container">
|
|
<div class="docs-container">
|
|
<h2>@Resource.StaticLabelDownloadFile</h2>
|
|
<hr />
|
|
<div>
|
|
<table class="table table-bordered text-center">
|
|
<thead>
|
|
<tr>
|
|
<th>@Resource.StaticLabelFileName</th>
|
|
<th>@Resource.UpdateTime</th>
|
|
<th class="docs-button-wrapper">@Resource.DownloadLink</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
@foreach (var file in Model)
|
|
{
|
|
<tr>
|
|
<td>@file.DisplayName</td>
|
|
<td>@file.UpdatedTime.ToShortDateString()</td>
|
|
<td><a href="@file.DownloadLink">@Resource.StaticLabelDownload</a></td>
|
|
</tr>
|
|
}
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
|
|
@if (((IPagedList)Model).PageCount > 1)
|
|
{
|
|
<div class="docs-page-wrapper">
|
|
@Html.PagedListPager((IPagedList)Model, page => Url.Action("PublicFiles", new { page }))
|
|
</div>
|
|
}
|
|
</div>
|
|
</div> |