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 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. 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. 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 clize==4.1.1
lockfile==0.12.2 lockfile==0.12.2
sigtools==2.0.2 sigtools==2.0.2
bottle==0.12.18 bottle==0.12.18
Beaker==1.11.0 Beaker==1.11.0
Paste==3.4.3

View File

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

View File

@ -133,7 +133,6 @@ blockquote {
content: ' -'; content: ' -';
} }
/* Home */ /* Home */
.btn-group { .btn-group {
@ -385,11 +384,6 @@ canvas {
display: none; display: none;
} }
.topnav .bi-list {
width: 2em;
height: 2em;
}
/* Styling the sub menu */ /* Styling the sub menu */
nav { nav {
float: right; float: right;
@ -424,9 +418,9 @@ nav ul li a:hover {
.submenu ul { .submenu ul {
display: none; display: none;
position: absolute; position: absolute;
margin: 8px 0 0px 9px; margin: 6px 0 0px 9px;
width: -webkit-fill-available; width: fill-available;
z-index: 9999; z-index: 999;
border: 1px solid #666; border: 1px solid #666;
border-radius: 3px; border-radius: 3px;
padding: 0; padding: 0;