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

fix: estandarizar las columnas #13179

This commit is contained in:
f 2023-04-20 18:23:58 -03:00
parent 48a6e3df8f
commit 0b74022f03
22 changed files with 25 additions and 25 deletions

View file

@ -1,5 +1,5 @@
%main.row
%aside.menu.col-md-3
%aside.menu.col-12.col-lg-3
%h1= @site.title
%p.lead= @site.description
.col

View file

@ -1,10 +1,10 @@
.row.align-items-center.justify-content-center.full-height
.col-md-10.align-self-center
.col-12.col-lg-10.align-self-center
- welcome = @site.config.dig('welcome', 'message') || t('.welcome',
site: @site.hostname)
= sanitize_markdown welcome
.col-md-6.align-self-center
.col-12.col-lg-6.align-self-center
-# Copiado y pegado de app/views/devise/registrations/new.haml
- resource = resource_name = @invitade
= form_for(resource, as: resource_name,

View file

@ -4,7 +4,7 @@
= render 'devise/shared/error_messages', resource: resource
.row.align-items-center.justify-content-center.full-height
.col-md-4.align-self-center
.col-12.col-lg-5.align-self-center
.sr-only
%h2= t('.resend_confirmation_instructions')

View file

@ -4,7 +4,7 @@
= render 'devise/shared/error_messages', resource: resource
.row.align-items-center.justify-content-center.full-height
.col-md-5.align-self-center
.col-12.col-lg-5.align-self-center
%h2= t 'devise.invitations.edit.header'
= form_for(resource,
as: resource_name,

View file

@ -4,7 +4,7 @@
= render 'devise/shared/error_messages', resource: resource
.row.align-items-center.justify-content-center.full-height
.col-md-5.align-self-center
.col-12.col-lg-5.align-self-center
%h2= t 'devise.invitations.new.header'
= form_for(resource,
as: resource_name,

View file

@ -4,7 +4,7 @@
= render 'devise/shared/error_messages', resource: resource
.row.align-items-center.justify-content-center.full-height
.col-md-5.align-self-center
.col-12.col-lg-5.align-self-center
.sr-only
%h2= t('.change_your_password')
%p= t('.help')

View file

@ -4,7 +4,7 @@
= render 'devise/shared/error_messages', resource: resource
.row.align-items-center.justify-content-center.full-height
.col-md-5.align-self-center
.col-12.col-lg-5.align-self-center
.sr-only
%h2= t('.forgot_your_password')
%p= t('.help')

View file

@ -6,7 +6,7 @@
= render 'devise/shared/error_messages', resource: resource
.row.align-items-center.justify-content-center.full-height
.col-md-6.align-self-center
.col-12.col-lg-6.align-self-center
%h2= t('.title')
= form_for(resource,
as: resource_name,

View file

@ -4,7 +4,7 @@
= render 'devise/shared/error_messages', resource: resource
.row.align-items-center.justify-content-center.full-height
.col-md-6.align-self-center
.col-12.col-lg-6.align-self-center
%h2= t('.sign_up')
%p= t('.help')

View file

@ -2,7 +2,7 @@
- 'black-bg'
.row.align-items-center.justify-content-center.full-height
.col-md-5.align-self-center
.col-12.col-lg-5.align-self-center
.sr-only
%h2= t('.sign_in')
%p= t('.help')

View file

@ -4,7 +4,7 @@
= render 'devise/shared/error_messages', resource: resource
.row.align-items-center.justify-content-center.full-height
.col-md-5.align-self-center
.col-12.col-lg-5.align-self-center
.sr-only
%h2= t('.resend_unlock_instructions')
%p= t('.help')

View file

@ -1,3 +1,3 @@
.row.justify-content-center
.col-md-8
.col-12.col-lg-8
= render 'posts/form', site: @site, post: @post

View file

@ -1,5 +1,5 @@
%main.row
%aside.menu.col-md-3
%aside.menu.col-lg-3
.hyphens{ lang: @site.default_locale }
%h1= @site.title
%p.lead= @site.description

View file

@ -1,3 +1,3 @@
.row.justify-content-center
.col-md-8
.col-12.col-lg-8
= render 'posts/form', site: @site, post: @post

View file

@ -1,6 +1,6 @@
- dir = @site.data.dig(params[:locale], 'dir')
.row.justify-content-center
.col-md-8
.col-12.col-lg-8
%article.content.table-responsive-md
= link_to t('posts.edit'),
edit_site_post_path(@site, @post.id),

View file

@ -1,5 +1,5 @@
.row.justify-content-center
.col-md-8
.col-12.col-lg-8
%h1= t('.title', site: @site.name)
= render 'form', site: @site, submit: t('.submit')

View file

@ -1,5 +1,5 @@
.row.justify-content-center
.col-md-8#pull
.col-12.col-lg-8#pull
%h1= t('.title')
%p.lead= sanitize_markdown t('.help.fetch'), tags: %w[em strong a]
@ -10,7 +10,7 @@
- @commits.each do |commit|
.row.justify-content-center
.col-md-8{ id: commit.oid }
.col-12.col-lg-8{ id: commit.oid }
%h1= commit.summary
%p.lead= render 'layouts/time', time: commit.time
@ -25,6 +25,6 @@
- unless @commits.empty?
.row.justify-content-center
.col-md-8
.col-12.col-lg-8
= link_to t('.merge.request'), site_pull_path(@site),
method: 'post', class: 'btn btn-lg'

View file

@ -1,5 +1,5 @@
%main.row
%aside.col-md-3
%aside.col-12.col-lg-3
%h1= t('.title')
%p.lead= t('.help')
- if policy(Site).new?

View file

@ -1,5 +1,5 @@
.row.justify-content-center
.col-md-8
.col-12.col-lg-8
%h1= t('.title')
%p.lead= t('.help')

View file

@ -38,7 +38,7 @@
- if @normalized_urls.present?
= line_chart site_stats_uris_path(urls: @normalized_urls, **@chart_params), **@chart_options
.row.mb-5.row-cols-1.row-cols-md-2
.row.mb-5.row-cols-1.row-cols-lg-2
- @columns.each_pair do |column, values|
- next if values.blank?
.col.mb-5

View file

@ -1,5 +1,5 @@
.row.justify-content-center
.col.col-md-8
.col.col-lg-8
%h1= t('.title')
-# Una tabla de usuaries y otra de invitades, con acciones

View file

@ -1,7 +1,7 @@
- invite_as = t("usuaries.invite_as.#{params[:invite_as]}")
.row.justify-content-center
.col.col-md-8
.col.col-lg-8
%h1= t('.title', invite_as: invite_as)
= form_with url: site_usuaries_invite_path(@site), local: true do |f|