Show More
user-identities-view.html
48 lines
| 2.5 KiB
| text/html
|
HtmlLexer
r79 | <ng-include src="'templates/loader.html'" ng-if="$ctrl.loading.identities"></ng-include> | |||
r0 | ||||
r79 | <div ng-show="!$ctrl.loading.identities"> | |||
r0 | ||||
<div class="panel panel-default"> | ||||
<div class="panel-heading" ng-include="'templates/user/breadcrumbs.html'"></div> | ||||
<div class="panel-body"> | ||||
<div class="col-sm-6"> | ||||
r79 | <p ng-show="$ctrl.identities.length === 0">No external providers linked yet</p> | |||
r0 | <ul class="list-group"> | |||
r79 | <li ng-repeat="provider in $ctrl.identities" class="animate-repeat list-group-item"> | |||
r0 | <div class="pull-right"> | |||
<span class="dropdown" data-uib-dropdown on-toggle="toggled(open)"> | ||||
<a class="btn btn-danger btn-xs" data-uib-dropdown-toggle><span class="fa fa-trash-o"></span></a> | ||||
<ul class="dropdown-menu"> | ||||
<li><a>No</a></li> | ||||
r79 | <li><a ng-click="$ctrl.removeProvider(provider)">Yes</a></li> | |||
r0 | </ul> | |||
</span> | ||||
</div> | ||||
<em>@{{ provider.provider }}</em>: <strong>{{ provider.id }}</strong> | ||||
</li> | ||||
</ul> | ||||
</div> | ||||
<div class="col-sm-6"> | ||||
<ul class="list-group"> | ||||
<li class="list-group-item"> | ||||
r79 | <a href="{{$ctrl.AeConfig.urls.social_auth.google}}" target="_self"> | |||
r0 | <span class="fa fa-google-plus-square fa-2x"></span> Connect with Google</a> | |||
</li> | ||||
<li class="list-group-item"> | ||||
r79 | <a href="{{$ctrl.AeConfig.urls.social_auth.twitter}}" target="_self"> | |||
r0 | <span class="fa fa-twitter fa-2x"></span> Connect with Twitter</a> | |||
</li> | ||||
<li class="list-group-item"> | ||||
r79 | <a href="{{$ctrl.AeConfig.urls.social_auth.bitbucket}}" target="_self"> | |||
r0 | <span class="fa fa-bitbucket fa-2x"></span> Connect with Bitbucket</a> | |||
</li> | ||||
<li class="list-group-item"> | ||||
r79 | <a href="{{$ctrl.AeConfig.urls.social_auth.github}}" target="_self"> | |||
r0 | <span class="fa fa-github fa-2x"></span> Connect with Github including private repo access</a> | |||
</li> | ||||
</ul> | ||||
</div> | ||||
</div> | ||||
</div> | ||||
</div> | ||||