Docs tweaks

This commit is contained in:
Tom Christie 2012-10-05 19:27:27 +01:00
parent 5393cacca8
commit 6c40fc362f
33 changed files with 717 additions and 770 deletions

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="authentication-page"> <body onload="prettyPrint()" class="authentication-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -205,17 +206,14 @@ print token.key
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="content-negotiation-page"> <body onload="prettyPrint()" class="content-negotiation-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -115,17 +116,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="exceptions-page"> <body onload="prettyPrint()" class="exceptions-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -167,17 +168,14 @@ Content-Length: 42
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="fields-page"> <body onload="prettyPrint()" class="fields-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -130,8 +131,10 @@
<p>Flat is better than nested.</p> <p>Flat is better than nested.</p>
<p>&mdash; <a href="http://www.python.org/dev/peps/pep-0020/">The Zen of Python</a></p> <p>&mdash; <a href="http://www.python.org/dev/peps/pep-0020/">The Zen of Python</a></p>
</blockquote> </blockquote>
<p><strong>Note:</strong> The serializer fields are declared in fields.py, but by convention you should import them using <code>from rest_framework import serializers</code> and refer to fields as <code>serializers.&lt;FieldName&gt;</code>.</p>
<p>Serializer fields handle converting between primative values and internal datatypes. They also deal with validating input values, as well as retrieving and setting the values from their parent objects.</p> <p>Serializer fields handle converting between primative values and internal datatypes. They also deal with validating input values, as well as retrieving and setting the values from their parent objects.</p>
<hr />
<p><strong>Note:</strong> The serializer fields are declared in fields.py, but by convention you should import them using <code>from rest_framework import serializers</code> and refer to fields as <code>serializers.&lt;FieldName&gt;</code>.</p>
<hr />
<h1 id="generic-fields">Generic Fields</h1> <h1 id="generic-fields">Generic Fields</h1>
<h2 id="field">Field</h2> <h2 id="field">Field</h2>
<p>A generic, read-only field. You can use this field for any attribute that does not need to support write operations.</p> <p>A generic, read-only field. You can use this field for any attribute that does not need to support write operations.</p>
@ -159,17 +162,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="format-suffixes-page"> <body onload="prettyPrint()" class="format-suffixes-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -116,17 +117,14 @@ used all the time.</p>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="generic-views-page"> <body onload="prettyPrint()" class="generic-views-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -203,17 +204,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="pagination-page"> <body onload="prettyPrint()" class="pagination-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -212,17 +213,14 @@ class CustomPaginationSerializer(pagination.BasePaginationSerializer):
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="parsers-page"> <body onload="prettyPrint()" class="parsers-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -129,17 +130,14 @@ sending more complex data than simple forms</p>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="permissions-page"> <body onload="prettyPrint()" class="permissions-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -182,17 +183,14 @@ def example_view(request, format=None):
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="renderers-page"> <body onload="prettyPrint()" class="renderers-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -241,17 +242,14 @@ def list_users(request):
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="requests-page"> <body onload="prettyPrint()" class="requests-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -154,17 +155,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="responses-page"> <body onload="prettyPrint()" class="responses-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -169,17 +170,14 @@ response['Cache-Control'] = 'no-cache'
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="reverse-page"> <body onload="prettyPrint()" class="reverse-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -146,17 +147,14 @@ class APIRootView(APIView):
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="serializers-page"> <body onload="prettyPrint()" class="serializers-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -311,17 +312,14 @@ The <code>ModelSerializer</code> class lets you automatically create a Serialize
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="settings-page"> <body onload="prettyPrint()" class="settings-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -214,17 +215,14 @@ print api_settings.DEFAULT_AUTHENTICATION
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="status-codes-page"> <body onload="prettyPrint()" class="status-codes-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -190,17 +191,14 @@ HTTP_511_NETWORD_AUTHENTICATION_REQUIRED
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="throttling-page"> <body onload="prettyPrint()" class="throttling-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -230,17 +231,14 @@ class UploadView(APIView):
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="views-page"> <body onload="prettyPrint()" class="views-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -194,17 +195,14 @@ This method is used to enforce permissions and throttling, and perform content n
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -1,15 +1,5 @@
/* Set the body padding-top when above 980px to push the content down from /* Set the body padding-top when above 980px to push the content down from
below the navbar, which is fixed at >980px screen widths. */ below the navbar, which is fixed at >980px screen widths. */
@media (min-width: 980px) {
body {
padding-top: 71px;
}
}
body {
padding-bottom: 40px;
}
pre { pre {
font-size: 12px; font-size: 12px;
} }
@ -61,28 +51,9 @@ a.github:hover {
text-decoration: none; text-decoration: none;
} }
/* Footer */
/*
.footer p {
text-align: center;
color: gray;
border-top: 1px solid #DDD;
padding-top: 10px;
}
.footer a {
color: gray;
font-weight: bold;
}
.footer a:hover {
color: gray;
}
*/
/* */ /* */
body hr { body hr {
border-top: 1px dotted #A30000 border-top: 1px dotted #A30000;
} }
/* Force TOC text to not overrun */ /* Force TOC text to not overrun */
@ -100,7 +71,7 @@ pre {
/* Preserve the spacing of the navbar across different screen sizes. */ /* Preserve the spacing of the navbar across different screen sizes. */
.navbar-inner { .navbar-inner {
padding: 5px 0; /*padding: 5px 0;*/
} }
@media (max-width: 979px) { @media (max-width: 979px) {
@ -194,8 +165,9 @@ body{
color: white; color: white;
} }
.nav-list > .active > a, .nav-list > .active > a:hover { .nav-list > .active > a, .navbar .navbar-inner .nav li a:hover {
background: #2c2c2c; background:#212121;
color:white;
} }
.navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li{ .navbar .navbar-inner .dropdown-menu li a, .navbar .navbar-inner .dropdown-menu li{
@ -233,3 +205,40 @@ body a:hover{
} }
} }
/* sticky footer and footer */
html, body {
height: 100%;
}
.wrapper {
min-height: 100%;
height: auto !important;
height: 100%;
margin: 0 auto -60px;
}
.body-content{
padding-top: 70px;
padding-bottom: 70px;
}
footer, .push {
height: 60px; /* .push must be the same height as .footer */
}
footer p {
text-align: center;
color: gray;
border-top: 1px solid #DDD;
padding-top: 10px;
}
footer a {
color: gray;
font-weight: bold;
}
footer a:hover {
color: gray;
}

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="index-page"> <body onload="prettyPrint()" class="index-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -232,17 +233,14 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.</p>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="browsable-api-page"> <body onload="prettyPrint()" class="browsable-api-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -172,17 +173,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="changelog-page"> <body onload="prettyPrint()" class="changelog-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -234,17 +235,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="contributing-page"> <body onload="prettyPrint()" class="contributing-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -121,17 +122,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="credits-page"> <body onload="prettyPrint()" class="credits-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -170,17 +171,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="csrf-page"> <body onload="prettyPrint()" class="csrf-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -119,17 +120,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="formoverloading-page"> <body onload="prettyPrint()" class="formoverloading-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -140,17 +141,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="rest-hypermedia-hateoas-page"> <body onload="prettyPrint()" class="rest-hypermedia-hateoas-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -135,17 +136,14 @@ the Design of Network-based Software Architectures</a>.</li>
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="1-serialization-page"> <body onload="prettyPrint()" class="1-serialization-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -331,17 +332,14 @@ urlpatterns = patterns('blog.views',
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="2-requests-and-responses-page"> <body onload="prettyPrint()" class="2-requests-and-responses-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -227,17 +228,14 @@ urlpatterns = format_suffix_patterns(urlpatterns)
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="3-class-based-views-page"> <body onload="prettyPrint()" class="3-class-based-views-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -241,17 +242,14 @@ class CommentInstance(generics.RetrieveUpdateDestroyAPIView):
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="4-authentication-permissions-and-throttling-page"> <body onload="prettyPrint()" class="4-authentication-permissions-and-throttling-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -111,17 +112,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="5-relationships-and-hyperlinked-apis-page"> <body onload="prettyPrint()" class="5-relationships-and-hyperlinked-apis-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -117,17 +118,14 @@
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->

View File

@ -19,6 +19,8 @@
<![endif]--> <![endif]-->
<body onload="prettyPrint()" class="6-resource-orientated-projects-page"> <body onload="prettyPrint()" class="6-resource-orientated-projects-page">
<div class="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top"> <div class="navbar navbar-inverse navbar-fixed-top">
<div class="navbar-inner"> <div class="navbar-inner">
<div class="container-fluid"> <div class="container-fluid">
@ -91,8 +93,7 @@
</div> </div>
</div> </div>
<div id="wrap"> <div class="body-content">
<div class="container-fluid"> <div class="container-fluid">
<div class="row-fluid"> <div class="row-fluid">
@ -176,17 +177,14 @@ urlpatterns = router.urlpatterns
</div><!--/span--> </div><!--/span-->
</div><!--/row--> </div><!--/row-->
</div><!--/.fluid-container--> </div><!--/.fluid-container-->
</div><!--/.body content-->
<div id="push"></div> <div id="push"></div>
</div> </div><!--/.wrapper -->
<!-- <footer class="span12">
<div class="row footer">
<div class="span12">
<p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p> <p>Sponsored by <a href="http://dabapps.com/">Dab Apps</a>.</a></p>
</div> </footer>
</div>
-->
<!-- Le javascript <!-- Le javascript
================================================== --> ================================================== -->