File tree Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Expand file tree Collapse file tree 3 files changed +35
-1
lines changed Original file line number Diff line number Diff line change 11<template >
22 <div class =" login" >
3-
3+ < TopNavbar ></ TopNavbar >
44 <!-- Server status -->
55 <h4 >Server Status</h4 >
66 <div class =" server-status" >
108108
109109<script >
110110import CardshifterServerAPI from " ../server_interface" ;
111+ import TopNavbar from " ./TopNavbar" ;
111112
112113const loginStorageMap = {
113114 " CARDSHIFTER_LAST_NAME" : " username" ,
@@ -136,6 +137,9 @@ export default {
136137 chosenServer: null
137138 };
138139 },
140+ components : {
141+ TopNavbar
142+ },
139143 methods: {
140144 /*
141145 * Called by the login form. This function will to the server
Original file line number Diff line number Diff line change 1+ <template >
2+ <nav class =" navbar navbar-dark bg-dark top-navbar-container" >
3+ <div class =" container-fluid" >
4+ <div class =" navbar-header" >
5+ <div class =" navbar-brand csh-top-link" >
6+ Cardshifter
7+ </div >
8+ </div >
9+ </div >
10+ </nav >
11+ </template >
12+
13+ <script >
14+ export default {
15+ name: " TopNavbar" ,
16+ data () {
17+ return {}
18+ },
19+ methods: {}
20+ };
21+ </script >
22+
23+ <style >
24+ @import " ../assets/style.css" ;
25+
26+ .top-navbar-container {
27+ /* background-color: black; */
28+ }
29+ </style >
Original file line number Diff line number Diff line change 11import Vue from "vue" ;
22import Router from "vue-router" ;
3+ import TopNavbar from "@/components/TopNavbar" ;
34import Login from "@/components/Login" ;
45import Lobby from "@/components/Lobby" ;
56import DeckBuilder from "@/components/DeckBuilder" ;
You can’t perform that action at this time.
0 commit comments