mirror of
https://github.com/Fabio286/antares.git
synced 2025-06-05 21:59:22 +02:00
Additions
This commit is contained in:
36
src/renderer/components/DatabaseExploreBar.vue
Normal file
36
src/renderer/components/DatabaseExploreBar.vue
Normal file
@ -0,0 +1,36 @@
|
||||
<template>
|
||||
<div class="workspace-explorebar column">
|
||||
<button
|
||||
v-if="!isConnected"
|
||||
class="btn btn-primary mt-4"
|
||||
@click="$emit('connect')"
|
||||
>
|
||||
Connect
|
||||
</button>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'DatabaseExploreBar',
|
||||
props: {
|
||||
uid: String,
|
||||
isConnected: Boolean
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
.workspace-explorebar{
|
||||
width: $explorebar-width;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: flex-start;
|
||||
align-items: center;
|
||||
background: $bg-color-gray;
|
||||
margin-bottom: $footer-height;
|
||||
box-shadow: 0 0 1px 0px #000;
|
||||
z-index: 8;
|
||||
flex: initial;
|
||||
}
|
||||
</style>
|
Reference in New Issue
Block a user