A disclaimer can be added on top of your environnement, to share best practices or important information with your users.
To add a disclaimer you'll need to follow 2 steps:
1. Create a .pug file
You can use the template below to create your .pug file
div(style='border:3px solid;border-color:#FF0000;background-color: #0000ff;margin: 20px 50px 5px 50px;padding: 3px;')
p(style='font-size:18px; color:#FF0000')
| Add your text, including colors, bold, italic, hyperlink... if needed. No image.
More info about pug: https://pugjs.org/api/getting-started.html
Convert pug to html: https://pug2html.com/
2. Implement it
To implement it, use the following commands to copy your template to text and file translation, then apply it:
/bin/cp disclaimer.pug /opt/systran/apps-node/enterprise- server/views/env/disclaimer/textTranslation.pug
/bin/cp disclaimer.pug /opt/systran/apps-node/enterprise-server/views/env/disclaimer/fileTranslation.pug
chown systran:systran /opt/systran/apps-node/enterprise-server/views/env/disclaimer/*.pug
systemctl restart systran-ses-console