Make scripts/objects lists use EvMore. Change EvMore to not justify by default.

This commit is contained in:
Griatch 2020-01-11 15:49:12 +01:00
parent b5aee2c41e
commit 69d85bd184
221 changed files with 2190 additions and 6810 deletions

View file

@ -101,20 +101,14 @@ class ScriptDB(TypedObject):
# how often to run Script (secs). -1 means there is no timer
db_interval = models.IntegerField(
"interval",
default=-1,
help_text="how often to repeat script, in seconds. -1 means off.",
"interval", default=-1, help_text="how often to repeat script, in seconds. -1 means off."
)
# start script right away or wait interval seconds first
db_start_delay = models.BooleanField(
"start delay",
default=False,
help_text="pause interval seconds before starting.",
"start delay", default=False, help_text="pause interval seconds before starting."
)
# how many times this script is to be repeated, if interval!=0.
db_repeats = models.IntegerField(
"number of repeats", default=0, help_text="0 means off."
)
db_repeats = models.IntegerField("number of repeats", default=0, help_text="0 means off.")
# defines if this script should survive a reboot or not
db_persistent = models.BooleanField("survive server reboot", default=False)
# defines if this script has already been started in this session