Change design of edit media modal in web UI (#33516)
This commit is contained in:
parent
4ebdfed8ea
commit
11786f1114
42 changed files with 919 additions and 900 deletions
|
@ -39,7 +39,7 @@
|
|||
|
||||
.actions
|
||||
%button.button= t('admin.accounts.search')
|
||||
= link_to t('admin.accounts.reset'), admin_accounts_path, class: 'button negative'
|
||||
= link_to t('admin.accounts.reset'), admin_accounts_path, class: 'button button--dangerous'
|
||||
|
||||
%hr.spacer/
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
.actions
|
||||
%button.button= t('admin.accounts.search')
|
||||
= link_to t('admin.accounts.reset'), admin_custom_emojis_path, class: 'button negative'
|
||||
= link_to t('admin.accounts.reset'), admin_custom_emojis_path, class: 'button button--dangerous'
|
||||
|
||||
= form_with model: @form, url: batch_admin_custom_emojis_path do |f|
|
||||
= hidden_field_tag :page, params[:page] || 1
|
||||
|
|
|
@ -19,4 +19,4 @@
|
|||
|
||||
.actions
|
||||
= link_to t('.cancel'), admin_instances_path, class: 'button button-tertiary'
|
||||
= f.button :submit, t('.confirm'), class: 'button negative', name: :confirm
|
||||
= f.button :submit, t('.confirm'), class: 'button button--dangerous', name: :confirm
|
||||
|
|
|
@ -42,7 +42,7 @@
|
|||
|
||||
.actions
|
||||
%button.button= t('admin.accounts.search')
|
||||
= link_to t('admin.accounts.reset'), admin_instances_path, class: 'button negative'
|
||||
= link_to t('admin.accounts.reset'), admin_instances_path, class: 'button button--dangerous'
|
||||
|
||||
%hr.spacer/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
.simple_form
|
||||
%p.hint= t('admin.relays.description_html')
|
||||
= link_to @relays.empty? ? t('admin.relays.setup') : t('admin.relays.add_new'), new_admin_relay_path, class: 'block-button'
|
||||
= link_to @relays.empty? ? t('admin.relays.setup') : t('admin.relays.add_new'), new_admin_relay_path, class: 'button button--block'
|
||||
|
||||
- unless @relays.empty?
|
||||
%hr.spacer
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
.actions
|
||||
%button.button= t('admin.accounts.search')
|
||||
= link_to t('admin.accounts.reset'), admin_reports_path, class: 'button negative'
|
||||
= link_to t('admin.accounts.reset'), admin_reports_path, class: 'button button--dangerous'
|
||||
|
||||
- @reports.group_by(&:target_account_id).each_value do |reports|
|
||||
- target_account = reports.first.target_account
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
|
||||
.actions
|
||||
%button.button= t('admin.tags.search')
|
||||
= link_to t('admin.tags.reset'), admin_tags_path, class: 'button negative'
|
||||
= link_to t('admin.tags.reset'), admin_tags_path, class: 'button button--dangerous'
|
||||
|
||||
%hr.spacer/
|
||||
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
|
||||
%hr.spacer/
|
||||
|
||||
= link_to t('otp_authentication.setup'), settings_otp_authentication_path, data: { method: :post }, class: 'block-button'
|
||||
= link_to t('otp_authentication.setup'), settings_otp_authentication_path, data: { method: :post }, class: 'button button--block'
|
||||
|
|
|
@ -14,4 +14,4 @@
|
|||
%hr.spacer/
|
||||
|
||||
.simple_form
|
||||
= link_to t('webauthn_credentials.add'), new_settings_webauthn_credential_path, class: 'block-button'
|
||||
= link_to t('webauthn_credentials.add'), new_settings_webauthn_credential_path, class: 'button button--block'
|
||||
|
|
|
@ -38,4 +38,4 @@
|
|||
%hr.spacer/
|
||||
|
||||
.simple_form
|
||||
= link_to t('two_factor_authentication.generate_recovery_codes'), settings_two_factor_authentication_recovery_codes_path, data: { method: :post }, class: 'block-button'
|
||||
= link_to t('two_factor_authentication.generate_recovery_codes'), settings_two_factor_authentication_recovery_codes_path, data: { method: :post }, class: 'button button--block'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue