jungle.html 1.57 KB

<!DOCTYPE html>
    <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>

    <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>
      <li>First field: the path</li>
      <li>First field: mimetype</li>
      <li>First field: the content</li>
    <p>Have fun building the web :)</p>
    <div class="output">
      <div id="status"></div>

      <div id="commands" style="display: none">
          <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">
          <textarea id="information" cols="35" wrap="soft"></textarea>
          <button id="add">Add to Cache</button>
          <button id="delete">Delete from Cache</button>
          <button id="list-contents">List Cache Contents</button>
          <button id="save-contents">Save Cache</button>
          <button id="load-contents">Load Cache</button>
        <ul id="contents"></ul>

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