webdav portal upload added

This commit is contained in:
vfedosevich 2015-02-19 05:21:17 -08:00
parent 51d432fd2e
commit 38bde37b18
105 changed files with 21145 additions and 105 deletions

View file

@ -1,4 +1,5 @@
using WebsitePanel.WebDav.Core.Client;
using System;
using WebsitePanel.WebDav.Core.Client;
using WebsitePanel.WebDavPortal.Models.Common.DataTable;
namespace WebsitePanel.WebDavPortal.Models.FileSystem
@ -8,9 +9,11 @@ namespace WebsitePanel.WebDavPortal.Models.FileSystem
public string DisplayName { get; set; }
public string Url { get; set; }
public bool IsTargetBlank { get; set; }
public bool IsFolder { get; set; }
public long Size { get; set; }
public string Type { get; set; }
public string LastModified { get; set; }
public DateTime LastModified { get; set; }
public string LastModifiedFormated { get; set; }
public string IconHref { get; set; }
public override dynamic this[int index]
@ -23,6 +26,14 @@ namespace WebsitePanel.WebDavPortal.Models.FileSystem
{
return Size;
}
case 2:
{
return LastModified;
}
case 3:
{
return Type;
}
default:
{
return DisplayName;