Web · Wiki · Activities · Blog · Lists · Chat · Meeting · Bugs · Git · Translate · Archive · People · Donate
1
            <div class="context-grid-box" id='resource-page-{{page}}'>
2
                {%- for context in result[:6] %}
3
                <div class="grid-item">
4
                    <a href="/context/questions/{{context['guid']}}?cursor_offset={{context.offset}}">
5
                        <img class="question-icon" src="/static/icons/button-question.png" />
6
                    </a>
7
                    <a href="/context/ideas/{{context['guid']}}?cursor_offset={{context.offset}}">
8
                    <img class="idea-icon" src="/static/icons/button-idea.png" />
9
                    </a>
10
                    <a href="/context/problems/{{context['guid']}}?cursor_offset={{context.offset}}">
11
                    <img class="problem-icon" src="/static/icons/button-problem.png" />
12
                    </a>
13
                    <a href="/context/reviews/{{context['guid']}}">
14
                    <img class="review-icon" src="/static/icons/button-review.png" />
15
                    </a>
16
                    <a href="/context/gallery/{{context['guid']}}">
17
                    <img class="gallery-icon" src="/static/icons/button-blank.png" />
18
                    </a>
19
                    <a href="/context/all/{{context['guid']}}">
20
                    <img class="wiki-icon" src="/static/icons/button-list.png" />
21
                    </a>
22
23
                    <div class="iconbox">
24
                        <a href="/launch/{{context['guid']}}">
25
                        <img class="grid-icon" src="/context/icon/{{context['guid']}}?cursor_offset={{context.offset}}" />
26
                        </a>
27
                    </div>
28
                    <div class="context-label">    
29
                        <span class="context-controls">
30
                        <img id="moon-{{context['guid']}}" 
31
                        {% if context['keep_impl'] %}
32
                        style="background-color:{{fill}}; border: 1px solid {{stroke}};"
33
                        data-keep_impl="true"
34
                        {% endif %} 
35
                        class="moon-emblem" src="/static/icons/moon.png"/>
36
                        
37
                        <img id="star-{{context['guid']}}" 
38
                        {% if context['keep'] %}
39
                        style="background-color:{{fill}}; border: 1px solid {{stroke}};"
40
                        data-keep="true"
41
                        {% endif %} 
42
                        class="star-emblem" src="/static/icons/add-link-small.png"/>
43
                        </span>
44
                        &nbsp;
45
                        {{context['title']}}
46
                    </div>
47
                </div>
48
                {%- endfor %}
49
            </div>