00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027 #ifndef CEYLAN_LOG_AGGREGATOR_HTML_FRAGMENTS_H_
00028 #define CEYLAN_LOG_AGGREGATOR_HTML_FRAGMENTS_H_
00029
00030
00031
00032 #include <string>
00033
00034
00049
00050 const std::string LogAggregatorHTML::FrameSet =
00051 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\""
00052 "\"http://www.w3.org/TR/html4/frameset.dtd\">"
00053 "<html lang=\"EN\">"
00054 "<head>"
00055 "<meta content=\"Ceylan Log system (see http://ceylan.sourceforge.net)\" name=\"generator\">"
00056 "<title>Ceylan - Log browser for ST_CALLER_DESCRIPTION</title>"
00057 "<frameset cols=\"30%,*\" frameborder=\"1\" border=\"1\" framespacing=\"0\">"
00058 "<frame name=\"toolbar\" src=\"LogSystem.html\" marginheight=\"0\" "
00059 "frameborder=\"1\" marginwidth=\"0\" scrolling=\"auto\">"
00060 "<frame name=\"mainFrame\" src=\"MainLog.html\" marginheight=\"0\" "
00061 "frameborder=\"1\" marginwidth=\"30\" scrolling=\"auto\">"
00062 "<noframes>"
00063 " <body>"
00064 " <h1>Frames not supported</h1>"
00065 " <p>This log document is designed to be viewed using frame"
00066 " features.<br>"
00067 " If you are seeing this message, please consider upgrading to a"
00068 " frame-compatible browser. We recommend <a href="
00069 " \"http://www.mozilla.org\">Mozilla</a>.</p>"
00070 " </body>"
00071 "</noframes>"
00072 "</frameset>"
00073 "</html>" ;
00074
00075
00076
00077 const std::string LogAggregatorHTML::DefaultPageHeader =
00078 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\""
00079 "http://www.w3.org/TR/REC-html40/loose.dtd\">"
00080 "<html lang=\"EN\">"
00081 "<head>"
00082 "<meta content=\"Ceylan Log system (see http://ceylan.sourceforge.net)\" name=\"generator\">"
00083 "<title>Ceylan - Log browser menu</title>"
00084 "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">"
00085 "<meta name=\"description\" content=\"Ceylan log browser\">"
00086 "<meta name=\"keywords\" content=\"Ceylan, log, menu\">"
00087 "</head>"
00088 "<body><br>"
00089 "<h1>Welcome to the Ceylan System Log Browser</h1><br>"
00090 "<p>Please pick a channel of interest on the left panel to view its log.</p>" ;
00091
00092
00093 const std::string LogAggregatorHTML::DefaultPageFooter =
00094 "</ul><br><br><br><hr>"
00095 "</body></html>" ;
00096
00097
00098
00099 const std::string LogAggregatorHTML::MenuHeader =
00100 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\""
00101 "http://www.w3.org/TR/REC-html40/loose.dtd\">"
00102 "<html lang=\"EN\">"
00103 "<head>"
00104 "<meta content=\"Ceylan Log system (see http://ceylan.sourceforge.net)\" name=\"generator\">"
00105 "<title>Ceylan - Log browser menu</title>"
00106 "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">"
00107 "<meta name=\"description\" content=\"Ceylan log browser\">"
00108 "<meta name=\"keywords\" content=\"Ceylan, log, menu\">"
00109 "</head>"
00110 "<body>"
00111 "<br><center><table summary=\"Log channel browser\" border=\"1\">"
00112 "<tr><th width=\"20\">Log count</th><th>Channel</th>" ;
00113
00114
00115 const std::string LogAggregatorHTML::MenuFooter =
00116 "</table></center>"
00117 "</body></html>" ;
00118
00119
00120
00121 const std::string LogAggregatorHTML::ChannelHeader =
00122 "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\""
00123 "http://www.w3.org/TR/REC-html40/loose.dtd\">"
00124 "<html lang=\"EN\">"
00125 "<head>"
00126 "<meta content=\"Ceylan Log system (see http://ceylan.sourceforge.net)\" name=\"generator\">"
00127 "<title>Ceylan - Channel log for ST_CHANNEL_NAME</title>"
00128 "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\">"
00129 "<meta name=\"description\" content=\"Ceylan log\">"
00130 "<meta name=\"keywords\" content=\"Ceylan, log, channel\">"
00131 "<style type=\"text/css\">"
00132 "div.title {text-align: center; font-size:35px; color:green}"
00133 "</style>"
00134 "</head>"
00135 "<a name=\"_top_\"></a>"
00136 "<body><br><br>"
00137 "<div class=\"title\">Channel ST_CHANNEL_NAME</div><p><ul>" ;
00138
00139
00140 const std::string LogAggregatorHTML::ChannelFooter =
00141 "</ul></p><br><br><br><hr>"
00142 "<center><a href=\"#_top_\">Top</a><br><br><em>Aggregation time :"
00143 " ST_AGGREGATION_DATE</em></center>"
00144 "<center><a href=\"MainLog.html\">Back to main page</a></center>"
00145 "</body></html>" ;
00146
00147
00148
00149
00150 #endif // CEYLAN_LOG_AGGREGATOR_HTML_FRAGMENTS_H_