-
Notifications
You must be signed in to change notification settings - Fork 0
/
Globals.cs
66 lines (53 loc) · 2 KB
/
Globals.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
using System.ComponentModel.DataAnnotations;
namespace CmsCommerce;
public class Globals
{
public const string LoginPath = "/util/login";
/// <summary>
/// Group names for content types and properties
/// </summary>
[GroupDefinitions]
public static class GroupNames
{
[Display(Name = "Contact", Order = 1)]
public const string Contact = "Contact";
[Display(Name = "Default", Order = 2)]
public const string Default = "Default";
[Display(Name = "Metadata", Order = 3)]
public const string MetaData = "Metadata";
[Display(Name = "News", Order = 4)]
public const string News = "News";
[Display(Name = "Products", Order = 5)]
public const string Products = "Products";
[Display(Name = "SiteSettings", Order = 6)]
public const string SiteSettings = "SiteSettings";
[Display(Name = "Specialized", Order = 7)]
public const string Specialized = "Specialized";
[Display(Name = "Custom", Order = 7)]
public const string Custom = "Custom";
}
/// <summary>
/// Tags to use for the main widths used in the Bootstrap HTML framework
/// </summary>
public static class ContentAreaTags
{
public const string FullWidth = "full";
public const string WideWidth = "wide";
public const string HalfWidth = "half";
public const string NarrowWidth = "narrow";
public const string NoRenderer = "norenderer";
}
/// <summary>
/// Names used for UIHint attributes to map specific rendering controls to page properties
/// </summary>
public static class SiteUIHints
{
public const string Contact = "contact";
public const string Strings = "StringList";
public const string StringsCollection = "StringsCollection";
}
/// <summary>
/// Virtual path to folder with static graphics, such as "/gfx/"
/// </summary>
public const string StaticGraphicsFolderPath = "/gfx/";
}