There are cases where you might want to change LAM's default look'n'feel to better integrate it in your company network. Changes can be done like this:
Change colors, fonts and other parts with custom CSS
You can integrate custom CSS files in LAM. It is recommended to write a separate CSS file instead of modifying LAM's default files.
The CSS files are located in
DEB/RPM: /usr/share/ldap-account-manager/style
tar.bz2: style
LAM will automatically integrate all CSS files in alphabetical order. E.g. you can create a file called "900_myCompany.css" which will be added as last file.
Example:
This will change the background color of all pages to turquoise.
body { background-color: #b6eeff; }
You can use the same way to change fonts, sizes and more.
E.g. this will reduce the default font size to 80%:
body { font-size: 80%; } .ui-button-text-only { font-size: 100%; } .ui-button-text-icon-primary { font-size: 100%; }
Custom logo
/* image in login box */ td.loginLogo { background-image: url(/logos/mylogo.png); } /* image (24x24) in header line */ a.lamLogo { background-image: url(/logos/mylogo.png); }
Other images
All images are located in
DEB/RPM: /usr/share/ldap-account-manager/graphics
tar.bz2: graphics
Please note that if you replace images then you need to reapply your changes every time you upgrade LAM.
Special changes with custom JavaScript
In rare cases it might not be sufficient to write custom CSS or replace some image files. E.g. you might want to add custom content to all pages.
For these cases you can add a custom JavaScript file that contains your code.
The JavaScript files are located in
DEB/RPM: /usr/share/ldap-account-manager/templates/lib
tar.bz2: templates/lib
LAM will automatically integrate all .js files in alphabetical order. E.g. you can create a file called "900_myCompany.js" which will be added as last file.
Self service
See here for self service customisations.