%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyVideo" %> <%= new MyVideoNavTopInstance(this) { Local= MyVideoNavTopItem.视频列表 }.ToHtml()%>
封面 | 名称 | 状态 | 日期 | 大小 | 学科 | 操作 | <%--序号 | --%>|
<%= new HtmlCheckBox() { Value = SetKey(video.Guid, video.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
<%= new HtmlAnchor(
new HtmlImg(SettingGroup.VideoCover(video), video.Name) { OnErrorImg=SettingGroup.DefaultImg}
) { Href = WebUrl.VideoPlay(video.Guid), Title=video.Name, Target = "_blank" }%>
" href="<%= WebUrl.VideoPlay(video.Guid) %>" target="_blank">
|
<%= new HtmlAnchor(video.Name) { Href = WebUrl.VideoPlay(video.Guid), Target = "_blank" ,Suffix="...",TextLength=20 }%>
|
<%
var classStatus = "";
if (video.Status == (int)AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum.有效)
{
classStatus = "pass";
}
else
{
classStatus = "";
}
%>
<%= ((AVA.ResourcesPlatform.Model.Pub.VideoStatusEnum)video.Status).Define() %>
<% var classExamine = ""; if (video.Examine == (int)AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum.审核通过) { classExamine = "pass"; } else if (video.Examine == (int)AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum.审核不通过) { } else { classExamine = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoExamineEnum)video.Examine).Define() %> <% var videoConvertStatus = ""; if (video.VideoConvertStatus == (int)AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum.已转换) { videoConvertStatus = "pass"; } else { videoConvertStatus = ""; } %> <%= ((AVA.ResourcesPlatform.Model.Pub.VideoVideoConvertStatusEnum)video.VideoConvertStatus).Define() %> <% if (video.LockVideo == (int)AVA.ResourcesPlatform.Model.Pub.VideoLockVideoEnum.锁定) { %> <%= new HtmlSpan("锁定") { Title = video.ParentLockUser.UserName + " " + video.LockDateTime + " " + video.LockDescription }.Style(new { Color = "Red" })%> <% } %> |
<%= video.CreateTime.ToShortDate() %> |
大小:<%= AVA.ResourcesPlatform.Config.Helper.FormatSize(video.FileSize.ToDouble()) %>
|
<%= video.ParentCategory.Name %> |
<%
var list = new List |
<%--<%= new HtmlText("SortNumber", video.SortNumber) { OnKeyUp = "this.value=this.value.replace(/[^\\d]/g,'');", OnBlur = "this.value=this.value.replace(/[^\\d]/g,'');if(this.value==''){this.value=this.lang};VideoChangeSortNumberClient(this,'" + SetKey(video.Guid, video.Version) + "')", Lang = video.SortNumber.ToString(), Width = 20, Title = "修改当前视频的位置" }%> | --%>