mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-13 14:30:17 +02:00
commit
d9da09437b
@ -5,7 +5,7 @@ evelink
|
|||||||
dnspython
|
dnspython
|
||||||
passlib
|
passlib
|
||||||
requests>=2.9.1
|
requests>=2.9.1
|
||||||
requests_cache
|
#requests_cache
|
||||||
|
|
||||||
# Django Stuff #
|
# Django Stuff #
|
||||||
django==1.6.5
|
django==1.6.5
|
||||||
|
@ -2,10 +2,10 @@ from django.conf import settings
|
|||||||
|
|
||||||
import logging
|
import logging
|
||||||
import requests
|
import requests
|
||||||
import requests_cache
|
#import requests_cache
|
||||||
import json
|
import json
|
||||||
|
|
||||||
requests_cache.install_cache("{}/evewho".format(settings.EVEWHO_CACHE_DIR), backend="sqlite", expire_after=3600)
|
#requests_cache.install_cache("{}/evewho".format(settings.EVEWHO_CACHE_DIR), backend="sqlite", expire_after=3600)
|
||||||
|
|
||||||
class EveWhoManager():
|
class EveWhoManager():
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
@ -43,8 +43,16 @@
|
|||||||
<body>
|
<body>
|
||||||
<div id="logo">
|
<div id="logo">
|
||||||
<p style="text-align:center">
|
<p style="text-align:center">
|
||||||
<img src="{% static 'img/index_images/logo.png' %}" border="0">
|
<!--Uncomment the below line to use a custom logo-->
|
||||||
</p>
|
<!--<img src={% static 'img/index_images/logo.png' %}" border="0">-->
|
||||||
|
<!--Comment the below block to use a custom logo-->
|
||||||
|
{% if IS_CORP %}
|
||||||
|
<img src="https://image.eveonline.com/Corporation/{{ CORP_ID }}_256.png" border="0">
|
||||||
|
{% else %}
|
||||||
|
<img src="https://image.eveonline.com/Alliance/{{ ALLIANCE_ID }}_128.png" border="0">
|
||||||
|
{% endif %}
|
||||||
|
<!--Stop commenting here-->
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<div id="content">
|
<div id="content">
|
||||||
<p style="text-align:center">
|
<p style="text-align:center">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user