public OrganizationEditModel() { Title = "organization_edit_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); NameInput = new InputModel("Name", "name", true); DescriptionInput = new LongInputModel("Description", "description"); }
public ProjectDetailModel() { Title = "project_detail_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); ProjectUidInput = new HiddenInputModel("ProjectUid"); IsActiveInput = new CheckboxInputModel("IsActive", "is_active", false, true, false); }
public ResetPasswordModel() { Title = Localizer.Localize("reset_password_title"); TokenInput = new HiddenInputModel("Token"); EmailInput = new HiddenInputModel("Email"); PasswordInput = new PasswordInputModel("Password", "password", true); ReEnterPasswordInput = new PasswordInputModel("ReEnterNewPassword", "re_enter_password", true); }
public IntegrationEditModel() { Title = "integration_edit_title"; IntegrationUidInput = new HiddenInputModel("IntegrationUid"); IntegrationNameInput = new InputModel("Name", "name", true); DescriptionInput = new LongInputModel("Description", "description"); }
public IntegrationCreateModel() { Title = "integration_create_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); NameInput = new InputModel("Name", "name", true); DescriptionInput = new LongInputModel("Description", "description"); }
public LabelTranslationEditModel() { Title = "label_translation_edit_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); LabelTranslationUidInput = new HiddenInputModel("LabelTranslationUid"); TranslationInput = new InputModel("Translation", "translation", true); }
public AdminInviteModel() { Title = "admin_invite_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); EmailInput = new EmailInputModel("Email", "email", true); FirstNameInput = new InputModel("FirstName", "first_name", true); LastNameInput = new InputModel("LastName", "last_name", true); }
public LabelDetailModel() { Title = "label_detail_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); ProjectUidInput = new HiddenInputModel("ProjectUid"); LabelUidInput = new HiddenInputModel("LabelUid"); IsActiveInput = new CheckboxInputModel("IsActive", "is_active", true, true); }
public LabelCreateModel() { Title = "label_create_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); ProjectUidInput = new HiddenInputModel("ProjectUid"); KeyInput = new InputModel("Key", "key", true); DescriptionInput = new LongInputModel("Description", "description"); }
public UploadLabelTranslationFromCSVFileModel() { Title = "upload_labels_from_csv_file_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); LabelUidInput = new HiddenInputModel("LabelUid"); LabelKeyInput = new HiddenInputModel("LabelKey"); CSVFileInput = new FileInputModel("CSVFile", "csv_file", true); }
public ProjectCreateModel() { Title = "project_create_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); NameInput = new InputModel("Name", "name", true); UrlInput = new UrlInputModel("Url", "url"); DescriptionInput = new LongInputModel("Description", "description"); }
public ChangePasswordModel() { Title = "user_change_password_title"; UserUidInput = new HiddenInputModel("UserUid"); OldPasswordInput = new PasswordInputModel("OldPassword", "old_password", true); NewPasswordInput = new PasswordInputModel("NewPassword", "password", true); ReEnterNewPasswordInput = new PasswordInputModel("ReEnterNewPassword", "re_enter_new_password", true); }
public LabelEditModel() { Title = "label_edit_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); LabelUidInput = new HiddenInputModel("LabelUid"); KeyInput = new InputModel("Key", "key", true); DescriptionInput = new LongInputModel("Description", "description"); }
public LabelUploadFromCSVModel() { Title = "upload_labels_from_csv_file_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); ProjectUidInput = new HiddenInputModel("ProjectUid"); ProjectNameInput = new HiddenInputModel("ProjectName"); CSVFileInput = new FileInputModel("CSVFile", "csv_file", true); }
public CreateBulkLabelModel() { Title = "create_bulk_label_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); ProjectUidInput = new HiddenInputModel("ProjectUid"); ProjectNameInput = new HiddenInputModel("ProjectName"); BulkLabelInput = new TextareaInputModel("BulkLabelData", "bulk_label_data"); }
public UserEditModel() { Title = "user_edit_title"; UserUidInput = new HiddenInputModel("UserUid"); FirstNameInput = new InputModel("FirstName", "first_name", true); LastNameInput = new InputModel("LastName", "last_name", true); LanguageInput = new SelectInputModel("LanguageUid", "LanguageName", "language", "/Language/SelectData"); LanguageInput.IsOptionTypeContent = true; }
public InviteAcceptModel() { Title = "accept_invite_title"; TokenInput = new HiddenInputModel("Token"); EmailInput = new HiddenInputModel("Email"); FirstNameInput = new InputModel("FirstName", "first_name", true); LastNameInput = new InputModel("LastName", "last_name", true); PasswordInput = new PasswordInputModel("Password", "password", true); ReEnterPasswordInput = new PasswordInputModel("ReEnterPassword", "re_enter_password", true); }
public AdminAcceptInviteModel() { Title = "admin_accept_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); TokenInput = new HiddenInputModel("Token"); EmailInput = new HiddenInputModel("Email"); FirstNameInput = new InputModel("FirstName", "first_name", true); LastNameInput = new InputModel("LastName", "last_name", true); PasswordInput = new PasswordInputModel("Password", "password", true); ReEnterPasswordInput = new PasswordInputModel("ReEnterPassword", "re_enter_password", true); }
public LanguageEditModel() { Title = "language_edit_title"; LanguageUidInput = new HiddenInputModel("LanguageUid"); NameInput = new InputModel("Name", "name", true); OriginalNameInput = new InputModel("OriginalName", "original_name", true); IsoCode2Input = new ShortInputModel("IsoCode2", "iso_code_2_character", true); IsoCode3Input = new ShortInputModel("IsoCode3", "iso_code_3_character", true); IconInput = new FileInputModel("Icon", "icon", false); DescriptionInput = new LongInputModel("Description", "description"); }
public LabelCloneModel() { Title = "label_clone_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); CloningLabelUidInput = new HiddenInputModel("CloningLabelUid"); CloningLabelKeyInput = new HiddenInputModel("CloningLabelKey"); ProjectUidInput = new SelectInputModel("ProjectUid", "ProjectName", "project", "/Project/SelectData/"); KeyInput = new InputModel("Key", "key"); DescriptionInput = new LongInputModel("Description", "description"); CloningLabelTranslationCountInput = new HiddenInputModel("CloningLabelTranslationCount", "cloning_label_translation_count"); }
public ProjectCloneModel() { Title = "project_clone_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); CloningProjectUidInput = new HiddenInputModel("CloningProjectUid"); NameInput = new InputModel("Name", "name"); UrlInput = new UrlInputModel("Url", "url"); DescriptionInput = new LongInputModel("Description", "description"); LabelCountInput = new HiddenInputModel("LabelCount"); LabelTranslationCountInput = new HiddenInputModel("LabelTranslationCount"); IsSuperProjectInput = new CheckboxInputModel("IsSuperProject", "is_super_project"); }
public LabelTranslationCreateModel() { Title = "label_translation_create_title"; OrganizationUidInput = new HiddenInputModel("OrganizationUid"); ProjectInput = new HiddenInputModel("ProjectUid"); ProjectNameInput = new HiddenInputModel("ProjectName"); LabelInput = new HiddenInputModel("LabelUid"); LabelKeyInput = new HiddenInputModel("LabelKey"); LanguageInput = new SelectInputModel("LanguageUid", "LanguageName", "language", "/Language/SelectData"); LanguageInput.IsOptionTypeContent = true; LabelTranslationInput = new LongInputModel("LabelTranslation", "label_translation", true); }
public OrganizationBaseModel() { OrganizationUidInput = new HiddenInputModel("OrganizationUid"); }
public MvcHtmlString Hidden <TProperty>(string name, TProperty value) { HiddenInputModel textInputModel = new HiddenInputModel(Helper, name, value); return(Helper.Partial("EditorTemplates/Forms/Hidden", textInputModel)); }
public LoginLogsModel() { Title = "user_login_logs_title"; UserUidInput = new HiddenInputModel("UserUid"); }