From e227d384d2d2aec17a1681ed7e4489a4cc9ef319 Mon Sep 17 00:00:00 2001 From: Chen-I Lim Date: Mon, 12 Oct 2020 10:04:06 -0700 Subject: [PATCH] Refactor boardPage: Move page frame layout to code --- html-templates/index.ejs | 6 ------ html-templates/page.ejs | 17 ++--------------- src/client/boardPage.tsx | 27 ++++++++++++++++++++++++++- src/client/boardsPage.ts | 8 +++++++- src/client/components/pageHeader.tsx | 16 ++++++++++++++++ src/static/main.css | 14 +++++--------- 6 files changed, 56 insertions(+), 32 deletions(-) create mode 100644 src/client/components/pageHeader.tsx diff --git a/html-templates/index.ejs b/html-templates/index.ejs index 024e53969..85f4fd368 100644 --- a/html-templates/index.ejs +++ b/html-templates/index.ejs @@ -24,12 +24,6 @@ All Boards

- - - -
-
\ No newline at end of file diff --git a/html-templates/page.ejs b/html-templates/page.ejs index 6766463bd..36c86ecf4 100644 --- a/html-templates/page.ejs +++ b/html-templates/page.ejs @@ -11,21 +11,8 @@ - - - -
-
- - - -
-
- -