home.html
HTML document, ASCII text
1
{% extends "default.html" %}
2
{% import "small-annotation-display.html" as annotation_display %}
3
4
{% block nav_title %}Home{% endblock %}
5
{% block title %}Home | {{ site_name }}{% endblock %}
6
{% block content %}
7
<x-frame style="--width: 768px" class="mobile-padding">
8
<h1>{{ site_name }}</h1>
9
<p>
10
Free/libre/open image data for machine learning, computer vision, data science, research, and more.
11
</p>
12
<p>
13
Easy to contribute for everyone, powerful to get data for those who need it.
14
</p>
15
<menu class="action-list">
16
<li><a href="/upload">
17
<iconify-icon icon="mdi:camera"></iconify-icon>
18
Upload a picture
19
</a></li>
20
<li><a href="/object/">
21
<iconify-icon icon="mdi:flower"></iconify-icon>
22
Browse objects
23
</a></li>
24
<li><a href="/query-pictures">
25
<iconify-icon icon="mdi:search"></iconify-icon>
26
Run a query
27
</a></li>
28
<li><a href="/query-pictures">
29
<iconify-icon icon="mdi:help-circle"></iconify-icon>
30
Help
31
</a></li>
32
</menu>
33
<h2>Random pictures</h2>
34
<ul class="thumbnail-list thumbnail-list-scroll">
35
{% for resource in random_resources %}
36
<li>
37
<a href="/picture/{{ resource.id }}">
38
{{ annotation_display.annotation_display(resource) }}
39
<div class="list-detail">
40
{{ resource.title }}
41
</div>
42
</a>
43
<div class="list-more">
44
<span class="picture-author">by <a href="/profile/{{ resource.author.username }}">{{ resource.author.formatted_name }}</a></span>
45
</div>
46
</li>
47
{% endfor %}
48
</ul>
49
<h2>Latest unannotated pictures</h2>
50
<ul class="thumbnail-list thumbnail-list-scroll">
51
{% for resource in recent_unannotated_resources %}
52
<li>
53
<a href="/picture/{{ resource.id }}">
54
{{ annotation_display.annotation_display(resource) }}
55
<div class="list-detail">
56
{{ resource.title }}
57
</div>
58
</a>
59
<div class="list-more">
60
<span class="picture-author">by <a href="/profile/{{ resource.author.username }}">{{ resource.author.formatted_name }}</a></span>
61
</div>
62
</li>
63
{% endfor %}
64
</ul>
65
<h2>Latest pictures</h2>
66
<ul class="thumbnail-list thumbnail-list-scroll">
67
{% for resource in recent_resources %}
68
<li>
69
<a href="/picture/{{ resource.id }}">
70
{{ annotation_display.annotation_display(resource) }}
71
<div class="list-detail">
72
{{ resource.title }}
73
</div>
74
</a>
75
<div class="list-more">
76
<span class="picture-author">by <a href="/profile/{{ resource.author.username }}">{{ resource.author.formatted_name }}</a></span>
77
</div>
78
</li>
79
{% endfor %}
80
</ul>
81
</x-frame>
82
{% endblock %}