webdav portal filter + detail view added
This commit is contained in:
parent
280628e362
commit
51d432fd2e
156 changed files with 32494 additions and 260 deletions
|
@ -0,0 +1,34 @@
|
|||
using WebsitePanel.WebDav.Core.Client;
|
||||
using WebsitePanel.WebDavPortal.Models.Common.DataTable;
|
||||
|
||||
namespace WebsitePanel.WebDavPortal.Models.FileSystem
|
||||
{
|
||||
public class ResourceTableItemModel : JqueryDataTableBaseEntity
|
||||
{
|
||||
public string DisplayName { get; set; }
|
||||
public string Url { get; set; }
|
||||
public bool IsTargetBlank { get; set; }
|
||||
public long Size { get; set; }
|
||||
public string Type { get; set; }
|
||||
public string LastModified { get; set; }
|
||||
public string IconHref { get; set; }
|
||||
|
||||
public override dynamic this[int index]
|
||||
{
|
||||
get
|
||||
{
|
||||
switch (index)
|
||||
{
|
||||
case 1 :
|
||||
{
|
||||
return Size;
|
||||
}
|
||||
default:
|
||||
{
|
||||
return DisplayName;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue