Skip to content

Commit de767e7

Browse files
committed
Textinput: changed xhtml example to html
Closes gh-271
1 parent 9500723 commit de767e7

File tree

10 files changed

+28
-28
lines changed

10 files changed

+28
-28
lines changed

entries/textinput.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
<pre><code><![CDATA[
1414
<label for="basic">Text Input:</label>
15-
<input type="text" name="name" id="basic" value="" />
15+
<input type="text" name="name" id="basic" value="">
1616
]]></code></pre>
1717
<p>This will produce a basic text input. The default styles set the width of the input to 100% of the parent container and stack the label on a separate line.
1818
<iframe src="/resources/textinput/example1.html" style="width:100%;height:90px;border:0px"></iframe></p>
@@ -23,7 +23,7 @@
2323

2424
<pre><code><![CDATA[
2525
<label for="basic">Text Input:</label>
26-
<input type="text" name="name" id="basic" value="" data-mini="true" />
26+
<input type="text" name="name" id="basic" value="" data-mini="true">
2727
]]></code></pre>
2828

2929
<p>This will produce an input that is not as tall as the standard version and has a smaller text size.
@@ -35,7 +35,7 @@
3535

3636
<pre><code><![CDATA[
3737
<label for="clear-demo">Text Input:</label>
38-
<input type="text" name="clear" id="clear-demo" value="" data-clear-btn="true" />
38+
<input type="text" name="clear" id="clear-demo" value="" data-clear-btn="true">
3939
]]></code></pre>
4040

4141
<p>This markup creates a text input with a clear button that becomes visible as soon as a character has been entered.
@@ -49,7 +49,7 @@
4949
<pre><code><![CDATA[
5050
<div class="ui-field-contain">
5151
<label for="name">Text Input:</label>
52-
<input type="text" name="name" id="name" value="" />
52+
<input type="text" name="name" id="name" value="">
5353
</div>
5454
]]></code></pre>
5555

@@ -110,7 +110,7 @@ $( "input" ).textinput();
110110

111111
<pre><code><![CDATA[
112112
<label for="search-basic">Search Input:</label>
113-
<input type="search" name="search" id="search-basic" value="" />
113+
<input type="search" name="search" id="search-basic" value="">
114114
]]></code></pre>
115115
<p>This will produce a basic search input. The default styles set the width of the input to 100% of the parent container and stack the label on a separate line.
116116
<iframe src="/resources/search-input/example1.html" style="width:100%;height:90px;border:0px"></iframe></p>
@@ -121,7 +121,7 @@ $( "input" ).textinput();
121121

122122
<pre><code><![CDATA[
123123
<label for="search-mini">Search Input:</label>
124-
<input type="search" name="search-mini" id="search-mini" value="" data-mini="true"/>
124+
<input type="search" name="search-mini" id="search-mini" value="" data-mini="true">
125125
]]></code></pre>
126126

127127
<p>This will produce a search input that is not as tall as the standard version and has a smaller text size.
@@ -135,7 +135,7 @@ $( "input" ).textinput();
135135
<pre><code><![CDATA[
136136
<div class="ui-field-contain">
137137
<label for="search-2">Search Input:</label>
138-
<input type="search" name="search-2" id="search-2" value="" />
138+
<input type="search" name="search-2" id="search-2" value="">
139139
</div>
140140
]]></code></pre>
141141

resources/search-input/example1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div data-role="page" style="max-height:90px; min-height:90px;">
2727
<div role="main" class="ui-content">
2828
<label for="search-basic">Search Input:</label>
29-
<input type="search" name="search" id="search-basic" value="" />
29+
<input type="search" name="search" id="search-basic" value="">
3030
</div>
3131
</div>
3232
</body>

resources/search-input/example2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div data-role="page" style="max-height:90px; min-height:90px;">
2727
<div role="main" class="ui-content">
2828
<label for="search-mini">Search Input:</label>
29-
<input type="search" name="search-mini" id="search-mini" value="" data-mini="true" />
29+
<input type="search" name="search-mini" id="search-mini" value="" data-mini="true">
3030
</div>
3131
</div>
3232
</body>

resources/search-input/example3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div role="main" class="ui-content">
2828
<div class="ui-field-contain">
2929
<label for="search-2">Search Input:</label>
30-
<input type="search" name="search-2" id="search-2" value="" />
30+
<input type="search" name="search-2" id="search-2" value="">
3131
</div>
3232
</div>
3333
</div>

resources/search-input/example4.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div role="main" class="ui-content">
2828
<div class="ui-field-contain">
2929
<label for="search-3">Search Input:</label>
30-
<input type="search" name="search-3" id="search-3" value="" data-theme="a" />
30+
<input type="search" name="search-3" id="search-3" value="" data-theme="a">
3131
</div>
3232
</div>
3333
</div>

resources/textinput/example1.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div data-role="page" style="max-height:90px; min-height:90px;">
2727
<div role="main" class="ui-content">
2828
<label for="basic">Text Input:</label>
29-
<input type="text" name="name" id="basic" value="" />
29+
<input type="text" name="name" id="basic" value="">
3030
</div>
3131
</div>
3232
</body>

resources/textinput/example2.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div data-role="page" style="max-height:90px; min-height:90px;">
2727
<div role="main" class="ui-content">
2828
<label for="mini">Text Input:</label>
29-
<input type="text" name="name" id="mini" value="" data-mini="true" />
29+
<input type="text" name="name" id="mini" value="" data-mini="true">
3030
</div>
3131
</div>
3232
</body>

resources/textinput/example3.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
<div role="main" class="ui-content">
2828
<div class="ui-field-contain">
2929
<label for="name">Text Input:</label>
30-
<input type="text" name="name" id="name" value="" />
30+
<input type="text" name="name" id="name" value="">
3131
</div>
3232
</div>
3333
</div>

resources/textinput/example4.html

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -27,67 +27,67 @@
2727
<div role="main" class="ui-content">
2828
<div class="ui-field-contain">
2929
<label for="password">Password:</label>
30-
<input type="password" name="password" id="password" value="" />
30+
<input type="password" name="password" id="password" value="">
3131
</div>
3232

3333
<div class="ui-field-contain">
3434
<label for="number">Number:</label>
35-
<input type="number" name="number" id="number" value="" />
35+
<input type="number" name="number" id="number" value="">
3636
</div>
3737

3838
<div class="ui-field-contain">
3939
<label for="number-pattern">Number + pattern:</label>
40-
<input type="number" name="number" pattern="[0-9]*" id="number-pattern" value="" placeholder="Pattern attribute [0-9]* for a numeric keypad" />
40+
<input type="number" name="number" pattern="[0-9]*" id="number-pattern" value="" placeholder="Pattern attribute [0-9]* for a numeric keypad">
4141
</div>
4242

4343
<div class="ui-field-contain">
4444
<label for="email">Email:</label>
45-
<input type="email" name="email" id="email" value="" />
45+
<input type="email" name="email" id="email" value="">
4646
</div>
4747

4848
<div class="ui-field-contain">
4949
<label for="url">Url:</label>
50-
<input type="url" name="url" id="url" value="" />
50+
<input type="url" name="url" id="url" value="">
5151
</div>
5252

5353
<div class="ui-field-contain">
5454
<label for="tel">Tel:</label>
55-
<input type="tel" name="tel" id="tel" value="" />
55+
<input type="tel" name="tel" id="tel" value="">
5656
</div>
5757

5858
<div class="ui-field-contain">
5959
<label for="time">Time:</label>
60-
<input type="time" name="time" id="time" value="" />
60+
<input type="time" name="time" id="time" value="">
6161
</div>
6262

6363
<div class="ui-field-contain">
6464
<label for="date">Date:</label>
65-
<input type="date" name="date" id="date" value="" />
65+
<input type="date" name="date" id="date" value="">
6666
</div>
6767

6868
<div class="ui-field-contain">
6969
<label for="month">Month:</label>
70-
<input type="month" name="month" id="month" value="" />
70+
<input type="month" name="month" id="month" value="">
7171
</div>
7272

7373
<div class="ui-field-contain">
7474
<label for="week">Week:</label>
75-
<input type="week" name="week" id="week" value="" />
75+
<input type="week" name="week" id="week" value="">
7676
</div>
7777

7878
<div class="ui-field-contain">
7979
<label for="datetime">Datetime:</label>
80-
<input type="datetime" name="datetime" id="datetime" value="" />
80+
<input type="datetime" name="datetime" id="datetime" value="">
8181
</div>
8282

8383
<div class="ui-field-contain">
8484
<label for="datetime-l">Datetime local:</label>
85-
<input type="datetime-local" name="datetime-l" id="datetime-l" value="" />
85+
<input type="datetime-local" name="datetime-l" id="datetime-l" value="">
8686
</div>
8787

8888
<div class="ui-field-contain">
8989
<label for="color">Color:</label>
90-
<input type="color" name="color" id="color" value="" />
90+
<input type="color" name="color" id="color" value="">
9191
</div>
9292
</div>
9393
</div>

resources/textinput/example7.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<div data-role="page" style="max-height:90px; min-height:90px;">
2727
<div role="main" class="ui-content">
2828
<label for="clear-demo">Text Input:</label>
29-
<input type="text" name="clear-demo" id="clear-demo" value="" data-clear-btn="true" />
29+
<input type="text" name="clear-demo" id="clear-demo" value="" data-clear-btn="true">
3030
</div>
3131
</div>
3232
</body>

0 commit comments

Comments
 (0)