Additional warning around public/private snipts.
parent
0839840499
commit
b0bab0584b
File diff suppressed because one or more lines are too long
|
@ -2562,13 +2562,34 @@ body.editing {
|
|||
text-transform: none;
|
||||
vertical-align: -3px;
|
||||
}
|
||||
div.info {
|
||||
background: transparent;
|
||||
color: #7B7B79;
|
||||
font-size: 12px;
|
||||
font-style: italic;
|
||||
margin: 0;
|
||||
padding: 10px;
|
||||
}
|
||||
&.is-private {
|
||||
background: #EFEEEF url('../img/private-icon-edit.png') 199px center no-repeat;
|
||||
background: #EFEEEF url('../img/private-icon-edit.png') 199px 6px no-repeat;
|
||||
|
||||
div.info.private {
|
||||
display: block;
|
||||
}
|
||||
div.info.public {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
&.is-public {
|
||||
background: #F2DEDE;
|
||||
border: 1px solid #EED3D7;
|
||||
|
||||
div.info.private {
|
||||
display: none;
|
||||
}
|
||||
div.info.public {
|
||||
display: block;
|
||||
}
|
||||
span {
|
||||
color: #B94A48;
|
||||
}
|
||||
|
|
|
@ -69,6 +69,12 @@
|
|||
<label class="public is-private">
|
||||
<input type="checkbox" <% if (snipt.public) { %>checked="checked"<% } %> name="" value="" />
|
||||
<span>Public</span>
|
||||
<div class="info private">
|
||||
Private snipts do not appear in the public listing, but are accessible via the direct URL.
|
||||
</div>
|
||||
<div class="info public">
|
||||
Public snipts are accessible by all Snipt.net users and appear in the public listing.
|
||||
</div>
|
||||
</label>
|
||||
<label class="blog-post is-blog-post">
|
||||
<input type="checkbox" <% if (snipt.blog_post) { %>checked="checked"<% } %> name="" value="" />
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/highlightjs-themes/tomorrow.css" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/blog-themes/default/style.css" />
|
||||
{% else %}
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/snipt.css?123" />
|
||||
<link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/snipt.css?124" />
|
||||
{% endif %}
|
||||
|
||||
{% if has_snipts and not detail %}
|
||||
|
|
Loading…
Reference in New Issue