[hg] galaxy 3182: Changed machine image manipulation link to 'Ma...
details: http://www.bx.psu.edu/hg/galaxy/rev/add56c970e9c changeset: 3182:add56c970e9c user: Enis Afgan <afgane@gmail.com> date: Thu Dec 17 07:21:38 2009 -0500 description: Changed machine image manipulation link to 'Manage machine images' under admin interface. diffstat: templates/admin/index.mako | 3 +-- templates/cloud/list_images.mako | 23 +++++++++++------------ 2 files changed, 12 insertions(+), 14 deletions(-) diffs (54 lines): diff -r e905ef22c648 -r add56c970e9c templates/admin/index.mako --- a/templates/admin/index.mako Tue Dec 15 19:18:22 2009 -0500 +++ b/templates/admin/index.mako Thu Dec 17 07:21:38 2009 -0500 @@ -127,8 +127,7 @@ </div> <div class="toolSectionBody"> <div class="toolSectionBg"> - <div class="toolTitle"><a href="${h.url_for( controller='cloud', action='list_machine_images' )}" target="galaxy_main">List machine images</a></div> - <div class="toolTitle"><a href="${h.url_for( controller='cloud', action='add_new_image' )}" target="galaxy_main">Add machine image</a></div> + <div class="toolTitle"><a href="${h.url_for( controller='cloud', action='list_machine_images' )}" target="galaxy_main">Manage machine images</a></div> </div> </div> </div> diff -r e905ef22c648 -r add56c970e9c templates/cloud/list_images.mako --- a/templates/cloud/list_images.mako Tue Dec 15 19:18:22 2009 -0500 +++ b/templates/cloud/list_images.mako Thu Dec 17 07:21:38 2009 -0500 @@ -16,9 +16,17 @@ </div> %endif +<h2>List of registered machine images:</h2> +<ul class="manage-table-actions"> + <li> + <a class="action-button" href="${h.url_for( controller='cloud', action='add_new_image' )}" target="galaxy_main"> + <img src="${h.url_for('/static/images/silk/add.png')}" /> + <span>Add machine image</span> + </a> + </li> +</ul> + %if images: - <h2>List of registered machine images:</h2> - <table class="mange-table colored" border="0" cellspacing="0" cellpadding="0" width="100%"> <colgroup width="2%"></colgroup> <colgroup width="10%"></colgroup> @@ -78,15 +86,6 @@ </tr> %endfor </table> - - <p /></p><a href="${h.url_for( controller='cloud', action='add_new_image' )}" target="galaxy_main">Add another machine image</a> %else: <h3>There are no registered machine images.</h3><br /> - <a href="${h.url_for( controller='cloud', action='add_new_image' )}" target="galaxy_main">Add machine image now?</a> - -%endif - - - - - +%endif \ No newline at end of file
participants (1)
-
Greg Von Kuster