blob: 8679ee1d423064096d259e310c57a0b11fa594e7 (
plain)
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
|
<div class="context-grid-box" id='resource-page-{{page}}'>
{%- for context in result[:6] %}
<div class="grid-item">
<a href="/context/questions/{{context['guid']}}?cursor_offset={{context.offset}}">
<img class="box-button question-icon has_tooltip" src="/static/icons/button-question.png" title="{{_('questions')}}"/>
</a>
<a href="/context/ideas/{{context['guid']}}?cursor_offset={{context.offset}}">
<img class="box-button idea-icon has_tooltip" src="/static/icons/button-idea.png" title="{{_('ideas')}}"/>
</a>
<a href="/context/problems/{{context['guid']}}?cursor_offset={{context.offset}}">
<img class="box-button problem-icon has_tooltip" src="/static/icons/button-problem.png" title="{{_('problems')}}"/>
</a>
<a href="/context/reviews/{{context['guid']}}">
<img class="box-button review-icon has_tooltip" src="/static/icons/button-review.png" title="{{_('reviews')}}"/>
</a>
<a href="/context/all/{{context['guid']}}">
<img class="box-button wiki-icon has_tooltip" src="/static/icons/button-list.png" title="{{_('all resources')}}" />
</a>
<a href="/context/gallery/{{context['guid']}}">
<img class="box-button gallery-icon has_tooltip" src="/static/icons/button-blank.png" title="{{_('artifact gallery')}}" />
</a>
<div class="iconbox has_tooltip" title="{{_('launch') + ' ' + context['title']}}">
<a href="/launch/{{context['guid']}}">
<img class="grid-icon" src="/context/icon/{{context['guid']}}?cursor_offset={{context.offset}}" />
</a>
</div>
<div class="context-label">
<span class="context-controls">
<img title="{{_('available offline')}}" id="moon-{{context['guid']}}"
{% if 'clone' in context['layer'] %}
style="background-color:{{fill}}; border: 1px solid {{stroke}};"
data-clone="true"
{% endif %}
class="moon-emblem has_tooltip" src="/static/icons/moon.png"/>
<img title="{{_('favorite')}}" id="star-{{context['guid']}}"
{% if 'favorite' in context['layer'] %}
style="background-color:{{fill}}; border: 1px solid {{stroke}};"
data-favorite="true"
{% endif %}
class="star-emblem has_tooltip" src="/static/icons/add-link-small.png"/>
</span>
<span class="iconbox has_tooltip" title="{{_('see') + ' ' + context['title']}}">
<a href="/article/{{context['guid']}}">
{{context['title']}}</a>
</span>
</div>
</div>
{%- endfor %}
</div>
|