minor: manual filtering
This commit is contained in:
parent
52583523f5
commit
1ada126c43
@ -24,11 +24,11 @@ if endpoints.get
|
||||
//- script(type="module" src="/lib/sib-resource/sib-resource.js" defer)
|
||||
|
||||
if endpoints.get.joboffers
|
||||
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-job-board@2.0" defer)
|
||||
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-job-board@2.1" defer)
|
||||
//- script(type="module" src="/lib/solid-job-board/dist/index.js" defer)
|
||||
|
||||
if endpoints.get.uploads && endpoints.get.skills && endpoints.get.users
|
||||
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-directory@2.0" defer)
|
||||
script(type="module" src="https://cdn.skypack.dev/@startinblox/component-directory@2.1" defer)
|
||||
//- script(type="module" src="/lib/solid-directory/dist/index.js" defer)
|
||||
|
||||
if endpoints.get.dashboards
|
||||
|
@ -39,12 +39,7 @@ class JsI18n {
|
||||
if (attr == "html") {
|
||||
this.translateNodeContent(node, k);
|
||||
} else {
|
||||
if (node.tagName == "SOLID-DELETE") {
|
||||
let button = node.querySelector('button');
|
||||
if (button != null) {
|
||||
this.translateNodeContent(button, k);
|
||||
}
|
||||
}
|
||||
// https://git.startinblox.com/framework/sib-core/issues/733
|
||||
if (attr.startsWith('label-')) {
|
||||
let label = node.querySelector('[name="'+attr.replace("label-", "")+'"] > label');
|
||||
if(label != null) {
|
||||
@ -202,4 +197,11 @@ document.addEventListener("DOMContentLoaded", () => {
|
||||
subtree: true,
|
||||
childList: true
|
||||
}));
|
||||
// 0.15 needed https://git.startinblox.com/framework/sib-core/issues/732
|
||||
// document.addEventListener('widgetRendered', event => {
|
||||
// jsI18n.processNode(event.target);
|
||||
// // Then wait one arbitrary second to re-render the whole document in case a widget re-rendered
|
||||
// clearTimeout(timer);
|
||||
// timer = setTimeout(() => jsI18n.processNode(document.querySelector('body')), 500);
|
||||
// });
|
||||
});
|
10
src/styles/forms/_index.scss
Normal file
10
src/styles/forms/_index.scss
Normal file
@ -0,0 +1,10 @@
|
||||
.search-form {
|
||||
input[type="submit"] {
|
||||
margin-bottom: 20px;
|
||||
@media (min-width: 768.01px) {
|
||||
margin-bottom: 0;
|
||||
float: none !important;
|
||||
margin-top: 0 !important;
|
||||
}
|
||||
}
|
||||
}
|
@ -33,14 +33,15 @@ solid-display>div {
|
||||
display: contents !important;
|
||||
}
|
||||
|
||||
@import 'header/_index';
|
||||
@import 'left-nav/_index';
|
||||
@import 'content/_index';
|
||||
@import 'about/_index';
|
||||
@import 'members/_index';
|
||||
@import 'profile/_index';
|
||||
@import 'job-offers/_index';
|
||||
@import 'chat/_index';
|
||||
@import 'header';
|
||||
@import 'left-nav';
|
||||
@import 'content';
|
||||
@import 'about';
|
||||
@import 'members';
|
||||
@import 'profile';
|
||||
@import 'job-offers';
|
||||
@import 'chat';
|
||||
@import 'forms';
|
||||
|
||||
nav#main__menu {
|
||||
@media (min-width: 768.01px) {
|
||||
|
@ -83,13 +83,14 @@ div.segment.full.padding-large.sm-padding-xsmall.sm-padding-top-normal.whitespac
|
||||
widget-name='admin-circle-link'
|
||||
)
|
||||
|
||||
solid-form-search.form(
|
||||
solid-form-search.form.search-form(
|
||||
id="admin-circle-filter"
|
||||
fields='name'
|
||||
label-name=''
|
||||
data-trans='label-name=circle.list.searchBy'
|
||||
widget-name='solid-form-label-text'
|
||||
class-name="segment margin-bottom-medium half sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
class-name="segment margin-bottom-medium third sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
submit-button="GO"
|
||||
)
|
||||
|
||||
.segment.table-wrapper
|
||||
|
@ -29,13 +29,14 @@ div.segment.full.padding-large.sm-padding-xsmall.sm-padding-top-medium.whitespac
|
||||
)
|
||||
span.icon.icon-people.icon-xsmall.margin-right-xxsmall
|
||||
|
||||
solid-form-search.form(
|
||||
solid-form-search.form.search-form(
|
||||
id="admin-community-filter"
|
||||
fields='cell1'
|
||||
label-cell1=''
|
||||
data-trans='label-cell1=communities.searchBy'
|
||||
widget-cell1='solid-form-label-text'
|
||||
class-cell1="segment margin-bottom-medium half sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
class-cell1="segment margin-bottom-medium third sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
submit-button="GO"
|
||||
)
|
||||
|
||||
.segment.table-wrapper
|
||||
|
@ -58,13 +58,14 @@ div.segment.full.padding-large.sm-padding-xsmall.sm-padding-top-medium.whitespac
|
||||
widget-name='admin-project-link'
|
||||
)
|
||||
|
||||
solid-form-search.form(
|
||||
solid-form-search.form.search-form(
|
||||
id="admin-project-filter"
|
||||
fields='cell1'
|
||||
label-cell1=''
|
||||
data-trans='label-cell1=project.list.searchBy'
|
||||
widget-cell1='solid-form-label-text'
|
||||
class-cell1="segment margin-bottom-medium half sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
class-cell1="segment margin-bottom-medium third sm-full padding-right-small sm-padding-none text-small text-semibold text-uppercase text-color-heading"
|
||||
submit-button="GO"
|
||||
)
|
||||
|
||||
.segment.table-wrapper
|
||||
|
Loading…
Reference in New Issue
Block a user