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 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.isPublic()">{{'asset.public' | translate}}</div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
@ -77,8 +77,8 @@ export default function AssignAssetToCustomerController(customerService, assetSe
 | 
			
		||||
 | 
			
		||||
    function assign() {
 | 
			
		||||
        var tasks = [];
 | 
			
		||||
        for (var assetId in assetIds) {
 | 
			
		||||
            tasks.push(assetService.assignAssetToCustomer(vm.customers.selection.id.id, assetIds[assetId]));
 | 
			
		||||
        for (var i=0;i<assetIds.length;i++) {
 | 
			
		||||
            tasks.push(assetService.assignAssetToCustomer(vm.customers.selection.id.id, assetIds[i]));
 | 
			
		||||
        }
 | 
			
		||||
        $q.all(tasks).then(function () {
 | 
			
		||||
            $mdDialog.hide();
 | 
			
		||||
 | 
			
		||||
@ -77,8 +77,8 @@ export default function AssignDeviceToCustomerController(customerService, device
 | 
			
		||||
 | 
			
		||||
    function assign() {
 | 
			
		||||
        var tasks = [];
 | 
			
		||||
        for (var deviceId in deviceIds) {
 | 
			
		||||
            tasks.push(deviceService.assignDeviceToCustomer(vm.customers.selection.id.id, deviceIds[deviceId]));
 | 
			
		||||
        for (var i=0;i<deviceIds.length;i++) {
 | 
			
		||||
            tasks.push(deviceService.assignDeviceToCustomer(vm.customers.selection.id.id, deviceIds[i]));
 | 
			
		||||
        }
 | 
			
		||||
        $q.all(tasks).then(function () {
 | 
			
		||||
            $mdDialog.hide();
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@
 | 
			
		||||
 | 
			
		||||
-->
 | 
			
		||||
<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.isPublic()">{{'device.public' | translate}}</div>
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@
 | 
			
		||||
 | 
			
		||||
-->
 | 
			
		||||
<!DOCTYPE html>
 | 
			
		||||
<html ng-app="thingsboard" ng-strict-di>
 | 
			
		||||
<html ng-app="thingsboard" ng-strict-di style="width: 100%;">
 | 
			
		||||
  <head>
 | 
			
		||||
    <title ng-bind="pageTitle"></title>
 | 
			
		||||
    <base href="/" />
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user