We would like to show / do some stuff on screen when the system goes into maintenance mode. At the moment when the user clicks a submit or back button whilst the system is in maintenance mode nothing happens (the form wont submit, it doesnt redirect to maintenance page, or show a message). We would like to either show a banner to advise them to try again in 5 mins, or redirect to the maintenance page which will give them the same message.
Is there a way to retrieve the maintenance status of the app?
TIA