{% if name == 'Api Root' %} API Menu {% else %} {{ name }} {% endif %}
{{ request.method }} {{ request.get_full_path }}
{% endautoescape %} {{ content|urlize_quoted_links }}
{% extends "base/base_rest_api.html" %} {% load url from future %} {% load rest_framework %} {% load static %} {% block top_menu %} {% include "includes/menus/top_nav.html" %} {% endblock %} {% block style_links %} {% endblock %} {% block extra_styles %} body{ background: url("/static/rest_framework/img/grid.png") repeat-x; background-attachment: fixed; } body, .navbar .navbar-inner .container-fluid { max-width: 1150px; margin: 0 auto; } ul.breadcrumb { margin: 15px 0 0 0; } .form-switcher { margin-bottom: 0; } .well { -webkit-box-shadow: none; -moz-box-shadow: none; box-shadow: none; } .well .form-actions { padding-bottom: 0; margin-bottom: 0; } .well form { margin-bottom: 0; } .well form .help-block { color: #999; } .nav-tabs { border: 0; } .nav-tabs > li { float: right;} .nav-tabs li a { margin-right: 0;} .nav-tabs > .active > a { background: #f5f5f5; } .nav-tabs > .active > a:hover { background: #f5f5f5; } .tabbable.first-tab-active .tab-content { border-top-right-radius: 0; } .nav-tabs > li > a:hover, .nav-tabs > li > a:focus { border-color: #eeeeee #eeeeee #dddddd; background-color: #eee !important; color: #0069d6 !important; } .clearfix { margin: 4px 0px 4px 0px !important; } fieldset { padding: 0px !important; margin: 0px !important; } {% endblock %} {% block script_links %} {% endblock %} {% block pageload_scripts %} prettyPrint(); $('a[data-toggle="tab"]:first').on('shown', function (e) { $(e.target).parents('.tabbable').addClass('first-tab-active'); }); $('a[data-toggle="tab"]:not(:first)').on('shown', function (e) { $(e.target).parents('.tabbable').removeClass('first-tab-active'); }); $('.form-switcher a:first').tab('show'); {% if has_filters %} var filtermenu = new ui.filtermenu({ object_type: '{{ object_type }}', rawURL: '{{ request.path }}' }); filtermenu.initialize(); {% endif %} {% endblock %} {% block content %} {% block breadcrumbs %}
{% endblock %}{{ request.method }} {{ request.get_full_path }}
{% endautoescape %} {{ content|urlize_quoted_links }}