pidgin/nest

2d3a5ec35c10
Parents 196052a389b1
Children 858f8129d178
[Minor] plugintable trim trailing \w and | char
--- a/hugo/layouts/shortcodes/plugintable.html Mon Jun 24 21:36:07 2019 +0100
+++ b/hugo/layouts/shortcodes/plugintable.html Mon Jun 24 21:43:14 2019 +0100
@@ -64,7 +64,7 @@
{{ if .logo }}<img src="{{ .logo }}" />{{ else }}&nbsp;{{ end }}
</td>
- <td class="plugin-heading">|
+ <td class="plugin-heading">
{{ .heading }}
</td>
@@ -87,11 +87,11 @@
</table>
<script>
- document.addEventListener("DOMContentLoaded", () => {
+ document.addEventListener("DOMContentLoaded", () => {
const selectorsContainer = document.getElementById("protocol-selector");
const search = document.getElementById("plugin-filter-search");
search.addEventListener("input", debounce(1000 * 0.5, filterRows));
- const [, ...rows] =
+ const [, ...rows] =
document.getElementById("protocol-table").getElementsByTagName("tr");
const types = {};
const typeFilter = new Set();
@@ -166,7 +166,7 @@
// Search box
&& (
!str
- || row.head.includes(str)
+ || row.head.includes(str)
|| row.info.includes(str)
|| row.repo.includes(str)
)
@@ -207,7 +207,7 @@
text-align: right;
display: inline-block;
}
-
+
#protocol-selector input {
margin: 8px;
display: inline-block;