~yeliabmas/sloecode/wiki_mvp

« back to all changes in this revision

Viewing changes to sloecode/templates/wiki/page.html

  • Committer: Sam Bailey
  • Date: 2012-07-11 22:42:42 UTC
  • Revision ID: yeliabmas@gmail.com-20120711224242-kcdretmyido1yrtd
Preview working except for source code, where style is not applied

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
{% endblock %}
8
8
 
9
9
{% block content %}
10
 
 
11
 
<div style='float:left'>
12
 
        {% for crumb in fragments['breadcrumbs'] %}
13
 
      {% if loop.last %}
14
 
        <span class="crumb">{{ crumb.title }}</span>
15
 
      {% else %}
16
 
        <a href="{{ crumb.path }}" class="crumb">{{ crumb.title }}</a> &raquo;
17
 
      {% endif %}
18
 
    {% endfor %}
19
 
</div>
20
 
<a href="{{fragments['edit_url']}}" style='float:right;padding:5px;border:solid 1px'>Edit</a>
21
 
<a href="{{fragments['listing_url']}}" style='float:right;padding:5px;border:solid 1px'>Browse Wiki Content</a>
22
 
<div style='clear:both'/>
23
 
<div style='border:solid 1px;padding:10px'>
24
 
        {% block wiki_content %} {% endblock %}
25
 
</div>
26
 
<div style='last-modified'>
27
 
  {% if fragments['last_modified_by'] %}
28
 
          Last modified on <b>{{ fragments['last_modified_date'] }}</b> by <b>{{ fragments['last_modified_by'] }}</b>.
29
 
  {% endif %}
 
10
<di class='wikkid'>
 
11
  <div style='float:left'>
 
12
        {% for crumb in fragments['breadcrumbs'] %}
 
13
        {% if loop.last %}
 
14
          <span class="crumb">{{ crumb.title }}</span>
 
15
        {% else %}
 
16
          <a href="{{ crumb.path }}" class="crumb">{{ crumb.title }}</a> &raquo;
 
17
        {% endif %}
 
18
      {% endfor %}
 
19
  </div>
 
20
  <a href="{{fragments['edit_url']}}" style='float:right;padding:5px;border:solid 1px'>Edit</a>
 
21
  <a href="{{fragments['listing_url']}}" style='float:right;padding:5px;border:solid 1px'>Browse Wiki Content</a>
 
22
  <div style='clear:both'/>
 
23
  <div style='border:solid 1px;padding:10px'>
 
24
        {% block wiki_content %} {% endblock %}
 
25
  </div>
 
26
  <div>
 
27
    {% if fragments['last_modified_by'] %}
 
28
          Last modified on <b>{{ fragments['last_modified_date'] }}</b> by <b>{{ fragments['last_modified_by'] }}</b>.
 
29
    {% endif %}
 
30
  </div>
30
31
</div>
31
32
{% endblock %}