|
|
@ -112,7 +112,7 @@ def sublibrary(local=False):
|
|
|
|
filewrite.write(variables.localpath + "build/library/all-" + status + "/index.html")
|
|
|
|
filewrite.write(variables.localpath + "build/library/all-" + status + "/index.html")
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
filewrite.write(variables.serverpath + "library/all-" + status)
|
|
|
|
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":
|
|
|
|
if status != "all":
|
|
|
|
filewrite.write(" <span class=\"item\"><a href=\"")
|
|
|
|
filewrite.write(" <span class=\"item\"><a href=\"")
|
|
|
|
if console["shortname"] == "all":
|
|
|
|
if console["shortname"] == "all":
|
|
|
@ -125,7 +125,7 @@ def sublibrary(local=False):
|
|
|
|
filewrite.write(variables.localpath + "build/library/" + console["shortname"].lower() + "-all/index.html")
|
|
|
|
filewrite.write(variables.localpath + "build/library/" + console["shortname"].lower() + "-all/index.html")
|
|
|
|
else:
|
|
|
|
else:
|
|
|
|
filewrite.write(variables.serverpath + "library/" + console["shortname"].lower() + "-all")
|
|
|
|
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")
|
|
|
|
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:
|
|
|
|
if gamesort.unplayed(filterlist) > 0:
|
|
|
|
filewrite.write(" <div class=\"unplayed\" style=\"flex: " + str(gamesort.unplayed(filterlist)) + " 1 0%;\">" + str(gamesort.unplayed(filterlist)) + "</div>\n")
|
|
|
|
filewrite.write(" <div class=\"unplayed\" style=\"flex: " + str(gamesort.unplayed(filterlist)) + " 1 0%;\">" + str(gamesort.unplayed(filterlist)) + "</div>\n")
|
|
|
|