Adding device information.

This commit is contained in:
Gunther Brunner
2014-05-02 15:53:27 +09:00
parent 34c35e4095
commit a702c2bdbc
3 changed files with 16 additions and 12 deletions

View File

@@ -48,12 +48,12 @@ module.exports = angular.module('stf.device-status', [])
.filter('displayDensity', function (gettext) {
return function (text) {
return {
'0.5': 'LDPI (120 dpi)',
'1': 'MDPI (160 dpi)',
'1.5': 'HDPI (240 dpi)',
'2': 'XHDPI (320 dpi)',
'3': 'XXHDPI (480 dpi)',
'4': 'XXXHDPI (640 dpi)'
'0.5': 'LDPI', // (120 dpi)
'1': 'MDPI', // (160 dpi)
'1.5': 'HDPI', // (240 dpi)
'2': 'XHDPI', // (320 dpi)
'3': 'XXHDPI', // (480 dpi)
'4': 'XXXHDPI' // (640 dpi)
}[text] || text
}
})

View File

@@ -13,10 +13,12 @@
.stf-info .table-infocard tbody > tr > td:first-child {
text-align: right;
margin-right: 20px;
/*color: #111111;*/
font-weight: bold;
}
.stf-info .table-infocard tbody > tr > td:last-child {
font-weight: bold;
/*color: #555;*/
}
.stf-info .progress {

View File

@@ -100,7 +100,7 @@
table.table.table-condensed.table-hover.table-infocard
tbody
tr
td(translate) Operator
td(translate) Carrier
td {{device.operator}}
tr
td(translate) Network
@@ -108,12 +108,14 @@
tr
td(translate) Number
td {{device.phone.phoneNumber}}
tr
td(translate) ICCID
td {{device.phone.iccid}}
tr
td(translate) IMEI
td {{device.phone.imei}}
tr
td(translate) ICCID
td
small {{device.phone.iccid}}
.col-md-4
.widget-container.fluid-height
@@ -142,7 +144,7 @@
.col-md-4
.widget-container.fluid-height
.heading
i.fa.fa-phone
i.fa.fa-mobile
span(translate) Platform
.widget-content.padded
table.table.table-condensed.table-hover.table-infocard