diff --git a/status.py b/status.py deleted file mode 100644 index 0b25ce1..0000000 --- a/status.py +++ /dev/null @@ -1,31 +0,0 @@ -from shared import PA - -### shared variables to show state of save/delete when we redirect to 'show all' view -# used mostly to note we have create a job for the job manager, or when a job finishes -# including when duplicates are found on import. These status messages are exposed into -# the html files, and they show once for success/green, and sticky for danger/red -class Status(PA): - level="success" - message="" - - def GetAlert(self): - return self.level - - def GetMessage(self): - return self.message - - def SetMessage(self, msg, l="success"): - self.message=msg - self.level=l - return - - def AppendMessage(self, msg): - self.message=self.message+msg - return - - def ClearStatus(self): - self.level="success" - self.message="" - return "" - -st=Status()