Skip to content

Commit

Permalink
adding admin dashboard changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jurabek committed Mar 16, 2024
1 parent 9fc79ca commit 6b3b4eb
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 89 deletions.
6 changes: 6 additions & 0 deletions src/backend/docker/docker-compose.traefik.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ services:
- "traefik.http.routers.web.rule=PathPrefix(`/`)"
- "traefik.port=3001"

payment-api:
labels:
- "traefik.enable=true"
- "traefik.http.routers.payment.rule=PathPrefix(`/payment/`)"
- "traefik.port=8980"

identity-api:
labels:
- "traefik.enable=true"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// pages/orders.tsx
import OrdersTable from "@/components/orders-table";
import React from "react";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,17 @@ interface OrdersTableProps {
}

const OrdersTable: React.FC<OrdersTableProps> = ({ orders }) => {
const rowClassName =
"px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider";
return (
<div className="">
<table className="min-w-full divide-y divide-gray-200">
<thead className="bg-gray-50">
<tr>
<th
scope="col"
className="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
>
<th scope="col" className={rowClassName}>
Order
</th>
<th
scope="col"
className="px-6 py-3 text-left text-xs font-medium text-gray-500 uppercase tracking-wider"
>
<th scope="col" className={rowClassName}>
Customer
</th>
</tr>
Expand Down
80 changes: 0 additions & 80 deletions src/backend/services/web.admin/dashboard-new/index.html

This file was deleted.

0 comments on commit 6b3b4eb

Please sign in to comment.