unserver-unify
Version:
75 lines • 2.91 kB
HTML
<div ng-controller="BbsTopicsCtrl as ctrl">
<div class="container-fluid" ng-if="currentSchool && slides && slides.length > 0">
<div uib-carousel active="active" interval="myInterval">
<div uib-slide ng-repeat="slide in slides" index="$index">
<img ng-src="{{schoolUrl+slide.img}}" style="margin:auto;width:100%;max-height:300px">
</div>
</div>
<!--<div class="col-md-3"ng-include src="'app/topic/topicsidebar.html'"></div>-->
<br>
</div>
<div class="col-md-12" ng-if="bbsStatus | isEmpty">
<div translate="" class="no_record">
No Record
</div>
</div>
<div ng-repeat="subStatus in bbsStatus">
<div class="container-fluid">
<div class="headline margin-bottom-15">
<h3>{{subStatus.key}}</h3>
</div>
</div>
<!-- Dynamic forum -->
<div ng-repeat="item in subStatus.bbss">
<div class="col-md-4 col-sm-6">
<div class="service-block {{item.color}} forum_box box-shadow shadow-effect-1 service-or cursor-pointer" ui-sref="index.bbs.tab({subkey:item.key})">
<div class="service-bg"></div>
<i class="icon-custom icon-color-light rounded-x fa fa-comments"></i>
<h2 class="heading-md" style="min-height:50px;">
<span><a ui-sref="index.bbs.tab({subkey:item.key})">{{item.key}}</a></span>
</h2>
<p class="panel-title" style="font-size:x-small;">
<table style="width:100%">
<tr>
<td with="50%" style="text-align:left;">
<font color="white">
{{'Topics' | translate}}: {{item.status.topics||0}}
</font>
</td>
<td with="50%">
<font color="white">
{{'Replies'|translate}}: {{item.status.replys||0}}
</font>
</td>
</tr>
<tr>
<td with="50%" style="text-align:left">
<font color="white">
{{ {eng:'New Topics',chn:'新话题'}|trans }}: {{item.status.newtopics||0}}
</font>
</td>
<td with="50%">
<font color="white">
{{'Visit Count'|translate}}: {{item.status.visits||0}}
</font>
</td>
</tr>
<tr>
<td style="text-align:left" >
<font color="white">
{{ {eng:'Last repliy',chn:'最新回复'}|trans }}: {{ item.status.lastreply | date: 'yyyy-MM-dd' }}
</font>
</td>
</tr>
</table>
</p>
</div>
</div>
</div>
<div class="clearfix"></div>
</div>
<!-- <div ng-if="!bbsStatus" class="content_loader">
<img src="assets/images/preloader.gif">
</div> -->
<!-- Dynamic forum end -->
</div>