diff --git a/web/app/templates/_variables.html.j2 b/web/app/templates/_constants.html.j2
similarity index 81%
rename from web/app/templates/_variables.html.j2
rename to web/app/templates/_constants.html.j2
index 95bf1953..197aca99 100644
--- a/web/app/templates/_variables.html.j2
+++ b/web/app/templates/_constants.html.j2
@@ -1,4 +1,4 @@
-{% set colors = {'primary': '#00426f',
+{% set COLORS = {'primary': '#00426f',
'secondary': '#b1b3b4',
'corpus_analysis': '#aa9cc9',
'corpus_analysis_darken': '#6b3f89',
@@ -12,8 +12,3 @@
'ocr': '#a9d8c8',
'ocr_darken': '#00a58b',
'ocr_lighten': '#e7f4f1'} %}
-
-
-{% if main_class is not defined %}
-{% set main_class = 'grey lighten-5' %}
-{% endif %}
diff --git a/web/app/templates/materialize/base.html.j2 b/web/app/templates/materialize/base.html.j2
index 1a4eb866..2b028ef8 100644
--- a/web/app/templates/materialize/base.html.j2
+++ b/web/app/templates/materialize/base.html.j2
@@ -18,12 +18,22 @@
{% block body %}
- {% block navbar %}
- {% endblock navbar %}
- {% block sidenav %}
- {% endblock sidenav %}
- {% block content %}
- {% endblock content %}
+
+ {% block header %}
+ {% block navbar %}
+ {% endblock navbar %}
+ {% block sidenav %}
+ {% endblock sidenav %}
+ {% endblock header %}
+
+
+
+ {% block main %}{% endblock main %}
+
+
+
{% block scripts %}
diff --git a/web/app/templates/nopaque.html.j2 b/web/app/templates/nopaque.html.j2
index 7c01e195..80ad189c 100644
--- a/web/app/templates/nopaque.html.j2
+++ b/web/app/templates/nopaque.html.j2
@@ -1,5 +1,5 @@
{% extends "materialize/base.html.j2" %}
-{% from '_variables.html.j2' import colors %}
+{% from '_constants.html.j2' import COLORS %}
{% block html_attribs %} lang="en"{% endblock html_attribs %}
@@ -23,90 +23,92 @@
{% endblock styles %}
{% block navbar %}
-
-
-
+
- {% if current_user.is_authenticated %}
-
- {% endif %}
-
+{% if current_user.is_authenticated %}
+
+{% endif %}
{% endblock navbar %}
{% block sidenav %}
-
+
{% if current_user.is_authenticated %}
-