33 <div >
44 <b-navbar toggleable =" lg" variant =" dark" type =" dark" >
55 <b-navbar-brand >
6- <div id =" name-large" class =" text-left pl-2 align-top d-none d-lg-inline-block" >
7- Example<br />Observation Portal
6+ <div
7+ id =" name-large"
8+ class =" text-left pl-2 align-top d-none d-lg-inline-block"
9+ >
10+ Example<br />Observation Portal
811 </div >
9- <div id =" name-small" class =" text-left pl-2 align-middle d-inline-block d-lg-none" >
12+ <div
13+ id =" name-small"
14+ class =" text-left pl-2 align-middle d-inline-block d-lg-none"
15+ >
1016 Observation Portal
1117 </div >
1218 </b-navbar-brand >
1622 <b-nav-item :to =" { name: 'requests' }" >Requests</b-nav-item >
1723 <b-nav-item :to =" { name: 'create' }" >Submit Observation</b-nav-item >
1824 <b-nav-item :to =" { name: 'observations' }" >Observations</b-nav-item >
19-
2025 <template v-if =" userIsAuthenticated " >
2126 <hr class =" w-100 d-lg-none border-light" />
22- <b-nav-text class =" d-lg-none" ><i class =" fas fa-user-alt" ></i >
23- <span class =" font-weight-bold" >{{ profile.username }}</span ></b-nav-text >
24- <b-nav-item class =" d-lg-none" :to =" { name: 'profile' }" >Profile</b-nav-item >
27+ <b-nav-text class =" d-lg-none" >
28+ <i class =" fas fa-user-alt" ></i >
29+ <span class =" font-weight-bold" >{{ profile.username }}</span >
30+ </b-nav-text >
31+ <b-nav-item class =" d-lg-none" :to =" { name: 'profile' }" >
32+ Profile
33+ </b-nav-item >
2534 <passthrough-get
2635 class =" d-lg-none"
2736 endpoint =" /accounts/logout/"
3342 />
3443 </template >
3544 <template v-else >
36- <b-nav-item class =" d-lg-none" :to =" { name: 'login' }" >Login</b-nav-item >
45+ <b-nav-item class =" d-lg-none" :to =" { name: 'login' }" >
46+ Login
47+ </b-nav-item >
3748 </template >
3849 </b-navbar-nav >
39-
4050 <b-navbar-nav class =" ml-auto" >
4151 <b-nav-item-dropdown
4252 v-if =" userIsAuthenticated"
4656 <template #button-content >
4757 <i class =" fas fa-user-alt" ></i >
4858 </template >
49- <b-dropdown-text
50- >Logged in as
51- <span class =" font-weight-bold" >{{
52- profile.username
53- }}</span ></b-dropdown-text
54- >
59+ <b-dropdown-text >
60+ Logged in as
61+ <span class =" font-weight-bold" >{{ profile.username }}</span >
62+ </b-dropdown-text >
5563 <b-dropdown-divider ></b-dropdown-divider >
56- <b-dropdown-item :to =" { name: 'profile' }"
57- > Profile</ b-dropdown-item
58- >
64+ <b-dropdown-item :to =" { name: 'profile' }" >
65+ Profile
66+ </ b-dropdown-item >
5967 <passthrough-get
6068 endpoint =" /accounts/logout/"
6169 :as-link =" true"
6573 error-message =" Oops, there was an error logging out, please try again."
6674 />
6775 </b-nav-item-dropdown >
68- <b-nav-item v-else :to =" { name: 'login' }" class =" d-none d-lg-block" >Login</b-nav-item >
76+ <b-nav-item
77+ v-else
78+ :to =" { name: 'login' }"
79+ class =" d-none d-lg-block"
80+ >
81+ Login
82+ </b-nav-item >
6983 </b-navbar-nav >
7084 </b-collapse >
7185 </b-navbar >
7286 </div >
73-
7487 <b-container :fluid =" isFluidPage" class =" flex-shrink-0 p-1" >
7588 <b-row >
7689 <b-col md =" 12" >
89102 </b-row >
90103 <router-view class =" my-3" />
91104 </b-container >
92-
93105 <div class =" footer text-center mt-auto pt-2" >
94106 <ul >
95107 <li >
96- <a class =" black" title =" github" href =" https://github.com/observatorycontrolsystem/" >
97- <i class =" fab fa-github" ></i > View the Observatory Control System on Github </a >
108+ <a
109+ class =" black"
110+ title =" github"
111+ href =" https://github.com/observatorycontrolsystem/"
112+ >
113+ <i class =" fab fa-github" ></i > View the Observatory Control System on
114+ Github
115+ </a >
98116 </li >
99117 </ul >
100118 </div >
101-
102119 </div >
103120</template >
104-
105121<script >
106122import PassthroughGet from " @/components/PassthroughGet.vue" ;
107123
@@ -137,7 +153,6 @@ export default {
137153#app {
138154 min-height : 100vh ;
139155}
140-
141156.footer {
142157 background-color : #ced6e0 ;
143158}
@@ -151,14 +166,6 @@ export default {
151166.footer ul li :first-child {
152167 border : none ;
153168}
154-
155- .brand-image-large {
156- max-height : 50px ;
157- padding-right : 0.5rem ;
158- }
159- .brand-image-small {
160- max-height : 45px ;
161- }
162169#name-large {
163170 font-size : 1.2rem ;
164171 margin-right : 1rem ;
0 commit comments