Skip to content

Commit

Permalink
move settings button to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
riccardobl committed Sep 7, 2024
1 parent 2bbbcd4 commit dc1bedf
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions templates/nwcprovider/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,24 @@
<div class="row q-col-gutter-md">
<div class="col-12 col-md-8 col-lg-7 q-gutter-y-md">
<q-card>
<q-card-section>
<q-card-section class="row q-gutter-x-md">
<q-select
v-model="selectedWallet"
filled
dense
emit-value
map-options
:options="g.user.walletOptions"
label="Wallet *"
class="col"
></q-select>
<q-btn
v-if="this.g.user.admin"
@click="go('/nwcprovider/admin')"
aria-label="Settings"
icon="settings"
color="primary"
/>
</q-card-section>
</q-card>

Expand Down Expand Up @@ -105,16 +114,6 @@ <h6 class="text-subtitle1 q-my-none">NWC Service provider</h6>
<q-icon name="swap_vertical_circle" class="q-mr-md"></q-icon>
<q-item-section>Swagger API</q-item-section>
</q-item>
<q-separator></q-separator>
<q-item
v-if="this.g.user.admin"
clickable
@click="go('/nwcprovider/admin')"
class="q-flex items-center justify-between"
>
<q-icon name="settings" class="q-mr-md"></q-icon>
<q-item-section>Settings</q-item-section>
</q-item>
</q-list>
</q-card-section>
</q-card>
Expand Down

0 comments on commit dc1bedf

Please sign in to comment.