mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-20 12:55:47 +02:00
Adding device information.
This commit is contained in:
@@ -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
|
||||
}
|
||||
})
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user