Definition at line 27 of file DefaultPeerPageRender.cs.
Ntp.Analyzer.Render.Peer.DefaultPeerPageRender.DefaultPeerPageRender |
( |
Uri |
webPath, |
|
|
string |
name |
|
) |
| |
|
inline |
override string Ntp.Analyzer.Render.Peer.DefaultPeerPageRender.Render |
( |
| ) |
|
|
inline |
override string Ntp.Analyzer.Render.Peer.DefaultPeerPageRender.RenderFooter |
( |
| ) |
|
|
inlinevirtual |
override string Ntp.Analyzer.Render.Peer.DefaultPeerPageRender.RenderHead |
( |
| ) |
|
|
inlinevirtual |
Implements Ntp.Analyzer.Render.HtmlObjectRender.
Definition at line 52 of file DefaultPeerPageRender.cs.
54 var builder =
new StringBuilder();
56 builder.AppendLine(
"<!DOCTYPE html>");
57 builder.AppendLine(
"<html><head>");
58 builder.AppendLine(
@"<meta charset=""UTF-8"">");
59 builder.AppendLine(
@"<style type=""text/css"">");
60 builder.AppendLine(
"body {font-family: Helvetica; font-size: 14px; line-height:100%; }");
61 builder.AppendLine(
"h2 { font-family: monospace; display: inline-block; }");
62 builder.AppendLine(
"h4 { font-family: monospace; display: inline-block; }");
63 builder.AppendLine(
"a:link { color:#33348e; text-decoration: none; }");
64 builder.AppendLine(
"a:visited { color:#33348e; text-decoration: none; }");
65 builder.AppendLine(
"a:hover { color:#33348e; text-decoration: underline;; }");
66 builder.AppendLine(
"a:active { color:#7476b4; text-decoration: underline; }");
68 "table { border-collapse:collapse; border-spacing: 0px; width: 975px; table-layout: fixed; }");
70 "td { padding: 0px; padding-right: 0px; padding-left: 0px; padding-top: 2px; padding-bottom: 3px; }");
71 builder.AppendLine(
"col.fst { width: 150px; }");
72 builder.AppendLine(
"col.sec { width: 275px; }");
73 builder.AppendLine(
"col.thd { width: 125px; }");
74 builder.AppendLine(
"col.frt { width: 425px; }");
75 builder.AppendLine(
"</style>");
76 builder.AppendLine(
"<title>");
77 builder.AppendLine(
name);
78 builder.AppendLine(
"</title>");
79 builder.AppendLine(
"</head>");
81 return builder.ToString();
readonly string Ntp.Analyzer.Render.Peer.DefaultPeerPageRender.name |
|
private |
The documentation for this class was generated from the following file: