parent
308099e373
commit
576c82c227
5 changed files with 29 additions and 0 deletions
BIN
roles/mailman/files/favicon.ico
Normal file
BIN
roles/mailman/files/favicon.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 31 KiB |
BIN
roles/mailman/files/logo-hyperkitty-fedora.png
Normal file
BIN
roles/mailman/files/logo-hyperkitty-fedora.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.5 KiB |
3
roles/mailman/files/navbar-brand.html
Normal file
3
roles/mailman/files/navbar-brand.html
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
<a class="navbar-brand" href="{% url 'hk_root' %}" title="{{ site_name|title }}">
|
||||||
|
<img alt="{{ site_name|title }}" src="{% static 'fedora-hyperkitty.png' %}" />
|
||||||
|
</a>
|
|
@ -328,11 +328,36 @@
|
||||||
state=directory owner=root group=root mode=0755
|
state=directory owner=root group=root mode=0755
|
||||||
tags: mailman
|
tags: mailman
|
||||||
|
|
||||||
|
- name: create the fedora-specific static files dir
|
||||||
|
file: path="{{ mailman_webui_basedir }}/static-fedora"
|
||||||
|
state=directory owner=root group=root mode=0755
|
||||||
|
tags: mailman
|
||||||
|
|
||||||
|
- name: create the fedora-specific hyperkitty img dir
|
||||||
|
file: path="{{ mailman_webui_basedir }}/static-fedora/hyperkitty/img"
|
||||||
|
state=directory owner=root group=root mode=0755
|
||||||
|
tags: mailman
|
||||||
|
|
||||||
- name: create the hyperkitty templates override dir
|
- name: create the hyperkitty templates override dir
|
||||||
file: path="{{ mailman_webui_basedir }}/templates/hyperkitty"
|
file: path="{{ mailman_webui_basedir }}/templates/hyperkitty"
|
||||||
state=directory owner=root group=root mode=0755
|
state=directory owner=root group=root mode=0755
|
||||||
tags: mailman
|
tags: mailman
|
||||||
|
|
||||||
|
- name: install our fedora-specific logo
|
||||||
|
copy: src=fedora-hyperkitty.png
|
||||||
|
dest="{{ mailman_webui_basedir }}/static-fedora/fedora-hyperkitty.png"
|
||||||
|
tags: mailman
|
||||||
|
|
||||||
|
- name: install our fedora-specific favicon
|
||||||
|
copy: src=favicon.ico
|
||||||
|
dest="{{ mailman_webui_basedir }}/static-fedora/hyperkitty/img/favicon.ico"
|
||||||
|
tags: mailman
|
||||||
|
|
||||||
|
- name: install our fedora-specific brand template override
|
||||||
|
copy: src=navbar-brand.html
|
||||||
|
dest="{{ mailman_webui_basedir }}/templates/hyperkitty/navbar-brand.html"
|
||||||
|
tags: mailman
|
||||||
|
|
||||||
- name: Install our fedmenu js hook
|
- name: Install our fedmenu js hook
|
||||||
template: src=bottom.html
|
template: src=bottom.html
|
||||||
dest="{{mailman_webui_basedir }}/templates/hyperkitty/bottom.html"
|
dest="{{mailman_webui_basedir }}/templates/hyperkitty/bottom.html"
|
||||||
|
|
|
@ -195,6 +195,7 @@ STATICFILES_DIRS = (
|
||||||
# Put strings here, like "/home/html/static" or "C:/www/django/static".
|
# Put strings here, like "/home/html/static" or "C:/www/django/static".
|
||||||
# Always use forward slashes, even on Windows.
|
# Always use forward slashes, even on Windows.
|
||||||
# Don't forget to use absolute paths, not relative paths.
|
# Don't forget to use absolute paths, not relative paths.
|
||||||
|
"{{ mailman_webui_basedir }}/static-fedora/",
|
||||||
)
|
)
|
||||||
|
|
||||||
# List of finder classes that know how to find static files in
|
# List of finder classes that know how to find static files in
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue