This commit is contained in:
2020-03-04 22:37:25 +00:00
parent bd9b8d63a2
commit 62c845a43d
5 changed files with 23 additions and 11 deletions

View File

@@ -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 (09, AF). 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
}
}