mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 17:16:49 +00:00
Merge pull request #138 from constantine2nd/master
Re-brand API Manager - LOGO
This commit is contained in:
commit
5cd759ada1
@ -226,7 +226,7 @@ API_MANAGER_DATE_FORMAT= '%Y-%m-%d'
|
||||
|
||||
API_HOST = 'http://127.0.0.1:8080'
|
||||
# Only override this if you have a separate portal instance
|
||||
API_PORTAL = None
|
||||
API_PORTAL = API_HOST
|
||||
API_BASE_PATH = '/obp/v'
|
||||
API_VERSION = '4.0.0'
|
||||
|
||||
@ -266,6 +266,8 @@ EXCLUDE_URL_PATTERN = []
|
||||
# App Name to aggregate metrics
|
||||
API_EXPLORER_APP_NAME = 'API Explorer'
|
||||
|
||||
LOGO_URL = 'https://static.openbankproject.com/images/OBP/favicon.png'
|
||||
|
||||
# Local settings can override anything in here
|
||||
try:
|
||||
from apimanager.local_settings import * # noqa
|
||||
|
||||
@ -33,7 +33,6 @@ footer a:hover, .footer a:focus {
|
||||
|
||||
|
||||
.navbar-brand img {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
|
||||
@ -25,7 +25,7 @@
|
||||
<span class="icon-bar"></span>
|
||||
<span class="icon-bar"></span>
|
||||
</button>
|
||||
<a class="navbar-brand" href="{% url 'home' %}"><img src="https://static.openbankproject.com/images/OBP/favicon.png" alt="brand" /></a>
|
||||
<a class="navbar-brand" href="{% url 'home' %}"><img src="{{ logo_url }}" alt="brand" /></a>
|
||||
</div>
|
||||
<div id="navbar" class="collapse navbar-collapse">
|
||||
<ul class="nav navbar-nav">
|
||||
|
||||
@ -65,13 +65,6 @@
|
||||
</div>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
<div id="logo-full" class="row">
|
||||
<div class="col-xs-1"></div>
|
||||
<div class="col-xs-10">
|
||||
<a href="https://openbankproject.com"><img class="img-responsive" src="https://static.openbankproject.com/images/OBP/OBP_full_web.png" alt="OBP logo" /></a>
|
||||
</div>
|
||||
<div class="col-xs-1"></div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
@ -17,6 +17,7 @@ class HomeView(TemplateView):
|
||||
context = super(HomeView, self).get_context_data(**kwargs)
|
||||
context.update({
|
||||
'API_HOST': settings.API_HOST,
|
||||
'logo_url': settings.LOGO_URL,
|
||||
'directlogin_form': DirectLoginForm(),
|
||||
'gatewaylogin_form': GatewayLoginForm(),
|
||||
})
|
||||
|
||||
Loading…
Reference in New Issue
Block a user