openmct/platform/forms/res/templates/controls/button.html
Victor Woeltjen a9ebd1b869 [Forms] Allow buttons to be disabled
Allow buttons to be disabled, particularly for use
in toolbars. WTD-684.
2015-01-15 15:27:31 -08:00

12 lines
342 B
HTML

<a href=""
class="t-btn l-btn s-btn s-icon-btn s-very-subtle"
ng-class="{ labeled: structure.text, disabled: structure.disabled }"
ng-click="structure.click()">
<span class="ui-symbol icon">
{{structure.glyph}}
</span>
<span class="title-label" ng-if="structure.text">
{{structure.text}}
</span>
</a>