mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-02-23 06:40:59 +01:00
feat(forums): add forums item into search btn group
This commit is contained in:
@@ -701,6 +701,7 @@
|
||||
ATTACHE_DOWNLOAD_SUCCESSFULLY: 'Attach file download successfully',
|
||||
ATTACHE_DOWNLOAD_FAILED: 'Attach file download failed',
|
||||
FLOOR_POSTER: 'OWN',
|
||||
ALL_FORUMS: 'All Forums',
|
||||
|
||||
CATEGORY: {
|
||||
AFFAIRS: 'Affairs',
|
||||
|
||||
@@ -701,6 +701,7 @@
|
||||
ATTACHE_DOWNLOAD_SUCCESSFULLY: '附件文件下载成功',
|
||||
ATTACHE_DOWNLOAD_FAILED: '附件文件下载失败',
|
||||
FLOOR_POSTER: '楼主',
|
||||
ALL_FORUMS: '所有论坛',
|
||||
|
||||
CATEGORY: {
|
||||
AFFAIRS: '站务区',
|
||||
|
||||
@@ -630,7 +630,20 @@ em {
|
||||
button {
|
||||
&:first-child {
|
||||
border-radius: 0;
|
||||
width: auto;
|
||||
}
|
||||
}
|
||||
ul {
|
||||
li {
|
||||
&.item-divider {
|
||||
margin-top: 8px;
|
||||
padding-top: 8px;
|
||||
border-top: solid 1px #ccc;
|
||||
}
|
||||
}
|
||||
}
|
||||
.dropdown-menu-right {
|
||||
right: 38px;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
<div class="pagetop">
|
||||
<div class="pagetop" ng-controller="ForumsSearchController as vm" ng-init="vm.init();">
|
||||
<div class="container">
|
||||
<div class="col-sm-8">
|
||||
<div class="page-header">
|
||||
@@ -14,15 +14,15 @@
|
||||
|
||||
<div class="input-group-btn">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown" aria-haspopup="true"
|
||||
aria-expanded="false">Action <span class="caret"></span></button>
|
||||
aria-expanded="false">{{vm.selectedForum.name}} <span class="caret"></span></button>
|
||||
<ul class="dropdown-menu dropdown-menu-right">
|
||||
<li><a href="#">Action</a></li>
|
||||
<li><a href="#">Another action</a></li>
|
||||
<li><a href="#">Something else here</a></li>
|
||||
<li role="separator" class="divider"></li>
|
||||
<li><a href="#">Separated link</a></li>
|
||||
<li ng-repeat="f in vm.forumList" ng-class="{'item-divider': f.divider}">
|
||||
<a href="#" ng-click="vm.selectedForum = f;">{{f.name}}</a>
|
||||
</li>
|
||||
</ul>
|
||||
<button type="button" class="btn btn-default" aria-label="Search"><span class="glyphicon glyphicon-search"></span>
|
||||
<button type="button" class="btn btn-default" aria-label="Search"
|
||||
ng-click="vm.doSearch();">
|
||||
<span class="glyphicon glyphicon-search"></span>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user