Permalink
Browse files

Cosmetic fixes for form-test.

  • Loading branch information...
1 parent 3bb649c commit 9d89d09dba6f785bff50c1aafced54faf90884cf msgilligan committed Sep 15, 2009
Showing with 21 additions and 14 deletions.
  1. +1 −1 web-app/WEB-INF/appengine-web.xml
  2. +1 −1 web-app/test/complete.html
  3. +17 −10 web-app/test/form-echo.gtpl
  4. +2 −2 web-app/test/form-test.html
@@ -1,6 +1,6 @@
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
<application>iui-js</application>
- <version>10</version>
+ <version>11</version>
<static-files>
<include path="/**.gif"/>
@@ -32,7 +32,7 @@ <h1 id="pageTitle"></h1>
<fieldset>
<div class="row">
<label>Label</label>
- <span>Text in apan</span>
+ <span>Text in a span</span>
</div>
<div class="row">
<label>Label 2</label>
@@ -1,19 +1,26 @@
<div id="form-echo" class="panel" title="Form Echo">
<h2>Req Info</h2>
- <dl>
- <dt>Method</dt>
- <dd>${request.method}</dd>
- <dt>Remote Host</dt>
- <dd>${request.remoteHost}</dd>
- </dl>
+ <fieldset>
+ <div class="row">
+ <label>Method</label>
+ <span>${request.method}</span>
+ </div>
+ <div class="row">
+ <label>RemoteHost</label>
+ <span>${request.remoteHost}</span>
+ </div>
+ </fieldset>
<h2>Parameters</h2>
- <dl>
+ <fieldset>
<% for (p in params) { %>
- <dt>$p.key</dt>
- <dd>$p.value</dd>
+ <div class="row">
+ <label>$p.key</label>
+ <span>$p.value</span>
+ </div>
<% } %>
- </dl>
+ </fieldset>
<h2>Headers</h2>
+ <h2>Use a dl to remind us to add CSS</h2>
<dl>
<% for (h in headers) { %>
<dt>$h.key</dt>
@@ -2,7 +2,7 @@
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
- <title>Link Types</title>
+ <title>Form Tests</title>
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;"/>
<link rel="apple-touch-icon-precomposed" href="../iui/iui-logo-touch-icon.png" />
<meta name="apple-mobile-web-app-capable" content="yes" />
@@ -21,7 +21,7 @@ <h1 id="pageTitle"></h1>
<a id="backButton" class="button" href="#"></a>
</div>
- <ul id="formTest" title="Form Test Cases" selected="true">
+ <ul id="formTest" title="Form Tests" selected="true">
<li><a href="#def">default method</a></li>
<li><a href="#GET">GET</a></li>
<li><a href="#POST">POST</a></li>

0 comments on commit 9d89d09

Please sign in to comment.