From e14cace20836bac17485a6504db67f57a9c9dfc2 Mon Sep 17 00:00:00 2001 From: Joel Date: Thu, 19 Jan 2017 22:18:48 -0700 Subject: [PATCH] updated sidebar --- client/vue-components/main_content.vue | 68 ++++++++++++++++++----- client/vue-components/signin.vue | 9 --- client/vue-components/video_component.vue | 52 ++++++++++++++--- 3 files changed, 100 insertions(+), 29 deletions(-) diff --git a/client/vue-components/main_content.vue b/client/vue-components/main_content.vue index ee16a8b..449e999 100755 --- a/client/vue-components/main_content.vue +++ b/client/vue-components/main_content.vue @@ -4,21 +4,30 @@
- -
-
{{ count }} words
-
{{ time }} read
+
+ + +
+ +
+ + + +
+
+
{{ count }} words
+
{{ time }} read
+
+ +
-
-
- -
+
@@ -32,7 +41,6 @@ import {textStats, docSubscribe} from '../js/editor.js' import sharedb from 'sharedb/lib/client' import richText from 'rich-text' - // import Quill from 'quill' import Chance from 'chance' import auth from '../js/auth.js' import docsave from '../js/docsave.js' @@ -86,13 +94,12 @@ wsrtc: null, channel: '', count: 0, - // User data stored in auth user: auth.user, - // Doc data stored in docsave docData: docsave.docData, time: '', quill: '', - uri: '' + uri: '', + stats: false } }, components: { @@ -106,15 +113,41 @@ } -