Skip to main content
Skip table of contents

Creating a cloud status widget

This guide is for creating your own cloud status & maintenance notification widget for your primary server. Whenever there is a cloud incident or a planned maintenance, the widget will be displayed to all users on SAFEQ Cloud Web UI login page and Web UI homepage.

To create the widget, you need to edit the application.conf file. Note that this setting applies to the whole production environment, so you must have admin rights for the whole environment to set it up.

The notification widget is based on This is a platform that allows companies to create and maintain a public status page for their online services, displaying real-time updates about the status of their systems, such as service outages, scheduled maintenance, or performance issues.


You have your own SAFEQ Cloud production environment with its own application.conf file.

How to

By default, the cloud status and scheduled maintenance notifications are not enabled. The process of enabling them consists of setting up your own account, creating a script, which will generate a frame version of the embed version of your status page, and modifying the primary server configuration to enable the notifications.

Perform the following steps:

  1. Go to and set up your own account.
  2. Create a script which will be pointing to the embed version of your status page. You can set the position and transition of the cloud status embed widget. Make this script publicly accessible. Example: https://[address-of-status-script-page]/embed/script.js.

        var frame = document.createElement('iframe');
        frame.src = 'https://[your-status-page]'; = 'fixed'; = 'none'; = '0 20px 32px -8px rgba(9,20,66,0.25)'; = '9999'; = 'left 1s ease, bottom 1s ease, right 1s ease';
        frame.title = 'YSoft SAFEQ Cloud Status';
        frame.ariaHidden = true;
        var mobile;
        if (mobile = screen.width < 450) {
          frame.src += '?mobile=true';
 = '20vh';
 = '100vw';
 = '-9999px';
 = '-9999px';
 = 'bottom 1s ease';
        } else {
 = '115px';
 = '320px';
 = 'auto';
 = '-9999px';
 = '60px';
        var actions = {
          showFrame: function() {
            frame.tabIndex = '0';
            if (mobile) {
     = '0';
     = '0';
            else {
     = 'auto';
     = '60px'
          dismissFrame: function(){
   = '-9999px';
            frame.tabIndex = '-1';
        window.addEventListener('message', function(event){
          if ( && actions.hasOwnProperty( {
        }, false);
        window.statusEmbedTest = actions.showFrame;
  3. Open your application.conf file located at /opt/safeqcloud/conf/application.conf.
  4. Edit the cloud-status section as follows:

    cloud-status {
    1. embed-script-url – The URL of the status embed script. You can obtain this in the administration and customize it.
    2. custom-script-src-directive – The script-src directive in Content Security Policy (CSP). This specifies the valid sources from which scripts can be loaded on a web page. It should contain the server address where the script is hosted.
    3. custom-frame-src-directive – The frame-src directive in Content Security Policy (CSP). This specifies the valid sources from which frames or iframes can be embedded into a web page. It must contain the server address of the, where the frame will be taken from.
  5. Save the file.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.