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

« back to all changes in this revision

Viewing changes to ivle/webapp/base/plugins.py

  • Committer: Matt Giuca
  • Date: 2009-02-25 03:04:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1119.
  • Revision ID: matt.giuca@gmail.com-20090225030408-5e13v4felqc4aybr
(almost) all HTML pages updated: Moved <h1>s outside of the ivle-padding div.
    Added new <h1>s to pages which didn't have any, and reduced <h1s> down to
    <h2s> if they didn't represent the page heading.

h1s now represent the top-level heading of a page. The new style sheet styles
them specially, designed to appear directly underneath the tab bar. Therefore,
they need to appear outside of any padding.

util.py: Removed the <h1> from the default-generated terms of service page.
    (All other TOS pages should follow). There is now a <h1> at the top of the
    TOS template page instead.

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
    """
44
44
    pass
45
45
 
 
46
class PublicViewPlugin(BasePlugin):
 
47
    """Marker class for plugins that provide public mode views.
 
48
 
 
49
    Public view plugins can specify the same 'urls' property as normal view
 
50
    plugins, but they are added to the public mode router instead.
 
51
    """
 
52
    pass
 
53
 
46
54
class OverlayPlugin(BasePlugin):
47
55
    """Marker class for plugins which provide overlays.
48
56