Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
heptapod
heptapod
Commits
17f72d106a08
Commit
b2152847
authored
Aug 07, 2013
by
Dmitriy Zaporozhets
Browse files
Replace xlarge and xxlarge classes
parent
6dfa242d8459
Changes
10
Hide whitespace changes
Inline
Side-by-side
app/assets/stylesheets/gitlab_bootstrap/forms.scss
View file @
17f72d10
...
...
@@ -4,17 +4,6 @@ form {
label
{
@extend
.control-label
;
}
.actions
{
@extend
.form-actions
;
}
.xlarge
{
@extend
.input-xlarge
;
}
.xxlarge
{
@extend
.input-xxlarge
;
}
}
input
{
...
...
app/views/admin/groups/edit.html.haml
View file @
17f72d10
...
...
@@ -8,18 +8,18 @@
=
f
.
label
:name
do
Group name is
.controls
=
f
.
text_field
:name
,
placeholder:
"Example Group"
,
class:
"xxlarge"
=
f
.
text_field
:name
,
placeholder:
"Example Group"
,
class:
"
input-
xxlarge"
.control-group.group-description-holder
=
f
.
label
:description
,
"Details"
.controls
=
f
.
text_area
:description
,
maxlength:
250
,
class:
"xxlarge js-gfm-input"
,
rows:
4
=
f
.
text_area
:description
,
maxlength:
250
,
class:
"
input-
xxlarge js-gfm-input"
,
rows:
4
.control-group.group_name_holder
=
f
.
label
:path
do
%span
.cred
Group path is
.controls
=
f
.
text_field
:path
,
placeholder:
"example-group"
,
class:
"xxlarge danger"
=
f
.
text_field
:path
,
placeholder:
"example-group"
,
class:
"
input-
xxlarge danger"
%ul
.cred
%li
Changing group path can have unintended side effects.
%li
Renaming group path will rename directory for all related projects
...
...
app/views/admin/groups/new.html.haml
View file @
17f72d10
...
...
@@ -8,11 +8,11 @@
=
f
.
label
:name
do
Group name is
.controls
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"xxlarge left"
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"
input-
xxlarge left"
.control-group.group-description-holder
=
f
.
label
:description
,
"Details"
.controls
=
f
.
text_area
:description
,
maxlength:
250
,
class:
"xxlarge js-gfm-input"
,
rows:
4
=
f
.
text_area
:description
,
maxlength:
250
,
class:
"
input-
xxlarge js-gfm-input"
,
rows:
4
.form-actions
=
f
.
submit
'Create group'
,
class:
"btn btn-create"
...
...
app/views/groups/edit.html.haml
View file @
17f72d10
...
...
@@ -30,12 +30,12 @@
=
f
.
label
:name
do
Group name is
.controls
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"xxlarge left"
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"
input-
xxlarge left"
.control-group.group-description-holder
=
f
.
label
:description
,
"Details"
.controls
=
f
.
text_area
:description
,
maxlength:
250
,
class:
"xxlarge js-gfm-input"
,
rows:
4
=
f
.
text_area
:description
,
maxlength:
250
,
class:
"
input-
xxlarge js-gfm-input"
,
rows:
4
.form-actions
=
f
.
submit
'Save group'
,
class:
"btn btn-save"
...
...
app/views/groups/new.html.haml
View file @
17f72d10
...
...
@@ -6,12 +6,12 @@
=
f
.
label
:name
do
Group name is
.controls
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"xxlarge left"
=
f
.
text_field
:name
,
placeholder:
"Ex. OpenSource"
,
class:
"
input-
xxlarge left"
.control-group.group-description-holder
=
f
.
label
:description
,
"Details"
.controls
=
f
.
text_area
:description
,
maxlength:
250
,
class:
"xxlarge js-gfm-input"
,
rows:
4
=
f
.
text_area
:description
,
maxlength:
250
,
class:
"
input-
xxlarge js-gfm-input"
,
rows:
4
.control-group
.controls
...
...
app/views/profiles/account.html.haml
View file @
17f72d10
...
...
@@ -54,7 +54,7 @@
It can be used for atom feed or API
%p
.cgray
-
if
current_user
.
private_token
=
text_field_tag
"token"
,
current_user
.
private_token
,
class:
"xxlarge large_text"
=
text_field_tag
"token"
,
current_user
.
private_token
,
class:
"
input-
xxlarge large_text"
=
f
.
submit
'Reset'
,
confirm:
"Are you sure?"
,
class:
"btn btn-primary btn-build-token"
-
else
%span
You don`t have one yet. Click generate to fix it.
...
...
app/views/projects/compare/_form.html.haml
View file @
17f72d10
...
...
@@ -14,9 +14,9 @@
.pull-left
-
if
params
[
:to
]
&&
params
[
:from
]
=
link_to
'switch'
,
{
from:
params
[
:to
],
to:
params
[
:from
]},
{
class:
'commits-compare-switch has_tooltip'
,
title:
'Switch base of comparison'
}
=
text_field_tag
:from
,
params
[
:from
],
placeholder:
"master"
,
class:
"xlarge input-xpadding"
=
text_field_tag
:from
,
params
[
:from
],
placeholder:
"master"
,
class:
"
input-
xlarge input-xpadding"
=
"..."
=
text_field_tag
:to
,
params
[
:to
],
placeholder:
"aa8b4ef"
,
class:
"xlarge input-xpadding"
=
text_field_tag
:to
,
params
[
:to
],
placeholder:
"aa8b4ef"
,
class:
"
input-
xlarge input-xpadding"
.pull-left
=
submit_tag
"Compare"
,
class:
"btn btn-create commits-compare-btn"
...
...
app/views/projects/issues/_form.html.haml
View file @
17f72d10
...
...
@@ -12,7 +12,7 @@
=
f
.
label
:title
do
%strong
=
"Subject *"
.controls
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"xxlarge js-gfm-input"
,
autofocus:
true
,
required:
true
=
f
.
text_field
:title
,
maxlength:
255
,
class:
"
input-
xxlarge js-gfm-input"
,
autofocus:
true
,
required:
true
.ui-box-body
.control-group
.issue_assignee.pull-left
...
...
@@ -37,13 +37,13 @@
%i
.icon-tag
Labels
.controls
=
f
.
text_field
:label_list
,
maxlength:
2000
,
class:
"xxlarge"
=
f
.
text_field
:label_list
,
maxlength:
2000
,
class:
"
input-
xxlarge"
%p
.hint
Separate labels with commas.
.control-group
=
f
.
label
:description
,
"Details"
.controls
=
f
.
text_area
:description
,
class:
"xxlarge js-gfm-input"
,
rows:
14
=
f
.
text_area
:description
,
class:
"
input-
xxlarge js-gfm-input"
,
rows:
14
%p
.hint
Issues are parsed with
#{
link_to
"GitLab Flavored Markdown"
,
help_markdown_path
,
target:
'_blank'
}
.
...
...
app/views/projects/network/_head.html.haml
View file @
17f72d10
...
...
@@ -15,7 +15,7 @@
.control-group
=
label_tag
:search
,
"Looking for commit:"
,
class:
'control-label light'
.controls
=
text_field_tag
:q
,
@options
[
:q
],
placeholder:
"Input SHA"
,
class:
"search-input xlarge"
=
text_field_tag
:q
,
@options
[
:q
],
placeholder:
"Input SHA"
,
class:
"search-input
input-
xlarge"
=
button_tag
type:
'submit'
,
class:
'btn vtop'
do
%i
.icon-search
-
@options
.
each
do
|
key
,
value
|
...
...
app/views/projects/new.html.haml
View file @
17f72d10
...
...
@@ -7,7 +7,7 @@
=
f
.
label
:name
do
Project name is
.controls
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"xxlarge"
,
tabindex:
1
,
autofocus:
true
=
f
.
text_field
:name
,
placeholder:
"Example Project"
,
class:
"
input-
xxlarge"
,
tabindex:
1
,
autofocus:
true
-
if
current_user
.
can_select_namespace?
.control-group
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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