Skip to content
Snippets Groups Projects
Commit bf367c57 authored by Alexander Pace's avatar Alexander Pace
Browse files

Visual tweaks.

Change heading sizes for instance descriptions. update version
number, db conn_max_age.
parent 6bdb9972
No related branches found
No related tags found
1 merge request!46Refreshed look and feel
Pipeline #98761 passed
......@@ -26,7 +26,7 @@ MAINTENANCE_MODE = False
MAINTENANCE_MODE_MESSAGE = None
# Version ---------------------------------------------------------------------
PROJECT_VERSION = '2.8.1'
PROJECT_VERSION = '2.8.1-2'
# Unauthenticated access ------------------------------------------------------
# This variable should eventually control whether unauthenticated access is
......
......@@ -86,13 +86,6 @@ ALERT_EMAIL_FROM = get_from_env('DJANGO_ALERT_EMAIL_FROM')
# AWS Elasticache settings:
AWS_ELASTICACHE_ADDR = get_from_env('DJANGO_AWS_ELASTICACHE_ADDR')
#CACHES['default'] = {
# 'BACKEND': 'django_elasticache.memcached.ElastiCache',
# 'LOCATION': AWS_ELASTICACHE_ADDR,
# 'OPTIONS': {
# 'IGNORE_CLUSTER_ERRORS': True,
# },
# }
CACHES = {
'default': {
......
......@@ -74,7 +74,8 @@ if sentry_dsn is not None:
# Home page stuff
INSTANCE_TITLE = 'GraceDB Development Server'
INSTANCE_INFO = """
<h3>Development Instance</h3>
<h5>Development Instance</h5>
<hr>
<p>
This GraceDB instance is designed for GraceDB maintainers to develop and
test in the AWS cloud architecture. There is <b>no guarantee</b> that the
......
......@@ -25,7 +25,7 @@ ALLOWED_HOSTS += ['testserver']
# Home page stuff
INSTANCE_TITLE = 'GraceDB Playground'
INSTANCE_INFO = """
<h3>Playground instance</h3>
<h5>Playground instance</h5>
<p>
This GraceDB instance is designed for users to develop and test their own
applications. It mimics the production instance in all but the following ways:
......
......@@ -74,7 +74,8 @@ if sentry_dsn is not None:
# Home page stuff
INSTANCE_TITLE = 'GraceDB Testing Server'
INSTANCE_INFO = """
<h3>Testing Instance</h3>
<h5>Testing Instance</h5>
<hr>
<p>
This GraceDB instance is designed for Quality Assurance (QA) testing and
validation for GraceDB and electromagnetic follow-up (EMFollow) developers.
......
......@@ -4,7 +4,7 @@
{% load scientific %}
{% block title %}Latest{% endblock %}
{% block heading %}Latest &mdash; as of {% now "j F Y H:i T" %}{% endblock %}
{% block heading %}Latest as of {% now "j F Y H:i T" %}{% endblock %}
{% block pageid %}latest{% endblock %}
......
......@@ -4,7 +4,11 @@
{% load scientific %}
{% block title %}Latest{% endblock %}
{% block heading %}Latest &mdash; as of {% now "j F Y H:i:s T" %}{% endblock %}
<div class="row">
<div class="col-1"></div>
<div class="col-10">
{% block heading %}<h3>Latest as of {% now "j F Y H:i:s T" %} </h3>{% endblock %}
{% block pageid %}latest{% endblock %}
......@@ -144,3 +148,6 @@
{% endif %} <!-- if eventss -->
{% endblock %}
</div>
<div class="col-1"></div>
</div>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment