protected override string GenerateHeaderInformation() { StringBuilder sb = new StringBuilder(); sb.Append(@"<script>"); sb.Append(TemplateManager.LoadVisJs()); sb.Append(@"</script>"); sb.Append(HealthCheckReportBase.GetStyleSheetTheme()); sb.Append(@"<style type=""text/css""> .modal{top: 50px;} .legend_user {background: #80b2ff; border: #0047b2;border-width: 1px;border-style: solid;font-family: monospace;padding:2px;} .legend_fsp {background: #ffa366; border: #8f3900;border-width: 1px;border-style: solid;font-family: monospace;padding:2px;} .legend_computer {background: #d65c33; border: #661a00;border-width: 1px;border-style: solid;font-family: monospace;padding:2px;} .legend_group {background: #70db70; border: #196419;border-width: 1px;border-style: solid;font-family: monospace;padding:2px;} .legend_ou {background: #cccccc; border: #333333;border-width: 1px;border-style: solid;font-family: monospace;padding:2px;} .legend_gpo {background: #ad8533; border: #403100;border-width: 1px;border-style: solid;font-family: monospace;padding:2px;} .legend_unknown {background: #ffffff; border: #a352cc;border-width: 1px;border-style: solid;font-family: monospace;padding:2px;} .ticked{color:#4caf50}.unticked{color:#ff1744} .info-mark { background-color: #fff; border-radius: 50%; border: 1px solid #58595b; color: #58595b; display: inline-block; font-size: 16px; height: 20px; text-align: center; vertical-align: middle; width: 20px; font-style: normal; } "); sb.Append(TemplateManager.LoadVisCss()); sb.Append(@"</style>"); return(sb.ToString()); }
protected override string GenerateHeaderInformation() { StringBuilder sb = new StringBuilder(); sb.Append(@"<script>"); sb.Append(TemplateManager.LoadVisJs()); sb.Append(@"</script>"); sb.Append(HealthCheckReportBase.GetStyleSheetTheme()); sb.Append(@"<style type=""text/css""> .modal { top: 50px; } .modal-header { background-color: #FA9C1A; } .modal-header h4 {color: #fff;} .legend_criticalscore { background: #A856AA; border: #19231a; border-style: solid; border-width: 1px; padding: 5px; } .legend_superhighscore { background: #E75351; border: #19231a; border-style: solid; border-width: 1px; padding: 5px; } .legend_highscore { background: #FA9426; border: #19231a; border-style: solid; border-width: 1px; padding: 5px; } .legend_mediumscore { background: #FDC334; border: #19231a; border-style: solid; border-width: 1px; padding: 5px; } .legend_lowscore { background: #74C25C; border: #19231a; border-style: solid; border-width: 1px; padding: 5px; } .legend_unknown { background: #ffffff; border: #a352cc; border-style: solid; border-width: 1px; padding: 5px; } "); sb.Append(TemplateManager.LoadVisCss()); sb.Append(@"</style>"); return(sb.ToString()); }