Skip to content

Commit

Permalink
Alteração na mensagem superior e remoção da pesquisa avançada da bibl…
Browse files Browse the repository at this point in the history
…ioteca
  • Loading branch information
Alynva committed Sep 27, 2024
1 parent 5f557ee commit 41f1328
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 25 deletions.
8 changes: 4 additions & 4 deletions src/components/Observacao.astro
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ const { title } = Astro.props;
<style>
aside {
padding: 1rem;
border-inline-start: 0.25rem solid #999999;
border-inline-start: 0.25rem solid #8d4616;
margin-block-start: 0.5em;
margin-block-end: 0.5em;
color: #17181c;
background-color: #e6e6e6;
color: #381a05;
background-color: #f7caab; /*#e6e6e6;*/
}
aside > p {
display: flex;
Expand All @@ -39,7 +39,7 @@ aside > p {
font-size: 1.125rem;
font-weight: 600;
line-height: 1.2;
color: #4d4d4d;
/* color: #4d4d4d; */
margin: 0;
}
aside > p > svg {
Expand Down
24 changes: 3 additions & 21 deletions src/pages/biblioteca.astro
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import Layout from '../layouts/Layout.astro';
<Layout title="Biblioteca IsF - Idiomas sem Fronteiras">
<link rel="stylesheet" href="https://cdn.datatables.net/v/dt/jq-3.7.0/dt-2.1.6/b-3.1.2/cr-2.0.4/fh-4.0.1/r-3.0.3/sb-1.8.0/datatables.min.css" slot="head" />

<Observacao title="Colabore!">
Possui material que gostaria de compartilhar? Colabore enviando-o <a href="https://forms.gle/d4KfCsrDfZC4dnkM6" target="_blank">aqui</a>.
<Observacao title="Esta é uma biblioteca pública. Compartilhe com quem quiser!">
Se você possui algum trabalho sobre ou do IsF que gostaria de compartilhar, colabore enviando-o <a href="https://forms.gle/d4KfCsrDfZC4dnkM6" target="_blank">aqui</a>.
</Observacao>

<Carregando id="data-table-loader" />
Expand Down Expand Up @@ -62,7 +62,6 @@ import 'datatables.net-buttons-dt'
import 'datatables.net-colreorder-dt'
import 'datatables.net-fixedheader-dt'
import 'datatables.net-responsive-dt'
import 'datatables.net-searchbuilder-dt'
import Papa from 'papaparse'

const ID_DA_PLANILHA = '1zL6CXcemierW0aKoGgYMJ2U0iAn_89QF9EVOPniPk34'
Expand Down Expand Up @@ -115,31 +114,14 @@ Papa.parse<LibraryRecord>(URL_DA_PLANILHA, {
new DataTable('#data', {
language: {
url: '//cdn.datatables.net/plug-ins/2.1.6/i18n/pt-BR.json',
searchBuilder: {
button: {
0: 'Busca avançada',
_: 'Busca avançada (%d)'
}
}
},
layout: {
topStart: {
buttons: [
{
extend: 'searchBuilder',
config: {
greyscale: true,
}
}
],
pageLength: {}
},
topEnd: {
search: {
processing: true,
placeholder: "Buscar na biblioteca"
}
}
},
},
responsive: true,
fixedHeader: true,
Expand Down

0 comments on commit 41f1328

Please sign in to comment.