This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description
=====================
Django Sublime Scroll
=====================
"Sublime Text 2"-style scroll bars.


Installation:
=============
* pip install django-sublime-scroll

* Setup wkhtmltoimage

* load template tags
.. code:: jinja

{% load sublime_scroll_tags %}
{% sublime_scroll %}

* It's a good idea to have some cache so that the page capture is not generated every time that the page is loaded. So at the very least, you should do this:

.. code:: jinja

{% load sublime_scroll_tags cache %}
{% cache 500 sublime_scroll %}
{% sublime_scroll %}
{% endcache %}

* Make sure to include RequestContext in response. Example:

.. code:: python

from django.template import RequestContext
return render_to_response('index.html', {'form': form, },
context_instance = RequestContext(request))


Settings:
=========
.. code:: python

# Absolute path to wkhtmltoimage if not in system PATH:
SUBLIME_SCROLL_WKHTMLTOIMAGE_PATH # (default: "wkhtmltoimage")

# Scroll Bar width:
SUBLIME_SCROLL_SETTINGS
# Default (in javascript):
{
'scroll_width': 150,
'offset': 0,
'z_index': 50,
'content_width': 960,
'full_height': "$('html').height()",
'opacity': 0.1,
'color': 'white',
}
Release History

Release History

0.2.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
django-sublime-scroll-0.2.2.tar.gz (8.0 kB) Copy SHA256 Checksum SHA256 Source Mar 9, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting