Add DASHBOARD_PAGE_SIZE to TEMPLATE.env and app.json
This commit is contained in:
parent
9fb875f749
commit
d9e1ffddb1
@ -82,4 +82,8 @@ BLOCK_ALL_IPS=False
|
|||||||
# that IP collection is also disabled, and external keys (primary
|
# that IP collection is also disabled, and external keys (primary
|
||||||
# keys) aren't supplied. It will also prevent sessions from spanning
|
# keys) aren't supplied. It will also prevent sessions from spanning
|
||||||
# one day to another.
|
# one day to another.
|
||||||
AGGRESSIVE_HASH_SALTING=True
|
AGGRESSIVE_HASH_SALTING=True
|
||||||
|
|
||||||
|
# How many services should be displayed on dashboard page?
|
||||||
|
# Set to big number if you don't want pagination at all.
|
||||||
|
DASHBOARD_PAGE_SIZE=5
|
||||||
|
5
app.json
5
app.json
@ -122,6 +122,11 @@
|
|||||||
"description": "Set to 'False' if you do not want the version to be displayed on the frontend.",
|
"description": "Set to 'False' if you do not want the version to be displayed on the frontend.",
|
||||||
"value": "True",
|
"value": "True",
|
||||||
"required": false
|
"required": false
|
||||||
|
},
|
||||||
|
"DASHBOARD_PAGE_SIZE": {
|
||||||
|
"description": "How many services should be displayed on dashboard page?",
|
||||||
|
"value": "5",
|
||||||
|
"required": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -340,4 +340,5 @@ BLOCK_ALL_IPS = os.getenv("BLOCK_ALL_IPS", "False") == "True"
|
|||||||
# Include date and service ID in salt?
|
# Include date and service ID in salt?
|
||||||
AGGRESSIVE_HASH_SALTING = os.getenv("AGGRESSIVE_HASH_SALTING", "False") == "True"
|
AGGRESSIVE_HASH_SALTING = os.getenv("AGGRESSIVE_HASH_SALTING", "False") == "True"
|
||||||
|
|
||||||
|
# How many services should be displayed on dashboard page?
|
||||||
DASHBOARD_PAGE_SIZE = os.getenv("DASHBOARD_PAGE_SIZE", 5)
|
DASHBOARD_PAGE_SIZE = os.getenv("DASHBOARD_PAGE_SIZE", 5)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user