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,9 +283,14 @@
<div id="policy-platform-main-error-msg" class="alert alert-danger hidden" role="alert">
<i class="icon fw fw-error"></i><span></span>
</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="wr-input-control">
<ul class="tile-buttons row">
{{#if types}}
{{#each types}}
<li class="col-xs-12 col-sm-12 col-md-4 col-lg-4"
style="margin-top: 5px; margin-bottom: 5px;">
@ -300,6 +305,7 @@
</a>
</li>
{{/each}}
{{/if}}
</ul>
</div>
</div>

Loading…
Cancel
Save