2015-04-02 20:34:41 +00:00
< div class = "resource-view user-view"
resource="userResource"
error-message="'User not found'">
< div class = "page-content" >
< div class = "cor-title" >
< span class = "cor-title-link" > < / span >
< span class = "cor-title-content" >
2015-04-07 22:33:43 +00:00
< span class = "avatar" size = "32" data = "viewuser.avatar" > < / span >
< span class = "user-name" > {{ viewuser.username }}< / span >
2015-04-02 20:34:41 +00:00
< / span >
< / div >
2015-04-07 22:33:43 +00:00
< div class = "co-main-content-panel user-repo-list" ng-if = "!viewuser.is_me" >
2015-04-03 18:55:09 +00:00
< div class = "repo-list-grid"
repositories-resource="repositoriesResource"
starred="false"
namespace="namespace"
hide-title="true">< / div >
< / div >
2015-04-07 22:33:43 +00:00
< div class = "cor-tab-panel" ng-if = "viewuser.is_me" >
< div class = "cor-tabs" quay-show = "viewuser.is_me" >
2015-04-02 20:34:41 +00:00
< span class = "cor-tab" tab-active = "true" tab-title = "Repositories" tab-target = "#repos" >
< i class = "fa fa-hdd-o" > < / i >
< / span >
< span class = "cor-tab" tab-title = "Robot Accounts" tab-target = "#robots" >
< i class = "fa fa-wrench" > < / i >
< / span >
< span class = "cor-tab" tab-title = "User Settings" tab-target = "#settings" >
< i class = "fa fa-gears" > < / i >
< / span >
< span class = "cor-tab" tab-title = "Billing" tab-target = "#usage"
quay-show="Features.BILLING">
< i class = "fa fa-credit-card" > < / i >
< / span >
< span class = "cor-tab" tab-title = "Billing Invoices" tab-target = "#invoices"
tab-init="showInvoices()" quay-show="Features.BILLING">
< i class = "fa ci-invoice" > < / i >
< / span >
< span class = "cor-tab" tab-title = "External Logins" tab-target = "#external" >
< i class = "fa fa-external-link-square" > < / i >
< / span >
< span class = "cor-tab" tab-title = "Authorized Applications" tab-target = "#applications"
tab-init="showApplications()">
< i class = "fa ci-application" > < / i >
< / span >
< / div > <!-- /cor - tabs -->
< div class = "cor-tab-content" >
<!-- Repositories -->
< div id = "repos" class = "tab-pane active" >
< h3 > Repositories< / h3 >
< div class = "repo-list-grid"
repositories-resource="repositoriesResource"
starred="false"
namespace="namespace"
hide-title="true">
< / div >
< / div >
<!-- Robot Accounts -->
< div id = "robots" class = "tab-pane" >
2015-04-07 22:33:43 +00:00
< div class = "robots-manager" user = "viewuser" > < / div >
2015-04-02 20:34:41 +00:00
< / div >
<!-- External Logins -->
< div id = "external" class = "tab-pane" >
2015-04-07 22:33:43 +00:00
< div class = "external-logins-manager" user = "viewuser" > < / div >
2015-04-02 20:34:41 +00:00
< / div >
<!-- Applications -->
< div id = "applications" class = "tab-pane" >
2015-04-07 22:33:43 +00:00
< div class = "authorized-apps-manager" user = "viewuser" is-enabled = "showAppsCounter" > < / div >
2015-04-02 20:34:41 +00:00
< / div >
<!-- Plan and Usage -->
< div id = "usage" class = "tab-pane" quay-require = "['BILLING']" >
< h3 > Plan Usage and Billing< / h3 >
2015-04-07 22:33:43 +00:00
< div class = "plan-manager" user = "viewuser" > < / div >
2015-04-02 20:34:41 +00:00
< / div >
<!-- Billing Invoices -->
< div id = "invoices" class = "tab-pane" quay-require = "['BILLING']" >
< h3 > Billing Invoices< / h3 >
2015-04-07 22:33:43 +00:00
< div class = "billing-invoices" user = "viewuser"
2015-04-02 20:34:41 +00:00
makevisible="showInvoicesCounter">< / div >
< / div >
<!-- Settings -->
< div id = "settings" class = "tab-pane" >
< h3 > User Settings< / h3 >
<!-- E - mail address -->
< div class = "co-panel" quay-show = "Features.MAILING" >
< div class = "co-panel-heading" > < i class = "fa fa-envelope-o" > < / i > E-mail Address< / div >
< div class = "panel-body" style = "padding-top: 5px;" >
2015-04-03 21:47:39 +00:00
< div class = "co-alert co-alert-success" ng-show = "changeEmailInfo.state == 'sent'" >
2015-04-02 20:34:41 +00:00
An e-mail has been sent to {{ sentEmail }} to verify the change.
< / div >
< div class = "cor-loader" ng-show = "changeEmailInfo.state == 'sending'" > < / div >
< div ng-show = "changeEmailInfo.state != 'sending'" >
< form class = "form-change user-settings-form"
id="changeEmailForm" name="changeEmailForm"
ng-submit="changeEmail(); changeEmailForm.$setPristine()"
ng-show="!awaitingConfirmation & & !registering">
< div class = "row" >
< table class = "col-md-6" >
< tr >
< td > Current E-mail Address:< / td >
2015-04-07 22:33:43 +00:00
< td > {{ viewuser.email }}< / td >
2015-04-02 20:34:41 +00:00
< / tr >
< tr >
< td > New E-mail Address:< / td >
< td >
< input type = "email" class = "form-control"
placeholder="Your new e-mail address"
ng-model="changeEmailInfo.email" required>
< / td >
< / tr >
< / table >
< / div >
< button class = "btn btn-primary"
2015-04-07 22:33:43 +00:00
ng-disabled="changeEmailForm.$invalid || changeEmail.email == viewuser.email"
2015-04-02 20:34:41 +00:00
type="submit">
Change E-mail Address
< / button >
< / form >
< / div >
< / div >
< / div > <!-- /E - mail -->
<!-- Password -->
< div class = "co-panel" style = "margin-bottom: 0px" >
< div class = "co-panel-heading" > < i class = "fa fa-lock" > < / i > Password< / div >
< div class = "panel-body" style = "padding-top: 5px;" >
< div class = "cor-loader" ng-show = "changePasswordInfo.state == 'changing'" > < / div >
<!-- Encrypted Password -->
< div class = "row" ng-show = "changePasswordInfo.state !='changing'" >
< div class = "panel" >
< div class = "panel-title" > Generate Encrypted Password< / div >
< div class = "panel-body" >
2015-04-03 21:47:39 +00:00
< div class = "co-alert co-alert-info" ng-if = "!Features.REQUIRE_ENCRYPTED_BASIC_AUTH" >
2015-04-02 20:34:41 +00:00
Due to Docker storing passwords entered on the command line in < strong > plaintext< / strong > , it is highly recommended to use the button below to generate an an encrypted version of your password.
< / div >
2015-04-03 21:47:39 +00:00
< div class = "co-alert co-alert-warning" ng-if = "Features.REQUIRE_ENCRYPTED_BASIC_AUTH" >
2015-04-02 20:34:41 +00:00
This installation is set to < strong > require< / strong > encrypted passwords when
using the Docker command line interface. To generate an encrypted password, click the button below.
< / div >
< button class = "btn btn-primary" ng-click = "generateClientToken()" >
< i class = "fa fa-key" style = "margin-right: 6px;" > < / i > Generate Encrypted Password
< / button >
< / div >
< / div >
< / div >
<!-- Change Password -->
< div class = "row" ng-show = "changePasswordInfo.state !='changing'" >
< div class = "panel" >
< div class = "panel-title" > Change Password< / div >
< span class = "help-block" ng-show = "changePasswordInfo.state == 'changed'" >
Password changed successfully
< / span >
< div class = "panel-body" >
2015-04-03 21:47:39 +00:00
< div class = "co-alert co-alert-warning" > Note: Changing your password will also invalidate any generated encrypted passwords.< / div >
2015-04-02 20:34:41 +00:00
< form class = "form-change col-md-6" id = "changePasswordForm" name = "changePasswordForm" ng-submit = "changePassword(); changePasswordForm.$setPristine()"
ng-show="!awaitingConfirmation & & !registering">
< input type = "password" class = "form-control" placeholder = "Your new password" ng-model = "changePasswordInfo.password" required
ng-pattern="/^.{8,}$/">
< input type = "password" class = "form-control" placeholder = "Verify your new password" ng-model = "changePasswordInfo.repeatPassword"
match="changePasswordInfo.password" required ng-pattern="/^.{8,}$/">
< button class = "btn btn-danger" ng-disabled = "changePasswordForm.$invalid" type = "submit"
analytics-on analytics-event="change_pass">Change Password< / button >
< / form >
< / div >
< / div >
< / div >
< / div >
< / div > <!-- /Password -->
<!-- Convert -->
< div class = "co-panel" quay-show = "Config.AUTHENTICATION_TYPE == 'Database'" >
< div class = "co-panel-heading" > < i class = "fa fa-group" > < / i > Convert to organization< / div >
< div class = "panel-body" style = "padding-top: 5px;" >
2015-04-07 22:33:43 +00:00
< div class = "convert-user-to-org" user = "viewuser" > < / div >
2015-04-02 20:34:41 +00:00
< / div >
< / div >
< / div > <!-- /Convert -->
< / div > <!-- /cor - tab - content -->
< / div >
< / div >
<!-- Modal message dialog -->
< div class = "modal fade" id = "clientTokenModal" >
< div class = "modal-dialog" >
< div class = "modal-content" >
< div class = "modal-header" >
< button type = "button" class = "close" data-dismiss = "modal" aria-hidden = "true" > × < / button >
< h4 class = "modal-title" > Encrypted Password< / h4 >
< / div >
< div class = "modal-body" >
< div style = "margin-bottom: 10px;" > Your generated encrypted password:< / div >
< div class = "copy-box" value = "generatedClientToken" > < / div >
< / div >
< div class = "modal-footer" >
< button type = "button" class = "btn btn-default" data-dismiss = "modal" > Dismiss< / button >
< / div >
< / div > <!-- /.modal - content -->
< / div > <!-- /.modal - dialog -->
< / div > <!-- /.modal -->
< / div >