aboutsummaryrefslogblamecommitdiffhomepage
path: root/client/src/app/+about/about-instance/about-instance.component.html
blob: 1df1ef2ad6befba64aa14b89fca04b96c0f35743 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                  
 
                                      
                                                            
 
                                                                                                                                         
          
 





                                                                                                           
                                   
                                                                       
 
                                                                                                                          
          
 
                                                                                                      
                                     


                                                                
                                                      



                                                  





                                                                        
                                                                        
                                                                                      




                                                            
                                                                             



                                
                                                            
                 


                                   
                                                       
 


                                                
                                                                                                          
                











                                                                                 
          
 
                             
                                                 
 
                                          
          
 
                                                                    
                       

          
                                                                             



                                                                

        
                                  
                                                       
                                                             
        

                   

                                                   

                                                     
      

                                                                    
<div class="row">
  <div class="col-md-12 col-xl-6">

    <div class="about-instance-title">
      <div i18n class="title">About {{ instanceName }}</div>

      <div i18n *ngIf="isContactFormEnabled" (click)="openContactModal()" role="button" class="contact-admin">Contact administrator</div>
    </div>

    <div class="block instance-badges">
      <span *ngFor="let category of categories" class="badge badge-primary category">{{ category }}</span>

      <span *ngFor="let language of languages" class="badge badge-secondary language">{{ language }}</span>
    </div>

    <div class="short-description">
      <div class="block short-description">{{ shortDescription }}</div>

      <div i18n *ngIf="isNSFW" class="block dedicated-to-nsfw">This instance is dedicated to sensitive/NSFW content.</div>
    </div>

    <div i18n class="middle-title" *ngIf="html.administrator || maintenanceLifetime || businessModel">
      ADMINISTRATORS & SUSTAINABILITY
    </div>

    <div class="block administrator" *ngIf="html.administrator">
      <div i18n class="section-title">Who we are</div>

      <div [innerHTML]="html.administrator"></div>
    </div>

    <div class="block creation-reason" *ngIf="creationReason">
      <div i18n class="section-title">Why we created this instance</div>

      <p>{{ creationReason }}</p>
    </div>

    <div class="block maintenance-lifetime" *ngIf="maintenanceLifetime">
      <div i18n class="section-title">How long we plan to maintain this instance</div>

      <p>{{ maintenanceLifetime }}</p>
    </div>

    <div class="block business-model" *ngIf="businessModel">
      <div i18n class="section-title">How we will pay for this instance</div>

      <p>{{ businessModel }}</p>
    </div>

    <div i18n class="middle-title" *ngIf="html.description">
      INFORMATION
    </div>

    <div class="block description">
      <div i18n class="section-title">Description</div>

      <div [innerHTML]="html.description"></div>
    </div>

    <div i18n class="middle-title" *ngIf="html.moderationInformation || html.codeOfConduct || html.terms">
      MODERATION
    </div>

    <div class="block moderation-information" *ngIf="html.moderationInformation">
      <div i18n class="section-title">Moderation information</div>

      <div [innerHTML]="html.moderationInformation"></div>
    </div>

    <div class="block code-of-conduct" *ngIf="html.codeOfConduct">
      <div i18n class="section-title">Code of conduct</div>

      <div [innerHTML]="html.codeOfConduct"></div>
    </div>

    <div class="block terms">
      <div i18n class="section-title">Terms</div>

      <div [innerHTML]="html.terms"></div>
    </div>

    <div i18n class="middle-title" *ngIf="html.hardwareInformation">
      OTHER INFORMATION
    </div>

    <div class="block hardware-information" *ngIf="html.hardwareInformation">
      <div i18n class="section-title">Hardware information</div>

      <div [innerHTML]="html.hardwareInformation"></div>
    </div>
  </div>

  <div class="col-md-12 col-xl-6">
    <label i18n>Features found on this instance</label>
    <my-instance-features-table></my-instance-features-table>
  </div>

  <div class="col">
    <div class="anchor" id="statistics"></div>
    <div i18n class="middle-title">STATISTICS</div>
    <my-instance-statistics></my-instance-statistics>
  </div>
</div>

<my-contact-admin-modal #contactAdminModal></my-contact-admin-modal>