mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-28 06:28:43 +01:00
Few fixes.
This commit is contained in:
@@ -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>
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user