Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

enhance farm details UI #211

Merged
merged 2 commits into from
May 7, 2023
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
25 changes: 14 additions & 11 deletions packages/dashboard/src/portal/views/Farms.vue
Original file line number Diff line number Diff line change
Expand Up @@ -123,16 +123,18 @@
<v-flex class="text-left">Stellar Payout Address</v-flex>
</v-col>
<v-col v-if="item.v2address">
<v-row
class="d-flex align-baseline justify-between"
style="text-overflow: ellipsis; white-space: nowrap; overflow: hidden"
>
<v-row style="margin: 0">
<span style="font-size: small">
{{ item.v2address }}
</span>
</v-row>
<v-btn x-small @click="openV2AddressDialog = true">Edit</v-btn>
<v-row class="d-flex align-baseline justify-between pl-3">
<v-text-field
outlined
class="pt-1 text-caption"
dense
hide-details
:value="item.v2address"
:readonly="!!item.v2address"
:append-icon="'mdi-pencil'"
@click:append="openV2AddressDialog = true"
>
</v-text-field>
</v-row>
</v-col>
<v-col v-else>
Expand Down Expand Up @@ -175,12 +177,13 @@
</v-col>
<v-col>
<v-flex>
<v-btn x-small v-bind:href="'https://v3.bootstrap.grid.tf/'" target="blank">view bootstrap</v-btn>
<v-btn small v-bind:href="'https://v3.bootstrap.grid.tf/'" target="blank">view bootstrap</v-btn>
</v-flex>
</v-col>
</v-row>

<PublicIPTable
class="pt-4"
:ips="item.publicIps"
:deleteIP="deletePublicIP"
:loadingDelete="loadingDeleteIP"
Expand Down