This commit is contained in:
@@ -12,14 +12,13 @@ namespace AyaNova.Models
|
||||
//-------------
|
||||
[EmailAddress]
|
||||
public string EmailAddress { get; set; }
|
||||
/// <summary>
|
||||
/// As of today Dec 10 2018 all time zones in the world are either on the hour, half hour or 45 minute mark from utc so
|
||||
/// keeping this value as decimal hours for back compatibility with v7 and easier for user to enter
|
||||
/// 8.5 for 8:30 time difference or 12.75 for 12:45 time differnce for example
|
||||
/// </summary>
|
||||
/// <value></value>
|
||||
|
||||
public int UiColor { get; set; }
|
||||
|
||||
/*
|
||||
Hexadecimal notation: #RGB[A]
|
||||
R (red), G (green), B (blue), and A (alpha) are hexadecimal characters (0–9, A–F). A is optional. The three-digit notation (#RGB) is a shorter version of the six-digit form (#RRGGBB). For example, #f09 is the same color as #ff0099. Likewise, the four-digit RGB notation (#RGBA) is a shorter version of the eight-digit form (#RRGGBBAA). For example, #0f38 is the same color as #00ff3388.
|
||||
*/
|
||||
[MaxLength(12)]
|
||||
public string UiColor { get; set; }
|
||||
|
||||
//browser forced overrides
|
||||
public string LanguageOverride { get; set; }
|
||||
@@ -40,7 +39,7 @@ namespace AyaNova.Models
|
||||
{
|
||||
CurrencyName = "USD";
|
||||
Hour12 = true;
|
||||
UiColor = 0;
|
||||
UiColor = "#000000";//black is the default
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user