seedlinux

find open source torrents and stats for people wishing to contribute bandwidth.
git clone git://git.beardyjay.co.uk/seedlinux
Log | Files | Refs | README | LICENSE

commit 640dc9f80e55364e8b329710b53a9961f430e857
parent 8eca9e64d48d78612ae4ca2a39b983ba335102d1
Author: Jay Scott <jay@jayscott.co.uk>
Date:   Sat,  1 Jul 2017 23:15:33 +0100

rename routes and update logo

Diffstat:
Mcontrollers/torrents_controller.js | 2+-
Mpublic/images/logo.png | 0
Mroutes/torrent_route.js | 2+-
Mviews/layout.pug | 3++-
4 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/controllers/torrents_controller.js b/controllers/torrents_controller.js @@ -59,7 +59,7 @@ exports.torrent_detail = function(req, res) { ); }; -exports.torrent_stats = function(req, res) { +exports.torrent_update = function(req, res) { const webtorrentHealth = require('webtorrent-health'); diff --git a/public/images/logo.png b/public/images/logo.png Binary files differ. diff --git a/routes/torrent_route.js b/routes/torrent_route.js @@ -5,6 +5,6 @@ const router = express.Router(); const torrent_controller = require('../controllers/torrents_controller'); router.get('/details/:id', torrent_controller.torrent_detail); -router.get('/stats/:id', torrent_controller.torrent_stats); +router.get('/update/:id', torrent_controller.torrent_update); module.exports = router; diff --git a/views/layout.pug b/views/layout.pug @@ -16,7 +16,8 @@ html input(type="text", placeholder="Search..") a.ui.tag.label= "Search" img.ui.centered.medium.image(src='/images/logo.png') - .sub.ui.centered.header= "Looking to contribute to Open Source?" + .sub.ui.centered.header= "Start Contributing to Open Source!" + .ui.hidden.divider .ui.container