Moves all the external login services into a set of classes that share as much code as possible. These services are then registered on both the client and server, allowing us in the followup change to dynamically register new handlers
13 lines
616 B
HTML
13 lines
616 B
HTML
<span class="external-login-button-element">
|
|
<a ng-class="isLink ? '' : 'btn btn-primary btn-block'"
|
|
ng-click="startSignin()" style="margin-bottom: 10px"
|
|
ng-disabled="signingIn">
|
|
<span class="icon-image-view" value="{{ provider.icon }}"></span>
|
|
<span class="login-text" ng-if="action != 'attach'" style="vertical-align: middle">
|
|
<span class="prefix">Sign in with </span><span class="suffix">{{ provider.title }}</span>
|
|
</span>
|
|
<span class="login-text" ng-if="action == 'attach'" style="vertical-align: middle">
|
|
Attach to {{ provider.title }}
|
|
</span>
|
|
</a>
|
|
</span>
|