Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/sugar_network_webui/templates/_context-article-view.html
blob: 33f2df0876b8911a9d666ef6c4200ea4111a4206 (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']}}
                </div>
                <div class="resource-summary">
                    {{context['summary']}}
                </div>
                <div>
                    <pre>{{context['description']}}</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>