Few fixes.

This commit is contained in:
Antoine Nguyen
2018-10-05 14:06:59 +02:00
parent 09c2ce7972
commit 9bebc8b04e
5 changed files with 17 additions and 2 deletions
+7 -1
View File
@@ -9,11 +9,17 @@
</p>
<ul class="menu-list">
<router-link tag="li" :to="{ name: 'DomainList' }">
<a>Domains</a>
<a><b-icon pack="fas" icon="user"></b-icon> Domains</a>
</router-link>
<router-link tag="li" :to="{ name: 'DomainList' }">
<a>Identities</a>
</router-link>
<router-link tag="li" :to="{ name: 'DomainList' }">
<a>Logs</a>
</router-link>
<router-link tag="li" :to="{ name: 'DomainList' }">
<a>Settings</a>
</router-link>
</ul>
</aside>
</div>
+6
View File
@@ -2,6 +2,8 @@ import Vue from 'vue'
import Buefy from 'buefy'
import 'buefy/lib/buefy.css'
import Cookies from 'js-cookie'
import App from './App'
import router from './router'
@@ -9,6 +11,10 @@ Vue.use(Buefy)
Vue.config.productionTip = false
/* Deal with django CSRF protection */
let csrftoken = Cookies.get('csrftoken')
Vue.http.headers.common['X-CSRFTOKEN'] = csrftoken
/* eslint-disable no-new */
new Vue({
el: '#app',