diff --git a/public/modules/users/views/settings/accounts.html b/public/modules/users/views/settings/accounts.html new file mode 100644 index 0000000000..ffc1c8f0b6 --- /dev/null +++ b/public/modules/users/views/settings/accounts.html @@ -0,0 +1,26 @@ +<section class="row" data-ng-controller="SettingsController"> + <h3 class="col-md-12 text-center" data-ng-show="hasConnectedAdditionalSocialAccounts()">Connected social accounts:</h3> + <div class="col-md-12 text-center"> + <div data-ng-repeat="(providerName, providerData) in user.additionalProvidersData" class="remove-account-container"> + <img ng-src="/modules/users/img/buttons/{{providerName}}.png"> + <a class="btn btn-danger btn-remove-account" data-ng-click="removeUserSocialAccount(providerName)"> + <i class="glyphicon glyphicon-trash"></i> + </a> + </div> + </div> + <h3 class="col-md-12 text-center">Connect other social accounts:</h3> + <div class="col-md-12 text-center"> + <a href="/auth/facebook" data-ng-hide="isConnectedSocialAccount('facebook')" class="undecorated-link"> + <img src="/modules/users/img/buttons/facebook.png"> + </a> + <a href="/auth/twitter" data-ng-hide="isConnectedSocialAccount('twitter')" class="undecorated-link"> + <img src="/modules/users/img/buttons/twitter.png"> + </a> + <a href="/auth/google" data-ng-hide="isConnectedSocialAccount('google')" class="undecorated-link"> + <img src="/modules/users/img/buttons/google.png"> + </a> + <a href="/auth/linkedin" data-ng-hide="isConnectedSocialAccount('linkedin')" class="undecorated-link"> + <img src="/modules/users/img/buttons/linkedin.png"> + </a> + </div> +</section> \ No newline at end of file