commit/galaxy-central: kanwei: trackster: Small UI tweaks

1 new changeset in galaxy-central: http://bitbucket.org/galaxy/galaxy-central/changeset/3b4b5a2d9f10/ changeset: r5412:3b4b5a2d9f10 user: kanwei date: 2011-04-18 23:02:32 summary: trackster: Small UI tweaks affected #: 3 files (240 bytes) --- a/lib/galaxy/web/controllers/tracks.py Mon Apr 18 16:43:35 2011 -0400 +++ b/lib/galaxy/web/controllers/tracks.py Mon Apr 18 17:02:32 2011 -0400 @@ -60,7 +60,7 @@ datasets_param = "f-history" columns = [ NameColumn( "History Name", key="name", filterable="standard" ), - grids.GridColumn( "Last Updated", key="update_time", format=time_ago ), + grids.GridColumn( "Last Updated", key="update_time", format=time_ago, visible=False ), DbKeyPlaceholderColumn( "Dbkey", key="dbkey", model_class=model.HistoryDatasetAssociation, visible=False ) ] num_rows_per_page = 10 --- a/templates/grid_base.mako Mon Apr 18 16:43:35 2011 -0400 +++ b/templates/grid_base.mako Mon Apr 18 17:02:32 2011 -0400 @@ -631,9 +631,11 @@ } .page-link a, .inactive-link { padding: 0px 7px 0px 7px; + color: #555; } .inactive-link, .current-filter { - font-style: italic; + font-weight: bold; + color: #000; } .submit-image { background: url(${h.url_for('/static/images/fugue/magnifier-left.png')}) no-repeat right transparent; @@ -976,6 +978,9 @@ min_page = 1 %> Page: + % if min_page > 1: + <span class='page-link'><a href="${url( page=1 )}" page_num="1">1</a></span> ... + % endif %for page_index in range(min_page, max_page + 1): %if page_index == cur_page_num: <span class='page-link inactive-link' id="page-link-${page_index}">${page_index}</span> @@ -984,16 +989,14 @@ <span class='page-link' id="page-link-${page_index}"><a href="${url( args )}" page_num='${page_index}'>${page_index}</a></span> %endif %endfor - %if max_page != num_pages: + %if max_page < num_pages: ... + <span class='page-link'><a href="${url( page=num_pages )}" page_num="${num_pages}">${num_pages}</a></span> %endif </span> - ## First, last, all links. - | - <span class='page-link'><a href="${url( page=1 )}" page_num="1">First</a></span> - <span class='page-link'><a href="${url( page=num_pages )}" page_num="${num_pages}">Last</a></span> - <span class='page-link' id='show-all-link-span'><a href="${url( page='all' )}" page_num="all">All</a></span> + ## Show all link + <span class='page-link' id='show-all-link-span'> | <a href="${url( page='all' )}" page_num="all">Show All</a></span></td></tr> %endif --- a/templates/tracks/history_select_grid.mako Mon Apr 18 16:43:35 2011 -0400 +++ b/templates/tracks/history_select_grid.mako Mon Apr 18 17:02:32 2011 -0400 @@ -28,6 +28,9 @@ }); </script><style> + .dialog-box .body { + overflow-x: hidden; + } .addtracktab { margin: 0px 5px; padding: 5px; @@ -36,6 +39,7 @@ text-align: center; float: left; background-color: #ccc; + border: 1px solid #ccc; border-bottom: 0px; -webkit-border-top-left-radius: 10px; -webkit-border-top-right-radius: 10px; Repository URL: https://bitbucket.org/galaxy/galaxy-central/ -- This is a commit notification from bitbucket.org. You are receiving this because you have the service enabled, addressing the recipient of this email.
participants (1)
-
Bitbucket