rename routes and update logo - seedlinux - Torrent indexing tool opensource torrents with share ratio's etc.
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
---
(DIR) commit 2b03fb5ac5d02b07a1c09070208c431dae1f7961
(DIR) parent 4dd2f4853a8b25b6962cb9a53c8b4e7508d3bf0d
(HTM) Author: Jay Scott <jay@jayscott.co.uk>
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(-)
---
(DIR) 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');
(DIR) diff --git a/public/images/logo.png b/public/images/logo.png
Binary files differ.
(DIR) 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;
(DIR) 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