mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
Merge branch 'master' of github.com:dorey/0bin
This commit is contained in:
commit
e85eead70b
@ -48,7 +48,7 @@ Technologies used
|
|||||||
Known issues
|
Known issues
|
||||||
============
|
============
|
||||||
|
|
||||||
- 0bin use several HTML5/CSS3 features that are not widely supported. In that case we handle the degradation as gracefully as we can.
|
- 0bin uses several HTML5/CSS3 features that are not widely supported. In that case we handle the degradation as gracefully as we can.
|
||||||
- The "copy to clipboard" feature is buggy under linux. It's flash, so we won't fix it. Better wait for the HTML5 clipboard API to be implemented in major browsers.
|
- The "copy to clipboard" feature is buggy under linux. It's flash, so we won't fix it. Better wait for the HTML5 clipboard API to be implemented in major browsers.
|
||||||
- The pasted content size limit check is not accurate. It's just a safety net, so we thinks it's ok.
|
- The pasted content size limit check is not accurate. It's just a safety net, so we thinks it's ok.
|
||||||
- Some url shorteners and other services storing URLs break the encryption key. We will sanitize the URL as much as we can, but there is a limit to what we can do.
|
- Some url shorteners and other services storing URLs break the encryption key. We will sanitize the URL as much as we can, but there is a limit to what we can do.
|
@ -123,7 +123,7 @@ def runserver(host='', port='', debug=None, serve_static='', user='',
|
|||||||
for d in reversed(settings.TEMPLATE_DIRS):
|
for d in reversed(settings.TEMPLATE_DIRS):
|
||||||
bottle.TEMPLATE_PATH.insert(0, d)
|
bottle.TEMPLATE_PATH.insert(0, d)
|
||||||
|
|
||||||
if serve_static:
|
if settings.STATIC_FILES_ROOT:
|
||||||
@app.route('/static/<filename:path>')
|
@app.route('/static/<filename:path>')
|
||||||
def server_static(filename):
|
def server_static(filename):
|
||||||
return static_file(filename, root=settings.STATIC_FILES_ROOT)
|
return static_file(filename, root=settings.STATIC_FILES_ROOT)
|
||||||
|
@ -23,6 +23,18 @@
|
|||||||
font-size: 27px;
|
font-size: 27px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.about {
|
||||||
|
line-height: 13px;
|
||||||
|
font-style: italic;
|
||||||
|
text-align: right;
|
||||||
|
padding-top: 9px;
|
||||||
|
margin-bottom: 0px !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.about span{
|
||||||
|
font-size: 10px;
|
||||||
|
}
|
||||||
|
|
||||||
/* body & other stuff */
|
/* body & other stuff */
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -290,24 +302,28 @@ button.btn, input[type="submit"].btn {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.lnk-option canvas {
|
.lnk-option canvas {
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
margin-right:10px;
|
margin-right:10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* Previous paste list */
|
/* Previous paste list */
|
||||||
|
|
||||||
.previous-pastes .item {
|
.previous-pastes .item {
|
||||||
margin-top:5px;
|
margin-top:5px;
|
||||||
vertical-align:middle;
|
vertical-align:middle;
|
||||||
line-height:24px;
|
line-height:24px;
|
||||||
padding-left:1em;
|
padding-left:1em;
|
||||||
|
}
|
||||||
|
|
||||||
|
li.item {
|
||||||
|
margin-left: -13px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.previous-pastes canvas {
|
.previous-pastes canvas {
|
||||||
display:block;
|
display:block;
|
||||||
float:left;
|
float:left;
|
||||||
margin-right:5px;
|
margin-right:5px;
|
||||||
}
|
}
|
||||||
|
|
||||||
html.local-storage .no-local-storage {
|
html.local-storage .no-local-storage {
|
||||||
|
@ -76,7 +76,10 @@
|
|||||||
%end
|
%end
|
||||||
|
|
||||||
</ul>
|
</ul>
|
||||||
<p class="navbar-text pull-right"><i>"A client side encrypted PasteBin..."</i></p>
|
<p class="about pull-right">
|
||||||
|
"A client side encrypted PasteBin"<br>
|
||||||
|
<span>All pastes are AES256 encrypted, we cannot know what you paste...</span>
|
||||||
|
</p>
|
||||||
</div><!--/.nav-collapse -->
|
</div><!--/.nav-collapse -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user