summaryrefslogtreecommitdiff
path: root/app/views/projects
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects')
-rw-r--r--app/views/projects/deploy_keys/_form.html.haml8
-rw-r--r--app/views/projects/hooks/index.html.haml4
-rw-r--r--app/views/projects/milestones/_form.html.haml2
-rw-r--r--app/views/projects/snippets/_form.html.haml12
-rw-r--r--app/views/projects/team_members/_form.html.haml8
-rw-r--r--app/views/projects/wikis/_form.html.haml6
6 files changed, 20 insertions, 20 deletions
diff --git a/app/views/projects/deploy_keys/_form.html.haml b/app/views/projects/deploy_keys/_form.html.haml
index 71bf309dd8b..d3e517b87fd 100644
--- a/app/views/projects/deploy_keys/_form.html.haml
+++ b/app/views/projects/deploy_keys/_form.html.haml
@@ -6,12 +6,12 @@
- @key.errors.full_messages.each do |msg|
%li= msg
- .clearfix
+ .control-group
= f.label :title
- .input= f.text_field :title
- .clearfix
+ .controls= f.text_field :title
+ .control-group
= f.label :key
- .input
+ .controls
= f.text_area :key, class: [:xxlarge, :thin_area]
%p.hint
Paste a machine public key here. Read more about how generate it
diff --git a/app/views/projects/hooks/index.html.haml b/app/views/projects/hooks/index.html.haml
index a85f50491d6..eed76a7366d 100644
--- a/app/views/projects/hooks/index.html.haml
+++ b/app/views/projects/hooks/index.html.haml
@@ -11,9 +11,9 @@
.alert.alert-error
- @hook.errors.full_messages.each do |msg|
%p= msg
- .clearfix
+ .control-group
= f.label :url, "URL:"
- .input
+ .controls
= f.text_field :url, class: "text_field xxlarge input-xpadding", placeholder: 'http://example.com/trigger-ci.json'
 
= f.submit "Add Web Hook", class: "btn btn-create"
diff --git a/app/views/projects/milestones/_form.html.haml b/app/views/projects/milestones/_form.html.haml
index 825243e773f..78e4cd2243e 100644
--- a/app/views/projects/milestones/_form.html.haml
+++ b/app/views/projects/milestones/_form.html.haml
@@ -26,7 +26,7 @@
.span6
.control-group
= f.label :due_date, "Due Date", class: "control-label"
- .input= f.hidden_field :due_date
+ .controls= f.hidden_field :due_date
.controls
.datepicker
diff --git a/app/views/projects/snippets/_form.html.haml b/app/views/projects/snippets/_form.html.haml
index a8aa5460f2e..14a42f34f25 100644
--- a/app/views/projects/snippets/_form.html.haml
+++ b/app/views/projects/snippets/_form.html.haml
@@ -9,16 +9,16 @@
- @snippet.errors.full_messages.each do |msg|
%li= msg
- .clearfix
+ .control-group
= f.label :title
- .input= f.text_field :title, placeholder: "Example Snippet", class: 'input-xlarge', required: true
- .clearfix
+ .controls= f.text_field :title, placeholder: "Example Snippet", class: 'input-xlarge', required: true
+ .control-group
= f.label "Lifetime"
- .input= f.select :expires_at, lifetime_select_options, {}, {class: 'chosen span2'}
- .clearfix
+ .controls= f.select :expires_at, lifetime_select_options, {}, {class: 'chosen span2'}
+ .control-group
.file-editor
= f.label :file_name, "File"
- .input
+ .controls
.file-holder.snippet
.file-title
= f.text_field :file_name, placeholder: "example.rb", class: 'snippet-file-name', required: true
diff --git a/app/views/projects/team_members/_form.html.haml b/app/views/projects/team_members/_form.html.haml
index 0eb106ee93f..d7dba22c8c6 100644
--- a/app/views/projects/team_members/_form.html.haml
+++ b/app/views/projects/team_members/_form.html.haml
@@ -9,15 +9,15 @@
%li= msg
%h6 1. Choose people you want in the team
- .clearfix
+ .control-group
= f.label :user_ids, "People"
- .input
+ .controls
= users_select_tag(:user_ids, multiple: true)
%h6 2. Set access level for them
- .clearfix
+ .control-group
= f.label :project_access, "Project Access"
- .input= select_tag :project_access, options_for_select(Project.access_options, @user_project_relation.project_access), class: "project-access-select chosen"
+ .controls= select_tag :project_access, options_for_select(Project.access_options, @user_project_relation.project_access), class: "project-access-select chosen"
.actions
= f.submit 'Add users', class: "btn btn-create"
diff --git a/app/views/projects/wikis/_form.html.haml b/app/views/projects/wikis/_form.html.haml
index 4a558826f29..85c3b72fbf1 100644
--- a/app/views/projects/wikis/_form.html.haml
+++ b/app/views/projects/wikis/_form.html.haml
@@ -15,7 +15,7 @@
= f.select :format, options_for_select(GollumWiki::MARKUPS, {selected: @wiki.format}), {}, class: "pull-right input-medium"
= f.label :format, class: "pull-right", style: "padding-right: 20px;"
.ui-box-body
- .input
+ .controls
%span.cgray
Wiki content is parsed with #{link_to "GitLab Flavored Markdown", help_markdown_path, target: '_blank'}.
To link to a (new) page you can just type
@@ -24,10 +24,10 @@
.ui-box-bottom
= f.label :content
- .input= f.text_area :content, class: 'span8 js-gfm-input'
+ .controls= f.text_area :content, class: 'span8 js-gfm-input'
.ui-box-bottom
= f.label :commit_message
- .input= f.text_field :message, class: 'span8'
+ .controls= f.text_field :message, class: 'span8'
.actions
- if @wiki && @wiki.persisted?
= f.submit 'Save changes', class: "btn-save btn"