diff --git a/CHANGELOG.md b/CHANGELOG.md index 49825ad3..fbeff96c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed - Optimized the style of the carousel component on mobile for the testimonial section on the landing page +- Introduced action menus in the overview of the admin control panel - Harmonized the name column in the historical market data table of the admin control panel ## 2.21.0 - 2023-11-09 diff --git a/apps/client/src/app/components/admin-overview/admin-overview.html b/apps/client/src/app/components/admin-overview/admin-overview.html index da14baea..c0ce87c8 100644 --- a/apps/client/src/app/components/admin-overview/admin-overview.html +++ b/apps/client/src/app/components/admin-overview/admin-overview.html @@ -38,7 +38,7 @@
- -
+ {{ exchangeRate.label1 }} = + {{ exchangeRate.label2 }} - + + + + - - - + [routerLink]="['/admin', 'market-data']" + > + + + Edit + + + +
@@ -149,17 +174,34 @@ - +
{{ coupon.code }} - {{ coupon.duration }} - {{ coupon.duration }} + + +
diff --git a/apps/client/src/app/components/admin-overview/admin-overview.module.ts b/apps/client/src/app/components/admin-overview/admin-overview.module.ts index 554118bb..d0762e79 100644 --- a/apps/client/src/app/components/admin-overview/admin-overview.module.ts +++ b/apps/client/src/app/components/admin-overview/admin-overview.module.ts @@ -3,6 +3,7 @@ import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core'; import { FormsModule, ReactiveFormsModule } from '@angular/forms'; import { MatButtonModule } from '@angular/material/button'; import { MatCardModule } from '@angular/material/card'; +import { MatMenuModule } from '@angular/material/menu'; import { MatSelectModule } from '@angular/material/select'; import { MatSlideToggleModule } from '@angular/material/slide-toggle'; import { RouterModule } from '@angular/router'; @@ -20,6 +21,7 @@ import { AdminOverviewComponent } from './admin-overview.component'; GfValueModule, MatButtonModule, MatCardModule, + MatMenuModule, MatSelectModule, MatSlideToggleModule, ReactiveFormsModule,