Changeset 431
- Timestamp:
- 09/07/08 16:58:16 (5 years ago)
- Location:
- trunk/plugins/usermanagerplugin/tracusermanager
- Files:
-
- 2 edited
-
htdocs/css/macros_um_profile.css (modified) (4 diffs)
-
templates/macro_um_profile.html (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/usermanagerplugin/tracusermanager/htdocs/css/macros_um_profile.css
r22 r431 1 1 2 DIV.um_profile_macro TABLE{2 div.um_profile_macro table{ 3 3 border-collapse:separate; 4 4 } 5 5 6 DIV.um_profile_macro TABLE TD{7 padding:0 px;8 border-width:0 px1px;6 div.um_profile_macro table td, div.um_profile_macro table tr{ 7 padding:0; 8 border-width:0 1px; 9 9 } 10 10 11 DIV.um_profile_macro TABLE TR{ 12 border-width:0px 1px; 13 } 14 15 DIV.um_profile_macro TABLE TFOOT TH{ 16 padding:5px; 11 div.um_profile_macro table tfoot th{ 17 12 background-color:#F7F7F0; 18 13 text-align:right; 19 /*border-color:rgb(215, 215, 215) rgb(215, 215, 215) rgb(153, 153, 153);20 border-style:solid;21 border-width:1px;*/22 14 font-size:11px; 23 15 font-weight:bold; 24 16 padding:2px 0.5em; 25 vertical-align:bottom;26 17 } 27 18 28 DIV.um_profile_macro span.expander{19 div.um_profile_macro span.expander{ 29 20 cursor:pointer; 30 _cursor:hand;31 21 background:url(../img/expander_normal.png) no-repeat 0% 50% ; 32 22 padding-left:16px; 33 23 } 34 24 35 DIV.um_profile_macro span.expander_open{ 36 cursor:pointer; 37 _cursor:hand; 25 div.um_profile_macro span.expander_open{ 38 26 background:url(../img/expander_open.png) no-repeat 0% 50% ; 39 padding-left:16px;40 27 } 41 28 42 DIV.um_profile_macro .um_profile{ 43 /*display:none;*/ 29 div.um_profile_macro .um_profile{ 44 30 background:#F7F7F7 none repeat scroll 0%; 45 31 padding:10px; … … 47 33 } 48 34 49 DIV.um_profile_macro .um_profile .um_profile_picture{35 div.um_profile_macro .um_profile .um_profile_picture{ 50 36 float:left; 51 37 width:100px; … … 55 41 } 56 42 57 DIV.um_profile_macro .um_profile .um_profile_picture IMG{43 div.um_profile_macro .um_profile .um_profile_picture img{ 58 44 width:100px; 59 45 height:auto; 60 46 } 61 47 62 DIV.um_profile_macro .um_profile .um_profile_field{48 div.um_profile_macro .um_profile .um_profile_field{ 63 49 list-style-type:none; 64 50 margin-bottom:2px; … … 66 52 } 67 53 68 DIV.um_profile_macro .um_profile .um_profile_field LABEL{54 div.um_profile_macro .um_profile .um_profile_field label { 69 55 margin:0px 5px; 70 56 font-weight:bold; -
trunk/plugins/usermanagerplugin/tracusermanager/templates/macro_um_profile.html
r241 r431 1 <html xmlns="http://www.w3.org/1999/xhtml" 2 xmlns:py="http://genshi.edgewall.org/" 3 py:strip=""> 1 <html xmlns:py="http://genshi.edgewall.org/" py:strip=""> 4 2 <div class="um_profile_macro"> 5 <table class="listing" cellpading="0" cellspacing="0">3 <table class="listing"> 6 4 <thead> 7 5 <tr> 8 <th width="1%" align="left"></th>9 <th align="left">User</th>10 <th align="left"py:for="cell_dict in sorted(users.cells, lambda x,y:x['order']-y['order'])">${cell_dict.label}</th>11 </tr> 6 <th width="1%"></th> 7 <th>User</th> 8 <th py:for="cell_dict in sorted(users.cells, lambda x,y:x['order']-y['order'])">${cell_dict.label}</th> 9 </tr> 12 10 </thead> 13 11 <tbody> … … 15 13 <tr> 16 14 <th rowspan="2"><img src="${href.chrome('tracusermanager')+'/img/user.png'}" /></th> 17 <th rowspan="1" valign="top" align="left"><span class="expander" for="um_profile_${user.username}" title="Expand Profile">${user.username}</span></th>18 <th align="left"py:for="cell_dict in sorted(users.cells, lambda x,y:x['order']-y['order'])" title="${cell_dict.label}">${cell_dict.render_method(cell_dict.name, user)}</th>15 <th><span class="expander" for="um_profile_${user.username}" title="Expand Profile">${user.username}</span></th> 16 <th py:for="cell_dict in sorted(users.cells, lambda x,y:x['order']-y['order'])" title="${cell_dict.label}">${cell_dict.render_method(cell_dict.name, user)}</th> 19 17 20 18 </tr> … … 28 26 <div class="um_profile_field" py:for="field, attributes in sorted(users.user_profile_fields.items(), lambda x,y:x[1]['order']-y[1]['order'])"> 29 27 <label>${attributes.label}:</label> 30 <py:choose> 28 <py:choose> 31 29 <span py:when="attributes.type=='wikitext'">${users.wiki_to_html(user[field])}</span> 32 30 <span py:when="attributes.type=='multichecks'">${user[field] and str(user[field]).replace('|',',') or _('[Blank]')}</span> … … 40 38 <tr py:if="len(users.user_profiles)==0"> 41 39 <td colspan="${len(users.cells)+2}" align="center">( Empty )</td> 42 </tr> 40 </tr> 43 41 </tbody> 44 42 <tfoot>
Note: See TracChangeset
for help on using the changeset viewer.
