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

« back to all changes in this revision

Viewing changes to www/apps/debuginfo/__init__.py

  • Committer: mattgiuca
  • Date: 2008-01-31 01:44:30 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:345
Global CSS change: ivlebody no longer has 1em of padding (it has none).
This is because most apps were disabling it (and it had to change anyway for
other reasons -- see below).

Hence, all apps which WERE disabling the padding have had that removed, and
just work by default. (console, browser, tutorial)
All apps which WEREN'T disabling the padding (very few) now have to manually
include an extra div. This has been done on all such apps, and has been
heavily documented (both in the CSS file and doc/app_howto). (help, dummy,
debuginfo).

media/common/ivle.css: 
    The real change here (which isn't yet being used) is that ivlebody is now
    positioned absolutely and takes up all the space on the canvas. This is
    to be used for full-page layouts in console and browser.

Show diffs side-by-side

added added

removed removed

Lines of Context:
36
36
    req.write_html_head_foot = True     # Have dispatch print head and foot
37
37
 
38
38
    # Start writing data
 
39
    req.write('<div id="ivle_padding">\n')
39
40
    req.write("<h2>IVLE Debug Information</h2>\n")
40
41
 
41
42
    print_table(req, "System Constants", [
92
93
    To do this, comment out or remove the debuginfo line of the app_url
93
94
    dictionary in conf/apps.py.</p>
94
95
    <p>For extra security, it may be removed completely by deleting the
95
 
    apps/debuginfo directory.</p>\n""")
 
96
    apps/debuginfo directory.</p>
 
97
</div>
 
98
""")
96
99
 
97
100
def getfieldvalues(pairs):
98
101
    """Given a list of pairs of strings and fields, returns a new list with