mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add TransactionRows/CollapsIcon.vue, add this components in transaction slots
This commit is contained in:
parent
8211538d6f
commit
d5ff360b18
@ -89,6 +89,11 @@ export default {
|
|||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
collaps-icon {
|
||||||
|
width: 95%;
|
||||||
|
position: absolute;
|
||||||
|
}
|
||||||
|
|
||||||
.el-table .cell {
|
.el-table .cell {
|
||||||
padding-left: 0px;
|
padding-left: 0px;
|
||||||
padding-right: 0px;
|
padding-right: 0px;
|
||||||
|
|||||||
17
frontend/src/components/TransactionRows/CollapsIcon.vue
Normal file
17
frontend/src/components/TransactionRows/CollapsIcon.vue
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<template>
|
||||||
|
<div class="Collaps-Icon">
|
||||||
|
<b-icon
|
||||||
|
:icon="visible ? 'caret-up-square' : 'caret-down-square'"
|
||||||
|
:class="visible ? 'text-black' : 'text-muted'"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
|
<script>
|
||||||
|
export default {
|
||||||
|
props: {
|
||||||
|
visible: {
|
||||||
|
type: Boolean,
|
||||||
|
},
|
||||||
|
},
|
||||||
|
}
|
||||||
|
</script>
|
||||||
@ -2,12 +2,7 @@
|
|||||||
<div class="transaction-slot-creation">
|
<div class="transaction-slot-creation">
|
||||||
<div @click="visible = !visible">
|
<div @click="visible = !visible">
|
||||||
<!-- Collaps Icon -->
|
<!-- Collaps Icon -->
|
||||||
<div class="text-right" style="width: 95%; position: absolute">
|
<collaps-icon class="text-right" :visible="visible" />
|
||||||
<b-icon
|
|
||||||
:icon="visible ? 'caret-up-square' : 'caret-down-square'"
|
|
||||||
:class="visible ? 'text-black' : 'text-muted'"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<b-row>
|
<b-row>
|
||||||
@ -89,6 +84,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import CollapsIcon from '../TransactionRows/CollapsIcon'
|
||||||
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
||||||
import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
|
import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
|
||||||
import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
|
import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
|
||||||
@ -97,6 +93,7 @@ import DecayInformationDecayStartblock from '../DecayInformations/DecayInformati
|
|||||||
export default {
|
export default {
|
||||||
name: 'slot-creation',
|
name: 'slot-creation',
|
||||||
components: {
|
components: {
|
||||||
|
CollapsIcon,
|
||||||
DecayInformationShort,
|
DecayInformationShort,
|
||||||
DecayInformationLong,
|
DecayInformationLong,
|
||||||
DecayInformationBeforeStartblock,
|
DecayInformationBeforeStartblock,
|
||||||
|
|||||||
@ -2,12 +2,7 @@
|
|||||||
<div class="transaction-slot-decay">
|
<div class="transaction-slot-decay">
|
||||||
<div @click="visible = !visible">
|
<div @click="visible = !visible">
|
||||||
<!-- Collaps Icon -->
|
<!-- Collaps Icon -->
|
||||||
<div class="text-right" style="width: 95%; position: absolute">
|
<collaps-icon class="text-right" :visible="visible" />
|
||||||
<b-icon
|
|
||||||
:icon="visible ? 'caret-up-square' : 'caret-down-square'"
|
|
||||||
:class="visible ? 'text-black' : 'text-muted'"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<b-row>
|
<b-row>
|
||||||
@ -45,11 +40,13 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import CollapsIcon from '../TransactionRows/CollapsIcon'
|
||||||
import DecayInformationDecay from '../DecayInformations/DecayInformation-Decay'
|
import DecayInformationDecay from '../DecayInformations/DecayInformation-Decay'
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: 'slot-decay',
|
name: 'slot-decay',
|
||||||
components: {
|
components: {
|
||||||
|
CollapsIcon,
|
||||||
DecayInformationDecay,
|
DecayInformationDecay,
|
||||||
},
|
},
|
||||||
props: {
|
props: {
|
||||||
|
|||||||
@ -2,12 +2,7 @@
|
|||||||
<div class="transaction-slot-receive">
|
<div class="transaction-slot-receive">
|
||||||
<div @click="visible = !visible">
|
<div @click="visible = !visible">
|
||||||
<!-- Collaps Icon -->
|
<!-- Collaps Icon -->
|
||||||
<div class="text-right" style="width: 95%; position: absolute">
|
<collaps-icon class="text-right" :visible="visible" />
|
||||||
<b-icon
|
|
||||||
:icon="visible ? 'caret-up-square' : 'caret-down-square'"
|
|
||||||
:class="visible ? 'text-black' : 'text-muted'"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<b-row>
|
<b-row>
|
||||||
@ -92,6 +87,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import CollapsIcon from '../TransactionRows/CollapsIcon'
|
||||||
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
||||||
import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
|
import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
|
||||||
import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
|
import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
|
||||||
@ -100,6 +96,7 @@ import DecayInformationDecayStartblock from '../DecayInformations/DecayInformati
|
|||||||
export default {
|
export default {
|
||||||
name: 'slot-receive',
|
name: 'slot-receive',
|
||||||
components: {
|
components: {
|
||||||
|
CollapsIcon,
|
||||||
DecayInformationShort,
|
DecayInformationShort,
|
||||||
DecayInformationLong,
|
DecayInformationLong,
|
||||||
DecayInformationBeforeStartblock,
|
DecayInformationBeforeStartblock,
|
||||||
|
|||||||
@ -2,12 +2,7 @@
|
|||||||
<div class="transaction-slot-send">
|
<div class="transaction-slot-send">
|
||||||
<div @click="visible = !visible">
|
<div @click="visible = !visible">
|
||||||
<!-- Collaps Icon -->
|
<!-- Collaps Icon -->
|
||||||
<div class="text-right" style="width: 95%; position: absolute">
|
<collaps-icon class="text-right" :visible="visible" />
|
||||||
<b-icon
|
|
||||||
:icon="visible ? 'caret-up-square' : 'caret-down-square'"
|
|
||||||
:class="visible ? 'text-black' : 'text-muted'"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<b-row>
|
<b-row>
|
||||||
@ -89,6 +84,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
|
import CollapsIcon from '../TransactionRows/CollapsIcon'
|
||||||
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
import DecayInformationShort from '../DecayInformations/DecayInformation-Short'
|
||||||
import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
|
import DecayInformationLong from '../DecayInformations/DecayInformation-Long'
|
||||||
import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
|
import DecayInformationBeforeStartblock from '../DecayInformations/DecayInformation-BeforeStartblock'
|
||||||
@ -96,6 +92,7 @@ import DecayInformationDecayStartblock from '../DecayInformations/DecayInformati
|
|||||||
export default {
|
export default {
|
||||||
name: 'slot-send',
|
name: 'slot-send',
|
||||||
components: {
|
components: {
|
||||||
|
CollapsIcon,
|
||||||
DecayInformationShort,
|
DecayInformationShort,
|
||||||
DecayInformationLong,
|
DecayInformationLong,
|
||||||
DecayInformationBeforeStartblock,
|
DecayInformationBeforeStartblock,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user