Commit 65696aaa authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix form styles

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent eace1ce6
...@@ -12,7 +12,7 @@ ...@@ -12,7 +12,7 @@
%hr.clearfix %hr.clearfix
.row .row
.col-md-5.enabled-keys .col-md-6.enabled-keys
%h5 %h5
%strong.cgreen Enabled deploy keys %strong.cgreen Enabled deploy keys
for this project for this project
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
- if @enabled_keys.blank? - if @enabled_keys.blank?
.light-well .light-well
%p.nothing_here_message Create a #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add an existing one %p.nothing_here_message Create a #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add an existing one
.col-md-5.available-keys .col-md-6.available-keys
%h5 %h5
%strong Deploy keys %strong Deploy keys
from projects available to you from projects available to you
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
.form-group .form-group
= f.label :issues_enabled, "Issues", class: 'control-label' = f.label :issues_enabled, "Issues", class: 'control-label'
.col-sm-10 .col-sm-10
.checkbox
= f.check_box :issues_enabled = f.check_box :issues_enabled
%span.descr Lightweight issue tracking system for this project %span.descr Lightweight issue tracking system for this project
...@@ -56,29 +57,33 @@ ...@@ -56,29 +57,33 @@
.form-group .form-group
= f.label :issues_tracker_id, "Project name or id in issues tracker", class: 'control-label' = f.label :issues_tracker_id, "Project name or id in issues tracker", class: 'control-label'
.col-sm-10= f.text_field :issues_tracker_id, disabled: !@project.can_have_issues_tracker_id? .col-sm-10= f.text_field :issues_tracker_id, disabled: !@project.can_have_issues_tracker_id?, class: 'form-control'
.form-group .form-group
= f.label :merge_requests_enabled, "Merge Requests", class: 'control-label' = f.label :merge_requests_enabled, "Merge Requests", class: 'control-label'
.col-sm-10 .col-sm-10
.checkbox
= f.check_box :merge_requests_enabled = f.check_box :merge_requests_enabled
%span.descr Submit changes to be merged upstream. %span.descr Submit changes to be merged upstream.
.form-group .form-group
= f.label :wiki_enabled, "Wiki", class: 'control-label' = f.label :wiki_enabled, "Wiki", class: 'control-label'
.col-sm-10 .col-sm-10
.checkbox
= f.check_box :wiki_enabled = f.check_box :wiki_enabled
%span.descr Pages for project documentation %span.descr Pages for project documentation
.form-group .form-group
= f.label :wall_enabled, "Wall", class: 'control-label' = f.label :wall_enabled, "Wall", class: 'control-label'
.col-sm-10 .col-sm-10
.checkbox
= f.check_box :wall_enabled = f.check_box :wall_enabled
%span.descr Simple chat system for broadcasting inside project %span.descr Simple chat system for broadcasting inside project
.form-group .form-group
= f.label :snippets_enabled, "Snippets", class: 'control-label' = f.label :snippets_enabled, "Snippets", class: 'control-label'
.col-sm-10 .col-sm-10
.checkbox
= f.check_box :snippets_enabled = f.check_box :snippets_enabled
%span.descr Share code pastes with others out of git repository %span.descr Share code pastes with others out of git repository
......
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
%p.light %p.light
Only project members will be imported. Group members will be skipped. Only project members will be imported. Group members will be skipped.
%hr %hr
= form_tag apply_import_project_team_members_path(@project), method: 'post' do = form_tag apply_import_project_team_members_path(@project), method: 'post', class: 'form-horizontal' do
.padded .form-group
= label_tag :source_project_id, "Project" = label_tag :source_project_id, "Project", class: 'control-label'
.col-sm-10= select_tag(:source_project_id, options_from_collection_for_select(current_user.authorized_projects, :id, :name_with_namespace), prompt: "Select project", class: "chosen lg", required: true) .col-sm-10= select_tag(:source_project_id, options_from_collection_for_select(current_user.authorized_projects, :id, :name_with_namespace), prompt: "Select project", class: "chosen lg", required: true)
.form-actions .form-actions
......
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