work.suroh.tk/node_modules/browser-sync-ui/lib/plugins/sync-options/sync-options.html

25 lines
879 B
HTML
Raw Normal View History

2019-12-02 12:22:45 +00:00
<article>
<div bs-panel="controls outline">
<h1 bs-heading>
<icon icon="{{ctrl.section.icon}}"></icon>
{{ctrl.section.title}}
</h1>
</div>
<div bs-button-row>
<button bs-button="icon-left inline success" ng-click="ctrl.setMany(true)">
<svg bs-svg-icon><use xlink:href="#svg-circle-ok"></use></svg>
Enable All
</button>
<button bs-button="icon-left inline" ng-click="ctrl.setMany(false)">
<svg bs-svg-icon><use xlink:href="#svg-circle-delete"></use></svg>
Disable all
</button>
</div>
<switch toggle="ctrl.toggleSyncItem(item)"
switchid="sync-options-{{$index}}"
active="item.value"
prop="value"
ng-repeat="item in ctrl.syncItems track by $index"
item="item"></switch>
</article>