mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 03:06:21 +00:00
Merge branch 'issue-16289' of 0xacab.org:sutty/sutty into panel.testing.sutty.nl
This commit is contained in:
commit
c85b7238f8
3 changed files with 15 additions and 3 deletions
|
@ -88,6 +88,8 @@ $sizes: (
|
||||||
&:focus {
|
&:focus {
|
||||||
box-shadow: 0 0 0 0.2rem $cyan;
|
box-shadow: 0 0 0 0.2rem $cyan;
|
||||||
}
|
}
|
||||||
|
a.black {
|
||||||
|
color: $white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -31,4 +31,8 @@ $cyan: #13fefe;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a.black {
|
||||||
|
color: $white;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -27,8 +27,14 @@
|
||||||
- schema = @site.layouts[key]
|
- 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) }
|
%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
|
%label.custom-control-label.font-weight-normal{ for: schema }= schema.humanized_name
|
||||||
%button.btn.btn-secondary.mt-3{ type: 'submit' }= t('.filters.submit')
|
%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
|
= 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
|
%table.table-sm.w-100
|
||||||
%tbody
|
%tbody
|
||||||
- @site.schema_organization.each do |schema, _|
|
- @site.schema_organization.each do |schema, _|
|
||||||
|
@ -78,7 +84,7 @@
|
||||||
%caption.sr-only= t('posts.caption')
|
%caption.sr-only= t('posts.caption')
|
||||||
%thead
|
%thead
|
||||||
%tr.sticky-top
|
%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
|
.d-flex.flex-row.justify-content-between
|
||||||
%div
|
%div
|
||||||
- if reorder_allowed
|
- if reorder_allowed
|
||||||
|
|
Loading…
Reference in a new issue