Add meaningless close buttons to filters
This commit is contained in:
parent
72202acc41
commit
6f84d8f4ae
2 changed files with 20 additions and 7 deletions
|
@ -112,7 +112,7 @@ def sublibrary(local=False):
|
|||
filewrite.write(variables.localpath + "build/library/all-" + status + "/index.html")
|
||||
else:
|
||||
filewrite.write(variables.serverpath + "library/all-" + status)
|
||||
filewrite.write("\">1 Platform</a></span>\n")
|
||||
filewrite.write("\">1 Platform<span class=\"filter_clear\">x</span></a></span>\n")
|
||||
if status != "all":
|
||||
filewrite.write(" <span class=\"item\"><a href=\"")
|
||||
if console["shortname"] == "all":
|
||||
|
@ -125,7 +125,7 @@ def sublibrary(local=False):
|
|||
filewrite.write(variables.localpath + "build/library/" + console["shortname"].lower() + "-all/index.html")
|
||||
else:
|
||||
filewrite.write(variables.serverpath + "library/" + console["shortname"].lower() + "-all")
|
||||
filewrite.write("\">1 Status</a></span>\n")
|
||||
filewrite.write("\">1 Status<span class=\"filter_clear\">x</span></a></span>\n")
|
||||
filewrite.write(" </div>\n</div> <div class=\"unibar\">\n <div>\n <span>Total Found</span> " + str(gamesort.total(filterlist)) + "\n </div>\n")
|
||||
if gamesort.unplayed(filterlist) > 0:
|
||||
filewrite.write(" <div class=\"unplayed\" style=\"flex: " + str(gamesort.unplayed(filterlist)) + " 1 0%;\">" + str(gamesort.unplayed(filterlist)) + "</div>\n")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue