5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 15:46:21 +00:00

fix: quitada alineación centrada varios
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
jazzari 2024-02-08 14:41:50 -03:00
parent a32a3ce7db
commit 33cf101b59
12 changed files with 27 additions and 37 deletions

View file

@ -567,11 +567,11 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1);
&::after {
content: '';
font-size: 1.7rem;
font-size: 1.8rem;
position: absolute;
left: 97%;
bottom: 3%;
transform: rotate(58deg);
transform: rotate(64deg);
}
}

View file

@ -38,7 +38,7 @@ class PostsController < ApplicationController
@usuarie = site.usuarie? current_usuarie
@site_stat = SiteStat.new(site)
@moderation_queue = YAML.safe_load(File.read(Rails.root.join('db', 'seeds', 'moderation_queue.yaml')))
dummy_data
end
def show

View file

@ -2,5 +2,5 @@
%details.details.py-2
%summary
%h3.py-2.text-center= @summary
%h3.py-2= @summary
= yield

View file

@ -1,5 +1,5 @@
-# Filtros
.d-flex.py-2.justify-content-center
.d-flex.py-2
= render 'components/dropdown', text: t('moderation_queue.filter_box.text_checked') do
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_case'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_allow'), path: '/'
@ -12,13 +12,10 @@
= render 'account', profile: remote_profile
-# Botones de Moderación
.d-flex.py-4.justify-content-center
.d-flex.py-4
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_approve'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_check'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_deny'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_report'), class: @class, href: ''

View file

@ -1,5 +1,6 @@
.form-group
.d-flex.flex-column.mt-5
%textarea.red.mb-3{ name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') }
%button.col-4.offset-md-8.rounded{ type: 'submit', class: 'btn btn-secondary' }= t('moderation_queue.instances.submit')
%textarea.mb-3{ name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') }
.d-flex.justify-content-end
%button.col{ type: 'submit', class: 'btn btn-secondary' }= t('moderation_queue.instances.submit')

View file

@ -2,4 +2,4 @@
.card
.card-body
%input{ type: 'checkbox', value: '', class: 'ml-5' }
%h4.d-inline.red.ml-5= t('moderation_queue.instances.block_lists')
%h4.d-inline.ml-5= t('moderation_queue.instances.block_lists')

View file

@ -1,3 +1,3 @@
-# Componente Botón general Moderación
%button.btn.btn-lg.rounded.mx-2{ href: href, class: @class } #{text}
%button.btn.btn-lg.mx-2{ href: href, class: @class }= text

View file

@ -1,5 +1,5 @@
-# Filtros
.d-flex.py-2.justify-content-center
.d-flex.py-2
= render 'components/dropdown', text: t('moderation_queue.filter_box.text_checked') do
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_pause'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_reject'), path: '/'
@ -15,14 +15,10 @@
= render 'comment', comment: comment, profile: @remote_profile
-# Botones moderación
.d-flex.py-4.justify-content-center
.d-flex.py-4
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_pause'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reject'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_accept'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_reply'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_report'), class: @class, href: ''

View file

@ -1,5 +1,5 @@
-# Filtros
.d-flex.py-2.justify-content-center
.d-flex.py-2
= render 'components/dropdown', text: t('moderation_queue.filter_box.text_checked') do
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_case'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_allow'), path: '/'
@ -13,15 +13,13 @@
-# Botones moderación
.d-flex.py-4.justify-content-center
- @class = 'btn-secondary'
.d-flex.py-4
- @class = 'btn btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_check'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_allow'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_deny'), class: @class, href: ''
%h3.cyan.mt-5= t('moderation_queue.instances.title')
%p.pb-2= t('moderation_queue.instances.description')
%h3.mt-5= t('moderation_queue.instances.title')
%p= t('moderation_queue.instances.description')
= render 'moderation_queue/block_lists'
= render 'moderation_queue/block_instances_textarea'

View file

@ -1,6 +1,6 @@
-# Componente Remote_Profile
.flex.py-2.mx-2.text-center
.flex.py-2.mx-2
%h4.my-2= t('.profile_name') + ': ' + remote_profile['name']
%h5= t('.profile_id') + ': ' + remote_profile['id']
@ -10,15 +10,13 @@
= render 'moderation_queue/comments', moderation_queue: @moderation_queue
%h3.text-center.pt-4= t('.profile')
%h4.my-2.text-center= t('.profile_name') + ': ' + remote_profile['name']
%h3.pt-4= t('.profile')
%h4.my-2= t('.profile_name') + ': ' + remote_profile['name']
-# Botones de Moderación
.d-flex.py-4.justify-content-center
.d-flex.py-4
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_approve'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_check'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_deny'), class: @class, href: ''
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_report'), class: @class, href: ''

View file

@ -1,3 +1,3 @@
.flex
%h1.text-center= t('.profile')
%h1= t('.profile')
= render 'moderation_queue/remote_profile', remote_profile: @remote_profile

View file

@ -1,7 +1,7 @@
.flex
%h3.text-center.py-2 Comentarios
%h3.py-2 Comentarios
-# Filtros
.d-flex.py-2.justify-content-center
.d-flex.py-2
= render 'components/dropdown', text: t('moderation_queue.filter_box.text_checked') do
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_pause'), path: '/'
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_reject'), path: '/'
@ -16,7 +16,7 @@
= render 'moderation_queue/comment', comment: comment, profile: @remote_profile
-# Botones moderación
.d-flex.py-4.justify-content-center
.d-flex.py-4
- @class = 'btn-secondary'
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_pause'), class: @class, href: ''
- @class = 'btn-secondary'