Spring cleaning template styles (#4124)

This commit is contained in:
José Padilla 2016-05-16 04:27:10 -04:00 committed by Tom Christie
parent 1328982de3
commit 5392be4ddb
5 changed files with 501 additions and 502 deletions

View File

@ -1,6 +1,7 @@
{% load staticfiles %} {% load staticfiles %}
{% load i18n %} {% load i18n %}
{% load rest_framework %} {% load rest_framework %}
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head> <head>
@ -27,9 +28,7 @@
{% block body %} {% block body %}
<body class="{% block bodyclass %}{% endblock %}"> <body class="{% block bodyclass %}{% endblock %}">
<div class="wrapper"> <div class="wrapper">
{% block navbar %} {% block navbar %}
<div class="navbar navbar-static-top {% block bootstrap_navbar_variant %}navbar-inverse{% endblock %}"> <div class="navbar navbar-static-top {% block bootstrap_navbar_variant %}navbar-inverse{% endblock %}">
<div class="container"> <div class="container">
@ -68,7 +67,6 @@
<!-- Content --> <!-- Content -->
<div id="content"> <div id="content">
{% if 'GET' in allowed_methods %} {% if 'GET' in allowed_methods %}
<form id="get-form" class="pull-right"> <form id="get-form" class="pull-right">
<fieldset> <fieldset>
@ -123,6 +121,7 @@
<div class="page-header"> <div class="page-header">
<h1>{{ name }}</h1> <h1>{{ name }}</h1>
</div> </div>
<div style="float:left"> <div style="float:left">
{% block description %} {% block description %}
{{ description }} {{ description }}
@ -149,7 +148,6 @@
</nav> </nav>
{% endif %} {% endif %}
</div> </div>
</div> </div>
<!-- END Content --> <!-- END Content -->
</div><!-- /.container --> </div><!-- /.container -->
@ -227,7 +225,9 @@
</div> </div>
{% endif %} {% endif %}
{% if filter_form %}{{ filter_form }}{% endif %} {% if filter_form %}
{{ filter_form }}
{% endif %}
{% block script %} {% block script %}
<script> <script>

View File

@ -1,6 +1,6 @@
{% load staticfiles %} {% load staticfiles %}
{% load rest_framework %}
{% load i18n %} {% load i18n %}
{% load rest_framework %}
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
@ -158,7 +158,6 @@
</div> </div>
{% if display_edit_forms %} {% if display_edit_forms %}
{% if post_form or raw_data_post_form %} {% if post_form or raw_data_post_form %}
<div {% if post_form %}class="tabbable"{% endif %}> <div {% if post_form %}class="tabbable"{% endif %}>
{% if post_form %} {% if post_form %}
@ -257,6 +256,10 @@
</div><!-- /.container --> </div><!-- /.container -->
</div><!-- ./wrapper --> </div><!-- ./wrapper -->
{% if filter_form %}
{{ filter_form }}
{% endif %}
{% block script %} {% block script %}
<script> <script>
window.drf = { window.drf = {
@ -276,10 +279,6 @@
</script> </script>
{% endblock %} {% endblock %}
{% if filter_form %}
{{ filter_form }}
{% endif %}
</body> </body>
{% endblock %} {% endblock %}
</html> </html>