Commit 084ad305 authored by prx's avatar prx

added logo

parent a871a597
......@@ -55,4 +55,9 @@ instructions](http://bottlepy.org/docs/dev/deployment.html).
Remember, the admin page is /_admin
Thanks
------
- [Thanks to kablam for the original
logo](https://openclipart.org/detail/28524/panic)
- Thanks to allocine, btdigg and torrentproject for results.
- Thanks to Douglas Adams for inspiration
[Desktop Entry]
Name=Dontpanic
GenericName=Dontpanic
Comment=Watch video in streaming via bittorent
Exec=dontpanic %U
Icon=dontpanic
Terminal=false
TryExec=dontpanic
Type=Application
StartupNotify=true
MimeType=application/x-bittorrent;
Categories=Network;FileTransfer;P2P
......@@ -250,6 +250,10 @@ class DontPanic():
response.set_cookie("username", self.admin, secret = self.secret)
return(template('towel',welcomemsg = pick_welcomemsg() ))
@self.app.route('/static/<filename:path>')
def static(filename):
return static_file(filename, root='./static/')
@self.app.route('/me')
def login():
whoami = request.get_cookie("username", secret = self.secret)
......@@ -438,13 +442,13 @@ class DontPanic():
# show the link to play the file
magnet = quoteurl(session.get_magnet())
playlink = '<span class="big"><a href="/static/{}/">\
playlink = '<span class="big"><a href="/video/{}/">\
Play now</a></span>'.format(moviepath)
else:
playlink = ''
return({'status': htmlperc, 'playlink' : playlink})
@self.app.route('/static/<filename:path>')
@self.app.route('/video/<filename:path>')
def send_static(filename):
return(static_file(filename, root=tempdir))
......
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.0
Source: dontpanic
Binary: dontpanic
Architecture: all
Version: 0.7
Maintainer: Xavier Cartron <xcartron@april.org>
Homepage: http://yeuxdelibad.net/Programmation/dontpanic.html
Standards-Version: 3.9.2
Build-Depends: debhelper (>= 7)
Package-List:
dontpanic deb misc optional arch=all
Checksums-Sha1:
dc480672e1138366342d977e02b2ecc3a0a7a65f 198117 dontpanic_0.7.tar.gz
Checksums-Sha256:
29c69818efc3e7c6bac66c2f7250f451664d2faf91406b877d60eb4505376426 198117 dontpanic_0.7.tar.gz
Files:
e26564aff9d63a6f21ea263ad0af6f33 198117 dontpanic_0.7.tar.gz
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWRwrFAAoJEIiP8MJUzS8vEBYP/Ah06I+XIPIG6pExWokYvz8V
NwNc4KuY8SXvFBBktygW854J674lwsHrgTY9GEjh1Ar5/a4AR8JmV+e6HpFLW4sJ
k17LFnWR7Ux4nhOoBVQo5sXdQdTqJsHAek/MmnZN9BUCQh5nXcGzRle1/snyFAc+
CuXaonYnsXe7vyJ1QK0yWRcvgOQt8Cqj39gkwHzfL6RvFJMyRnrXII1HV1BTY+Le
GuZ1pJUcZe9KswhXxmo/Pv3VRxm4mJZwRzVZ7GlWBS7NrwduXqwkRDzOE6NjPUb6
2zOznVlzGDVvqSepcWVMSRvF3yw+Zc5ObnuVBN18QM6i0kHDIQwXd3kuDqr4B06/
m7rz1ORwFcTzl9wWA7J78WoOiFqtjG3bz7nYwt2y8HfWic8Qr9rbqEpkFSr2F6Ef
ssZUPVDWYlVOcKNKNvL37zlvZBXuiUOzExa/L+eRkUoaffXj5Yc8jW44RSU7l+r3
3pM6trbhqi8v9dMXpNxVa0vCfaCI3dnkwvUqDyqJghifgyzmhAJLg/Lf15QkNX1G
ImwLoesilzm6xcmTnBGeUvSpf0uqjUsbBwHLorw8TQET+NScMXSmPgCf1xq6R6tI
VFT3kwwSd9OR5S9d52hfxrsk9LRoW8owNgAzJ7C6xcP//BXi/+f13H8BIZndXvn6
ejxJHtmWwMMQIpMbz1M0
=N3QB
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sat, 14 Nov 2015 11:19:40 +0100
Source: dontpanic
Binary: dontpanic
Architecture: source all
Version: 0.7
Distribution: unstable
Urgency: low
Maintainer: Xavier Cartron <xcartron@april.org>
Changed-By: Xavier Cartron <xcartron@april.org>
Description:
dontpanic - Popcorn-time replacement
Changes:
dontpanic (0.7) unstable; urgency=low
.
* First version
Checksums-Sha1:
a3dde6c97176f6503a8fe6df6e955a8df734ef2f 1434 dontpanic_0.7.dsc
dc480672e1138366342d977e02b2ecc3a0a7a65f 198117 dontpanic_0.7.tar.gz
5ebbeb9858022ea536cb355a1cb852d8a6115bb3 195824 dontpanic_0.7_all.deb
Checksums-Sha256:
df8c0c8f10da780db87761bdd3fc5cdeb97712401120c0590a794c2fb7e7bab6 1434 dontpanic_0.7.dsc
29c69818efc3e7c6bac66c2f7250f451664d2faf91406b877d60eb4505376426 198117 dontpanic_0.7.tar.gz
cf9c32b8f0bf4ec842fa52477a5c2a3f4b600964efafb2094e58ee61036783d9 195824 dontpanic_0.7_all.deb
Files:
d24fb05e3a6d7a6f8e44d3b0932bcb2b 1434 misc optional dontpanic_0.7.dsc
e26564aff9d63a6f21ea263ad0af6f33 198117 misc optional dontpanic_0.7.tar.gz
3c68f70a8647c828d4501d65afdb85fb 195824 misc optional dontpanic_0.7_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iQIcBAEBCAAGBQJWRwrJAAoJEIiP8MJUzS8vLOEQAIuS+U40AkovpSJjYtyQulYo
uP0pVJlT0vcY9xQ/DJYlfhkSfR/33/ATg64kZbx1N8IluGffsus/TEJdZ9k03chC
gmqIU1JoVFcw956Gbhx2K2u2B53L90zdwSpS2+UWDVBtQQ7MvMP6m2k7ZTF7TTx9
4jgxtMKicyhzPmTLzqefBQYS50VH3RxMrr9w1oVWBBVjgHxQIzp4/iUKg8sMl5jc
yZvlW1XfPo8x4cG4PVDzq2rxO2PX9dVawakKMCr4K30umdYox4e1EgvQ0jNsQT83
X+TXqP/QI3yvREOjteDpmc2BLx3SWxY2JiFdBYkpf5lEYblQBBByPhSvxlon6Y5f
DfJUuWz9Fkl4LYe5UNCcU/y3R9G4D28QUEhcYz4JmsnEMWaM7VU1CmSvSRis+C1b
BzCrsNdXkP73Jpij0B2Fz/Dd44+YfH0FktV6i6yxWZoeUleKvsYBpjI1dTKOqojJ
271THSINCL4FD8RuhmraOttlkhtQk/bLibLCr/FZHzEMoCmbh5xEJajg+dkOHLsj
Ps2FqQ53yVGpoIpuQx/7qKlyM7tJaKUPLN9NcOdBAUtgV6EIiOBhoGGtz0r00ZuU
JKSObXPrUPE7KWGYM0S4thAJnPapObAyMNCnc+esTVre4XdaZS1dWliMuFWS2wEq
hV4h1qb66BzcGIsPaOkD
=y+sp
-----END PGP SIGNATURE-----
......@@ -4,7 +4,7 @@ Homepage: http://yeuxdelibad.net/Programmation/dontpanic.html
Standards-Version: 3.9.2
Package: dontpanic
Version: 0.6
Version: 0.7
Maintainer: Xavier Cartron <xcartron@april.org>
Pre-Depends:
Depends: python, python3-bottle, python-libtorrent, python-bs4, python-requests, sqlite3
......@@ -25,10 +25,17 @@ Files: dontpanic /usr/bin/
views/perso.tpl /usr/share/dontpanic/
views/results.tpl /usr/share/dontpanic/
views/serie.tpl /usr/share/dontpanic/
views/style.tpl /usr/share/dontpanic/
views/header.tpl /usr/share/dontpanic/
views/towel-dl.tpl /usr/share/dontpanic/
views/towel.tpl /usr/share/dontpanic/
views/what.tpl /usr/share/dontpanic/
static/style.css /usr/share/dontpanic/
static/favicon.ico /usr/share/dontpanic/
static/favicon-16x16.png /usr/share/dontpanic/
static/favicon-32x32.png /usr/share/dontpanic/
static/favicon-96x96.png /usr/share/dontpanic/
dontpanic.1.gz /usr/man/man1/
dontpanic.png /usr/share/icons/
dontpanic.desktop /usr/share/applications/
Description: Popcorn-time replacement
It's like you have VOD at home, thanks to bittorrent.
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
<!doctype html>
<html>
<head>
<title>Don't panic!</title>
% include('style.tpl')
</head>
%include('header.tpl')
<body>
<div class="container">
<h1><a href="/">Configuration</a></h1>
......
<head>
<title>Don't panic!</title>
<link rel="icon" type="image/png" sizes="32x32" href="/static/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/static/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="/static/favicon-16x16.png">
<meta charset="UTF-8">
<link rel="stylesheet" type="text/css" href="/static/style.css">
</head>
<!doctype html>
<html>
<head>
<title>Don't panic!</title>
% include('style.tpl')
</head>
%include('header.tpl')
<body>
<div class="container">
<div class="text-center">
......
<!doctype html>
<html>
<head>
<title>Don't panic!</title>
% include('style.tpl')
</head>
%include('header.tpl')
<body>
<div class="container">
<div class="text-center">
......
<!doctype html>
<html>
<head>
<title>Don't panic!</title>
% include('style.tpl')
</head>
%include('header.tpl')
<body>
<div class="container">
<div class="text-center">
......
<!doctype html>
<html>
<head>
<title>Don't panic!</title>
% include('style.tpl')
</head>
%include('header.tpl')
<body>
<div class="container">
<div class="text-center">
......
<!doctype html>
<html>
<head>
<title>Don't panic!</title>
% include('style.tpl')
</head>
%include('header.tpl')
<body>
<div class="container">
<div class="text-center">
......
<!doctype html>
<html>
<head>
<title>Don't panic!</title>
% include('style.tpl')
</head>
%include('header.tpl')
<body>
<div class="container">
<div class="text-center">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment