fix(torrents): fixed media info css

This commit is contained in:
OldHawk
2018-05-19 23:43:06 +08:00
parent 8a03c0bec1
commit 98d4166257
3 changed files with 10 additions and 10 deletions

View File

@@ -1596,10 +1596,10 @@
MEDIAINFO: {
GENERAL: {
SELF: '资源通用信息',
FILESIZE: '资源总体积',
RUNTIME: '资源总时长',
DURATION: '资源总时长',
OVERALLBITRATE: '资源总码率'
FILESIZE: '总体积',
RUNTIME: '总时长',
DURATION: '总时长',
OVERALLBITRATE: '总码率'
},
VIDEO: {
SELF: '视频信息',

View File

@@ -226,7 +226,7 @@ pre.prettyprint {
legend {
font-size: 14px;
font-weight: 400;
color: #7a7a7a;
color: #333;
margin-bottom: 6px;
border-bottom: solid 1px #d0d0d0;
}

View File

@@ -680,7 +680,7 @@
<div class="col-md-10">
<div class="media-info-formated">
<legend ng-repeat-start="(key, value) in vm.torrentLocalInfo.torrent_media_info track by $index">
{{'MEDIAINFO.'+key.toUpperCase()+'.SELF' | translate}}:
{{'MEDIAINFO.'+key.toUpperCase()+'.SELF' | translate}}
</legend>
<div class="info-value" ng-repeat-end>
<dl class="dl-horizontal dl-media-info">
@@ -691,19 +691,19 @@
<div ng-if="subKey!='info' && subKey!='language' && subKey!='codec'">
<div>{{subValue}}</div>
</div>
<div ng-if="subKey=='info'" ng-repeat="ifo in subValue track by $index">
<div>{{ifo}}</div>
</div>
<div ng-if="subKey=='language'">
<span ng-if="key=='audio'" ng-repeat="lang in subValue">
<div>{{lang}}</div>
</span>
<span ng-if="key=='text'" ng-repeat="lang in subValue">
<span ng-repeat="lang in subValue">
<span class="flag-group">
<span class="flag-icon {{vm.mediaInfoConfig.subtitles.flag[lang.toLowerCase()].class}}"></span>{{lang}}
</span>
</span>
</div>
<div ng-if="subKey=='codec'">
<span ng-if="key=='video'">
<div>{{subValue}}</div>