Merge pull request #830 from DimalChandrasiri/master

Fixes Both #1113 and #1083 issues
4.x.x
Geeth 7 years ago committed by GitHub
commit 239a27f5b0

@ -209,7 +209,7 @@
data-search="{{platform}}" data-search="{{platform}}"
data-display="{{platform}}"> data-display="{{platform}}">
</td> </td>
<td class="remove-padding-top" <td class="remove-padding-top hidden"
data-search="{{ownershipType}}" data-search="{{ownershipType}}"
data-display="{{ownershipType}}" data-display="{{ownershipType}}"
data-grid-label="Ownership"> data-grid-label="Ownership">

@ -36,7 +36,7 @@
} }
</style> </style>
{{#each control_operations}} {{#each control_operations}}
<a href="javascript:operationSelect('{{operation}}')"> <a class='operation-tile' href="javascript:operationSelect('{{operation}}')">
<i class="fw fw-service"></i> <i class="fw fw-service"></i>
<span>{{name}}</span> <span>{{name}}</span>
</a> </a>

@ -35,7 +35,7 @@
} }
</style> </style>
{{#each control_operations}} {{#each control_operations}}
<a href="javascript:operationSelect('{{operation}}')"> <a class='operation-tile' href="javascript:operationSelect('{{operation}}')">
{{#if iconFont}} {{#if iconFont}}
<i class="fw {{iconFont}}"></i> <i class="fw {{iconFont}}"></i>
{{else}} {{else}}

@ -66,7 +66,7 @@ var disableInlineError = function (inputField, errorMsg, errorSign) {
*/ */
function loadGroups(callback) { function loadGroups(callback) {
invokerUtil.get( invokerUtil.get(
"/api/device-mgt/v1.0/groups", "/api/device-mgt/v1.0/admin/groups",
function (data) { function (data) {
data = JSON.parse(data); data = JSON.parse(data);
callback(data.deviceGroups); callback(data.deviceGroups);

@ -2844,6 +2844,31 @@ a.ast-type-item:hover {
} }
/* operations panel/board */ /* operations panel/board */
.operation-tile{
width: 88px;
height: 100px;
background-color: #ebebeb;
float: left;
margin: 0px 10px 10px 0px;
cursor: pointer;
position: relative;
}
.operation-tile i{
padding: 15px 0px 0px 0px;
display: block;
min-height: 65px;
margin: -5px !important;
font-size: 36px !important;
}
.operation-tile span{
height: 35px;
line-height: 15px;
vertical-align: middle;
display: table-cell !important;
width: inherit;
}
.wr-operations-board { .wr-operations-board {
background: #fafafa; background: #fafafa;
margin-bottom: 10px; margin-bottom: 10px;

Loading…
Cancel
Save