This commit is contained in:
2020-05-18 00:27:37 +00:00
parent ec58b25e1a
commit 934425e057

View File

@@ -38,6 +38,7 @@ namespace AyaNova.Api.Controllers
[HttpGet] [HttpGet]
public ContentResult Index() public ContentResult Index()
{ {
//https://superuser.com/questions/361297/what-colour-is-the-dark-green-on-old-fashioned-green-screen-computer-displays
var errorBlock = string.Empty; var errorBlock = string.Empty;
if (serverState.IsSystemLocked) if (serverState.IsSystemLocked)
errorBlock = $@"<div class=""error""><h1>SERVER ERROR</h1><h2>{serverState.Reason}</h2></div>"; errorBlock = $@"<div class=""error""><h1>SERVER ERROR</h1><h2>{serverState.Reason}</h2></div>";