forked from cat-list/cat-list.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (65 loc) · 2.21 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
---
layout: default
title: Search
---
<div class="img_holder"><img src="/images/cat.svg"/></div>
<h1 class="main_head">
The
C<span class="small">omputational</span>
<span class="small">and</span>
A<span class="small">pplied</span>
T<span class="small">opology</span>
List
</h1>
<form id="search-form" action="" method="get">
<input type="text" id="search-box" name="query" placeholder="🔎 Search">
</form>
<div class="filter_row">
<p class="hint" id="search-hint">
Hint: Press enter to add the current search term as a tag filter.
</p>
<table>
Chosen tags:
<td class="software_tags hidden" id="filter-tags">
</td></table>
</div>
<div id="all_tags" class="all_tags short_view">
All tags:
<br>
{% capture tags_content %}{% include_relative metadata/all-tags.txt %}{% endcapture %}
{% assign tags = tags_content | newline_to_br | split: '<br />' %}
{% for tag in tags %}
{%- assign stripped_tag = tag | strip_newlines -%}
{% if stripped_tag != "" %}
{%- assign tag_main = stripped_tag | split:"/" | first -%}
<span class="TAG_{{ tag_main}} pill">{{ stripped_tag }} <button onclick="addTag('{{ stripped_tag }}', true)" class="add-button">➕</button></span>
{% endif %}
{% endfor %}
</div>
<div class="centered">
<button id="show_more_toggle" class="show_more_toggle">↓ Show more ↓</button>
</div>
<table>
<thead>
<th>Software</th>
<th>Tags</th>
</thead>
<tbody id="table_body" class="highlight-hover">
{% for software in site.software %}
<tr id="{{software.id | xml_escape }}">
<td class="software_name"><a href="{{ software.url }}">{{ software.name }}</a></td>
<td class="software_tags">
{% assign tag_list = software.tags | sort %}
{% for tag in tag_list %}
{%- assign tag_main = tag | split:"/" | first -%}
<span class="TAG_{{ tag_main}} pill">{{ tag }} <button onclick="addTag('{{ tag }}', true)" class="add-button">➕</button></span>
{% endfor %}
</td>
</tr>
{% endfor %}
</tbody>
</table>
<p class="please_contribute">
Please contribute by making a pull request on <a href="https://github.com/cat-list/cat-list.github.io/">our Github</a>.
</p>
<script src="/js/search.js"></script>