oxen-electron-gui-wallet/src/pages/wallet/advanced.vue

47 lines
1.1 KiB
Vue
Raw Normal View History

2019-06-13 01:20:26 +02:00
<template>
2020-03-03 04:16:23 +01:00
<q-page class="advanced-page">
2019-06-13 01:20:26 +02:00
<div class="header row items-center justify-center q-pt-md">
2020-03-03 04:16:23 +01:00
<q-btn-toggle
v-model="screen"
toggle-color="primary"
2021-01-06 06:26:42 +01:00
color="accent"
2020-03-03 04:16:23 +01:00
:options="[
{ label: $t('titles.advanced.prove'), value: 'prove' },
{
label: $t('titles.advanced.checkTransaction'),
value: 'check'
2020-11-23 05:27:34 +01:00
},
{
label: $t('titles.advanced.signAndVerify'),
value: 'signAndVerify'
2020-03-03 04:16:23 +01:00
}
]"
/>
2019-06-13 01:20:26 +02:00
</div>
2020-03-03 04:16:23 +01:00
<ProveTransaction v-if="screen === 'prove'" />
<CheckTransaction v-if="screen === 'check'" />
2020-11-23 05:27:34 +01:00
<SignAndVerify v-if="screen === 'signAndVerify'" />
2020-03-03 04:16:23 +01:00
</q-page>
2019-06-13 01:20:26 +02:00
</template>
<script>
2020-11-23 05:27:34 +01:00
import ProveTransaction from "components/advanced/prove_transaction";
import CheckTransaction from "components/advanced/check_transaction";
import SignAndVerify from "components/advanced/sign_and_verify";
2019-06-13 01:20:26 +02:00
export default {
2020-03-03 04:16:23 +01:00
components: {
ProveTransaction,
2020-11-23 05:27:34 +01:00
CheckTransaction,
SignAndVerify
2020-03-03 04:16:23 +01:00
},
data() {
return {
screen: "prove"
};
}
};
2019-06-13 01:20:26 +02:00
</script>
2020-03-03 04:16:23 +01:00
<style lang="scss"></style>