From 9a015fd582a554eec46e5247260048376c6738a3 Mon Sep 17 00:00:00 2001 From: mmolitor87 Date: Fri, 22 Sep 2017 17:29:08 -0500 Subject: [PATCH] Change index images to font (#841) * Change index images to font * Added SEAT_URL reference and added it to the index template --- services/context_processors.py | 1 + stock/templates/public/index.html | 37 +++++++++++++++++++++---------- 2 files changed, 26 insertions(+), 12 deletions(-) diff --git a/services/context_processors.py b/services/context_processors.py index e8ddd680..3919218e 100644 --- a/services/context_processors.py +++ b/services/context_processors.py @@ -15,6 +15,7 @@ def auth_settings(request): 'IPS4_URL': settings.IPS4_URL, 'SMF_URL': settings.SMF_URL, 'MARKET_URL': settings.MARKET_URL, + 'SEAT_URL': settings.SEAT_URL, 'EXTERNAL_MEDIA_URL': settings.EXTERNAL_MEDIA_URL, 'CURRENT_UTC_TIME': timezone.now(), 'BLUE_API_MASK': settings.BLUE_API_MASK, diff --git a/stock/templates/public/index.html b/stock/templates/public/index.html index 1a7fa810..0a06f224 100644 --- a/stock/templates/public/index.html +++ b/stock/templates/public/index.html @@ -4,6 +4,7 @@ {{ SITE_NAME }} + @@ -44,29 +55,31 @@

- - Auth - + auth

{% if FORUM_URL %}

- - Forums - + forum +

+ {% endif %} + {% if MARKET_URL %} +

+ market +

+ {% endif %} + {% if SEAT_URL %} +

+ seat

{% endif %} {% if KILLBOARD_URL %}

- - Killboard - + killboard

{% endif %} {% if EXTERNAL_MEDIA_URL %}

- - External Media - + media

{% endif %}