add download btn on every list item

change meanTorrent config
This commit is contained in:
OldHawk
2017-04-07 15:34:51 +08:00
parent 1a148f2eda
commit cdcacc6b85
17 changed files with 213 additions and 188 deletions

View File

@@ -27,9 +27,7 @@ exports.renderIndex = function (req, res) {
res.render('modules/core/server/views/index', {
user: JSON.stringify(safeUserObject),
sharedConfig: JSON.stringify(config.shared),
announce: JSON.stringify(config.announce),
tmdbConfig: JSON.stringify(config.tmdbConfig),
resourcesTags: JSON.stringify(config.resourcesTags)
meanTorrentConfig: JSON.stringify(config.meanTorrentConfig)
});
};

View File

@@ -59,9 +59,7 @@
<script type="text/javascript">
var user = {{{ user }}};
var env = "{{ env }}";
var announce = {{{ announce }}};
var tmdbConfig = {{{ tmdbConfig }}};
var resourcesTags = {{{ resourcesTags }}};
var meanTorrentConfig = {{{ meanTorrentConfig }}};
</script>
<!--Load The Socket.io File-->