1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Move from cherrypy to paste

This commit is contained in:
ksamuel 2020-08-12 17:26:21 +02:00
parent aaf8e647d6
commit 3308e6d74f
4 changed files with 28 additions and 34 deletions

View File

@ -10,7 +10,7 @@
be pasted in it. The idea is that one can (probably...) not be legally entitled
to `moderate the pastebin content`_ as they have no way to decrypt it.
It's an Python implementation of the `zerobin project`_, created by sebsauvage, under the `WTF licence`_.
It's an Python implementation of the `zerobin project`_, created by sebsauvage, under the `WTFPL licence`_.
For now tested with IE9, and the last opera, safari, chrome and FF.

View File

@ -1,6 +1,6 @@
CherryPy==8.9.0
clize==4.1.1
lockfile==0.12.2
sigtools==2.0.2
bottle==0.12.18
Beaker==1.11.0
Paste==3.4.3

View File

@ -36,7 +36,7 @@ def runserver(
compressed_static=None,
version=False,
paste_id_length=None,
server="cherrypy",
server="paste",
):
if version:
print("0bin V%s" % settings.VERSION)

View File

@ -51,8 +51,8 @@ body {
}
.blk-space {
height: 20px;
display: block;
height: 20px;
display: block;
}
.sidebar-nav {
@ -115,25 +115,24 @@ blockquote {
}
.footer li {
list-style-type: none;
display: inline;
list-style-type: none;
display: inline;
}
.footer li span{
color: #2ea1d7;
.footer li span {
color: #2ea1d7;
}
.footer li span:hover{
color: #1888bc;
text-decoration: underline;
cursor: pointer;
.footer li span:hover {
color: #1888bc;
text-decoration: underline;
cursor: pointer;
}
.footer li:not(:last-child):after {
content:' -';
content: ' -';
}
/* Home */
.btn-group {
@ -385,11 +384,6 @@ canvas {
display: none;
}
.topnav .bi-list {
width: 2em;
height: 2em;
}
/* Styling the sub menu */
nav {
float: right;
@ -422,14 +416,14 @@ nav ul li a:hover {
}
.submenu ul {
display: none;
position: absolute;
margin: 8px 0 0px 9px;
width: -webkit-fill-available;
z-index: 9999;
border: 1px solid #666;
border-radius: 3px;
padding: 0;
display: none;
position: absolute;
margin: 6px 0 0px 9px;
width: fill-available;
z-index: 999;
border: 1px solid #666;
border-radius: 3px;
padding: 0;
}
.submenu li {