Prettified the website (#76)

This commit is contained in:
jtseng20 authored and GitHub committed 2020-09-04 00:23:24 -04:00
1 parent 9fa5c92fc9
commit 191b9a150d
5 files changed
+540 -378

No files matched your search

+2 -2
View File
@@ -78,8 +78,8 @@ def getMachineStatus(username=None):
if username != None:
machines = machines.filter(user__username=username)
return "{0} Machines ".format(len(machines)) + \
"{0} Threads ".format(sum([f.threads for f in machines])) + \
return ": {0} Machines / ".format(len(machines)) + \
"{0} Threads / ".format(sum([f.threads for f in machines])) + \
"{0} MNPS ".format(round(sum([f.threads * f.mnps for f in machines]), 2))
def getPaging(content, page, url, pagelen=25):