Working
parent
d064ff08cc
commit
a07a0e7fc3
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -14,16 +14,30 @@
|
|||
<a href="#" class="expand">
|
||||
<span class="expand">Expand</span>
|
||||
<span class="collapse">Collapse</span>
|
||||
<span class="lines">({{ snipt.get_line_count }} lines)</span>
|
||||
</a>
|
||||
{% endif %}
|
||||
</section>
|
||||
<div class="ruler top-x"></div>
|
||||
<div class="ruler bottom-x"></div>
|
||||
</div>
|
||||
<aside></aside>
|
||||
<aside>
|
||||
<ul>
|
||||
<li>
|
||||
<a href="#">Edit</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{{ snipt.get_embed_url }}">Embed</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="#">Copy</a>
|
||||
</li>
|
||||
</ul>
|
||||
</aside>
|
||||
</div>
|
||||
<footer>
|
||||
<ul class="attrs">
|
||||
<li class="author"><a href="{{ snipt.user.get_absolute_url }}">{{ snipt.user.username }}</a></li>
|
||||
<li class="created">{{ snipt.created|naturalday }}</li>
|
||||
<li class="comments"><a href="{{ snipt.get_absolute_url }}#comments">Comments ({{ snipt.comment_set.all|length }})</a></li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue