jungle.html 1.57 KB


<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width">

    <title>Service worker demo</title>

    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
  </head>

  <body>
    <h1>Free Web Initiative with CribJS: Start your Website</h1>
    <p>You can start building this website by editing the content of the input here:</p>
    <ul>
      <li>First field: the path</li>
      <li>First field: mimetype</li>
      <li>First field: the content</li>
    </ul>
    <p>Have fun building the web :)</p>
    <div class="output">
      <div id="status"></div>

      <div id="commands" style="display: none">
        <div>
          <label for="url">Resource URL:</label>
          <input id="url" type="text" size="50" value="test.html">
          <button id="get">Get from Cache</button>           
          <input id="mimetype" type="text" size="50" value="text/html">
        <div>
          <textarea id="information" cols="35" wrap="soft"></textarea>
        </div>
        <div>
          <button id="add">Add to Cache</button>
          <button id="delete">Delete from Cache</button>
        </div>
        <div>
          <button id="list-contents">List Cache Contents</button>
          <button id="save-contents">Save Cache</button>
          <button id="load-contents">Load Cache</button>
        </div>
        <ul id="contents"></ul>
      </div>
    </div>

    <script src="app.js"></script>
  </body>
</html>