Commit ec3147a6 authored by Enrique Alcantara's avatar Enrique Alcantara

Remove responsive column classes for sm screens

parent e44a59e1
...@@ -18,22 +18,22 @@ ...@@ -18,22 +18,22 @@
.help-form .help-form
.form-group .form-group
= label_tag :display_name, 'Display name', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag :display_name, 'Display name', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :display_name, "GitLab / #{@project.full_name}", class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :display_name, "GitLab / #{@project.full_name}", class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#display_name', class: 'input-group-text') = clipboard_button(target: '#display_name', class: 'input-group-text')
.form-group .form-group
= label_tag :description, 'Description', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag :description, 'Description', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :description, run_actions_text, class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :description, run_actions_text, class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#description', class: 'input-group-text') = clipboard_button(target: '#description', class: 'input-group-text')
.form-group .form-group
= label_tag nil, 'Command trigger word', class: 'col-sm-4 col-12 col-form-label label-bold' = label_tag nil, 'Command trigger word', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12 .col-12
%p Fill in the word that works best for your team. %p Fill in the word that works best for your team.
%p %p
Suggestions: Suggestions:
...@@ -42,44 +42,44 @@ ...@@ -42,44 +42,44 @@
%code= @project.full_path %code= @project.full_path
.form-group .form-group
= label_tag :request_url, 'Request URL', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag :request_url, 'Request URL', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :request_url, service_trigger_url(subject), class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :request_url, service_trigger_url(subject), class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#request_url', class: 'input-group-text') = clipboard_button(target: '#request_url', class: 'input-group-text')
.form-group .form-group
= label_tag nil, 'Request method', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag nil, 'Request method', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12 POST .col-12 POST
.form-group .form-group
= label_tag :response_username, 'Response username', class: 'col-sm-4 col-form-label label-bold' = label_tag :response_username, 'Response username', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :response_username, 'GitLab', class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :response_username, 'GitLab', class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#response_username', class: 'input-group-text') = clipboard_button(target: '#response_username', class: 'input-group-text')
.form-group .form-group
= label_tag :response_icon, 'Response icon', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag :response_icon, 'Response icon', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :response_icon, asset_url('gitlab_logo.png'), class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :response_icon, asset_url('gitlab_logo.png'), class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#response_icon', class: 'input-group-text') = clipboard_button(target: '#response_icon', class: 'input-group-text')
.form-group .form-group
= label_tag nil, 'Autocomplete', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag nil, 'Autocomplete', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12 Yes .col-12 Yes
.form-group .form-group
= label_tag :autocomplete_hint, 'Autocomplete hint', class: 'col-sm-4 col-12 col-form-label label-bold' = label_tag :autocomplete_hint, 'Autocomplete hint', class: 'col-12 col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :autocomplete_hint, '[help]', class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :autocomplete_hint, '[help]', class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#autocomplete_hint', class: 'input-group-text') = clipboard_button(target: '#autocomplete_hint', class: 'input-group-text')
.form-group .form-group
= label_tag :autocomplete_description, 'Autocomplete description', class: 'col-sm-4 col-12 col-form-label label-bold' = label_tag :autocomplete_description, 'Autocomplete description', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :autocomplete_description, run_actions_text, class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :autocomplete_description, run_actions_text, class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#autocomplete_description', class: 'input-group-text') = clipboard_button(target: '#autocomplete_description', class: 'input-group-text')
......
...@@ -27,8 +27,8 @@ ...@@ -27,8 +27,8 @@
.help-form .help-form
.form-group .form-group
= label_tag nil, 'Command', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag nil, 'Command', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12 .col-12
%p Fill in the word that works best for your team. %p Fill in the word that works best for your team.
%p %p
Suggestions: Suggestions:
...@@ -37,50 +37,50 @@ ...@@ -37,50 +37,50 @@
%code= @project.full_path %code= @project.full_path
.form-group .form-group
= label_tag :url, 'URL', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag :url, 'URL', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :url, service_trigger_url(subject), class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :url, service_trigger_url(subject), class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#url', class: 'input-group-text') = clipboard_button(target: '#url', class: 'input-group-text')
.form-group .form-group
= label_tag nil, 'Method', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag nil, 'Method', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12 POST .col-12 POST
.form-group .form-group
= label_tag :customize_name, 'Customize name', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag :customize_name, 'Customize name', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :customize_name, 'GitLab', class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :customize_name, 'GitLab', class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#customize_name', class: 'input-group-text') = clipboard_button(target: '#customize_name', class: 'input-group-text')
.form-group .form-group
= label_tag nil, 'Customize icon', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag nil, 'Customize icon', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12 .col-12
= image_tag(asset_url('slash-command-logo.png'), width: 36, height: 36, class: 'mr-3') = image_tag(asset_url('slash-command-logo.png'), width: 36, height: 36, class: 'mr-3')
= link_to('Download image', asset_url('gitlab_logo.png'), class: 'btn btn-sm', target: '_blank', rel: 'noopener noreferrer') = link_to('Download image', asset_url('gitlab_logo.png'), class: 'btn btn-sm', target: '_blank', rel: 'noopener noreferrer')
.form-group .form-group
= label_tag nil, 'Autocomplete', class: 'col-sm-2 col-12 col-form-label label-bold' = label_tag nil, 'Autocomplete', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12 Show this command in the autocomplete list .col-12 Show this command in the autocomplete list
.form-group .form-group
= label_tag :autocomplete_description, 'Autocomplete description', class: 'col-sm-4 col-form-label label-bold' = label_tag :autocomplete_description, 'Autocomplete description', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :autocomplete_description, run_actions_text, class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :autocomplete_description, run_actions_text, class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#autocomplete_description', class: 'input-group-text') = clipboard_button(target: '#autocomplete_description', class: 'input-group-text')
.form-group .form-group
= label_tag :autocomplete_usage_hint, 'Autocomplete usage hint', class: 'col-sm-4 col-form-label label-bold' = label_tag :autocomplete_usage_hint, 'Autocomplete usage hint', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :autocomplete_usage_hint, '[help]', class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :autocomplete_usage_hint, '[help]', class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#autocomplete_usage_hint', class: 'input-group-text') = clipboard_button(target: '#autocomplete_usage_hint', class: 'input-group-text')
.form-group .form-group
= label_tag :descriptive_label, 'Descriptive label', class: 'col-sm-4 col-form-label label-bold' = label_tag :descriptive_label, 'Descriptive label', class: 'col-12 col-form-label label-bold'
.col-sm-10.col-12.input-group .col-12.input-group
= text_field_tag :descriptive_label, 'Perform common operations on GitLab project', class: 'form-control form-control-sm', readonly: 'readonly' = text_field_tag :descriptive_label, 'Perform common operations on GitLab project', class: 'form-control form-control-sm', readonly: 'readonly'
.input-group-append .input-group-append
= clipboard_button(target: '#descriptive_label', class: 'input-group-text') = clipboard_button(target: '#descriptive_label', class: 'input-group-text')
......
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