1 static const char* head = R"foo(
3 Content-Type: text/html
6 <title>IoT Blink</title>
7 <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/css/bootstrap.min.css" >
11 static const char* body = R"foo(
13 <div class="container">
14 <div class="jumbotron">
15 <h1>Arduino IoT Example</h1>
16 <p>This WebApp turns On / Off the onboard LED with Arduino code.</p>
19 <a href="/ON""><button type="button" class="btn btn-primary btn-lg">Turn On </button></a>
20 <a href="/OFF""><button type="button" class="btn btn-secondary btn-lg">Turn Off </button></a>
24 static const char footer[] = R"foo(
27 <!-- Optional JavaScript -->
28 <!-- jQuery first, then Popper.js, then Bootstrap JS -->
29 <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
30 <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js" ></script>
31 <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js" ></script>