diff --git a/apimanager/apimanager/settings.py b/apimanager/apimanager/settings.py index bc25ea8d..05fb9f90 100644 --- a/apimanager/apimanager/settings.py +++ b/apimanager/apimanager/settings.py @@ -184,6 +184,7 @@ API_DATETIMEFORMAT = '%Y-%m-%dT%H:%M:%SZ' +API_DATEFORMAT = '%Y-%m-%d' OAUTH_API = 'http://127.0.0.1:8080' diff --git a/apimanager/base/static/css/base.css b/apimanager/base/static/css/base.css index ca84054f..88c55fbb 100644 --- a/apimanager/base/static/css/base.css +++ b/apimanager/base/static/css/base.css @@ -72,6 +72,10 @@ footer a:hover, .footer a:focus { margin-left: 15px; } +.dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:active { + background-color: #53c4ef; +} + .btn-primary { background-color: #53c4ef; border-color: #33a4cf; diff --git a/apimanager/base/templates/base.html b/apimanager/base/templates/base.html index 9f87ef71..f5f6d9d5 100644 --- a/apimanager/base/templates/base.html +++ b/apimanager/base/templates/base.html @@ -31,8 +31,15 @@
# | +Verb | +URL | +Date | +Details | +
---|---|---|---|---|
{{ forloop.counter }} | +{{ metric.verb }} | ++ {{ metric.url }} + | +{{ metric.date|date:"Y-m-d H:m:s" }} | +
+
|
+
# | +Date | +Connector Name | +Function Name | +OBP API Request ID | +Duration (ms) | +
---|---|---|---|---|---|
{{ forloop.counter }} | +{{ metric.date|date:"Y-m-d H:m:s" }} | +{{ metric.connector_name }} | +{{ metric.function_name }} | +{{ metric.obp_api_request_id }} | +{{ metric.duration }} | +
# | -Verb | -URL | -Date | -Details | -
---|---|---|---|---|
{{ forloop.counter }} | -{{ metric.verb }} | -- {{ metric.url }} - | -{{ metric.date|date:"Y-m-d H:m:s" }} | -
-
|
-