%@ Control Language="C#" AutoEventWireup="true" CodeBehind="MyPublicClass.ascx.cs" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MyPublicClass" %> <%--<%= new MyPublicClassNavTopInstance(this) { Local= MyPublicClassNavTopItem.活动列表 }.ToHtml() %>--%>
活动封面 | 活动名称 | 活动状态 | 起止时间 | 截止提交作品日期 | 操作 | |
<%= new HtmlCheckBox() { Value = SetKey(publicClass.Guid, publicClass.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> |
|
<%
if (publicClass.Status == (int)AVA.ResourcesPlatform.Model.Pub.PublicClassStatusEnum.禁用)
{
%>
<%= new HtmlAnchor(publicClass.Name) { Href = "#",OnClick="CheckStatus();",Suffix="..", TextLength=22 }%>
<%
}
else
{
%>
<%= new HtmlAnchor(publicClass.Name) { Href = WebUrl.PublicClassView(publicClass.Guid), Target = "_blank",Suffix="..", TextLength=22 }%>
<%
}
%>
|
<%= new HtmlSelect(null, "Value", "Key", "Key") { OnChange = "PublicClassChangeStatusClient(this,'" + SetKey(publicClass.Guid, publicClass.Version) + "');", Lang = publicClass.Status.ToString(), Option = typeof(AVA.ResourcesPlatform.Model.Pub.PublicClassStatusEnum), SelectedValue = publicClass.Status }.Style(new { Width = "auto" })%> <%-- <%= (AVA.ResourcesPlatform.Model.Pub.PublicClassStatusEnum)publicClass.Status %>--%> | <%= publicClass.BeginTime.ToShortDate()%> 至 <%= publicClass.EndTime.ToShortDate()%> | <%= publicClass.CutoffTime.ToShortDate()%> |
<%= new HtmlAnchor("编辑") { Href = WebUrl.MyPublicClassEdit(publicClass.Guid) }%>
|
删除
<%= new HtmlAnchor("查看学习进度") { Href = WebUrl.MyPublicClassSchedule(publicClass.Guid) }%> <%-- <%= new HtmlText("SortNumber", publicClass.SortNumber) { OnKeyUp = "this.value=this.value.replace(/[^\\d]/g,'');", OnBlur = "this.value=this.value.replace(/[^\\d]/g,'');if(this.value==''){this.value=this.lang};PublicClassChangeSortNumberClient(this,'" + SetKey(publicClass.Guid, publicClass.Version) + "')", Lang = publicClass.SortNumber.ToString(), Width = 50, Title = "修改当前"+Define.Get("Client_公开课")+"的位置" }%>--%> |