ngx-fancyindex/template.h

104 lines
2.2 KiB
C
Raw Normal View History

2007-08-24 11:47:59 +00:00
/* Automagically generated, do not edit! */
static const u_char t01_head1[] = ""
"<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">"
2007-08-30 12:29:41 +00:00
"\n"
"<html xmlns=\"http://www.w3.org/1999/xhtml\">"
2007-08-30 12:29:41 +00:00
"\n"
2007-08-24 11:47:59 +00:00
"<head>"
"<meta name=\"viewport\" content=\"width=device-width\"/>"
2007-08-24 12:07:53 +00:00
"<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\"/>"
"<style type=\"text/css\">"
2007-08-24 12:07:53 +00:00
"body,html {"
"background:#fff;"
"font-family:\"Bitstream Vera Sans\",\"Lucida Grande\","
"\"Lucida Sans Unicode\",Lucidux,Verdana,Lucida,sans-serif;"
2007-08-24 11:47:59 +00:00
"}"
"tr:nth-child(even) {"
"background:#f4f4f4;"
2007-08-24 12:07:53 +00:00
"}"
"th,td {"
"padding:0.1em 0.5em;"
2007-08-24 11:47:59 +00:00
"}"
"th {"
"text-align:left;"
"font-weight:bold;"
"background:#eee;"
2007-08-24 12:07:53 +00:00
"border-bottom:1px solid #aaa;"
"}"
"#list {"
"border:1px solid #aaa;"
"width:100%;"
"}"
"a {"
"color:#a33;"
"}"
"a:hover {"
"color:#e33;"
2007-08-24 11:47:59 +00:00
"}"
"</style>"
2007-08-30 12:29:41 +00:00
"\n"
2007-08-24 11:47:59 +00:00
;
static const u_char t02_head2[] = ""
"\n"
"<title>Index of "
;
static const u_char t03_head3[] = ""
2007-08-24 11:47:59 +00:00
"</title>"
2007-08-30 12:29:41 +00:00
"\n"
2007-08-24 11:47:59 +00:00
"</head>"
;
static const u_char t04_body1[] = ""
"<body>"
2007-08-24 12:07:53 +00:00
"<h1>Index of "
2007-08-24 11:47:59 +00:00
;
static const u_char t05_body2[] = ""
2007-08-24 11:47:59 +00:00
"</h1>"
2007-08-30 12:29:41 +00:00
"\n"
2007-08-24 11:47:59 +00:00
;
static const u_char t06_list1[] = ""
"<table id=\"list\" cellpadding=\"0.1em\" cellspacing=\"0\">"
2007-08-30 12:29:41 +00:00
"\n"
"<colgroup>"
2007-08-24 11:47:59 +00:00
"<col width=\"55%\"/>"
2007-08-24 12:07:53 +00:00
"<col width=\"20%\"/>"
2007-08-24 11:47:59 +00:00
"<col width=\"25%\"/>"
"</colgroup>"
2007-08-30 12:29:41 +00:00
"\n"
2007-08-24 11:47:59 +00:00
"<thead>"
"<tr>"
"<th><a href=\"?C=N&O=A\">File Name</a>&nbsp;<a href=\"?C=N&O=D\">&nbsp;&#8595;&nbsp;</a></th>"
"<th><a href=\"?C=S&O=A\">File Size</a>&nbsp;<a href=\"?C=S&O=D\">&nbsp;&#8595;&nbsp;</a></th>"
"<th><a href=\"?C=M&O=A\">Date</a>&nbsp;<a href=\"?C=M&O=D\">&nbsp;&#8595;&nbsp;</a></th>"
2007-08-24 11:47:59 +00:00
"</tr>"
"</thead>"
2007-08-30 12:29:41 +00:00
"\n"
2007-08-24 11:47:59 +00:00
"<tbody>"
;
static const u_char t_parentdir_entry[] = ""
"<tr>"
"<td><a href=\"../?C=N&amp;O=A\">Parent directory/</a></td>"
2007-08-24 12:07:53 +00:00
"<td>-</td>"
"<td>-</td>"
2007-08-24 11:47:59 +00:00
"</tr>"
"\n"
2007-08-24 11:47:59 +00:00
;
static const u_char t07_list2[] = ""
2007-08-24 11:47:59 +00:00
"</tbody>"
"</table>"
;
static const u_char t08_foot1[] = ""
2007-08-24 11:47:59 +00:00
"</body>"
"</html>"
;
#define NFI_TEMPLATE_SIZE (0 \
2007-08-30 12:29:41 +00:00
+ nfi_sizeof_ssz(t01_head1) \
+ nfi_sizeof_ssz(t02_head2) \
+ nfi_sizeof_ssz(t03_head3) \
+ nfi_sizeof_ssz(t04_body1) \
+ nfi_sizeof_ssz(t05_body2) \
+ nfi_sizeof_ssz(t06_list1) \
+ nfi_sizeof_ssz(t_parentdir_entry) \
+ nfi_sizeof_ssz(t07_list2) \
+ nfi_sizeof_ssz(t08_foot1) \
)