diff --git a/client/components/App.vue b/client/components/App.vue index 61b73f6c..96e4dc61 100644 --- a/client/components/App.vue +++ b/client/components/App.vue @@ -14,7 +14,7 @@ class="logo-inverted" alt="The Lounge"> - @@ -93,13 +93,13 @@ diff --git a/client/components/ChannelWrapper.vue b/client/components/ChannelWrapper.vue new file mode 100644 index 00000000..af96d0bb --- /dev/null +++ b/client/components/ChannelWrapper.vue @@ -0,0 +1,30 @@ + + + + + + + diff --git a/client/components/Network.vue b/client/components/NetworkList.vue similarity index 96% rename from client/components/Network.vue rename to client/components/NetworkList.vue index 76b88f16..7de2e91b 100644 --- a/client/components/Network.vue +++ b/client/components/NetworkList.vue @@ -27,8 +27,7 @@ class="network" role="region" > - import Draggable from "vuedraggable"; -import JoinChannel from "./JoinChannel.vue"; +import NetworkLobby from "./NetworkLobby.vue"; import Channel from "./Channel.vue"; +import JoinChannel from "./JoinChannel.vue"; // TODO: ignoreSortSync should be removed import {findChannel} from "../js/vue"; @@ -72,9 +72,10 @@ import socket from "../js/socket"; // import options from "../js/options"; export default { - name: "Network", + name: "NetworkList", components: { JoinChannel, + NetworkLobby, Channel, Draggable, }, diff --git a/client/components/NetworkLobby.vue b/client/components/NetworkLobby.vue new file mode 100644 index 00000000..fc52437a --- /dev/null +++ b/client/components/NetworkLobby.vue @@ -0,0 +1,88 @@ + + + + + + {{ channel.name }} + + + + + + + {{ channel.unread | roundBadgeNumber }} + + + + + + + +