Skip to content

Commit

Permalink
features/improve-sdl-builder (#24)
Browse files Browse the repository at this point in the history
* import GPU sdl builder

* added gpus to sdl builder

* import template with GPU

* added support for IP lease sdl builder

* fix error

* added http options form

* added http options to sdl builder

* added multiple denom (USDC) to sdl builder

* handle loading schema for sdl builder

* Apply suggestions from code review

---------

Co-authored-by: Maxime Cyr <max_maxime_max@hotmail.com>
  • Loading branch information
baktun14 and Redm4x authored Oct 6, 2023
1 parent f61c06a commit f1503f5
Show file tree
Hide file tree
Showing 20 changed files with 885 additions and 266 deletions.
143 changes: 15 additions & 128 deletions deploy-web/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion deploy-web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
"file-saver": "^2.0.5",
"http-proxy": "^1.18.1",
"jotai": "^2.0.4",
"js-yaml": "^3.14.1",
"js-yaml": "^4.1.0",
"json-stable-stringify": "^1.0.2",
"json2csv": "^5.0.7",
"jsrsasign": "^10.6.1",
Expand Down
18 changes: 1 addition & 17 deletions deploy-web/src/components/dashboard/Dashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ import { StatsCard } from "./StatsCard";
import { FormattedDecimalCurrency } from "../shared/FormattedDecimalCurrency";
import { DiffPercentageChip } from "../shared/DiffPercentageChip";
import { useTheme } from "@mui/material";
import { uaktToAKT } from "@src/utils/priceUtils";
import { BlockRow } from "../blockchain/BlockRow";
import { TransactionRow } from "../blockchain/TransactionRow";
import { useSelectedNetwork } from "@src/hooks/useSelectedNetwork";
import { USDCLabel, USDLabel } from "../shared/UsdLabel";

interface IDashboardProps {
dashboardData: DashboardData;
Expand Down Expand Up @@ -535,19 +535,3 @@ const AKTLabel = () => {
</Box>
);
};

const USDLabel = () => {
return (
<Box component="span" sx={{ marginLeft: ".5rem", fontSize: ".75rem", fontWeight: 300 }}>
$USD
</Box>
);
};

const USDCLabel = () => {
return (
<Box component="span" sx={{ marginLeft: ".5rem", fontSize: ".75rem", fontWeight: 300 }}>
USDC
</Box>
);
};
Loading

0 comments on commit f1503f5

Please sign in to comment.