Skip to content
Snippets Groups Projects
Commit 6331a3bf authored by Ben Adida's avatar Ben Adida
Browse files

made footer logo url configurable and added princeton one to the repo just for now

parent d941dc79
No related branches found
No related tags found
No related merge requests found
server_ui/media/princeton-footer-logo.gif

1.42 KiB

...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
</div> </div>
<div id="footer"> <div id="footer">
<span style="float:right;"> <span style="float:right;">
{% if settings.FOOTER_LOGO %} {% if settings.FOOTER_LOGO_URL %}
<img src="/static/footer-logo.gif" /> <img src="{{settings.FOOTER_LOGO_URL}}" />
{% endif %} {% endif %}
</span> </span>
{% if user %} {% if user %}
......
...@@ -142,7 +142,7 @@ SITE_TITLE = get_from_env('SITE_TITLE', 'Helios Election Server') ...@@ -142,7 +142,7 @@ SITE_TITLE = get_from_env('SITE_TITLE', 'Helios Election Server')
# FOOTER links # FOOTER links
FOOTER_LINKS = json.loads(get_from_env('FOOTER_LINKS', '[]')) FOOTER_LINKS = json.loads(get_from_env('FOOTER_LINKS', '[]'))
FOOTER_LOGO = False FOOTER_LOGO_URL = get_from_env('FOOTER_LOGO_URL', None)
WELCOME_MESSAGE = get_from_env('WELCOME_MESSAGE', "This is the default message") WELCOME_MESSAGE = get_from_env('WELCOME_MESSAGE', "This is the default message")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment