~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/base/ivle-headings.html

Fixed an oversight in the tutorial code which was printing <worksheet>
and <exercise> tags into the output

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
      xmlns:xi="http://www.w3.org/2001/XInclude"
4
4
      py:strip="">
5
5
  <py:match path="head[@status!='done']" once="true">
6
 
    <head>
 
6
    <head status='done' py:attrs="select('@*')">
7
7
      <title py:with="title = list(select('title/text()'))">
8
8
        <py:if test="title">${title} - </py:if>IVLE
9
9
      </title>
44
44
    </head>
45
45
  </py:match>    
46
46
  <py:match path="body[@status!='done']" once="true">
47
 
    <body>
 
47
    <body status='done'>
48
48
      <div id="ivleheader"></div>
49
49
      <div id="ivleheader_text">
50
50
        <h1>IVLE</h1>
54
54
          <p py:when="logged_in" class="userhello">
55
55
            <span id="usernick">${nick}</span>
56
56
            (<span class="username">${login}</span>) |
57
 
            <a href="/~${login}/+settings">Settings</a> |
 
57
            <a href="/users/${login}/+settings">Settings</a> |
58
58
            <a href="/help">Help</a> |
59
59
            <a href="/logout">Sign out</a>
60
60
          </p>
70
70
        </ul>
71
71
      </div>
72
72
      <div id="ivlebody">
73
 
        ${select('*')}
 
73
      ${select('*')}
74
74
      </div>
75
 
      <div id="ivleoverlays">
76
 
        <py:for each="overlay in overlays">
77
 
          ${overlay}
78
 
        </py:for>
79
 
      </div>     
80
75
    </body>
81
76
  </py:match>
82
77
  ${app_template}