diff --git a/snipt/media/css/style.less b/snipt/media/css/style.less index 06b167e..816c347 100644 --- a/snipt/media/css/style.less +++ b/snipt/media/css/style.less @@ -418,6 +418,11 @@ article.snipt { span.collapse { display: none; } + span.lines { + font: normal 10px @Helvetica; + margin-left: 5px; + vertical-align: 1px; + } &:hover { color: #3BAAF3; font-weight: bold; @@ -478,7 +483,27 @@ article.snipt { } aside { float: right; - width: 130px; + margin: 29px 30px 0 0; + width: 100px; + + ul { + li { + margin: 2px 0; + + a { + background: rgba(128, 128, 128, .08); + color: #999; + display: block; + font: bold 12px @Helvetica; + padding: 7px 10px 7px 35px; + + &:hover { + background: rgba(128, 128, 128, .15); + text-decoration: none; + } + } + } + } } footer { clear: both; @@ -531,6 +556,9 @@ article.snipt { span.collapse { display: inline; } + span.lines { + display: none; + } } } } diff --git a/snipt/settings.py b/snipt/settings.py index fa8fd08..9070f07 100644 --- a/snipt/settings.py +++ b/snipt/settings.py @@ -202,6 +202,9 @@ LOGIN_REDIRECT_URL = '/' LOGIN_URL = '/login/' LOGOUT_URL = '/logout/' +# HTTPS +USE_HTTPS = False + # User absolute URLs ABSOLUTE_URL_OVERRIDES = { 'auth.user': lambda u: "/%s/" % u.username, diff --git a/snipt/snipts/templates/snipts/snipt-list.html b/snipt/snipts/templates/snipts/snipt-list.html index a450dc7..b9e6a95 100644 --- a/snipt/snipts/templates/snipts/snipt-list.html +++ b/snipt/snipts/templates/snipts/snipt-list.html @@ -14,16 +14,30 @@ Expand Collapse + ({{ snipt.get_line_count }} lines) {% endif %}
- +