From b185605b9bcbf43f27d8d9ec343f6a2e34bbc3d6 Mon Sep 17 00:00:00 2001 From: Adam Procter <adamprocter@researchnot.es> Date: Sat, 14 Mar 2020 14:24:31 +0000 Subject: [PATCH] lint and build --- app/src/components/BaseButton.vue | 3 +-- app/src/components/ControlsLayer.vue | 8 ++++++-- app/src/components/NodesLayer.vue | 8 ++++++-- app/src/components/OnBoard.vue | 8 ++++---- 4 files changed, 17 insertions(+), 10 deletions(-) diff --git a/app/src/components/BaseButton.vue b/app/src/components/BaseButton.vue index 26f783e..ffb2d12 100644 --- a/app/src/components/BaseButton.vue +++ b/app/src/components/BaseButton.vue @@ -17,7 +17,6 @@ export default { } </script> - <style lang="css" scoped> button { font-size: 1em; @@ -57,4 +56,4 @@ button.action { button:active { background-color: #cab6ff; } -</style> \ No newline at end of file +</style> diff --git a/app/src/components/ControlsLayer.vue b/app/src/components/ControlsLayer.vue index 9a102b6..fe2dd18 100644 --- a/app/src/components/ControlsLayer.vue +++ b/app/src/components/ControlsLayer.vue @@ -1,8 +1,12 @@ <template> <div class="controls"> <div class="btn-row"> - <BaseButton buttonClass="action" @click="addNode()">Create Node</BaseButton> - <BaseButton buttonClass="action" @click="removeLocal()">Join another microcosm</BaseButton> + <BaseButton buttonClass="action" @click="addNode()" + >Create Node</BaseButton + > + <BaseButton buttonClass="action" @click="removeLocal()" + >Join another microcosm</BaseButton + > <!-- <BaseButton @click="exportStorage()">Export my contributions</BaseButton> <BaseButton buttonClass="danger" v-on:click="deleteClient"> Delete my contributions (inc. attachments) permanently diff --git a/app/src/components/NodesLayer.vue b/app/src/components/NodesLayer.vue index 86713c9..47cab2c 100644 --- a/app/src/components/NodesLayer.vue +++ b/app/src/components/NodesLayer.vue @@ -29,11 +29,15 @@ </div> <h3>Reactions</h3> <div v-for="(emojis, index) in configEmoji" :key="index"> - <p class="allemoji" v-if="nodeid == emojis.node_id">{{ emojis.emoji_text }}</p> + <p class="allemoji" v-if="nodeid == emojis.node_id"> + {{ emojis.emoji_text }} + </p> </div> <p>markdown supported</p> - <BaseButton buttonClass="danger" @click="deleteFlag()">Delete</BaseButton> + <BaseButton buttonClass="danger" @click="deleteFlag()" + >Delete</BaseButton + > </form> </vue-draggable-resizable> </div> diff --git a/app/src/components/OnBoard.vue b/app/src/components/OnBoard.vue index 67a12a3..9f85902 100644 --- a/app/src/components/OnBoard.vue +++ b/app/src/components/OnBoard.vue @@ -4,9 +4,7 @@ nodenogg.in is a <span>work in progress</span> collaborative co-creation research and design thinking tool, read more details and links in the - <a - href="/#/about" - >about</a> section. + <a href="/#/about">about</a> section. </p> <form v-show="parta"> @@ -27,7 +25,9 @@ autocapitalize="none" autofocus /> - <BaseButton buttonClass="onboard" @click="createMicrocosm(), setFocus()">+</BaseButton> + <BaseButton buttonClass="onboard" @click="createMicrocosm(), setFocus()" + >+</BaseButton + > </form> <form v-show="partb"> -- GitLab