details: http://www.bx.psu.edu/hg/galaxy/rev/a6c9862ece3d changeset: 3451:a6c9862ece3d user: James Taylor <james@jamestaylor.org> date: Mon Mar 01 13:30:37 2010 -0500 description: UI tweaks diffstat: templates/display_base.mako | 9 ++++----- templates/page/display.mako | 2 +- templates/user/info.mako | 15 ++++++++++++--- 3 files changed, 17 insertions(+), 9 deletions(-) diffs (80 lines): diff -r 71a525ae9426 -r a6c9862ece3d templates/display_base.mako --- a/templates/display_base.mako Mon Mar 01 12:46:54 2010 -0500 +++ b/templates/display_base.mako Mon Mar 01 13:30:37 2010 -0500 @@ -190,14 +190,13 @@ <div class="unified-panel-body"> <div style="overflow: auto; height: 100%;"> <div style="padding: 10px;"> + + <div style="float: right;"><img src="http://www.gravatar.com/avatar/${h.md5(item.user.email)}?d=identicon"></div> + <h4>Author</h4> <p>${item.user.username | h}</p> - - <div><img src="http://www.gravatar.com/avatar/${h.md5(item.user.email)}?d=identicon&s=150"></div> - - - + ## Page meta. <h4>Related ${item_plural}</h4> <p> diff -r 71a525ae9426 -r a6c9862ece3d templates/page/display.mako --- a/templates/page/display.mako Mon Mar 01 12:46:54 2010 -0500 +++ b/templates/page/display.mako Mon Mar 01 13:30:37 2010 -0500 @@ -20,7 +20,7 @@ if ( $.browser.mozilla ) { $(this).find( "pre.peek" ).css( "overflow", "hidden" ); } - $(this).slideUp( "fast" ); + $(this).hide(); }); }); diff -r 71a525ae9426 -r a6c9862ece3d templates/user/info.mako --- a/templates/user/info.mako Mon Mar 01 12:46:54 2010 -0500 +++ b/templates/user/info.mako Mon Mar 01 13:30:37 2010 -0500 @@ -56,6 +56,9 @@ <input type="submit" name="login_info_button" value="Save"> </div> </form> +</div> +<p></p> +<div class="toolForm"> <form name="change_password" id="change_password" action="${h.url_for( controller='user', action='edit_info', user_id=user.id, admin_view=admin_view )}" method="post" > <div class="toolFormTitle">Change Password</div> %if not admin_view: @@ -76,7 +79,10 @@ <input type="submit" name="change_password_button" value="Save"> </div> </form> - %if user.values or user_info_forms: +</div> +%if user.values or user_info_forms: +<p></p> +<div class="toolForm"> <form name="user_info" id="user_info" action="${h.url_for( controller='user', action='edit_info', user_id=user.id, admin_view=admin_view )}" method="post" > <div class="toolFormTitle">User information</div> %if user_info_select: @@ -104,7 +110,10 @@ <input type="submit" name="edit_user_info_button" value="Save"> </div> </form> - %endif +</div> +%endif +<p></p> +<div class="toolForm"> <form name="user_info" id="user_info" action="${h.url_for( controller='user', action='new_address', user_id=user.id, admin_view=admin_view )}" method="post" > <div class="toolFormTitle">User Addresses</div> <div class="toolFormBody"> @@ -160,7 +169,7 @@ </div> </div> </form> - +