From 46363811f0af34d0456910ec733cf890cb42e97c Mon Sep 17 00:00:00 2001 From: Dessalines Date: Mon, 19 Aug 2019 21:45:06 -0700 Subject: [PATCH] Separate sidebar. --- ui/src/components/main.tsx | 105 +++++++++++++++++++------------------ 1 file changed, 54 insertions(+), 51 deletions(-) diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index 326318116..1363a6939 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -180,16 +180,14 @@ export class Main extends Component { sidebar() { return ( -
-
- {!this.state.showEditSite ? - this.siteInfo() : - - } -
+
+ {!this.state.showEditSite ? + this.siteInfo() : + + }
) } @@ -203,47 +201,52 @@ export class Main extends Component { siteInfo() { return (
-
{`${this.state.site.site.name}`}
- {this.canAdmin && -
    -
  • - - # - -
  • -
- } -
    -
  • - # -
  • -
  • - # -
  • -
  • - # -
  • -
  • - - # - -
  • -
-
    -
  • - #: -
  • - {this.state.site.admins.map(admin => -
  • {admin.name}
  • - )} -
- {this.state.site.site.description && -
-
-
+
+
+
{`${this.state.site.site.name}`}
+ {this.canAdmin && +
    +
  • + + # + +
  • +
+ } +
    +
  • + # +
  • +
  • + # +
  • +
  • + # +
  • +
  • + + # + +
  • +
+
    +
  • + #: +
  • + {this.state.site.admins.map(admin => +
  • {admin.name}
  • + )} +
+
- } -
+ {this.state.site.site.description && +
+
+
+
+
+ } +
) } @@ -256,7 +259,7 @@ export class Main extends Component { # Lemmybeta -

+

###

#

#

#

####