mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-06-19 22:10:28 +02:00
feat(home): update home page style
This commit is contained in:
6
config/env/torrents.js
vendored
6
config/env/torrents.js
vendored
@@ -1168,7 +1168,8 @@ module.exports = {
|
||||
* @showThumbsUpUserList: if true, will show thumbs up users list at eof of topic content or reply content
|
||||
* @showUserSignature: if true, will show user signature info in forum
|
||||
*
|
||||
* @rulesForumID: if you create a forum for user rules and helpers, here is the forumID, it will link to from home help items more
|
||||
* @noticeForumId: if you create a forum for site global notice, here is the forumID, it will link to forum from more notice list of home page
|
||||
* @helpForumId: if you create a forum for user rules and helpers, here is the forumID, it will link to forum from more help list of home page
|
||||
*/
|
||||
forumsConfig: {
|
||||
category: [
|
||||
@@ -1181,7 +1182,8 @@ module.exports = {
|
||||
showThumbsUpUserList: true,
|
||||
showUserSignature: true,
|
||||
|
||||
rulesForumID: '595b0c31235c3405a290d737'
|
||||
noticeForumId: 'some id',
|
||||
helpForumId: 'some id'
|
||||
},
|
||||
|
||||
/**
|
||||
|
||||
@@ -104,14 +104,14 @@
|
||||
BTN_DOWNLOAD: 'Download',
|
||||
|
||||
HOME: {
|
||||
TITLE_HELP: 'Rules and helper',
|
||||
TITLE_NOTICE: 'System broadcast',
|
||||
TITLE_HELP: 'Beginner Help',
|
||||
TITLE_NOTICE: 'System Notice',
|
||||
TITLE_NEW_TOPIC: 'Forum new topics',
|
||||
TITLE_NEWEST_TORRENTS: 'The newest torrents',
|
||||
TITLE_SEARCH: 'Global Search',
|
||||
SEARCH_SUB_TITLE: 'Type keywords and press enter.',
|
||||
MORE_HELP_RULES: 'More rules and help contents',
|
||||
MORE_GO_FORUM: 'Go to forum home',
|
||||
SEARCH_SUB_TITLE: 'Quickly find what you want by keyword.',
|
||||
BUTTON_MORE_NOTICE: 'More Notice ...',
|
||||
BUTTON_MORE_HELPER: 'More Help ...',
|
||||
MORE_VIP_RULES_AND_RIGHT: 'more vip rules and right here',
|
||||
SEARCH_TYPE_TORRENTS: 'Torrents',
|
||||
SEARCH_TYPE_FORUM: 'Forum',
|
||||
@@ -1097,7 +1097,7 @@
|
||||
//footer view
|
||||
MIT_PROTOCOL: 'The source of this project is protected by <a href="https://github.com/twbs/bootstrap/blob/master/LICENSE" target="_blank">MIT</a> open source protocol',
|
||||
GIT_REPO: 'Power by ©meanTorrent,<a href="https://github.com/taobataoma/meanTorrent" target="_blank">view on GitHub</a>',
|
||||
SITE_STATEMENT: '<h3>Disclaimer</h3> This site serves as a platform for users to share and discuss Internet resources. The site itself does not provide any resources for download, nor does it store any resource files on the server. The users behavior is not related to this site. If you feel that some users share has infringed your legal rights, please immediately contact to our <u>{{sNameDesc | translate}}</u> by <strong><a href="Mailto:{{sMail}}">mail</a></strong>, we will verify and process it as soon as possible.',
|
||||
SITE_STATEMENT: '<h3>Disclaimer</h3> This site serves as a platform for users to share and discuss Internet resources. The site itself does not provide any resources for download, nor does it store any resource files on the server. The users behavior is not related to this site. If you feel that some users share has infringed your legal rights, please immediately contact to our <strong>{{sNameDesc | translate}}</strong> by <strong><a href="Mailto:{{sMail}}">mail</a></strong>, we will verify and process it as soon as possible.',
|
||||
TOTAL_USERS: 'Total Users',
|
||||
TOTAL_VIP_USERS: 'Total VIP Users',
|
||||
TOTAL_TORRENTS: 'Total Torrents',
|
||||
|
||||
@@ -104,14 +104,14 @@
|
||||
BTN_DOWNLOAD: '下载',
|
||||
|
||||
HOME: {
|
||||
TITLE_HELP: '用户规则与帮助',
|
||||
TITLE_NOTICE: '系统动态与通知',
|
||||
TITLE_HELP: '新手帮助',
|
||||
TITLE_NOTICE: '系统公告',
|
||||
TITLE_NEW_TOPIC: '论坛最新话题',
|
||||
TITLE_NEWEST_TORRENTS: '最近上传的种子',
|
||||
TITLE_SEARCH: '全局搜索',
|
||||
SEARCH_SUB_TITLE: '通过关键字快速找到您想要的种子或',
|
||||
MORE_HELP_RULES: '更多规则以及帮助内容',
|
||||
MORE_GO_FORUM: '去论坛逛一下',
|
||||
SEARCH_SUB_TITLE: '通过关键字快速找到您想要的内容',
|
||||
BUTTON_MORE_NOTICE: '更多公告内容 ...',
|
||||
BUTTON_MORE_HELPER: '更多帮助内容 ...',
|
||||
MORE_VIP_RULES_AND_RIGHT: '更多 vip 规则及权益请看这里',
|
||||
SEARCH_TYPE_TORRENTS: '搜索种子',
|
||||
SEARCH_TYPE_FORUM: '搜索论坛',
|
||||
@@ -1097,7 +1097,7 @@
|
||||
//footer view
|
||||
MIT_PROTOCOL: '本项目源码受 <a href="https://github.com/twbs/bootstrap/blob/master/LICENSE" target="_blank">MIT</a> 开源协议保护',
|
||||
GIT_REPO: 'Power by ©meanTorrent,<a href="https://github.com/taobataoma/meanTorrent" target="_blank">GitHub 源码仓库</a>',
|
||||
SITE_STATEMENT: '<h3>免责声明</h3>本站仅作为用户对互联网资源的分享讨论交流平台,站内本身不提供任何资源下载,也不在服务器存储任何资源文件,用户自行分享的行为与本站无关,如果您觉得某些用户的分享侵犯了您的合法权益,请立即向我们的 <u>{{sNameDesc | translate}}</u> 发送 <strong><a href="mailto:{{sMail}}">邮件</a></strong>,我们将会尽快核实并处理。',
|
||||
SITE_STATEMENT: '<h3>免责声明</h3>本站仅作为用户对互联网资源的分享讨论交流平台,站内本身不提供任何资源下载,也不在服务器存储任何资源文件,用户自行分享的行为与本站无关,如果您觉得某些用户的分享侵犯了您的合法权益,请立即向我们的 <strong>{{sNameDesc | translate}}</strong> 发送 <strong><a href="mailto:{{sMail}}">邮件</a></strong>,我们将会尽快核实并处理。',
|
||||
TOTAL_USERS: '注册会员',
|
||||
TOTAL_VIP_USERS: 'VIP会员',
|
||||
TOTAL_TORRENTS: '种子数',
|
||||
|
||||
@@ -92,7 +92,7 @@
|
||||
}
|
||||
}
|
||||
.list-title {
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 20px;
|
||||
position: relative;
|
||||
.fa-stack {
|
||||
font-size: 30px;
|
||||
@@ -143,8 +143,11 @@
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
.fun-title {
|
||||
color: @mt-base-color;
|
||||
}
|
||||
.fun-desc {
|
||||
color: #000;
|
||||
color: #2a2a2a;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -432,7 +435,7 @@
|
||||
border-bottom: dotted 1px #000;
|
||||
.item-data {
|
||||
position: absolute;
|
||||
left: 150px;
|
||||
left: 130px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -76,20 +76,45 @@
|
||||
<div class="filter-notice">
|
||||
<div class="container">
|
||||
<div class="row">
|
||||
<div class="col-md-8">
|
||||
<div class="col-md-6">
|
||||
<div class="home-notice" ng-init="vm.getHomeNotice()">
|
||||
<!--<div class="list-title">-->
|
||||
<!--<span class="h3" translate="HOME.TITLE_NOTICE"></span>-->
|
||||
<!--</div>-->
|
||||
<div class="list-title">
|
||||
<i class="fa fa-caret-right"></i>
|
||||
<span class="h4" translate="HOME.TITLE_NOTICE"></span>
|
||||
</div>
|
||||
<div class="list-items">
|
||||
<p class="text-long" ng-repeat="t in vm.homeNoticeTopics">
|
||||
<span class="item-date">{{t.pushHomeAt | date: 'MM-dd HH:mm:ss'}} - </span>
|
||||
<a ui-sref="forums.topic({ forumId: t.forum, topicId: t._id })" title="{{t.title}}">{{t.title}}</a>
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<a class="btn btn-mt-o margin-top-15" mouse-enter-toggle-class="btn-success" base-class="btn-mt-o-primary"
|
||||
ui-sref="forums.view({ forumId: vm.forumsConfig.noticeForumId})">
|
||||
{{'HOME.BUTTON_MORE_NOTICE' | translate}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="col-md-6">
|
||||
<div class="home-notice" ng-init="vm.getHomeHelp()">
|
||||
<div class="list-title">
|
||||
<i class="fa fa-caret-right"></i>
|
||||
<span class="h4" translate="HOME.TITLE_HELP"></span>
|
||||
</div>
|
||||
<div class="list-items">
|
||||
<p class="text-long" ng-repeat="t in vm.homeHelpTopics">
|
||||
<span class="item-date">{{t.pushHomeAt | date: 'MM-dd HH:mm:ss'}} - </span>
|
||||
<a ui-sref="forums.topic({ forumId: t.forum, topicId: t._id })" title="{{t.title}}">{{t.title}}</a>
|
||||
</p>
|
||||
</div>
|
||||
<div>
|
||||
<a class="btn btn-mt-o margin-top-15" mouse-enter-toggle-class="btn-success" base-class="btn-mt-o-primary"
|
||||
ui-sref="forums.view({ forumId: vm.forumsConfig.helpForumId})">
|
||||
{{'HOME.BUTTON_MORE_HELPER' | translate}}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -132,7 +157,7 @@
|
||||
<i class="fa fa-circle fa-stack-2x"></i>
|
||||
<i class="fa {{fun.icon}} fa-stack-1x fun-icon"></i>
|
||||
</span>
|
||||
<h4 translate="{{fun.title}}"></h4>
|
||||
<h4 class="fun-title" translate="{{fun.title}}"></h4>
|
||||
<span class="fun-desc" translate="{{fun.desc}}"></span>
|
||||
</div>
|
||||
</div>
|
||||
@@ -147,6 +172,7 @@
|
||||
<div class="col-md-6">
|
||||
<div class="home-new-topic" ng-init="vm.getForumNewTopic()">
|
||||
<div class="list-title">
|
||||
<i class="fa fa-caret-right"></i>
|
||||
<span class="h4" translate="HOME.TITLE_NEW_TOPIC"></span>
|
||||
</div>
|
||||
<div class="list-items">
|
||||
@@ -160,6 +186,7 @@
|
||||
<div class="col-md-6">
|
||||
<div class="home-new-torrents" ng-init="vm.getNewestTorrents()">
|
||||
<div class="list-title">
|
||||
<i class="fa fa-caret-right"></i>
|
||||
<span class="h4" translate="HOME.TITLE_NEWEST_TORRENTS"></span>
|
||||
</div>
|
||||
<div class="list-items">
|
||||
|
||||
Reference in New Issue
Block a user