mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-26 08:06:23 +00:00
fix: quitada alineación centrada varios
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
parent
a32a3ce7db
commit
33cf101b59
12 changed files with 27 additions and 37 deletions
|
@ -567,11 +567,11 @@ $bezier: cubic-bezier(0.75, 0, 0.25, 1);
|
||||||
|
|
||||||
&::after {
|
&::after {
|
||||||
content: '▶';
|
content: '▶';
|
||||||
font-size: 1.7rem;
|
font-size: 1.8rem;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 97%;
|
left: 97%;
|
||||||
bottom: 3%;
|
bottom: 3%;
|
||||||
transform: rotate(58deg);
|
transform: rotate(64deg);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,7 @@ class PostsController < ApplicationController
|
||||||
@usuarie = site.usuarie? current_usuarie
|
@usuarie = site.usuarie? current_usuarie
|
||||||
|
|
||||||
@site_stat = SiteStat.new(site)
|
@site_stat = SiteStat.new(site)
|
||||||
@moderation_queue = YAML.safe_load(File.read(Rails.root.join('db', 'seeds', 'moderation_queue.yaml')))
|
dummy_data
|
||||||
end
|
end
|
||||||
|
|
||||||
def show
|
def show
|
||||||
|
|
|
@ -2,5 +2,5 @@
|
||||||
|
|
||||||
%details.details.py-2
|
%details.details.py-2
|
||||||
%summary
|
%summary
|
||||||
%h3.py-2.text-center= @summary
|
%h3.py-2= @summary
|
||||||
= yield
|
= yield
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
-# Filtros
|
-# 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', 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_case'), path: '/'
|
||||||
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_allow'), path: '/'
|
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_allow'), path: '/'
|
||||||
|
@ -12,13 +12,10 @@
|
||||||
= render 'account', profile: remote_profile
|
= render 'account', profile: remote_profile
|
||||||
|
|
||||||
-# Botones de Moderación
|
-# Botones de Moderación
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4
|
||||||
- @class = 'btn-secondary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_approve'), class: @class, href: ''
|
= 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: ''
|
= 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: ''
|
= 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: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_report'), class: @class, href: ''
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
.form-group
|
.form-group
|
||||||
.d-flex.flex-column.mt-5
|
.d-flex.flex-column.mt-5
|
||||||
%textarea.red.mb-3{ name: '', id: '', placeholder: t('moderation_queue.instances.custom_block') }
|
%textarea.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')
|
.d-flex.justify-content-end
|
||||||
|
%button.col{ type: 'submit', class: 'btn btn-secondary' }= t('moderation_queue.instances.submit')
|
||||||
|
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
.card
|
.card
|
||||||
.card-body
|
.card-body
|
||||||
%input{ type: 'checkbox', value: '', class: 'ml-5' }
|
%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')
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
-# Componente Botón general Moderación
|
-# 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
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
-# Filtros
|
-# 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', 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_pause'), path: '/'
|
||||||
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_reject'), 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
|
= render 'comment', comment: comment, profile: @remote_profile
|
||||||
|
|
||||||
-# Botones moderación
|
-# Botones moderación
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4
|
||||||
- @class = 'btn-secondary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_pause'), class: @class, href: ''
|
= 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: ''
|
= 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: ''
|
= 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: ''
|
= 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: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_report'), class: @class, href: ''
|
|
@ -1,5 +1,5 @@
|
||||||
-# Filtros
|
-# 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', 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_case'), path: '/'
|
||||||
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_allow'), path: '/'
|
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_allow'), path: '/'
|
||||||
|
@ -13,15 +13,13 @@
|
||||||
|
|
||||||
|
|
||||||
-# Botones moderación
|
-# Botones moderación
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4
|
||||||
- @class = 'btn-secondary'
|
- @class = 'btn btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.instances_button_box.text_check'), class: @class, href: ''
|
= 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: ''
|
= 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: ''
|
= 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')
|
%h3.mt-5= t('moderation_queue.instances.title')
|
||||||
%p.pb-2= t('moderation_queue.instances.description')
|
%p= t('moderation_queue.instances.description')
|
||||||
= render 'moderation_queue/block_lists'
|
= render 'moderation_queue/block_lists'
|
||||||
= render 'moderation_queue/block_instances_textarea'
|
= render 'moderation_queue/block_instances_textarea'
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
-# Componente Remote_Profile
|
-# Componente Remote_Profile
|
||||||
|
|
||||||
.flex.py-2.mx-2.text-center
|
.flex.py-2.mx-2
|
||||||
|
|
||||||
%h4.my-2= t('.profile_name') + ': ' + remote_profile['name']
|
%h4.my-2= t('.profile_name') + ': ' + remote_profile['name']
|
||||||
%h5= t('.profile_id') + ': ' + remote_profile['id']
|
%h5= t('.profile_id') + ': ' + remote_profile['id']
|
||||||
|
@ -10,15 +10,13 @@
|
||||||
|
|
||||||
= render 'moderation_queue/comments', moderation_queue: @moderation_queue
|
= render 'moderation_queue/comments', moderation_queue: @moderation_queue
|
||||||
|
|
||||||
%h3.text-center.pt-4= t('.profile')
|
%h3.pt-4= t('.profile')
|
||||||
%h4.my-2.text-center= t('.profile_name') + ': ' + remote_profile['name']
|
%h4.my-2= t('.profile_name') + ': ' + remote_profile['name']
|
||||||
|
|
||||||
-# Botones de Moderación
|
-# Botones de Moderación
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4
|
||||||
- @class = 'btn-secondary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_approve'), class: @class, href: ''
|
= 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: ''
|
= 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: ''
|
= 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: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.profile_button_box.text_report'), class: @class, href: ''
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
.flex
|
.flex
|
||||||
%h1.text-center= t('.profile')
|
%h1= t('.profile')
|
||||||
= render 'moderation_queue/remote_profile', remote_profile: @remote_profile
|
= render 'moderation_queue/remote_profile', remote_profile: @remote_profile
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.flex
|
.flex
|
||||||
%h3.text-center.py-2 Comentarios
|
%h3.py-2 Comentarios
|
||||||
-# Filtros
|
-# 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', 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_pause'), path: '/'
|
||||||
= render 'components/dropdown_item', text: t('moderation_queue.filter_box.submenu_reject'), 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
|
= render 'moderation_queue/comment', comment: comment, profile: @remote_profile
|
||||||
|
|
||||||
-# Botones moderación
|
-# Botones moderación
|
||||||
.d-flex.py-4.justify-content-center
|
.d-flex.py-4
|
||||||
- @class = 'btn-secondary'
|
- @class = 'btn-secondary'
|
||||||
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_pause'), class: @class, href: ''
|
= render 'moderation_queue/btn_base', text: t('moderation_queue.button_box.text_pause'), class: @class, href: ''
|
||||||
- @class = 'btn-secondary'
|
- @class = 'btn-secondary'
|
||||||
|
|
Loading…
Reference in a new issue