blob: 565193a347cedb91903331f2290d69b3cf5c30cf (
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
|
<style>
.grid-icon {
color: white;
padding: 28px;
background-color: {{fill}};
border: 4px solid {{stroke}};
border-radius: 15px;
-moz-border-radius: 15px;
-webkit-border-radius: 15px;
z-index: 50;
}
</style>
<br/>
<article>
<div class="resource-title">
{{context['title']|safe}}
</div>
<div class="resource-summary">
{{context['summary']|safe}}
</div>
<div>
<pre>{{context['description']|safe}}</pre>
</div>
<div>
</article>
{%- if context.is_author -%}
<a href="{{url_for('ProjectView:edit',
context=context['guid'],
title=context['title'],
summary=context['summary'],
content=context['description'])}}">
<span class="edit-context">
<img src="/static/icons/toolbar-edit.png" />
</span>
</a>
<!--span class="edit-context" data-guid="{{context['guid']}}">
<img src="/static/icons/toolbar-delete.png"></img>
</span-->
{%- endif -%}
</div>
|