Merge pull request #462 from madawas/IOTS-322

IOTS-322: Infroming users when device types are not installed
revert-70aa11f8
Harshan Liyanage 8 years ago committed by GitHub
commit 24c0966dce

@ -283,23 +283,29 @@
<div id="policy-platform-main-error-msg" class="alert alert-danger hidden" role="alert"> <div id="policy-platform-main-error-msg" class="alert alert-danger hidden" role="alert">
<i class="icon fw fw-error"></i><span></span> <i class="icon fw fw-error"></i><span></span>
</div> </div>
{{#unless types}}
<h3><i class="icon fw fw-warning"></i> No compatible device types have been installed.
Install device types to add policies.</h3>
{{/unless}}
<div class="row wr-tile-buttons-list"> <div class="row wr-tile-buttons-list">
<div class="wr-input-control"> <div class="wr-input-control">
<ul class="tile-buttons row"> <ul class="tile-buttons row">
{{#each types}} {{#if types}}
<li class="col-xs-12 col-sm-12 col-md-4 col-lg-4" {{#each types}}
style="margin-top: 5px; margin-bottom: 5px;"> <li class="col-xs-12 col-sm-12 col-md-4 col-lg-4"
<a href="javascript:void(0)" style="margin-top: 5px; margin-bottom: 5px;">
class="{{name}}-platform wizard-stepper" <a href="javascript:void(0)"
data-current="policy-platform" class="{{name}}-platform wizard-stepper"
data-next="policy-profile" data-current="policy-platform"
data-platform="{{name}}" data-next="policy-profile"
data-validate="false"> data-platform="{{name}}"
<img src="{{icon}}" width="50px" height="50px"><br><br> data-validate="false">
<b>{{label}}</b> <img src="{{icon}}" width="50px" height="50px"><br><br>
</a> <b>{{label}}</b>
</li> </a>
{{/each}} </li>
{{/each}}
{{/if}}
</ul> </ul>
</div> </div>
</div> </div>

Loading…
Cancel
Save