Put features table in about page
authorChocobozzz <me@florianbigard.com>
Wed, 5 Dec 2018 13:53:13 +0000 (14:53 +0100)
committerChocobozzz <me@florianbigard.com>
Wed, 5 Dec 2018 13:53:13 +0000 (14:53 +0100)
client/src/app/+about/about-instance/about-instance.component.html
client/src/app/signup/signup.component.html

index 5970cac0167835c9a40caffafc05a1f61f334cec..37ff795f5a061660e82f601817cda7f4f2e605e7 100644 (file)
@@ -1,39 +1,48 @@
-<div i18n class="about-instance-title">
-  About {{ instanceName }} instance
-</div>
+<div class="row">
+  <div class="col-md-12 col-xl-6">
+    <div i18n class="about-instance-title">
+      About {{ instanceName }} instance
+    </div>
 
-<div class="short-description">
-  <div>{{ shortDescription }}</div>
-</div>
+    <div class="short-description">
+      <div>{{ shortDescription }}</div>
+    </div>
 
-<div class="description">
-  <div i18n class="section-title">Description</div>
+    <div class="description">
+      <div i18n class="section-title">Description</div>
 
-  <div [innerHTML]="descriptionHTML"></div>
-</div>
+      <div [innerHTML]="descriptionHTML"></div>
+    </div>
 
-<div class="terms" id="terms-section">
-  <div i18n class="section-title">Terms</div>
+    <div class="terms" id="terms-section">
+      <div i18n class="section-title">Terms</div>
 
-  <div [innerHTML]="termsHTML"></div>
-</div>
+      <div [innerHTML]="termsHTML"></div>
+    </div>
+
+    <div class="signup">
+      <div i18n class="section-title">Signup</div>
 
-<div class="signup">
-  <div i18n class="section-title">Signup</div>
+      <div *ngIf="isSignupAllowed">
+        <ng-container i18n>User registration is allowed and</ng-container>
 
-  <div *ngIf="isSignupAllowed">
-    <ng-container i18n>User registration is allowed and</ng-container>
+        <ng-container i18n *ngIf="userVideoQuota !== -1">
+          this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
+        </ng-container>
 
-    <ng-container i18n *ngIf="userVideoQuota !== -1">
-      this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
-    </ng-container>
+        <ng-container i18n *ngIf="userVideoQuota === -1">
+          this instance provides unlimited space for the videos of its users.
+        </ng-container>
+      </div>
 
-    <ng-container i18n *ngIf="userVideoQuota === -1">
-      this instance provides unlimited space for the videos of its users.
-    </ng-container>
+      <div i18n *ngIf="isSignupAllowed === false">
+        User registration is currently not allowed.
+      </div>
+    </div>
   </div>
 
-  <div i18n *ngIf="isSignupAllowed === false">
-    User registration is currently not allowed.
+  <div class="col-md-12 col-xl-6">
+    <label>Features found on this instance</label>
+    <my-instance-features-table></my-instance-features-table>
   </div>
-</div>
\ No newline at end of file
+</div>
index 0207a166eadb07bf1fb4aedd30d559b4029ac75b..07d24b38132a56c0b706312fb25034da2b7d46a6 100644 (file)
@@ -64,7 +64,7 @@
     </form>
 
     <div>
-      <label for="email" i18n>Features found on this instance</label>
+      <label i18n>Features found on this instance</label>
       <my-instance-features-table></my-instance-features-table>
     </div>
   </div>