BigW Consortium Gitlab

Commit 0b747a0f by Dmitriy Zaporozhets

Minor UI improvements

parent 84565840
%p.slead %h3.page-title
Deploy keys allow read-only access to repository Deploy keys allow read-only access to repository
= link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do = link_to new_project_deploy_key_path(@project), class: "btn btn-new pull-right", title: "New Deploy Key" do
...@@ -13,9 +13,9 @@ ...@@ -13,9 +13,9 @@
.row .row
.span5.enabled-keys .span5.enabled-keys
%h5.cgreen %h5
Enabled deploy keys %strong.cgreen Enabled deploy keys
%small for this project for this project
%ul.bordered-list %ul.bordered-list
= render @enabled_keys = render @enabled_keys
- if @enabled_keys.blank? - if @enabled_keys.blank?
...@@ -23,10 +23,10 @@ ...@@ -23,10 +23,10 @@
%p.nothing_here_message Create #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add existing one %p.nothing_here_message Create #{link_to 'new deploy key', new_project_deploy_key_path(@project)} or add existing one
.span5.available-keys .span5.available-keys
%h5 %h5
Available deploy keys %strong Deploy keys
%small from projects you are able to manage from projects available for you
%ul.bordered-list %ul.bordered-list
= render @available_keys = render @available_keys
- if @available_keys.blank? - if @available_keys.blank?
.light-well .light-well
%p.nothing_here_message All deploy keys created in projects you own will be displayed here %p.nothing_here_message All deploy keys created in projects you participate will be displayed here
%h3.page-title %h3.page-title
= "Import team from another project" = "Import members from another project"
%p.light
Only project members will be improted. Group members will be skipped.
%hr %hr
%p.slead
Read more about project team import #{link_to "here", '#', class: 'vlink'}.
= form_tag apply_import_project_team_members_path(@project), method: 'post' do = form_tag apply_import_project_team_members_path(@project), method: 'post' do
%p.slead Choose project you want to use as team source:
.padded .padded
= label_tag :source_project_id, "Project" = label_tag :source_project_id, "Project"
.input= select_tag(:source_project_id, options_from_collection_for_select(current_user.authorized_projects, :id, :name_with_namespace), prompt: "Select project", class: "chosen xxlarge", required: true) .input= select_tag(:source_project_id, options_from_collection_for_select(current_user.authorized_projects, :id, :name_with_namespace), prompt: "Select project", class: "chosen xxlarge", required: true)
.actions .actions
= submit_tag 'Import', class: "btn btn-save" = submit_tag 'Import project members', class: "btn btn-create"
= link_to "Cancel", project_team_index_path(@project), class: "btn btn-cancel" = link_to "Cancel", project_team_index_path(@project), class: "btn btn-cancel"
...@@ -3,10 +3,10 @@ ...@@ -3,10 +3,10 @@
- if can? current_user, :admin_team_member, @project - if can? current_user, :admin_team_member, @project
%span.pull-right %span.pull-right
= link_to import_project_team_members_path(@project), class: "btn grouped", title: "Import team from another project" do
Import team from another project
= link_to new_project_team_member_path(@project), class: "btn btn-new grouped", title: "New Team Member" do = link_to new_project_team_member_path(@project), class: "btn btn-new grouped", title: "New Team Member" do
New Team Member New Team Member
= link_to import_project_team_members_path(@project), class: "btn grouped", title: "Import team from another project" do
Import members
%p.light %p.light
Read more about project permissions Read more about project permissions
......
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