forked from pdp-archive/pdp-archive.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
/
relevant.html
43 lines (34 loc) · 1.33 KB
/
relevant.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
---
title: "Σχετικά προβλήματα"
layout: default
---
<link rel="stylesheet" href="/css/categorised.css">
<script src="/js/relevant_filter.js"></script>
<center><h1>Σχετικά προβλήματα</h1></center>
<div style="margin-bottom: 40px; text-align: center;">
<label for="relevant_filter_text">Αναζήτηση με βάση codename προβλήματος:</label><br>
<input type="text" list="codenames" id="relevant_filter_text" onkeyup="filterRelevantEntries()" placeholder="π.χ. bankacc" title="codename προβλήματος" size="35">
<datalist id="codenames">
{% assign sortedCollections = site.collections %}
{% for collection in site.collections reversed %}
{% if collection.label != "posts" %}
{% for post in site[collection.label] %}
{% if post.layout == "summary" %}
{% assign contest_url = post.url | replace: "/", "" | replace: "index", "" %}
{% assign contest = site.data.contests[contest_url] %}
{% for problem_it in contest %}
{% assign problem = problem_it[1] %}
{% assign codename = problem_it[0] %}
<option value="{{codename}}">
{% endfor %}
{% endif %}
{% endfor %}
{% endif %}
{% endfor %}
</div>
{% include tagged_problems.html %}
<script type="text/javascript">
loadCodenameFromUrl();
</script>
<div id="footer_space"></div>
{% include contributors_footer.html %}