| rename routes and update logo - seedlinux - Torrent indexing tool opensource to… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 2b03fb5ac5d02b07a1c09070208c431dae1f7961 | |
| parent 4dd2f4853a8b25b6962cb9a53c8b4e7508d3bf0d | |
| Author: Jay Scott <[email protected]> | |
| Date: Sat, 1 Jul 2017 23:15:33 +0100 | |
| rename routes and update logo | |
| Diffstat: | |
| M controllers/torrents_controller.js | 2 +- | |
| M public/images/logo.png | 0 | |
| M routes/torrent_route.js | 2 +- | |
| M views/layout.pug | 3 ++- | |
| 4 files changed, 4 insertions(+), 3 deletions(-) | |
| --- | |
| diff --git a/controllers/torrents_controller.js b/controllers/torrents_controll… | |
| @@ -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 |