Skip to content

Commit

Permalink
Remove export buttons and add coming soon to operator buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
ccali11 committed Oct 26, 2023
1 parent 76ccef5 commit 13b4ca6
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 14 deletions.
36 changes: 24 additions & 12 deletions apps/web/src/pages/operators/Operator.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,14 @@ const operatorTableHeaders = ref(
title: 'Node URL',
value: 'nodeURL'
},
// {
// title: '',
// value: 'deactivate'
// },
// {
// title: '',
// value: 'withdraw_collateral'
// },
{
title: '',
value: 'deactivate'
},
{
title: '',
value: 'withdraw_collateral'
},
]
)
Expand Down Expand Up @@ -639,7 +639,7 @@ watch([loadingSessionLogin || loadingInitializeOperators], () =>{
List of operators according to their performance
</div>
</div>
<div class="flex items-start gap-[12px]">
<!-- <div class="flex items-start gap-[12px]">
<button
class="flex items-center gap-[8px] export_button h-[38px]"
@click="exportFile(checkedItems, filteredData)"
Expand All @@ -651,7 +651,7 @@ watch([loadingSessionLogin || loadingInitializeOperators], () =>{
/>
Export
</button>
</div>
</div> -->
</div>

<!-- Table -->
Expand Down Expand Up @@ -729,9 +729,13 @@ watch([loadingSessionLogin || loadingInitializeOperators], () =>{
>
<!-- TODO: @Chris, wanna hook up this button? -->
<button
class="bg-decline text-white rounded-[3px] px-[8px] py-[4px] text-[14px] font-[500]"
class="bg-decline text-white rounded-[3px] px-[8px] py-[4px] text-[14px] font-[500] relative"
disabled
>
<div class="tooltip_container">
Coming Soon!
<div class="tooltip_triangle" />
</div>
Deactivate
</button>
</div>
Expand All @@ -741,9 +745,13 @@ watch([loadingSessionLogin || loadingInitializeOperators], () =>{
>
<!-- TODO: @Chris, wanna hook up this button? -->
<button
class="bg-primary text-white rounded-[3px] px-[8px] py-[4px] text-[14px] font-[500] opacity-50"
class="action-button bg-primary text-white rounded-[3px] px-[8px] py-[4px] text-[14px] font-[500] opacity-50 relative"
disabled
>
<div class="tooltip_container">
Coming Soon!
<div class="tooltip_triangle" />
</div>
Withdraw
</button>
</div>
Expand Down Expand Up @@ -1053,6 +1061,10 @@ watch([loadingSessionLogin || loadingInitializeOperators], () =>{
border-top: 5px solid #000; /* same color as the tooltip background */
}
button:hover .tooltip_container {
opacity: 1; /* show on hover */
}
/* .shine-effect {
content: '';
position: absolute;
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/pages/overview/components/BreakdownTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ onMounted(() =>{
List of transactions by wallet and staking actions
</div>
</div>
<div class="flex items-start gap-[12px]">
<!-- <div class="flex items-start gap-[12px]">
<button
class="flex items-center gap-[8px] export_button h-[38px]"
@click="exportFile()"
Expand All @@ -363,7 +363,7 @@ onMounted(() =>{
/>
Export
</button>
</div>
</div> -->
</div>
<div class="flex flex-wrap gap-[20px] justify-between py-[20px] items-center border-b border-b-[#EAECF0]">
<div class="grouped_buttons flex flex-nowrap overflow-hidden w-[261px]">
Expand Down

0 comments on commit 13b4ca6

Please sign in to comment.