Changeset 2102


Ignore:
Timestamp:
07/03/10 13:42:07 (19 months ago)
Author:
dart
Message:

LoReality?:
o Begin some CSS work

Location:
trunk/loreality
Files:
1 added
6 edited

Legend:

Unmodified
Added
Removed
  • trunk/loreality/data/templates/base/index.html.py

    r2100 r2102  
    44__M_locals_builtin = locals 
    55_magic_number = 5 
    6 _modified_time = 1278073648.668196 
    7 _template_filename='/media/divers/personnel/dev/dartsite.org/lotatc/trunk/loreality/loreality/templates/base/index.html' 
     6_modified_time = 1278163767.2197909 
     7_template_filename='/home/dart/trunk/loreality/loreality/templates/base/index.html' 
    88_template_uri='/base/index.html' 
    99_template_cache=cache.Cache(__name__, _modified_time) 
     
    3737        __M_writer(u'') 
    3838        # SOURCE LINE 3 
    39         __M_writer(u'\n<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"\n"http://www.w3.org/TR/html4/strict.dtd">\n<html>\n<head>\n    <title>') 
     39        __M_writer(u'\n<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"\n"http://www.w3.org/TR/html4/strict.dtd">\n<html>\n<head>\n') 
    4040        # SOURCE LINE 8 
     41        __M_writer(escape( h.stylesheet_link( '/style.css') )) 
     42        __M_writer(u'\n    <title>') 
     43        # SOURCE LINE 9 
    4144        __M_writer(escape(self.title())) 
    4245        __M_writer(u'</title>\n    ') 
    43         # SOURCE LINE 9 
     46        # SOURCE LINE 10 
    4447        __M_writer(escape(self.head())) 
    4548        __M_writer(u'\n</head>\n<body>\n    <div id="hd">\n        <div class="yui-gc">\n            <div class="yui-u first">\n                ') 
    46         # SOURCE LINE 15 
     49        # SOURCE LINE 16 
    4750        __M_writer(escape(self.heading())) 
    48         __M_writer(u'\n            </div>\n            <div class="yui-u">\n') 
    49         # SOURCE LINE 18 
     51        __M_writer(u'\n            </div>\n            <div id="sign">\n') 
     52        # SOURCE LINE 19 
    5053        if h.auth.authorized(h.auth.is_valid_user) and not (request.urlvars['controller'] == 'account' and request.urlvars['action'] == 'signout'): 
    51             # SOURCE LINE 19 
     54            # SOURCE LINE 20 
    5255            __M_writer(u'                    <p>Signed in as ') 
    5356            __M_writer(escape(request.environ['REMOTE_USER'])) 
    5457            __M_writer(u',\n                        <a href="') 
    55             # SOURCE LINE 20 
     58            # SOURCE LINE 21 
    5659            __M_writer(escape(h.url_for('signout'))) 
    5760            __M_writer(u'">Sign out</a></p>\n') 
    58             # SOURCE LINE 21 
     61            # SOURCE LINE 22 
    5962        else: 
    60             # SOURCE LINE 22 
     63            # SOURCE LINE 23 
    6164            __M_writer(u'                    <p><a href="') 
    6265            __M_writer(escape(h.url_for('signin'))) 
    6366            __M_writer(u'">Sign in</a></p>\n') 
    64         # SOURCE LINE 24 
     67        # SOURCE LINE 25 
    6568        __M_writer(u'            </div>\n        </div>\n        ') 
    66         # SOURCE LINE 26 
     69        # SOURCE LINE 27 
    6770        __M_writer(escape(self.header())) 
    6871        __M_writer(u'\n        ') 
    69         # SOURCE LINE 27 
     72        # SOURCE LINE 28 
    7073        __M_writer(escape(self.tabs())) 
    7174        __M_writer(u'\n    </div>\n    ') 
    72         # SOURCE LINE 29 
     75        # SOURCE LINE 30 
    7376        __M_writer(escape(self.menu())) 
    7477        __M_writer(u'\n    ') 
    75         # SOURCE LINE 30 
     78        # SOURCE LINE 31 
    7679        __M_writer(escape(next.body())) 
    7780        __M_writer(u'\n    ') 
    78         # SOURCE LINE 31 
     81        # SOURCE LINE 32 
    7982        __M_writer(escape(self.footer())) 
    8083        __M_writer(u'\n</body>\n</html>\n\n') 
    81         # SOURCE LINE 35 
    82         __M_writer(u'\n') 
    8384        # SOURCE LINE 36 
    8485        __M_writer(u'\n') 
     
    9293        __M_writer(u'\n') 
    9394        # SOURCE LINE 41 
     95        __M_writer(u'\n') 
     96        # SOURCE LINE 42 
    9497        __M_writer(u'\n') 
    9598        return '' 
     
    115118        _mako_get_namespace(context, 'navigation')._populate(_import_ns, ['*']) 
    116119        __M_writer = context.writer() 
    117         # SOURCE LINE 35 
     120        # SOURCE LINE 36 
    118121        __M_writer(u'LoReality') 
    119122        return '' 
     
    129132        navigation = _mako_get_namespace(context, 'navigation') 
    130133        __M_writer = context.writer() 
    131         # SOURCE LINE 38 
     134        # SOURCE LINE 39 
    132135        __M_writer(escape(navigation.tabs())) 
    133136        return '' 
     
    143146        navigation = _mako_get_namespace(context, 'navigation') 
    144147        __M_writer = context.writer() 
    145         # SOURCE LINE 39 
     148        # SOURCE LINE 40 
    146149        __M_writer(escape(navigation.menu())) 
    147150        return '' 
     
    156159        _mako_get_namespace(context, 'navigation')._populate(_import_ns, ['*']) 
    157160        __M_writer = context.writer() 
    158         # SOURCE LINE 41 
     161        # SOURCE LINE 42 
    159162        __M_writer(u'<p><a href="#top">Top ^</a></p>') 
    160163        return '' 
     
    169172        _mako_get_namespace(context, 'navigation')._populate(_import_ns, ['*']) 
    170173        __M_writer = context.writer() 
    171         # SOURCE LINE 37 
     174        # SOURCE LINE 38 
    172175        __M_writer(u'<a name="top"></a>') 
    173176        return '' 
     
    183186        c = _import_ns.get('c', context.get('c', UNDEFINED)) 
    184187        __M_writer = context.writer() 
    185         # SOURCE LINE 40 
     188        # SOURCE LINE 41 
    186189        __M_writer(u'<h1>') 
    187190        __M_writer(escape(c.heading or 'No Title')) 
  • trunk/loreality/data/templates/component/navigation.html.py

    r2098 r2102  
    44__M_locals_builtin = locals 
    55_magic_number = 5 
    6 _modified_time = 1277929761.7898691 
     6_modified_time = 1278163067.127619 
    77_template_filename='/home/dart/trunk/loreality/loreality/templates/component/navigation.html' 
    88_template_uri='/component/navigation.html' 
     
    5454        __M_writer = context.writer() 
    5555        # SOURCE LINE 9 
    56         __M_writer(u'\n        <div id="menu">\n<ul>\n\t<li> <a href=') 
     56        __M_writer(u'\n        <div id="menu">\n<ul class="menu">\n\t<li> <a href=') 
    5757        # SOURCE LINE 12 
    5858        __M_writer(escape(h.url_for('/'))) 
  • trunk/loreality/loreality/lib/helpers.py

    r2097 r2102  
    99from webhelpers.html.tags import * 
    1010from loreality.lib import auth 
     11from webhelpers.html.tags import stylesheet_link 
    1112 
     13 
  • trunk/loreality/loreality/templates/base/index.html

    r2100 r2102  
    66<html> 
    77<head> 
     8${ h.stylesheet_link( '/style.css') } 
    89    <title>${self.title()}</title> 
    910    ${self.head()} 
     
    1516                ${self.heading()} 
    1617            </div> 
    17             <div class="yui-u"> 
     18            <div id="sign"> 
    1819                % if h.auth.authorized(h.auth.is_valid_user) and not (request.urlvars['controller'] == 'account' and request.urlvars['action'] == 'signout'): 
    1920                    <p>Signed in as ${request.environ['REMOTE_USER']}, 
  • trunk/loreality/loreality/templates/component/navigation.html

    r2098 r2102  
    99<%def name="menu()"> 
    1010        <div id="menu"> 
    11 <ul> 
     11<ul class="menu"> 
    1212        <li> <a href=${h.url_for('/')}>Home</a> </li> 
    1313                % if h.auth.authorized(h.auth.is_valid_user) and not (request.urlvars['controller'] == 'account' and request.urlvars['action'] == 'signout'): 
Note: See TracChangeset for help on using the changeset viewer.