diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
new file mode 100644
index 0000000..c2cc8c0
--- /dev/null
+++ b/.github/workflows/build.yml
@@ -0,0 +1,22 @@
+name: build our image
+
+on:
+ push:
+ branches: master
+
+jobs:
+ build:
+ runs-on: ubuntu-latest
+ steps:
+ - name: checkout code
+ uses: actions/checkout@v2
+ - name: install buildx
+ id: buildx
+ uses: crazy-max/ghaction-docker-buildx@v1
+ with:
+ version: latest
+ - name: build the image
+ run: |
+ docker buildx build \
+ --tag pixeldrew/hero-masq:latest \
+ --platform linux/amd64,linux/arm/v7,linux/arm64 .
diff --git a/.nvmrc b/.nvmrc
new file mode 100644
index 0000000..8351c19
--- /dev/null
+++ b/.nvmrc
@@ -0,0 +1 @@
+14
diff --git a/components/DHCPRangeForm.js b/components/DHCPRangeForm.js
index c21d977..fa124d3 100644
--- a/components/DHCPRangeForm.js
+++ b/components/DHCPRangeForm.js
@@ -5,8 +5,7 @@ import { makeStyles } from "@material-ui/core/styles";
import TextField from "@material-ui/core/TextField";
import Card from "@material-ui/core/Card";
import CardContent from "@material-ui/core/CardContent";
-import CardActions from "@material-ui/core/CardActions";
-import Button from "@material-ui/core/Button";
+
import MenuItem from "@material-ui/core/MenuItem";
import gql from "graphql-tag";
@@ -17,6 +16,8 @@ import useForm from "../hooks/useForm";
import IPMaskedInput from "./IPMaskedInput";
import { IP_REGEX, LEASE_EXPIRATIONS } from "../lib/constants";
+import SaveIcon from "@material-ui/icons/Save";
+import IconButton from "@material-ui/core/IconButton";
const useStyles = makeStyles((theme) => ({
card: {
@@ -92,77 +93,71 @@ export function DHCPRangeForm({ submitForm }) {
if (error) return
error
;
return (
-
-
-
+
+
+
);
}
diff --git a/components/DeleteDialog.js b/components/DeleteDialog.js
index a6c240a..7305ee8 100644
--- a/components/DeleteDialog.js
+++ b/components/DeleteDialog.js
@@ -7,6 +7,8 @@ import DialogActions from "@material-ui/core/DialogActions";
import DialogContent from "@material-ui/core/DialogContent";
import DialogContentText from "@material-ui/core/DialogContentText";
import DialogTitle from "@material-ui/core/DialogTitle";
+import DeleteIcon from "@material-ui/icons/Delete";
+import IconButton from "@material-ui/core/IconButton";
import useModal from "../hooks/useModal";
@@ -15,9 +17,9 @@ export function DeleteDialog({ okHandler }) {
return (
<>
-
+
+
+