5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-24 17:56:22 +00:00

fix: agregadas modificaciones a vista desktop #13587

This commit is contained in:
jazzari 2023-11-24 16:54:00 +01:00
parent 968fbcdd86
commit 086b991854
3 changed files with 8 additions and 8 deletions

View file

@ -315,7 +315,7 @@ svg {
.designpreview {
border-left: 1px solid cyan;
border-right: 1px solid cyan;
border-right: 1px dashed cyan;
}
.designs {

View file

@ -10,17 +10,17 @@
-# Desktop view with 3 columns and radio_buttons
.row.designs.d-none.d-lg-flex
- @designs = Design.all.order(priority: :desc).reject(&:no_theme?)
.col-md-3.designlist
.col-md-4.designlist
%h2.pb-3= t('.selector')
- @designs.each do |design|
.col.d-flex.flex-column.custom-control-design{"data-controller" => "designs"}
%div{"data-designs-target" => "radio", "data-action" => "click->designs#selection"}
.col.d-flex.flex-column.custom-control-design
%div
= f.radio_button :design_id, design.id,
checked: design.id == site.design_id,
disabled: design.disabled,
required: true, class: 'radio-toolbar'
= f.label "design_id_#{design.id}", " - #{design.name}",
class: 'font-size-bold'
class: 'h5 font-weight-bolder'
.flex-fill.f-3
= sanitize_markdown design.description,
tags: %w[p a strong em]
@ -28,9 +28,9 @@
%h2.text-center.pb-3= t('.preview')
.embed-responsive.embed-responsive-1by1
%iframe.embed-responsive-item{allowfullscreen: "", src: "/placeholder.png"}
.col-md-3
.col-md-2
%h2.pb-3= t('.characteristics')
%div{"data-designs-target" => "infocar"}
%div
%p.design 1. Es gratis
%p.design 2. Sofware libre - Licencia GPL
%p.design 3. Compatible con la web distribuida

View file

@ -466,7 +466,7 @@ es:
help: 'Puedes configurar tu tienda aquí.'
designs:
selector: 'Selector de Plantillas'
preview: 'Previsualizar Plantilla'
preview: 'Previsualización de Plantilla'
characteristics: 'Características'
source_code: 'Ver código fuente'
custom: