<%@ Control Language="C#" AutoEventWireup="true" Inherits="AVA.ResourcesPlatform.WebUI.Control.My.MySubjectAttachmentList" %> <%= new MyShiXunWorkNavInstance(this) { Local = MyShiXunWorkNavItem.作业附件, Subject = this.Subject }.ToHtml()%>
<%= Define.Get("Client_实训作业")%>目前共<%= this.Subject._ListSubjectAttachment.Count %>个附件
<%= new HtmlButton("上传...", "window.location.href='" + WebUrl.MyShiXunAttachmentAdd(this.Subject.Guid) + "';"){ Class="btn btn-warning " }%> <%= new HtmlButton("删除", "SubjectAttachmentBatchDelete(this);"){ Class="btn btn-danger pull-right" }%>
<% for (int i = 0; i <= this.ListSubjectAttachment.Count - 1; i++) { var subjectAttachment = this.ListSubjectAttachment[i]; %> <% } %>
附件 类型 大小 操作
<%= new HtmlCheckBox() { Value = SetKey(subjectAttachment.Guid, subjectAttachment.Version), Class = "trsel", Title = DefineEnum.选择_不选.Define() }%> <%= new HtmlAnchor(subjectAttachment.FileName) { Target = "_blank", Href = SettingGroup.SubjectAttachmentFile(subjectAttachment) }%> <%= ((AVA.ResourcesPlatform.Model.Pub.SubjectAttachmentFileTypeEnum)subjectAttachment.FileType).Define() %> <%= AVA.ResourcesPlatform.Config.Helper.FormatSize(subjectAttachment.FileSize) %> <%= new HtmlAnchor("编辑") { Href = WebUrl.MyShiXunAttachmentEdit(subjectAttachment.Guid) }%> | 删除
全选 - 取消