Skip to content
This repository was archived by the owner on Feb 23, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 36 additions & 8 deletions client/src/views/WorkspaceDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,22 +14,22 @@
<v-button :onClick="loadFile">create table</v-button>
</div>
</div>
<ul>
<li v-for="table in tables" :key="table">
<div class = "list-link-wrap">
<div v-for="table in tables" :key="table" class="list-link">
<router-link :to="`/${workspace}/table/${table}`">{{table}}</router-link>
</li>
</ul>
</div>
</div>
</div>
<div>
<label>Graphs</label>
<div>
<input type="text" v-model="newGraph" placeholder="name your graph.." class="text-input">
</div>
<ul>
<li v-for="graph in graphs" :key="graph">
<div class = "list-link-wrap">
<div v-for="graph in graphs" :key="graph" class="list-link">
<router-link :to="`/${workspace}/graph/${graph}`">{{graph}}</router-link>
</li>
</ul>
</div>
</div>
</div>
</div>
</div>
Expand Down Expand Up @@ -117,6 +117,34 @@ ul {
padding:5px;
border: .5px solid #648189;
width: 200px;
}
.list-link-wrap{
text-align: left;
padding:50px 0 0 0;

}

.list-link{
padding: 5px;
margin:3px 50px;
-webkit-transition:0.3s all ease;
transition:0.3s all ease;
}
.list-link:hover{
background-color: #bccace;
-webkit-transition:0.3s all ease;
transition:0.3s all ease;

}
.list-link:hover a{
color:#fff;
}
.list-link a{
text-decoration: none;
letter-spacing:1px;
text-transform:uppercase;
font-weight:bold;
color:#7f9ba4;

}
</style>