- @if (asset.AssetType == ClientAssetType.Texture)
- {
-
- }
- else
- {
-
- @switch (asset.AssetType)
- {
- case ClientAssetType.Scene:
-
- break;
- case ClientAssetType.Script:
-
- break;
- case ClientAssetType.Audio:
-
- break;
- default:
-
- break;
- }
-
@asset.AssetType
-
+
+
Preview - @Model.Folder
+
Click an image to copy its path, or use the register button to track it.
+
+
+
+ @foreach (var file in Model.PreviewFiles)
+ {
+ var isTracked = Model.TrackedPaths.Contains(file);
+
+
+
/downloads/@file)
+
+
@System.IO.Path.GetFileName(file)
+
+
+
+
+ @if (!isTracked)
+ {
+
+ }
+ else
+ {
+
+
+
+ }
+
+
+ }
+
-
-
-
- @asset.AssetType
-
-
-
-
-
-
-
- @System.IO.Path.GetFileName(asset.FilePath)
-
-
- @asset.FilePath
-
-
- v@asset.Version
- @FormatFileSize(asset.FileSize)
-
-
- @if (asset.IsRequired)
- {
- Required
- }
- @if (!asset.IsEnabled)
- {
- Disabled
- }
-
-
-
-
-
-
-
-
-
+ @if (!Model.PreviewFiles.Any())
+ {
+
+ Enter file names manually or check that assets exist at this CDN path.
+
+ }
}
- @if (!Model.Assets.Any())
- {
-