|
|
@@ -1,6 +1,6 @@
|
|
|
<template>
|
|
|
- <c-header title="BDLG Planner" to-title="/planner" :tabs="tabs" />
|
|
|
- <div class="container">
|
|
|
+ <c-header title="BDLG Planner" title-to="/planner" :tabs="tabs" />
|
|
|
+ <div class="main-container">
|
|
|
<router-view
|
|
|
@export="exportStateToJson"
|
|
|
@import="(e) => importJsonState(e, false)"
|
|
|
@@ -20,11 +20,11 @@
|
|
|
<div class="modal-content" v-html="explanation" @click="(e) => e.stopPropagation()"></div>
|
|
|
</div>
|
|
|
</div>
|
|
|
+ <c-footer />
|
|
|
</template>
|
|
|
<script lang="ts">
|
|
|
import { defineComponent } from "vue";
|
|
|
import toast, { Toast } from "@/utils/Toast";
|
|
|
-import "@/assets/css/tabs.css";
|
|
|
import ConstraintTranslation from "@/assets/ConstraintTranslation";
|
|
|
import Evenement from "@/models/Evenement";
|
|
|
import Creneau from "@/models/Creneau";
|
|
|
@@ -42,6 +42,7 @@ import { MutationTypes } from "@/store/Mutations";
|
|
|
import dayjs from "dayjs";
|
|
|
import { StateJSON } from "@/store/State";
|
|
|
import Header, { HeaderLink } from "./components/Header.vue";
|
|
|
+import cFooter from "./components/Footer.vue";
|
|
|
|
|
|
const API_URL = process.env.VUE_APP_API_URL;
|
|
|
|
|
|
@@ -54,7 +55,7 @@ const tabs: Array<HeaderLink> = [
|
|
|
{ to: "/planner/planningIndividuel", name: "Planning Individuel" },
|
|
|
];
|
|
|
export default defineComponent({
|
|
|
- components: { cHeader: Header },
|
|
|
+ components: { cHeader: Header, cFooter },
|
|
|
mixins: [updatePlanningVersions, importJsonState],
|
|
|
data() {
|
|
|
return {
|
|
|
@@ -297,11 +298,6 @@ export default defineComponent({
|
|
|
</script>
|
|
|
|
|
|
<style>
|
|
|
-.container {
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- margin: 8px;
|
|
|
-}
|
|
|
.toast.action > span {
|
|
|
cursor: pointer;
|
|
|
color: var(--color-primary-600);
|