diff options
Diffstat (limited to 'topics/ajax-csrf-cors.html')
| -rw-r--r-- | topics/ajax-csrf-cors.html | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/topics/ajax-csrf-cors.html b/topics/ajax-csrf-cors.html index 6b93db6b..686c7374 100644 --- a/topics/ajax-csrf-cors.html +++ b/topics/ajax-csrf-cors.html @@ -33,6 +33,21 @@ })(); </script> + <style> +span.fusion-wrap a { + display: block; + margin-top: 10px; + color: black; +} + +a.fusion-poweredby { + display: block; + margin-top: 10px; +} +@media (max-width: 767px) { + div.promo {display: none;} +} +</style> </head> <body onload="prettyPrint()" class="ajax-csrf-cors-page"> @@ -173,11 +188,9 @@ <li><a href="#csrf-protection">CSRF protection</a></li> <li><a href="#cors">CORS</a></li> - <div> - - - -</div> + <div class="promo"> + + </div> </ul> </div> @@ -224,6 +237,7 @@ <script src="http://www.django-rest-framework.org/js/jquery-1.8.1-min.js"></script> <script src="http://www.django-rest-framework.org/js/prettify-1.0.js"></script> <script src="http://www.django-rest-framework.org/js/bootstrap-2.1.1-min.js"></script> + <script> //$('.side-nav').scrollspy() var shiftWindow = function() { scrollBy(0, -50) }; |
