-
Notifications
You must be signed in to change notification settings - Fork 1
/
web.h
31 lines (17 loc) · 1.7 KB
/
web.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#define CONFIG_WEB_PAGE 0
#define PARAMS_WEB_PAGE 1
// HTML strings for the webserver
const char HTTP_RESPONSE_0[] = {"HTTP/1.1 200 OK"};
const char HTTP_RESPONSE_1[] = {"Content-Type: text/html\n"};
const char HTTP_RESPONSE_2[] = {"<!DOCTYPE html>"};
const char HTML_HEADER_CSS_0[] = {"<html><head><title>R-IoT CC3200 WiFi Sensor Platform</title>\n<style>"};
const char HTML_HEADER_CSS_1[] = {"body {font-family:verdana; background-color:#FCFAF5; color:#7E7D7B}"};
const char HTML_HEADER_CSS_2[] = {"h1 {text-align:left; font-family:verdana;color:#7E7D7B}"};
const char HTML_HEADER_CSS_3[] = {"hr {color:#02C29D; background-color:#02C29D; border:0; height:8px}"};
const char HTML_HEADER_CSS_4[] = {"p {font-family:verdana;background-color:#F0EDE3;color:##666666}"};
const char HTML_HEADER_CSS_5[] = {"table {background-color:#F0EDE3;color:666666}\n</style></head>"};
const char HTML_HEADER_CSS_6[] = {"<html><head><title>R-IoT CC3200 WiFi Sensor Platform</title>"};
const char HTML_HEADER_CSS_7[] = {"<body>\n<h1><font color=\"#8BADFA\">{</font>SOUND MUSIC MOVEMENT<font color=\"#8BADFA\">}</font>"};
const char HTML_HEADER_CSS_8[] = {"INTERACTION <br/> IRCAM - PLUX - 2017<span style=\"float:right;\">"};
#define HTML_HEADER_CSS_SIZE 9
const char* pHTML_HEADER_CSS[] = {HTML_HEADER_CSS_0, HTML_HEADER_CSS_1, HTML_HEADER_CSS_2, HTML_HEADER_CSS_3, HTML_HEADER_CSS_4, HTML_HEADER_CSS_5, HTML_HEADER_CSS_6, HTML_HEADER_CSS_7, HTML_HEADER_CSS_8};