add userboxes and use them instead of flash
This commit is contained in:
@@ -16,6 +16,26 @@ Constants.PermissionLevelString = {
|
||||
[Constants.PermissionLevel.ADMIN] = "Administrator",
|
||||
}
|
||||
|
||||
Constants.InfoboxKind = {
|
||||
INFO = 0,
|
||||
LOCK = 1,
|
||||
WARN = 2,
|
||||
ERROR = 3,
|
||||
}
|
||||
|
||||
Constants.InfoboxIcons = {
|
||||
[Constants.InfoboxKind.INFO] = "svg-icons.info",
|
||||
[Constants.InfoboxKind.LOCK] = "svg-icons.lock",
|
||||
[Constants.InfoboxKind.WARN] = "svg-icons.warn",
|
||||
[Constants.InfoboxKind.ERROR] = "svg-icons.error",
|
||||
}
|
||||
Constants.InfoboxHTMLClass = {
|
||||
[Constants.InfoboxKind.INFO] = "",
|
||||
[Constants.InfoboxKind.LOCK] = "warn",
|
||||
[Constants.InfoboxKind.WARN] = "warn",
|
||||
[Constants.InfoboxKind.ERROR] = "critical",
|
||||
}
|
||||
|
||||
Constants.BCRYPT_ROUNDS = 10
|
||||
|
||||
return Constants
|
||||
|
||||
Reference in New Issue
Block a user