Opal-Estate-Pro/node_modules/browser-sync-ui/lib/plugins/history/history.directive.html
2019-09-13 09:44:33 +07:00

20 lines
874 B
HTML

<ul bs-list="bordered inline-controls" ng-if="ctrl.visited" id="bs-history-list">
<li ng-repeat="url in ctrl.visited track by $index">
<p>{{url.path}}</p>
<div bs-button-group>
<new-tab url="{{ctrl.utils.localUrl(url.path)}}" mode="options.mode"></new-tab>
<a href="#"
title="Sync all devices to this address."
bs-button="subtle-alt icon-left"
ng-click="ctrl.sendAllTo(url)"
ng-class="{success: url.success}"
>
<icon icon="circle-ok" bs-state="success"></icon>
<icon icon="syncall" bs-state="default"></icon> Sync all
</a>
<a href="#" bs-button="subtle-alt icon" bs-remove ng-click="ctrl.removeVisited(url)">
<icon icon="bin"></icon>
</a>
</div>
</li>
</ul>