Skip to content

Commit

Permalink
Update index.html
Browse files Browse the repository at this point in the history
Fix Head Article and Insert FieldSet "Journals" to search previous files stored.
  • Loading branch information
folk-digital authored Jul 2, 2024
1 parent 6926587 commit 6268033
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,28 @@
display: flex;
justify-content: center;
gap: 2px;
align-items: center;
}

#fsetJournals {
display: none
}

#alljournals:checked + #fsetJournals {
display: block
}

article {
background-color: white;
padding: 5px;
margin: 5px;
border: 1px solid gray;
&:first-child {
text-align: center
a {
background-color: bisque;
}
}
}
</style>

Expand Down Expand Up @@ -53,7 +68,7 @@
// console.log(doc.texto)
document.getElementById('resultado').insertAdjacentHTML('beforeend', `
<article>
<a href="https://${dodf.json.linkJornal}" target="blank_" style="text-align:justify;">${dodf.json.tituloSangria}</a>
<p><a href="https://${dodf.json.linkJornal}" target="blank_">${dodf.json.tituloSangria}</a></p>
${doc.texto}
</article>`)
}
Expand All @@ -78,7 +93,10 @@
<fieldset>
<legend>Pesquisa</legend>
<!-- <label for="termos">termos:</label> -->
<input type="text" name="termos" id="termos">
<label for="alljournals" style="">Search All</label><input type="checkbox" name="alljournals" id="alljournals"><fieldset id="fsetJournals">
<legend>Edições Anteriores</legend>
<select multiple="" style="max-width:90%;" id="journals" name="journals"></select>
</fieldset><input type="text" name="termos" id="termos">
<br>
<button id="btnSearch" onclick="searchDODF()">Pesquisar!</button>
</fieldset>
Expand Down

0 comments on commit 6268033

Please sign in to comment.