Commit b2152847 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Replace xlarge and xxlarge classes

parent 846e5950
...@@ -4,17 +4,6 @@ form { ...@@ -4,17 +4,6 @@ form {
label { label {
@extend .control-label; @extend .control-label;
} }
.actions {
@extend .form-actions;
}
.xlarge {
@extend .input-xlarge;
}
.xxlarge {
@extend .input-xxlarge;
}
} }
input { input {
......
...@@ -8,18 +8,18 @@ ...@@ -8,18 +8,18 @@
= f.label :name do = f.label :name do
Group name is Group name is
.controls .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 .control-group.group-description-holder
= f.label :description, "Details" = f.label :description, "Details"
.controls .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 .control-group.group_name_holder
= f.label :path do = f.label :path do
%span.cred Group path is %span.cred Group path is
.controls .controls
= f.text_field :path, placeholder: "example-group", class: "xxlarge danger" = f.text_field :path, placeholder: "example-group", class: "input-xxlarge danger"
%ul.cred %ul.cred
%li Changing group path can have unintended side effects. %li Changing group path can have unintended side effects.
%li Renaming group path will rename directory for all related projects %li Renaming group path will rename directory for all related projects
......
...@@ -8,11 +8,11 @@ ...@@ -8,11 +8,11 @@
= f.label :name do = f.label :name do
Group name is Group name is
.controls .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 .control-group.group-description-holder
= f.label :description, "Details" = f.label :description, "Details"
.controls .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 .form-actions
= f.submit 'Create group', class: "btn btn-create" = f.submit 'Create group', class: "btn btn-create"
......
...@@ -30,12 +30,12 @@ ...@@ -30,12 +30,12 @@
= f.label :name do = f.label :name do
Group name is Group name is
.controls .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 .control-group.group-description-holder
= f.label :description, "Details" = f.label :description, "Details"
.controls .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 .form-actions
= f.submit 'Save group', class: "btn btn-save" = f.submit 'Save group', class: "btn btn-save"
......
...@@ -6,12 +6,12 @@ ...@@ -6,12 +6,12 @@
= f.label :name do = f.label :name do
Group name is Group name is
.controls .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 .control-group.group-description-holder
= f.label :description, "Details" = f.label :description, "Details"
.controls .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 .control-group
.controls .controls
......
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
It can be used for atom feed or API It can be used for atom feed or API
%p.cgray %p.cgray
- if current_user.private_token - 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" = f.submit 'Reset', confirm: "Are you sure?", class: "btn btn-primary btn-build-token"
- else - else
%span You don`t have one yet. Click generate to fix it. %span You don`t have one yet. Click generate to fix it.
......
...@@ -14,9 +14,9 @@ ...@@ -14,9 +14,9 @@
.pull-left .pull-left
- if params[:to] && params[:from] - 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'} = 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 .pull-left
   
= submit_tag "Compare", class: "btn btn-create commits-compare-btn" = submit_tag "Compare", class: "btn btn-create commits-compare-btn"
......
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
= f.label :title do = f.label :title do
%strong= "Subject *" %strong= "Subject *"
.controls .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 .ui-box-body
.control-group .control-group
.issue_assignee.pull-left .issue_assignee.pull-left
...@@ -37,13 +37,13 @@ ...@@ -37,13 +37,13 @@
%i.icon-tag %i.icon-tag
Labels Labels
.controls .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. %p.hint Separate labels with commas.
.control-group .control-group
= f.label :description, "Details" = f.label :description, "Details"
.controls .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'}. %p.hint Issues are parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
......
...@@ -15,7 +15,7 @@ ...@@ -15,7 +15,7 @@
.control-group .control-group
= label_tag :search , "Looking for commit:", class: 'control-label light' = label_tag :search , "Looking for commit:", class: 'control-label light'
.controls .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 = button_tag type: 'submit', class: 'btn vtop' do
%i.icon-search %i.icon-search
- @options.each do |key, value| - @options.each do |key, value|
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
= f.label :name do = f.label :name do
Project name is Project name is
.controls .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? - if current_user.can_select_namespace?
.control-group .control-group
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment