Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
8c0b47a6
Commit
8c0b47a6
authored
13 years ago
by
Mikael Brevik
Browse files
Options
Download
Email Patches
Plain Diff
Fixed duplicate and wrong IDs and label fors in forms.
parent
98d1659e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
docs/base-css.html
+6
-21
docs/base-css.html
docs/templates/pages/base-css.mustache
+6
-6
docs/templates/pages/base-css.mustache
with
12 additions
and
27 deletions
+12
-27
docs/base-css.html
+
6
-
21
View file @
8c0b47a6
...
...
@@ -1014,9 +1014,9 @@ For example, <code>section</code> should be wrapped as inline.
</div>
</div>
<div
class=
"control-group warning"
>
<label
class=
"control-label"
for=
"input
Error
"
>
Input with warning
</label>
<label
class=
"control-label"
for=
"input
Warning
"
>
Input with warning
</label>
<div
class=
"controls"
>
<input
type=
"text"
id=
"input
Error
"
>
<input
type=
"text"
id=
"input
Warning
"
>
<span
class=
"help-inline"
>
Something may have gone wrong
</span>
</div>
</div>
...
...
@@ -1028,9 +1028,9 @@ For example, <code>section</code> should be wrapped as inline.
</div>
</div>
<div
class=
"control-group success"
>
<label
class=
"control-label"
for=
"input
Error
"
>
Input with success
</label>
<label
class=
"control-label"
for=
"input
Success
"
>
Input with success
</label>
<div
class=
"controls"
>
<input
type=
"text"
id=
"input
Error
"
>
<input
type=
"text"
id=
"input
Success
"
>
<span
class=
"help-inline"
>
Woohoo!
</span>
</div>
</div>
...
...
@@ -1530,11 +1530,11 @@ For example, <code>section</code> should be wrapped as inline.
<div
class=
"span4"
>
<form>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"
prependedInput
"
>
Email address
</label>
<label
class=
"control-label"
for=
"
inputIcon
"
>
Email address
</label>
<div
class=
"controls"
>
<div
class=
"input-prepend"
>
<span
class=
"add-on"
><i
class=
"icon-envelope"
></i></span>
<input
class=
"span2"
id=
"i
conI
nput"
type=
"text"
>
<input
class=
"span2"
id=
"input
Icon
"
type=
"text"
>
</div>
</div>
</div>
...
...
@@ -1577,21 +1577,6 @@ For example, <code>section</code> should be wrapped as inline.
<script
src=
"assets/js/bootstrap-typeahead.js"
></script>
<script
src=
"assets/js/application.js"
></script>
<!-- Analytics
================================================== -->
<script>
var
_gauges
=
_gauges
||
[];
(
function
()
{
var
t
=
document
.
createElement
(
'
script
'
);
t
.
type
=
'
text/javascript
'
;
t
.
async
=
true
;
t
.
id
=
'
gauges-tracker
'
;
t
.
setAttribute
(
'
data-site-id
'
,
'
4f0dc9fef5a1f55508000013
'
);
t
.
src
=
'
//secure.gaug.es/track.js
'
;
var
s
=
document
.
getElementsByTagName
(
'
script
'
)[
0
];
s
.
parentNode
.
insertBefore
(
t
,
s
);
})();
</script>
</body>
</html>
This diff is collapsed.
Click to expand it.
docs/templates/pages/base-css.mustache
+
6
-
6
View file @
8c0b47a6
...
...
@@ -938,9 +938,9 @@
</div>
</div>
<div
class=
"control-group warning"
>
<label
class=
"control-label"
for=
"input
Error
"
>
{{
_i
}}
Input with warning
{{/
i
}}
</label>
<label
class=
"control-label"
for=
"input
Warning
"
>
{{
_i
}}
Input with warning
{{/
i
}}
</label>
<div
class=
"controls"
>
<input
type=
"text"
id=
"input
Error
"
>
<input
type=
"text"
id=
"input
Warning
"
>
<span
class=
"help-inline"
>
{{
_i
}}
Something may have gone wrong
{{/
i
}}
</span>
</div>
</div>
...
...
@@ -952,9 +952,9 @@
</div>
</div>
<div
class=
"control-group success"
>
<label
class=
"control-label"
for=
"input
Error
"
>
{{
_i
}}
Input with success
{{/
i
}}
</label>
<label
class=
"control-label"
for=
"input
Success
"
>
{{
_i
}}
Input with success
{{/
i
}}
</label>
<div
class=
"controls"
>
<input
type=
"text"
id=
"input
Error
"
>
<input
type=
"text"
id=
"input
Success
"
>
<span
class=
"help-inline"
>
{{
_i
}}
Woohoo!
{{/
i
}}
</span>
</div>
</div>
...
...
@@ -1454,11 +1454,11 @@
<div
class=
"span4"
>
<form>
<div
class=
"control-group"
>
<label
class=
"control-label"
for=
"
prependedInput
"
>
{{
_i
}}
Email address
{{/
i
}}
</label>
<label
class=
"control-label"
for=
"
inputIcon
"
>
{{
_i
}}
Email address
{{/
i
}}
</label>
<div
class=
"controls"
>
<div
class=
"input-prepend"
>
<span
class=
"add-on"
><i
class=
"icon-envelope"
></i></span>
<input
class=
"span2"
id=
"i
conI
nput"
type=
"text"
>
<input
class=
"span2"
id=
"input
Icon
"
type=
"text"
>
</div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment