Formatting #2 (#59)

This commit is contained in:
Kamron Batman 2019-10-05 00:37:03 -07:00 committed by GitHub
parent 096d39609e
commit 8e9221bb5a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
400 changed files with 3688 additions and 5969 deletions

View file

@ -101,7 +101,7 @@ namespace Server.Misc
op.WriteLine("<!DOCTYPE html>");
op.WriteLine("<html>");
op.WriteLine(" <head>");
op.WriteLine(" <title>" + ServerList.ServerName + " Server Status</title>");
op.WriteLine($" <title>{ServerList.ServerName} Server Status</title>");
op.WriteLine(" </head>");
op.WriteLine(" <style type=\"text/css\">");
op.WriteLine(" body { background: #999; }");
@ -125,7 +125,7 @@ namespace Server.Misc
Guild g = m.Guild as Guild;
op.Write(" <tr class=\"ruo-result " + (index % 2 == 0 ? "even" : "odd") + "\"><td>");
op.Write($" <tr class=\"ruo-result {(index % 2 == 0 ? "even" : "odd")}\"><td>");
if (g != null)
{
@ -134,7 +134,7 @@ namespace Server.Misc
string title = m.GuildTitle;
title = title != null ? title.Trim() : string.Empty;
title = title?.Trim() ?? string.Empty;
if (title.Length > 0)
{