2018-11-14 14:00:01 +00:00
|
|
|
<template>
|
2018-11-19 15:32:50 +00:00
|
|
|
<div class="header-container">
|
|
|
|
<img class="header-container__logo" src="../../../static/images/dashboard/Logo.png" alt="">
|
|
|
|
<ProjectSelectionArea class="header-container__project-selection"/>
|
|
|
|
<AccountButton class="header-container__account-button" />
|
|
|
|
<NewProjectArea class="header-container__new-project" />
|
2018-11-14 14:00:01 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
|
|
|
import { Component, Vue } from 'vue-property-decorator';
|
|
|
|
import ProjectSelectionArea from "./projectSelection/ProjectSelectionArea.vue";
|
|
|
|
import NewProjectArea from "./newProject/NewProjectArea.vue";
|
|
|
|
import AccountButton from "./account/AccountButton.vue"
|
|
|
|
|
|
|
|
@Component(
|
|
|
|
{
|
|
|
|
components: {
|
|
|
|
ProjectSelectionArea,
|
|
|
|
NewProjectArea,
|
|
|
|
AccountButton
|
|
|
|
}
|
|
|
|
}
|
|
|
|
)
|
|
|
|
|
|
|
|
export default class DashboardHeader extends Vue {}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
2018-11-19 15:32:50 +00:00
|
|
|
.header-container {
|
2018-11-14 14:00:01 +00:00
|
|
|
width: 100%;
|
|
|
|
height: 10vh;
|
|
|
|
background-color: white;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
|
|
|
padding-left: 4vw;
|
|
|
|
padding-right: 4vw;
|
2018-11-19 15:32:50 +00:00
|
|
|
|
2018-11-16 14:28:02 +00:00
|
|
|
img {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2018-11-19 15:32:50 +00:00
|
|
|
|
|
|
|
&__logo {
|
|
|
|
width: 10vw;
|
|
|
|
height: 7.5vh;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__project-selection {
|
|
|
|
margin-left: 10vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__account-button {
|
|
|
|
margin-left: 32vw;
|
|
|
|
}
|
|
|
|
|
|
|
|
&__new-project {
|
|
|
|
margin-left: 20px;
|
|
|
|
}
|
2018-11-14 14:00:01 +00:00
|
|
|
}
|
|
|
|
</style>
|