Some more cosmetics - final build for tonight

This commit is contained in:
Rick Falkvinge
2013-02-16 22:44:08 +00:00
parent 673c7c6680
commit 56806e4281
2 changed files with 19 additions and 2 deletions
@@ -92,11 +92,24 @@ namespace Swarmops.Frontend.Pages.v5.Ledgers
result.Remove(result.Length - 1, 1); // remove last comma
}
result.Append("],\"footer\":[{");
result.Append("],\"footer\":[");
result.AppendFormat("\"id\":\"{0}\",\"amount\":\"{2:N2}\"",
result.Append("{");
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{2:N2}\"",
"Total", balanceExpectedCents, centsTotal/100.0);
result.Append("},{");
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{2:N2}\"",
"Expected", balanceExpectedCents, centsTotal / 100.0);
result.Append("},{");
result.AppendFormat("\"description\":\"{0}\",\"amount\":\"{2:N2}\"",
"Difference", balanceExpectedCents, 0.0);
result.Append("}]}"); // on separate line to suppress warning
return result.ToString();
@@ -55,6 +55,10 @@
color: #1C397E;
letter-spacing: 1px;
}
table.datagrid-ftable {
font-weight: 500;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderMain" Runat="Server">