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

« back to all changes in this revision

Viewing changes to www/dispatch/html.py

  • Committer: mattgiuca
  • Date: 2008-01-31 01:10:29 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:344
dispatch/ivle CSS foo.
The IVLE header is now a fixed height in em (previously was just intrinsic
    height).
This fixes the "tabs sometimes don't line up with the base line" display
problem, and also makes it much easier to add fixed or absolute content on the
rest of the page.

This was done by separating the tabs out into a separate div and making that
absolutely positioned. Now the header is exactly 5.3em.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        req.write("  <p><small>Warning: debuginfo is enabled. Remove this "
104
104
            "app from conf.apps.app_url when placed into production."
105
105
            "</small></p>\n")
 
106
    # ivleheader_tabs is a separate div, so it can be positioned absolutely
 
107
    req.write('</div>\n<div id="ivleheader_tabs">\n')
106
108
 
107
109
    if req.username:
108
110
        # Only print app tabs if logged in