Commit 827d7d86 authored by Clément OUDOT's avatar Clément OUDOT
Browse files

Custom CSS and footer for LL::NG (#1)

parent 1cb6bbd9
......@@ -53,6 +53,7 @@
lemonldap2_logo: "{{ lookup('env', 'LOGO') | default('fusioniam-logo.png', true) }}"
lemonldap2_background: "{{ lookup('env', 'BACKGROUND') | default('fusioniam-background.jpg', true) }}"
lemonldap2_css: "{{ lookup('env', 'LEMONLDAP2_CSS') | default('fusioniam.css', true) }}"
tasks:
- name: LemonLDAP main configuration file
......
<!-- Custom HTML footer -->
<p>
<span trspan="serviceProvidedBy">Service provided by</span>
<a href="https://fusioniam.org" target="_blank" class="btn btn-secondary btn-sm">
<span class="fa fa-globe"></span>
FusionIAM
</a>
</p>
#header img {
background: transparent;
}
......@@ -86,3 +86,19 @@
owner: root
group: root
mode: '0644'
- name: Copy custom CSS
copy:
src: fusioniam.css
dest: /usr/share/lemonldap-ng/portal/htdocs/static/
owner: root
group: root
mode: '0644'
- name: Copy custom footer template
copy:
src: customfooter.tpl
dest: /usr/share/lemonldap-ng/portal/templates/bootstrap/
owner: root
group: root
mode: '0644'
......@@ -139,6 +139,8 @@
value: "{{ lemonldap2_logo }}"
- name: "portalSkinBackground"
value: "{{ lemonldap2_background }}"
- name: "portalCustomCss"
value: "{{ lemonldap2_css }}"
- name: Set LLNG Cookie configuration
lemonldap_config:
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment