非常棒!

This commit is contained in:
zogodo
2020-02-21 01:20:11 +08:00
parent 41fa32958c
commit 51f8690460
5 changed files with 4058 additions and 3491 deletions

View File

@@ -159,6 +159,16 @@ static int HttpGetCss(httpd_request_t *req)
total_sz = sizeof(web_material_cyan_light_blue_min_css);
js_data = web_material_cyan_light_blue_min_css;
}
else if (strcmp(js_name + 6, "roboto") == 0)
{
total_sz = sizeof(web_roboto_css);
js_data = web_roboto_css;
}
else if (strcmp(js_name + 6, "icon") == 0)
{
total_sz = sizeof(web_icon_css);
js_data = web_icon_css;
}
err = httpd_send_all_header(req, HTTP_RES_200, total_sz, HTTP_CONTENT_CSS_ZIP);
require_noerr_action(err, exit, http_log("ERROR: Unable to send http testpage headers."));