mirror of
https://github.com/Tygs/0bin.git
synced 2023-08-10 21:13:00 +03:00
merge
This commit is contained in:
commit
1939a6b89e
@ -4,3 +4,4 @@ sigtools==2.0.2
|
||||
bottle==0.12.18
|
||||
Beaker==1.11.0
|
||||
Paste==3.4.3
|
||||
appdirs==1.4.4
|
||||
|
@ -1,24 +1,20 @@
|
||||
# Get error messages and auto reload.
|
||||
# Don't set this to True in production
|
||||
DEBUG = False
|
||||
DEBUG = True
|
||||
|
||||
# Port and host the embedded python server should be using
|
||||
# Port and host for the embedded python server
|
||||
HOST = "127.0.0.1"
|
||||
PORT = "3255"
|
||||
|
||||
# Display a tiny counter for pastes created.
|
||||
DISPLAY_COUNTER = True
|
||||
# Refresh counter interval.
|
||||
REFRESH_COUNTER = 60 # in seconds
|
||||
|
||||
# Names/links to insert in the footer.
|
||||
# Any link with "mailto:" will be escaped to limit spam, but displayed
|
||||
# correctly to the user using JS.
|
||||
#
|
||||
MENU = (
|
||||
("Create paste", "/"), # internal link. First link will be highlited
|
||||
("Github", "https://github.com/Tygs/0bin"), # external link
|
||||
("Faq", "/faq/"), # faq
|
||||
("Contact", "mailto:your@email.com"), # email
|
||||
("Create paste", "/"), # First link will be highlighted
|
||||
("Github", "https://github.com/Tygs/0bin"),
|
||||
("Faq", "/faq/"), # You probably want to keep this
|
||||
# Any link with "mailto:" will be escaped to limit spam, but displayed
|
||||
# correctly to the user using JS.
|
||||
("Contact", "mailto:your@email.com"),
|
||||
("Zerobin Pastebin", "https://www.0bin.net/"), # Thanks the authors :)
|
||||
)
|
||||
|
||||
@ -26,6 +22,11 @@ MENU = (
|
||||
# slow down the user's browser
|
||||
MAX_SIZE = 1024 * 500
|
||||
|
||||
# Display a tiny counter for pastes created.
|
||||
DISPLAY_COUNTER = True
|
||||
# Refresh counter interval.
|
||||
REFRESH_COUNTER = 60 # in seconds
|
||||
|
||||
# Length of the paste-id string in the url, int from 4 to 27 (length of sha1 digest)
|
||||
# total number of unique pastes can be calculated as 2^(6*PASTE_ID_LENGTH)
|
||||
# for PASTE_ID_LENGTH=8, for example, it's 2^(6*8) = 281 474 976 710 656
|
||||
|
@ -46,7 +46,6 @@
|
||||
|
||||
/* body & other stuff */
|
||||
|
||||
|
||||
.blk-space {
|
||||
height: 20px;
|
||||
display: block;
|
||||
@ -98,6 +97,10 @@ blockquote {
|
||||
|
||||
/* Footer */
|
||||
|
||||
/* See:
|
||||
https://philipwalton.github.io/solved-by-flexbox/demos/sticky-footer/
|
||||
*/
|
||||
|
||||
#app {
|
||||
display: flex;
|
||||
min-height: 100vh;
|
||||
|
@ -11,7 +11,6 @@
|
||||
|
||||
<link rel="icon" href="/static/img/favicon.ico" />
|
||||
|
||||
|
||||
%if not settings.DEBUG:
|
||||
<link href="/static/css/style.min.css?{{ VERSION }}" rel="stylesheet" />
|
||||
%else:
|
||||
@ -57,7 +56,7 @@
|
||||
<p>Please enable JavaScript for this website or use a JavaScript-capable web browser.</p>
|
||||
</noscript>
|
||||
|
||||
<div class="container-md" id="wrap-content">
|
||||
<div class="container-md reader-mode" id="wrap-content">
|
||||
|
||||
<p :class="'alert alert-' + msg.type" v-for="msg in messages">
|
||||
<a class="close" data-dismiss="alert" href="#" @click="$event.target.parentNode.remove()">×</a>
|
||||
|
Loading…
Reference in New Issue
Block a user