UI: IE11 layout fixes.
This commit is contained in:
parent
b951314b96
commit
25bdf8adde
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
<div flex layout="column" style="margin-top: -10px;">
|
<div flex layout="column" style="margin-top: -10px;">
|
||||||
<div flex style="text-transform: uppercase; padding-bottom: 10px;">{{vm.item.type}}</div>
|
<div style="text-transform: uppercase; padding-bottom: 10px;">{{vm.item.type}}</div>
|
||||||
<div class="tb-small" ng-show="vm.isAssignedToCustomer()">{{'asset.assignedToCustomer' | translate}} '{{vm.item.assignedCustomer.title}}'</div>
|
<div class="tb-small" ng-show="vm.isAssignedToCustomer()">{{'asset.assignedToCustomer' | translate}} '{{vm.item.assignedCustomer.title}}'</div>
|
||||||
<div class="tb-small" ng-show="vm.isPublic()">{{'asset.public' | translate}}</div>
|
<div class="tb-small" ng-show="vm.isPublic()">{{'asset.public' | translate}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -77,8 +77,8 @@ export default function AssignAssetToCustomerController(customerService, assetSe
|
|||||||
|
|
||||||
function assign() {
|
function assign() {
|
||||||
var tasks = [];
|
var tasks = [];
|
||||||
for (var assetId in assetIds) {
|
for (var i=0;i<assetIds.length;i++) {
|
||||||
tasks.push(assetService.assignAssetToCustomer(vm.customers.selection.id.id, assetIds[assetId]));
|
tasks.push(assetService.assignAssetToCustomer(vm.customers.selection.id.id, assetIds[i]));
|
||||||
}
|
}
|
||||||
$q.all(tasks).then(function () {
|
$q.all(tasks).then(function () {
|
||||||
$mdDialog.hide();
|
$mdDialog.hide();
|
||||||
|
|||||||
@ -77,8 +77,8 @@ export default function AssignDeviceToCustomerController(customerService, device
|
|||||||
|
|
||||||
function assign() {
|
function assign() {
|
||||||
var tasks = [];
|
var tasks = [];
|
||||||
for (var deviceId in deviceIds) {
|
for (var i=0;i<deviceIds.length;i++) {
|
||||||
tasks.push(deviceService.assignDeviceToCustomer(vm.customers.selection.id.id, deviceIds[deviceId]));
|
tasks.push(deviceService.assignDeviceToCustomer(vm.customers.selection.id.id, deviceIds[i]));
|
||||||
}
|
}
|
||||||
$q.all(tasks).then(function () {
|
$q.all(tasks).then(function () {
|
||||||
$mdDialog.hide();
|
$mdDialog.hide();
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
<div flex layout="column" style="margin-top: -10px;">
|
<div flex layout="column" style="margin-top: -10px;">
|
||||||
<div flex style="text-transform: uppercase; padding-bottom: 10px;">{{vm.item.type}}</div>
|
<div style="text-transform: uppercase; padding-bottom: 10px;">{{vm.item.type}}</div>
|
||||||
<div class="tb-small" ng-show="vm.isAssignedToCustomer()">{{'device.assignedToCustomer' | translate}} '{{vm.item.assignedCustomer.title}}'</div>
|
<div class="tb-small" ng-show="vm.isAssignedToCustomer()">{{'device.assignedToCustomer' | translate}} '{{vm.item.assignedCustomer.title}}'</div>
|
||||||
<div class="tb-small" ng-show="vm.isPublic()">{{'device.public' | translate}}</div>
|
<div class="tb-small" ng-show="vm.isPublic()">{{'device.public' | translate}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
-->
|
-->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html ng-app="thingsboard" ng-strict-di>
|
<html ng-app="thingsboard" ng-strict-di style="width: 100%;">
|
||||||
<head>
|
<head>
|
||||||
<title ng-bind="pageTitle"></title>
|
<title ng-bind="pageTitle"></title>
|
||||||
<base href="/" />
|
<base href="/" />
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user