plugins.html 1.12 KB
<div bs-panel="controls outline">
    <h1 bs-heading>
        <icon icon="{{ctrl.section.icon}}"></icon>
        {{ctrl.section.title}}
    </h1>
    <div ng-if="ui.plugins.length" bs-button-row>
        <button bs-button="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="inline" ng-click="ctrl.setMany(false)">
            <svg bs-svg-icon="">
                <use xlink:href="#svg-circle-delete"></use>
            </svg>
            Disable all
        </button>
    </div>
</div>

%pluginlist%

<section ng-if="!ctrl.ui.plugins.length">
    <div bs-panel>
        <div bs-panel-content="basic">
            <p bs-text="lede">Sorry, no plugins were loaded</p>
            <p>You can either write your own plugin (guide coming soon!) or <a href="https://www.npmjs.org/search?q=browser%20sync%20plugin" target="_blank">Search NPM</a>
                for packages that contain the keywords <code>browser sync plugin</code>
            </p>
        </div>
    </div>
</section>