<!DOCTYPE html>
<html>
  <head>
    <title>SQLite</title>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
    <META HTTP-EQUIV="Expires" CONTENT="-1" />
    <script type="text/javascript" src="hterm.concat.js"></script>
    <script type="text/javascript" src="naclterm.js"></script>
    <script type="text/javascript" src="curl.js"></script>
  </head>
  <body>
    <h1>curl example application</h1>
    <p>This page embeds the curl executable (command line interface to libcurl)
    build with NaCl.  Because it needs to use the chrome socket API, chrome
    must be lunched with --allow-nacl-socket-api=localhost (or whatever host
    you are loading this page from).</p>
    <p>The terminal window below can be used to interact with curl via
    stdin/stdout/stderr.</p>
    <div id="terminal"></div>
  </body>
</html>

<!DOCTYPE html>
<html>
  <head>
    <title>curl</title>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache" />
    <META HTTP-EQUIV="Expires" CONTENT="-1" />
    <script type="text/javascript" src="hterm.concat.js"></script>
    <script type="text/javascript" src="naclterm.js"></script>
    <script type="text/javascript" src="curl.js"></script>

    <style type="text/css">
      #terminal {
        width: 90%;
        height: 500px;
        position: relative;
      }
    </style>
  </head>
  <body>
    <h1>curl example application</h1>
    <p>This page embeds the curl executable (command line interface to libcurl)
    built with NaCl.  Because it needs to use the chrome socket API, chrome
    must be lunched with --allow-nacl-socket-api=localhost (or whatever host
    you are loading this page from).</p>
    Arguments can be passed to curl using the following form, or by adding
    "arg1", "arg2", etc to the URL query paramaters.
    <form>
      Arg1: <input type="text" name="arg1" value="www.google.com">
      <input type="submit" value="Run">
    </form>
    <p>The terminal window below shows the output of curl.</p>
    <div id="terminal"></div>
  </body>
</html>

Update html for curl example.
Update html for curl example.

The hterm window is now correctly positioned below the
instructions.  Also add a form so the paramters can easily
be passed to the nacl module.

R=binji@chromium.org

Review URL: https://codereview.chromium.org/25640006

git-svn-id: 84b3587ce119b778414dcb50e18b7479aacf4f1d@907 7dad1e8b-422e-d2af-fbf5-8013b78bd812
