Skip to content

Commit

Permalink
Add confirmed|ranked icon next to provider
Browse files Browse the repository at this point in the history
  • Loading branch information
fernandog committed Aug 4, 2016
1 parent ca28e47 commit 20e7eb4
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gui/slick/css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -389,6 +389,13 @@ inc_top.mako
margin-right: 3px;
}

.enable-confirmed-torrents-icon {
background-image: url("../images/confirmed_torrents_8x8.png")!important;
width: 8px;
height: 8px;
margin-top: 5px;
margin-right: 3px;
}

/* =======================================================================
inc_bottom.mako
Expand Down
Binary file added gui/slick/images/confirmed_torrents_8x8.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions gui/slick/views/config_providers.mako
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ $('#config-components').tabs();
<span class="${('','ui-icon enable-manual-search-icon pull-right')[bool(curProvider.enable_manualsearch)]}" style="vertical-align:middle;" title="Enabled for Manual Searches"></span>
<span class="${('','ui-icon enable-backlog-search-icon pull-right')[bool(curProvider.enable_backlog)]}" style="vertical-align:middle;" title="Enabled for Backlog Searches"></span>
<span class="${('','ui-icon enable-daily-search-icon pull-right')[bool(curProvider.enable_daily)]}" style="vertical-align:middle;" title="Enabled for Daily Searches"></span>
<span class="${('','ui-icon enable-confirmed-torrents-icon pull-right')[(hasattr(curProvider, 'ranked') and bool(curProvider.ranked)) or (hasattr(curProvider, 'confirmed') and bool(curProvider.confirmed))]}" style="vertical-align:middle;" title="Confirmed torrents enabled"></span>
</li>
% endfor
</ul>
Expand Down

0 comments on commit 20e7eb4

Please sign in to comment.