1234567891011121314151617181920212223242526 |
- using InABox.Core;
- namespace Comal.Classes
- {
- /* A WebStyle represents a singular stylesheet, referenced by a code that uniquely identifies it,
- * allowing it to be referenced from a specific web template. */
- public class WebStyle : Entity, IRemotable, IPersistent, ILicense<WebAccessLicense>, IExportable, IImportable, ISecure
- {
- [UniqueCodeEditor(Visible = Visible.Default, Editable = Editable.Enabled)]
- [EditorSequence(1)]
- public string Code { get; set; } = "";
- [TextBoxEditor]
- [EditorSequence(2)]
- public string Description { get; set; } = "";
- [ScriptEditor(SyntaxLanguage.CSS)]
- [EditorSequence(3)]
- public string Style { get; set; } = "";
- public override string ToString()
- {
- return Code;
- }
- }
- }
|