rrs: restore full-width pages

Upon consideration, for the width of the information we want to present
we do actually want full-width pages for the RRS. When this was changed
earlier in the rrs branch it was changed in the base template, but we
want to keep the same style elsewhere, so put a block in that will let
use the "container-fluid" style (full width) in the RRS pages and
"container" by default everywhere else.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
This commit is contained in:
Paul Eggleton 2018-04-09 10:53:45 +12:00
parent ead2144d29
commit 5ed5f748f2
3 changed files with 5 additions and 1 deletions

View File

@ -88,7 +88,7 @@
{% endautoescape %}
{% endblock %}
<div id="content" class="container top-padded">
{% block contenttag %}<div id="content" class="container top-padded">{% endblock %}
{% if messages %}
{% for message in messages %}
<div{% if message.tags %} class="alert {{ message.tags }}"{% endif %}>{{ message }}</div>

View File

@ -11,6 +11,8 @@
{% endcomment %}
{% block contenttag %}<div id="content" class="container-fluid top-padded">{% endblock %}
{% block topfunctions %}
<ul class="nav">
<li class="divider-vertical" style="display; list-item;"/>

View File

@ -18,6 +18,8 @@
{% block topfunctions %}
{% endblock %}
{% block contenttag %}<div id="content" class="container-fluid top-padded">{% endblock %}
{% block content %}
<link rel="stylesheet" href="{% static "css/rrs-additional.css" %}" />
{% autoescape on %}