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

« back to all changes in this revision

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

  • Committer: Matt Giuca
  • Date: 2009-02-25 09:24:31 UTC
  • mto: This revision was merged to the branch mainline in revision 1119.
  • Revision ID: matt.giuca@gmail.com-20090225092431-7p3ee29xjegfbhc7
Ivle header: Put ivleheader_text inside ivleheader, simplifying the CSS a lot.
    (The div is now small so it only covers the "userhello" text).

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
    <body>
40
40
      <div id="ivleheader">
41
41
        <h1><img src="${title_img}" alt="Informatics Virtual Learning Environment" /></h1>
 
42
        <div id="ivleheader_text">
 
43
          <py:choose>
 
44
            <p py:when="publicmode" class="userhello">Running in public mode.</p>
 
45
            <p py:when="logged_in" class="userhello">
 
46
              <span id="usernick">${nick}</span>
 
47
              (<span class="username">${login}</span>) |
 
48
              <a href="/~${login}/+settings">Settings</a> |
 
49
              <py:choose>
 
50
                <a py:when="defined('help_path')" href="/+help/${help_path}">Help</a>
 
51
                <a py:otherwise="" href="/+help/">Help</a>
 
52
              |</py:choose>
 
53
              <a href="/+logout">Log out</a>
 
54
            </p>
 
55
            <p py:otherwise="" class="userhello">Not logged in.</p>
 
56
          </py:choose>
 
57
        </div>
42
58
        <div py:if="logged_in" id="ivleheader_tabs">
43
59
          <ul id="apptabs">
44
60
            <py:for each="app in apps_in_tabs">
48
64
          </ul>
49
65
        </div>
50
66
      </div>
51
 
      <div id="ivleheader_text">
52
 
        <py:choose>
53
 
          <p py:when="publicmode" class="userhello">Running in public mode.</p>
54
 
          <p py:when="logged_in" class="userhello">
55
 
            <span id="usernick">${nick}</span>
56
 
            (<span class="username">${login}</span>) |
57
 
            <a href="/~${login}/+settings">Settings</a> |
58
 
            <py:choose>
59
 
              <a py:when="defined('help_path')" href="/+help/${help_path}">Help</a>
60
 
              <a py:otherwise="" href="/+help/">Help</a>
61
 
            |</py:choose>
62
 
            <a href="/+logout">Log out</a>
63
 
          </p>
64
 
          <p py:otherwise="" class="userhello">Not logged in.</p>
65
 
        </py:choose>
66
 
      </div>
67
67
      <div id="ivlebody">
68
68
        <div id="ivleview">
69
69
          ${select('*')}