aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-settings/my-account-settings.component.html
blob: 666205de67f8553df8f3bfb732f182bf969619b8 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                              
 



                                              
                                                                                                                                                  


        

                                                     
                                                        

        
                                        
                                                                                                 



                                                                                                           
 

                                              


                                                 
                                        



                                                                                                                           

                                                   
                                                                                 
                                                      

        
                                        
                                                                                                                   
        

      

                                                  
                                                                               
                                                     
        
 
                                        


                                                                                                                                             
 

                                                                              
                                                

        
                                        



                                                             









                                                                                                                                
                                                                           
                                        
                                             
        
 
                                        



                                                       

                                                
                                                                        
        
 
                                        


                                                                   
<h1 class="visually-hidden" i18n>Settings</h1>

<div class="row"> <!-- preview -->
  <div class="col-12 col-lg-4 col-xl-3"></div>

  <div class="col-12 col-lg-8 col-xl-9">
    <my-actor-avatar-edit [actor]="user.account" (avatarChange)="onAvatarChange($event)" (avatarDelete)="onAvatarDelete()"></my-actor-avatar-edit>
  </div>
</div>

<div class="row mt-3"> <!-- profile settings grid -->
  <div class="col-12 col-lg-4 col-xl-3">
    <h2 i18n class="account-title">PROFILE SETTINGS</h2>
  </div>

  <div class="col-12 col-lg-8 col-xl-9">
    <my-user-quota [user]="user" [userInformationLoaded]="userInformationLoaded"></my-user-quota>

    <my-account-profile [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-profile>
  </div>
</div>

<div class="row mt-5"> <!-- interface grid -->
  <div class="col-12 col-lg-4 col-xl-3">
    <h2 i18n class="account-title">INTERFACE</h2>
  </div>

  <div class="col-12 col-lg-8 col-xl-9">
    <my-user-interface-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-user-interface-settings>
  </div>
</div>

<div class="row mt-5"> <!-- video settings grid -->
  <div class="col-12 col-lg-4 col-xl-3">
    <div class="anchor" id="video-settings"></div> <!-- video settings anchor -->
    <h2 i18n class="account-title">VIDEO SETTINGS</h2>
  </div>

  <div class="col-12 col-lg-8 col-xl-9">
    <my-user-video-settings [user]="user" [userInformationLoaded]="userInformationLoaded"></my-user-video-settings>
  </div>
</div>

<div class="row mt-5"> <!-- notifications grid -->
  <div class="col-12 col-lg-4 col-xl-3">
    <div class="anchor" id="notifications"></div> <!-- notifications anchor -->
    <h2 i18n class="account-title">NOTIFICATIONS</h2>
  </div>

  <div class="col-12 col-lg-8 col-xl-9">
    <my-account-notification-preferences [user]="user" [userInformationLoaded]="userInformationLoaded"></my-account-notification-preferences>
  </div>
</div>

<div class="row mt-5" *ngIf="user.pluginAuth === null"> <!-- password grid -->
  <div class="col-12 col-lg-4 col-xl-3">
    <h2 i18n class="account-title">PASSWORD</h2>
  </div>

  <div class="col-12 col-lg-8 col-xl-9">
    <my-account-change-password></my-account-change-password>
  </div>
</div>

<div class="row mt-5" *ngIf="user.pluginAuth === null"> <!-- two factor auth grid -->
  <div class="col-12 col-lg-4 col-xl-3">
    <h2 i18n class="account-title">Two-factor authentication</h2>
  </div>

  <div class="col-12 col-lg-8 col-xl-9">
    <my-account-two-factor-button [user]="user"  [userInformationLoaded]="userInformationLoaded"></my-account-two-factor-button>
  </div>
</div>

<div class="row mt-5" *ngIf="user.pluginAuth === null"> <!-- email grid -->
  <div class="col-12 col-lg-4 col-xl-3">
    <h2 i18n class="account-title">EMAIL</h2>
  </div>

  <div class="col-12 col-lg-8 col-xl-9">
    <my-account-change-email></my-account-change-email>
  </div>
</div>

<div class="row mt-5"> <!-- danger zone grid -->
  <div class="col-12 col-lg-4 col-xl-3">
    <h2 i18n class="account-title account-title-danger">DANGER ZONE</h2>
  </div>

  <div class="col-12 col-lg-8 col-xl-9">
    <my-account-danger-zone [user]="user"></my-account-danger-zone>
  </div>
</div>