2019-01-24 20:15:10 +00:00
|
|
|
// Copyright (C) 2019 Storj Labs, Inc.
|
2018-11-27 10:51:33 +00:00
|
|
|
// See LICENSE for copying information.
|
|
|
|
|
2018-11-14 14:00:01 +00:00
|
|
|
<template>
|
2018-11-19 15:32:50 +00:00
|
|
|
<div class="header-container">
|
2018-11-23 15:48:11 +00:00
|
|
|
<div class="header-container__left-area">
|
|
|
|
<ProjectSelectionArea class="header-container__left-area__project-selection"/>
|
|
|
|
</div>
|
|
|
|
<div class="header-container__right-area">
|
|
|
|
<NewProjectArea class="header-container__right-area__new-project" />
|
2019-03-26 16:56:38 +00:00
|
|
|
<AccountButton class="header-container__right-area__account-button" />
|
2018-11-23 15:48:11 +00:00
|
|
|
</div>
|
2019-09-05 09:41:39 +01:00
|
|
|
<ProjectCreationSuccessPopup/>
|
2018-11-14 14:00:01 +00:00
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script lang="ts">
|
2019-09-09 11:33:39 +01:00
|
|
|
import { Component, Vue } from 'vue-property-decorator';
|
2018-11-14 14:00:01 +00:00
|
|
|
|
2019-09-09 11:33:39 +01:00
|
|
|
import NewProjectArea from '@/components/header/NewProjectArea.vue';
|
|
|
|
import ProjectSelectionArea from '@/components/header/projectSelection/ProjectSelectionArea.vue';
|
|
|
|
import ProjectCreationSuccessPopup from '@/components/project/ProjectCreationSuccessPopup.vue';
|
|
|
|
|
|
|
|
import AccountButton from './AccountButton.vue';
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
components: {
|
|
|
|
ProjectCreationSuccessPopup,
|
|
|
|
ProjectSelectionArea,
|
|
|
|
NewProjectArea,
|
|
|
|
AccountButton,
|
|
|
|
},
|
|
|
|
})
|
|
|
|
export default class DashboardHeader extends Vue {}
|
2018-11-14 14:00:01 +00:00
|
|
|
</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%;
|
2018-11-28 16:20:23 +00:00
|
|
|
height: 100px;
|
2019-06-03 13:19:48 +01:00
|
|
|
min-height: 100px;
|
2018-11-14 14:00:01 +00:00
|
|
|
background-color: white;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
2019-04-11 02:27:55 +01:00
|
|
|
justify-content: flex-start;
|
2019-01-02 13:20:51 +00:00
|
|
|
padding-left: 60px;
|
|
|
|
padding-right: 60px;
|
2018-11-19 15:32:50 +00:00
|
|
|
|
2018-11-23 15:48:11 +00:00
|
|
|
&__left-area {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: flex-start;
|
2018-11-19 15:32:50 +00:00
|
|
|
}
|
2018-11-23 15:48:11 +00:00
|
|
|
|
|
|
|
&__right-area {
|
|
|
|
@extend .header-container__left-area;
|
|
|
|
justify-content: flex-end;
|
2019-04-11 02:27:55 +01:00
|
|
|
position: absolute;
|
|
|
|
right: 60px;
|
|
|
|
width: 30%;
|
2018-11-23 15:48:11 +00:00
|
|
|
|
|
|
|
&__new-project {
|
2019-03-26 16:56:38 +00:00
|
|
|
margin-right: 24px;
|
2018-11-23 15:48:11 +00:00
|
|
|
}
|
2018-11-19 15:32:50 +00:00
|
|
|
}
|
2018-11-14 14:00:01 +00:00
|
|
|
}
|
|
|
|
</style>
|