text:
using System;
using ZKWeb.Plugins.Common.Base.src.UIComponents.StaticTable;
using ZKWeb.Plugins.Common.Base.src.UIComponents.StaticTable.Interfaces;
using ZKWeb.Web;
using ZKWebStandard.Utils;
using ZKWebStandard.Web;

namespace ZKWeb.Plugins.Common.Base.src.Controllers.ActionResults {
	/// <summary>
	/// 静态表格的导出结果
	/// </summary>
	public class StaticTableExportResult : IActionResult {
		/// <summary>
		/// 静态表格
		/// </summary>
		private StaticTableBuilder Table { get; set; }
		/// <summary>
		/// 不带后缀的文件名
		/// </summary>
		private string FilenameWithoutExtensions { get; set; }

		/// <summary>
		/// 初始化
		/// </summary>
		/// <param name="table">静态表格</param>
		/// <param name="filenameWithoutExtensions">不带后缀的文件名</param>
		public StaticTableExportResult(StaticTableBuilder table, string filenameWithoutExtensions) {
			Table = table;
			FilenameWithoutExtensions = filenameWithoutExtensions;
		}

		/// <summary>
		/// 写入到Http回应
		/// </summary>
		public void WriteResponse(IHttpResponse response) {
			var exporter = Application.Ioc.Resolve<IStaticTableExporter>();
			var filename = FilenameWithoutExtensions + exporter.FileExtension;
			response.StatusCode = 200;
			response.ContentType = MimeUtils.GetMimeType(filename);
			response.AddHeader("Content-Disposition", $"attachment; filename=\"{filename}\"");
			exporter.Export(Table, response.Body);
		}
	}
}

redpajama_set_name: RedPajamaGithub


text:
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See http://java.sun.com/xml/jaxb
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2015.12.09 at 06:16:52 PM EST
//

package mil.tatrc.physiology.datamodel.bind;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

/**
 *
Java class for PhysiologyEngineTimedStabilizationData complex type.
 *
 *
The following schema fragment specifies the expected content contained within this class.
 *
 *

 * <complexType name="PhysiologyEngineTimedStabilizationData">
 *   <complexContent>
 *     <extension base="{uri:/mil/tatrc/physiology/datamodel}PhysiologyEngineStabilizationData">
 *       <sequence>
 *         <element name="RestingStabilizationTime" type="{uri:/mil/tatrc/physiology/datamodel}ScalarTimeData"/>
 *         <element name="FeedbackStabilizationTime" type="{uri:/mil/tatrc/physiology/datamodel}ScalarTimeData" minOccurs="0"/>
 *         <element name="ConditionStabilization" type="{uri:/mil/tatrc/physiology/datamodel}PhysiologyEngineTimedConditionStabilizationData" maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 *

 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PhysiologyEngineTimedStabilizationData", propOrder = {
    "restingStabilizationTime",
    "feedbackStabilizationTime",
    "conditionStabilization"
})
public class PhysiologyEngineTimedStabilizationData
    extends PhysiologyEngineStabilizationData
{

    @XmlElement(name = "RestingStabilizationTime", required = true)
    protected ScalarTimeData restingStabilizationTime;
    @XmlElement(name = "FeedbackStabilizationTime")
    protected ScalarTimeData feedbackStabilizationTime;
    @XmlElement(name = "ConditionStabilization")
    protected List<PhysiologyEngineTimedConditionStabilizationData> conditionStabilization;

    /**
     * Gets the value of the restingStabilizationTime property.
     *
     * @return
     *     possible object is
     *     {@link ScalarTimeData }
     *
     */
    public ScalarTimeData getRestingStabilizationTime() {
        return restingStabilizationTime;
    }

    /**
     * Sets the value of the restingStabilizationTime property.
     *
     * @param value
     *     allowed object is
     *     {@link ScalarTimeData }
     *
     */
    public void setRestingStabilizationTime(ScalarTimeData value) {
        this.restingStabilizationTime = value;
    }

    /**
     * Gets the value of the feedbackStabilizationTime property.
     *
     * @return
     *     possible object is
     *     {@link ScalarTimeData }
     *
     */
    public ScalarTimeData getFeedbackStabilizationTime() {
        return feedbackStabilizationTime;
    }

    /**
     * Sets the value of the feedbackStabilizationTime property.
     *
     * @param value
     *     allowed object is
     *     {@link ScalarTimeData }
     *
     */
    public void setFeedbackStabilizationTime(ScalarTimeData value) {
        this.feedbackStabilizationTime = value;
    }

    /**
     * Gets the value of the conditionStabilization property.
     *
     *

     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a set method for the conditionStabilization property.
     *
     *

     * For example, to add a new item, do as follows:
     *

     *    getConditionStabilization().add(newItem);
     *

     *
     *
     *

     * Objects of the following type(s) are allowed in the list
     * {@link PhysiologyEngineTimedConditionStabilizationData }
     *
     *
     */
    public List<PhysiologyEngineTimedConditionStabilizationData> getConditionStabilization() {
        if (conditionStabilization == null) {
            conditionStabilization = new ArrayList<PhysiologyEngineTimedConditionStabilizationData>();
        }
        return this.conditionStabilization;
    }

}


text:
Tags

            {{tag.name}}

            {{tag.value}}

            {{tag.value}}

          <form name="formAddTag" class="form-inline" ng-submit="addTag(newTag)">

              <input type="text" class="form-control" id="input-key" name="tagkey" ng-model="newTag.key" ng-pattern="tagKeyPattern" uib-typeahead="item for item in tagSuggestion.get($viewValue)" typeahead-min-length="tagSuggestion.minLength" required/>

              <input type="text" class="form-control" id="input-value" name="tagvalue" ng-model="newTag.val"/>

              <button ng-disabled="formAddTag.tagkey.$invalid" type="submit" class="btn btn-primary btn-sm" id="btn-add-tag">

              </button>

                {{ 'COMPONENTS.FORM_ERRORS.TAG_KEY' | translate }}

          </form>