Skip to content

Commit

Permalink
Merge pull request #8 from multinet-app/action-buttons-left
Browse files Browse the repository at this point in the history
Move actions to the left in the toolbar
  • Loading branch information
JackWilb authored Mar 2, 2023
2 parents 45965d2 + f9f3dae commit b8b68ba
Showing 1 changed file with 20 additions and 18 deletions.
38 changes: 20 additions & 18 deletions src/components/ToolBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,22 +10,7 @@
src="../assets/multinet_logo.svg"
alt="Multinet Logo"
>
<v-toolbar-title>{{ props.appName }}</v-toolbar-title>

<v-spacer />

<div>
<v-autocomplete
v-model="searchTerm"
:items="searchItems"
auto-select-first
dense
filled
hide-details
placeholder="Search For A Node"
@change="searchTerm !== undefined && search(searchTerm); searchTerm = undefined"
/>
</div>
<v-toolbar-title id="title">{{ props.appName }}</v-toolbar-title>

<v-tooltip bottom>
<template v-slot:activator="{ on, attrs }">
Expand Down Expand Up @@ -69,6 +54,21 @@
<span>Clear Selection</span>
</v-tooltip>

<div>
<v-autocomplete
v-model="searchTerm"
:items="searchItems"
auto-select-first
dense
filled
hide-details
placeholder="Search For A Node"
@change="searchTerm !== undefined && search(searchTerm); searchTerm = undefined"
/>
</div>

<v-spacer />

<v-menu
bottom
offset-y
Expand All @@ -87,8 +87,6 @@
<v-list-item link @click="exportNetwork"><v-list-item-title>Export Network</v-list-item-title></v-list-item>
<v-list-item link @click="showTrrackVis"><v-list-item-title>Show History</v-list-item-title></v-list-item>
<v-list-item link @click="redirectToDocs"><v-list-item-title>Get Help</v-list-item-title></v-list-item>


</v-list>
</v-menu>

Expand Down Expand Up @@ -137,6 +135,10 @@ function redirectToDocs() {
margin-right: 5px;
}
#title {
margin-right: 10px;
}
.search-box {
width: 0px;
}
Expand Down

0 comments on commit b8b68ba

Please sign in to comment.