Skip to content

Commit

Permalink
Improvements to UI for #113
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigHawker committed Aug 4, 2023
1 parent da82141 commit bda9ff6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,9 @@ public override string GetDashboardContent(IConfigurationRequestContext context)
if(dashboard.Contents.Count == 0
&& !this.startApplicationCalled)
{
dashboardContent = "<p style='color: red;'>Exception rendering dashboard: <span style='font-family: Courier New, monospace'>base.StartApplication</span> not called.</p>";
var content = new DashboardCustomContentEx("<p style='color: red; padding: 10px 10px 10px 20px; margin: 10px; border: 1px solid red; background-position-x: 3px !important;'>Exception rendering dashboard: <span style='font-family: Courier New, monospace'>base.StartApplication</span> not called.</p>");
content.Icon = "Resources/Images/Failed.png";
dashboardContent = content.ToXmlString();
}

return dashboardContent;
Expand Down

0 comments on commit bda9ff6

Please sign in to comment.