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

« back to all changes in this revision

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

ivle.chat now opens /dev/null as std{in,out,err} when daemonising.

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 status='done' py:attrs="select('@*')">
 
6
    <head>
7
7
      <title py:with="title = list(select('title/text()'))">
8
8
        <py:if test="title">${title} - </py:if>IVLE
9
9
      </title>
18
18
 
19
19
      <link py:if="favicon" rel="shortcut icon" href="${favicon}" />
20
20
 
21
 
      <link rel="stylesheet" type="text/css" href="/media/common/ivle.css" />
22
 
 
23
 
      <script type="text/javascript" src="/media/common/util.js"></script>
24
 
      <script type="text/javascript" src="/media/common/json2.js"></script>
25
 
      <script type="text/javascript" src="/media/common/md5.js"></script>
26
 
      <script type="text/javascript" src="/media/common/tos.js"></script>
27
 
 
28
 
      <!-- Plugin style sheets and JavaScript -->
29
 
      <py:for each="style in app_styles">
 
21
      <py:for each="style in styles">
30
22
        <link rel="stylesheet" type="text/css" href="${style}" />
31
23
      </py:for>
32
24
 
44
36
    </head>
45
37
  </py:match>    
46
38
  <py:match path="body[@status!='done']" once="true">
47
 
    <body status='done'>
 
39
    <body>
48
40
      <div id="ivleheader"></div>
49
41
      <div id="ivleheader_text">
50
42
        <h1>IVLE</h1>
54
46
          <p py:when="logged_in" class="userhello">
55
47
            <span id="usernick">${nick}</span>
56
48
            (<span class="username">${login}</span>) |
57
 
            <a href="/users/${login}/+settings">Settings</a> |
58
 
            <a href="/help">Help</a> |
59
 
            <a href="/logout">Sign out</a>
 
49
            <a href="/~${login}/+settings">Settings</a> |
 
50
            <py:choose>
 
51
              <a py:when="defined('help_path')" href="/+help/${help_path}">Help</a>
 
52
              <a py:otherwise="" href="/+help/">Help</a>
 
53
            |</py:choose>
 
54
            <a href="/+logout">Sign out</a>
60
55
          </p>
61
56
          <p py:otherwise="" class="userhello">Not logged in.</p>
62
57
        </py:choose>
70
65
        </ul>
71
66
      </div>
72
67
      <div id="ivlebody">
73
 
      ${select('*')}
 
68
        <div id="ivleview">
 
69
          ${select('*')}
 
70
        </div>
 
71
        <div id="ivleoverlays">
 
72
          <py:for each="overlay in overlays">
 
73
            ${overlay}
 
74
          </py:for>
 
75
        </div>     
74
76
      </div>
75
77
    </body>
76
78
  </py:match>