You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
760 B
20 lines
760 B
2 years ago
|
<section bs-panel="switch" ng-class="{'disabled': !active}">
|
||
|
<div bs-panel-content>
|
||
|
<div bs-panel-icon>
|
||
|
<div class="switch">
|
||
|
<input id="{{switchid}}"
|
||
|
ng-model="item[prop]"
|
||
|
ng-change="toggle(item)"
|
||
|
class="cmn-toggle cmn-toggle-round"
|
||
|
type="checkbox"
|
||
|
checked="">
|
||
|
<label for="{{switchid}}"></label>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
<p bs-text="lede">{{item.title}}</p>
|
||
|
<p ng-show="item.tagline && item.tagline.length" ng-bind-html="item.tagline">{{item.tagline}}</p>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div ng-transclude ng-if="item.active"></div>
|
||
|
</section>
|