build/pgo/blueprint/forms.html

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

michael@0 1 <!-- This Source Code Form is subject to the terms of the Mozilla Public
michael@0 2 - License, v. 2.0. If a copy of the MPL was not distributed with this
michael@0 3 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
michael@0 4
michael@0 5 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
michael@0 6 "http://www.w3.org/TR/html4/strict.dtd">
michael@0 7
michael@0 8 <html lang="en">
michael@0 9 <head>
michael@0 10 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
michael@0 11 <title>Blueprint Forms Tests</title>
michael@0 12
michael@0 13 <!-- Framework CSS -->
michael@0 14 <link rel="stylesheet" href="screen.css" type="text/css" media="screen, projection">
michael@0 15 <link rel="stylesheet" href="print.css" type="text/css" media="print">
michael@0 16 <!--[if IE]><link rel="stylesheet" href="ie.css" type="text/css" media="screen, projection"><![endif]-->
michael@0 17 </head>
michael@0 18 <body>
michael@0 19
michael@0 20 <div class="container showgrid">
michael@0 21 <h1>Forms</h1>
michael@0 22 <hr>
michael@0 23
michael@0 24 <div class="span-12">
michael@0 25
michael@0 26 <form id="dummy" action="" method="post">
michael@0 27
michael@0 28 <fieldset>
michael@0 29 <legend>Simple sample form</legend>
michael@0 30
michael@0 31 <p><label for="dummy0">Text input (title)</label><br>
michael@0 32 <input type="text" class="title" name="dummy0" id="dummy0" value="Field with class .title"></p>
michael@0 33
michael@0 34 <p><label for="dummy1">Another field</label><br>
michael@0 35 <input type="text" class="text" id="dummy1" name="dummy1" value="Field with class .text"></p>
michael@0 36
michael@0 37 <p><label for="dummy2">Textarea</label><br>
michael@0 38 <textarea name="dummy2" id="dummy2" rows="5" cols="20"></textarea></p>
michael@0 39
michael@0 40 <p><input type="submit" value="Submit">
michael@0 41 <input type="reset" value="Reset"></p>
michael@0 42
michael@0 43 </fieldset>
michael@0 44 </form>
michael@0 45
michael@0 46 </div>
michael@0 47 <div class="span-12 last">
michael@0 48
michael@0 49 <div class="error">
michael@0 50 This is a &lt;div&gt; with the class <strong>.error</strong>. <a href="#">Link</a>.
michael@0 51 </div>
michael@0 52 <div class="notice">
michael@0 53 This is a &lt;div&gt; with the class <strong>.notice</strong>. <a href="#">Link</a>.
michael@0 54 </div>
michael@0 55 <div class="success">
michael@0 56 This is a &lt;div&gt; with the class <strong>.success</strong>. <a href="#">Link</a>.
michael@0 57 </div>
michael@0 58
michael@0 59 <fieldset>
michael@0 60 <legend>Select, checkboxes, lists</legend>
michael@0 61
michael@0 62 <p><label for="dummy3">Select field</label><br>
michael@0 63 <select id="dummy3" name="dummy3">
michael@0 64 <option value="1">Ottawa</option>
michael@0 65 <option value="2">Calgary</option>
michael@0 66 <option value="3">Moosejaw</option>
michael@0 67 </select></p>
michael@0 68
michael@0 69 <p><label for="dummy4">Select with groups</label><br>
michael@0 70 <select id="dummy4" name="dummy4">
michael@0 71 <option>Favorite pet</option>
michael@0 72 <optgroup label="mammals">
michael@0 73 <option>dog</option>
michael@0 74 <option>cat</option>
michael@0 75 <option>rabbit</option>
michael@0 76 <option>horse</option>
michael@0 77 </optgroup>
michael@0 78 <optgroup label="reptiles">
michael@0 79 <option>iguana</option>
michael@0 80 <option>snake</option>
michael@0 81 </optgroup>
michael@0 82 </select></p>
michael@0 83
michael@0 84 <p><label>Radio buttons</label><br>
michael@0 85 <input type="radio" name="example"> Radio one<br>
michael@0 86 <input type="radio" name="example"> Radio two<br>
michael@0 87 <input type="radio" name="example"> Radio three<br></p>
michael@0 88
michael@0 89 <p><label>Checkboxes</label><br>
michael@0 90 <input type="checkbox"> Check one<br>
michael@0 91 <input type="checkbox"> Check two<br>
michael@0 92 <input type="checkbox"> Check three<br></p>
michael@0 93
michael@0 94 </fieldset>
michael@0 95
michael@0 96 </div>
michael@0 97 <hr>
michael@0 98
michael@0 99 <p><a href="http://validator.w3.org/check?uri=referer">
michael@0 100 <img src="valid.png" alt="Valid HTML 4.01 Strict" height="31" width="88" class="top"></a></p>
michael@0 101
michael@0 102 </div>
michael@0 103 </body>
michael@0 104 </html>

mercurial