mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-24 20:06:22 +00:00
fix: agregadas modificaciones a vista desktop #13587
This commit is contained in:
parent
968fbcdd86
commit
086b991854
3 changed files with 8 additions and 8 deletions
|
@ -315,7 +315,7 @@ svg {
|
||||||
|
|
||||||
.designpreview {
|
.designpreview {
|
||||||
border-left: 1px solid cyan;
|
border-left: 1px solid cyan;
|
||||||
border-right: 1px solid cyan;
|
border-right: 1px dashed cyan;
|
||||||
}
|
}
|
||||||
|
|
||||||
.designs {
|
.designs {
|
||||||
|
|
|
@ -10,17 +10,17 @@
|
||||||
-# Desktop view with 3 columns and radio_buttons
|
-# Desktop view with 3 columns and radio_buttons
|
||||||
.row.designs.d-none.d-lg-flex
|
.row.designs.d-none.d-lg-flex
|
||||||
- @designs = Design.all.order(priority: :desc).reject(&:no_theme?)
|
- @designs = Design.all.order(priority: :desc).reject(&:no_theme?)
|
||||||
.col-md-3.designlist
|
.col-md-4.designlist
|
||||||
%h2.pb-3= t('.selector')
|
%h2.pb-3= t('.selector')
|
||||||
- @designs.each do |design|
|
- @designs.each do |design|
|
||||||
.col.d-flex.flex-column.custom-control-design{"data-controller" => "designs"}
|
.col.d-flex.flex-column.custom-control-design
|
||||||
%div{"data-designs-target" => "radio", "data-action" => "click->designs#selection"}
|
%div
|
||||||
= f.radio_button :design_id, design.id,
|
= f.radio_button :design_id, design.id,
|
||||||
checked: design.id == site.design_id,
|
checked: design.id == site.design_id,
|
||||||
disabled: design.disabled,
|
disabled: design.disabled,
|
||||||
required: true, class: 'radio-toolbar'
|
required: true, class: 'radio-toolbar'
|
||||||
= f.label "design_id_#{design.id}", " - #{design.name}",
|
= f.label "design_id_#{design.id}", " - #{design.name}",
|
||||||
class: 'font-size-bold'
|
class: 'h5 font-weight-bolder'
|
||||||
.flex-fill.f-3
|
.flex-fill.f-3
|
||||||
= sanitize_markdown design.description,
|
= sanitize_markdown design.description,
|
||||||
tags: %w[p a strong em]
|
tags: %w[p a strong em]
|
||||||
|
@ -28,9 +28,9 @@
|
||||||
%h2.text-center.pb-3= t('.preview')
|
%h2.text-center.pb-3= t('.preview')
|
||||||
.embed-responsive.embed-responsive-1by1
|
.embed-responsive.embed-responsive-1by1
|
||||||
%iframe.embed-responsive-item{allowfullscreen: "", src: "/placeholder.png"}
|
%iframe.embed-responsive-item{allowfullscreen: "", src: "/placeholder.png"}
|
||||||
.col-md-3
|
.col-md-2
|
||||||
%h2.pb-3= t('.characteristics')
|
%h2.pb-3= t('.characteristics')
|
||||||
%div{"data-designs-target" => "infocar"}
|
%div
|
||||||
%p.design 1. Es gratis
|
%p.design 1. Es gratis
|
||||||
%p.design 2. Sofware libre - Licencia GPL
|
%p.design 2. Sofware libre - Licencia GPL
|
||||||
%p.design 3. Compatible con la web distribuida
|
%p.design 3. Compatible con la web distribuida
|
||||||
|
|
|
@ -466,7 +466,7 @@ es:
|
||||||
help: 'Puedes configurar tu tienda aquí.'
|
help: 'Puedes configurar tu tienda aquí.'
|
||||||
designs:
|
designs:
|
||||||
selector: 'Selector de Plantillas'
|
selector: 'Selector de Plantillas'
|
||||||
preview: 'Previsualizar Plantilla'
|
preview: 'Previsualización de Plantilla'
|
||||||
characteristics: 'Características'
|
characteristics: 'Características'
|
||||||
source_code: 'Ver código fuente'
|
source_code: 'Ver código fuente'
|
||||||
custom:
|
custom:
|
||||||
|
|
Loading…
Reference in a new issue