146 lines
3.2 KiB
C
146 lines
3.2 KiB
C
/* Automagically generated, do not edit! */
|
|
static const u_char t_head1[] = ""
|
|
"<!DOCTYPE html>"
|
|
"<html>"
|
|
"<head>"
|
|
"<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\">"
|
|
"<meta name=\"viewport\" content=\"width=device-width\">"
|
|
"<style type=\"text/css\">"
|
|
"body,html {"
|
|
"background:#fff;"
|
|
"font-family:\"Bitstream Vera Sans\",\"Lucida Grande\","
|
|
"\"Lucida Sans Unicode\",Lucidux,Verdana,Lucida,sans-serif;"
|
|
"}"
|
|
"table {"
|
|
"table-layout: fixed;"
|
|
"}"
|
|
"tr:nth-child(even) {"
|
|
"background:#f4f4f4;"
|
|
"}"
|
|
"th,td {"
|
|
"padding:0.1em 0.5em;"
|
|
"}"
|
|
"th {"
|
|
"text-align:left;"
|
|
"font-weight:bold;"
|
|
"background:#eee;"
|
|
"border-bottom:1px solid #aaa;"
|
|
"}"
|
|
"#list {"
|
|
"border:1px solid #aaa;"
|
|
"width:100%;"
|
|
"}"
|
|
"a {"
|
|
"color:#a33;"
|
|
"}"
|
|
"a:hover {"
|
|
"color:#e33;"
|
|
"}"
|
|
".link {"
|
|
"white-space: nowrap;"
|
|
"text-overflow: '>';"
|
|
"overflow: hidden;"
|
|
"}"
|
|
".sort-col-1 th:nth-of-type(1),"
|
|
".sort-col-2 th:nth-of-type(2),"
|
|
".sort-col-3 th:nth-of-type(3) {"
|
|
"background:#ddd;"
|
|
"}"
|
|
".sort-col-1 td:nth-of-type(1),"
|
|
".sort-col-2 td:nth-of-type(2),"
|
|
".sort-col-3 td:nth-of-type(3) {"
|
|
"background:#eee;"
|
|
"}"
|
|
".sort-col-1 tr:nth-child(even) td:nth-of-type(1),"
|
|
".sort-col-2 tr:nth-child(even) td:nth-of-type(2),"
|
|
".sort-col-3 tr:nth-child(even) td:nth-of-type(3) {"
|
|
"background:#e4e4e4;"
|
|
"}"
|
|
"</style>"
|
|
"\n"
|
|
;
|
|
static const u_char t_head2[] = ""
|
|
"\n"
|
|
"<title>Index of "
|
|
;
|
|
static const u_char t_head3[] = ""
|
|
"</title>"
|
|
"\n"
|
|
"</head>"
|
|
;
|
|
static const u_char t_body1[] = ""
|
|
"<body>"
|
|
"<h1>Index of "
|
|
;
|
|
static const u_char t_body2[] = ""
|
|
"</h1>"
|
|
"\n"
|
|
;
|
|
static const u_char t_list_begin[] = ""
|
|
"<table id=\"list\" class=\""
|
|
;
|
|
static const u_char t_list_head[] = ""
|
|
"\">"
|
|
"<thead>"
|
|
"<tr>"
|
|
;
|
|
static const u_char t_list_colhead_name1[] = ""
|
|
"<th colspan=\"2\""
|
|
;
|
|
static const u_char t_list_colhead_name2[] = ""
|
|
"><a href=\"?C=N&O=A\">File Name</a> <a href=\"?C=N&O=D\"> ↓ </a></th>"
|
|
;
|
|
static const u_char t_list_colhead_size1[] = ""
|
|
"<th"
|
|
;
|
|
static const u_char t_list_colhead_size2[] = ""
|
|
"><a href=\"?C=S&O=A\">File Size</a> <a href=\"?C=S&O=D\"> ↓ </a></th>"
|
|
;
|
|
static const u_char t_list_colhead_date1[] = ""
|
|
"<th"
|
|
;
|
|
static const u_char t_list_colhead_date2[] = ""
|
|
"><a href=\"?C=M&O=A\">Date</a> <a href=\"?C=M&O=D\"> ↓ </a></th>"
|
|
;
|
|
static const u_char t_list_mid[] = ""
|
|
"</tr>"
|
|
"</thead>"
|
|
"\n"
|
|
"<tbody>"
|
|
;
|
|
static const u_char t_parentdir_entry[] = ""
|
|
"<tr>"
|
|
"<td colspan=\"2\" class=\"link\"><a href=\"../?C=N&O=A\">Parent directory/</a></td>"
|
|
"<td class=\"size\">-</td>"
|
|
"<td class=\"date\">-</td>"
|
|
"</tr>"
|
|
"\n"
|
|
;
|
|
static const u_char t_list_end[] = ""
|
|
"</tbody>"
|
|
"</table>"
|
|
;
|
|
static const u_char t_foot[] = ""
|
|
"</body>"
|
|
"</html>"
|
|
;
|
|
#define NFI_TEMPLATE_SIZE (0 \
|
|
+ nfi_sizeof_ssz(t_head1) \
|
|
+ nfi_sizeof_ssz(t_head2) \
|
|
+ nfi_sizeof_ssz(t_head3) \
|
|
+ nfi_sizeof_ssz(t_body1) \
|
|
+ nfi_sizeof_ssz(t_body2) \
|
|
+ nfi_sizeof_ssz(t_list_begin) \
|
|
+ nfi_sizeof_ssz(t_list_head) \
|
|
+ nfi_sizeof_ssz(t_list_colhead_name1) \
|
|
+ nfi_sizeof_ssz(t_list_colhead_name2) \
|
|
+ nfi_sizeof_ssz(t_list_colhead_size1) \
|
|
+ nfi_sizeof_ssz(t_list_colhead_size2) \
|
|
+ nfi_sizeof_ssz(t_list_colhead_date1) \
|
|
+ nfi_sizeof_ssz(t_list_colhead_date2) \
|
|
+ nfi_sizeof_ssz(t_list_mid) \
|
|
+ nfi_sizeof_ssz(t_parentdir_entry) \
|
|
+ nfi_sizeof_ssz(t_list_end) \
|
|
+ nfi_sizeof_ssz(t_foot) \
|
|
)
|