diff --git a/.gitignore b/.gitignore index 74e29c78..b557314a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,10 @@ + # Compiled source # ################### *.pyc *.py~ +*.pyproj +*.sln # Logs and databases # ###################### @@ -19,3 +22,32 @@ cache/* ehthumbs.db Icon? Thumbs.db + +#ignore thumbnails created by windows +Thumbs.db +#Ignore files build by Visual Studio +*.obj +*.exe +*.pdb +*.user +*.aps +*.pch +*.vspscc +*_i.c +*_p.c +*.ncb +*.suo +*.tlb +*.tlh +*.bak +*.cache +*.ilk +*.log +[Bb]in +[Dd]ebug*/ +*.lib +*.sbr +obj/ +[Rr]elease*/ +_ReSharper*/ +[Tt]est[Rr]esult* \ No newline at end of file diff --git a/data/interfaces/default/css/style.css b/data/interfaces/default/css/style.css index e171b4db..635eb14b 100644 --- a/data/interfaces/default/css/style.css +++ b/data/interfaces/default/css/style.css @@ -876,6 +876,10 @@ div#artistheader h2 a { min-width: 300px; text-align: left; } +#artist_table th#albumart{ + width:50px; +} + #artist_table th#status, #artist_table th#albumart, #artist_table th#lastupdated { diff --git a/data/interfaces/default/index.html b/data/interfaces/default/index.html index bcd8cf2b..09e09b00 100644 --- a/data/interfaces/default/index.html +++ b/data/interfaces/default/index.html @@ -15,51 +15,6 @@ - %for artist in artists: - <% - totaltracks = artist['TotalTracks'] - havetracks = artist['HaveTracks'] - if not havetracks: - havetracks = 0 - try: - percent = (havetracks*100.0)/totaltracks - if percent > 100: - percent = 100 - except (ZeroDivisionError, TypeError): - percent = 0 - totaltracks = '?' - - if artist['ReleaseDate'] and artist['LatestAlbum']: - releasedate = artist['ReleaseDate'] - albumdisplay = '%s (%s)' % (artist['LatestAlbum'], artist['ReleaseDate']) - if releasedate > helpers.today(): - grade = 'A' - else: - grade = 'Z' - elif artist['LatestAlbum']: - releasedate = '' - grade = 'Z' - albumdisplay = '%s' % artist['LatestAlbum'] - else: - releasedate = '' - grade = 'Z' - albumdisplay = 'None' - - if artist['Status'] == 'Paused': - grade = 'X' - - if artist['Status'] == 'Loading': - grade = 'L' - - %> - -
- ${artist['ArtistName']} - ${artist['Status']} - ${albumdisplay} -
${havetracks}/${totaltracks}
- - %endfor @@ -72,9 +27,10 @@