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

Merge branch 'issue-16289' of 0xacab.org:sutty/sutty into panel.testing.sutty.nl

This commit is contained in:
maki 2024-05-14 12:57:17 -03:00
commit c85b7238f8
3 changed files with 15 additions and 3 deletions

View file

@ -88,6 +88,8 @@ $sizes: (
&:focus {
box-shadow: 0 0 0 0.2rem $cyan;
}
a.black {
color: $white;
}
}

View file

@ -31,4 +31,8 @@ $cyan: #13fefe;
}
}
a.black {
color: $white;
}

View file

@ -27,8 +27,14 @@
- schema = @site.layouts[key]
%input.custom-control-input.magenta{ type: 'checkbox', id: schema, name: "layout[]", class: "", value: schema.name, checked: @filter_params[:layout]&.include?(key.to_s) }
%label.custom-control-label.font-weight-normal{ for: schema }= schema.humanized_name
%button.btn.btn-secondary.mt-3{ type: 'submit' }= t('.filters.submit')
= render 'layouts/details', summary: t('posts.new'), summary_class: "h4 magenta font-weight-bold m-0 px-2", details_class: "d-flex border border-magenta justify-content-between align-items-center w-100 mb-3", open: "+", closed: "+", open_class: "h1 magenta font-weight-bold m-0", closed_class: "h1 magenta font-weight-bold m-0" do
%button.btn.btn-secondary.mt-3{ type: 'submit' }= t('posts.filters.submit')
= render 'layouts/details',
summary: t('posts.new'),
summary_class: "h4 magenta font-weight-bold m-0 px-2",
details_class: "d-flex border border-magenta justify-content-between align-items-center w-100 mb-3",
open: "+", closed: "+",
open_class: "h1 magenta font-weight-bold m-0",
closed_class: "h1 magenta font-weight-bold m-0" do
%table.table-sm.w-100
%tbody
- @site.schema_organization.each do |schema, _|
@ -78,7 +84,7 @@
%caption.sr-only= t('posts.caption')
%thead
%tr.sticky-top
%th.border-0{ colspan: '4' }
%th.border-0.p-0.p-md-2-plus{ colspan: '4' }
.d-flex.flex-row.justify-content-between
%div
- if reorder_allowed