[#369] new build list: change grids

This commit is contained in:
Alexander Machehin 2015-02-09 17:59:57 +05:00
parent 9c228e5c36
commit 7b9231a452
1 changed files with 50 additions and 49 deletions

View File

@ -3,7 +3,9 @@
.col-xs-12.col-sm-4 .col-xs-12.col-sm-4
= render 'projects/build_lists/new_build/include_repos' = render 'projects/build_lists/new_build/include_repos'
.col-xs-12.col-sm-4 .col-xs-12.col-sm-8
.row
.col-xs-12.col-sm-6
%h4= t 'activerecord.attributes.build_list.save_to_repository' %h4= t 'activerecord.attributes.build_list.save_to_repository'
%select.form-control.boffset10{ 'ng-model' => 'newBuildCtrl.save_to_repository', %select.form-control.boffset10{ 'ng-model' => 'newBuildCtrl.save_to_repository',
'ng-options' => 'r.name for r in newBuildCtrl.save_to_repositories track by r.id', 'ng-options' => 'r.name for r in newBuildCtrl.save_to_repositories track by r.id',
@ -44,15 +46,14 @@
placeholder: '1000000', placeholder: '1000000',
ctrl_as: 'newBuildCtrl', ctrl_as: 'newBuildCtrl',
hash: 'build_list' hash: 'build_list'
.col-xs-12.col-sm-6
.col-xs-12.col-sm-4
= render 'projects/build_lists/new_build/extra_params_and_preferences', = render 'projects/build_lists/new_build/extra_params_and_preferences',
params: params, params: params,
f: f f: f
= hidden_field_tag :from_build_list_id, params[:build_list_id] if params[:build_list_id].present? = hidden_field_tag :from_build_list_id, params[:build_list_id] if params[:build_list_id].present?
.col-sm-8 .col-xs-12.col-sm-8.col-sm-offset-2
%hr %hr
= button_tag type: :submit, = button_tag type: :submit,
data: {'disable-with' => t('layout.processing')}, data: {'disable-with' => t('layout.processing')},