@model ViewFilesViewModel @{ ViewData.SetActivePageAndTitle(ServerNavPages.Files, "File Storage"); }

@ViewData["PageTitle"]

@if (!Model.StorageConfigured) {

Before being able to upload you first need to choose your file storage service provider .

} else {

Change your file storage service provider.

@if (Model.Files.Any()) { @foreach (var file in Model.Files) { }
Name Timestamp User Actions
@file.FileName @file.Timestamp.ToBrowserDate() @file.ApplicationUser.UserName Get Link - Get Temp Link - Remove
} else {

There are no files yet.

} } @if(Model.DirectUrlByFiles!=null && Model.DirectUrlByFiles.Count > 0) { foreach (KeyValuePair fileUrlPair in Model.DirectUrlByFiles) { var fileId = fileUrlPair.Key; var fileUrl = fileUrlPair.Value; var file = Model.Files.Single(storedFile => storedFile.Id.Equals(fileId, StringComparison.InvariantCultureIgnoreCase));
} } @if (Model.StorageConfigured) {

Upload Files

}