Support clipboard upload on home page

Add shortcuts for all the buttons
Add abuse reporter page
Fix user buckets page
Add a-ads advertisement
This commit is contained in:
2021-02-16 19:13:15 +01:00
parent 443f8c1af5
commit 346fa355c4
14 changed files with 605 additions and 376 deletions

View File

@@ -50,15 +50,15 @@ func adType() int {
switch i := rand.Intn(20); i {
case 0, 1: // 10%
return amarulaSolutions
case 2: // 5%
case 2: // 5%, also shows propellerads
return pdpro1
case 3: // 5%
case 3: // 5%, also shows propellerads
return pdpro2
case 4: // 5%
case 4: // 5%, also shows propellerads
return pdpro3
case 5: // 5%
case 5: // 5%, also shows propellerads
return pdpro4
default: // 70%
default: // 70%, also shows a-ads
return propellerAds
// default:
// panic(fmt.Errorf("random number generator returned unrecognised number: %d", i))