mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
CANCEL button always in dark blue (secondary) color
This commit is contained in:
@@ -206,7 +206,7 @@ const APSettings = () => {
|
|||||||
startIcon={<CancelIcon />}
|
startIcon={<CancelIcon />}
|
||||||
disabled={saving}
|
disabled={saving}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
color="primary"
|
color="secondary"
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={loadData}
|
onClick={loadData}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -813,7 +813,7 @@ const ApplicationSettings = () => {
|
|||||||
<Button
|
<Button
|
||||||
startIcon={<CancelIcon />}
|
startIcon={<CancelIcon />}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
color="primary"
|
color="secondary"
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={loadData}
|
onClick={loadData}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -474,7 +474,7 @@ const MqttSettings = () => {
|
|||||||
startIcon={<CancelIcon />}
|
startIcon={<CancelIcon />}
|
||||||
disabled={saving}
|
disabled={saving}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
color="primary"
|
color="secondary"
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={loadData}
|
onClick={loadData}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ const NTPSettings = () => {
|
|||||||
startIcon={<CancelIcon />}
|
startIcon={<CancelIcon />}
|
||||||
disabled={saving}
|
disabled={saving}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
color="primary"
|
color="secondary"
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={loadData}
|
onClick={loadData}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -372,7 +372,7 @@ const NetworkSettings = () => {
|
|||||||
startIcon={<CancelIcon />}
|
startIcon={<CancelIcon />}
|
||||||
disabled={saving}
|
disabled={saving}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
color="primary"
|
color="secondary"
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={loadData}
|
onClick={loadData}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -227,7 +227,7 @@ const ManageUsers = () => {
|
|||||||
startIcon={<CancelIcon />}
|
startIcon={<CancelIcon />}
|
||||||
disabled={saving}
|
disabled={saving}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
color="primary"
|
color="secondary"
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={onCancelSubmit}
|
onClick={onCancelSubmit}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -85,7 +85,7 @@ const SecuritySettings = () => {
|
|||||||
startIcon={<CancelIcon />}
|
startIcon={<CancelIcon />}
|
||||||
disabled={saving}
|
disabled={saving}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
color="primary"
|
color="secondary"
|
||||||
type="submit"
|
type="submit"
|
||||||
onClick={loadData}
|
onClick={loadData}
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -87,7 +87,7 @@ const DragNdrop = ({ onFileSelected }) => {
|
|||||||
<Button
|
<Button
|
||||||
startIcon={<CancelIcon />}
|
startIcon={<CancelIcon />}
|
||||||
variant="outlined"
|
variant="outlined"
|
||||||
color="error"
|
color="secondary"
|
||||||
onClick={(e) => handleRemoveFile(e)}
|
onClick={(e) => handleRemoveFile(e)}
|
||||||
>
|
>
|
||||||
{LL.CANCEL()}
|
{LL.CANCEL()}
|
||||||
|
|||||||
Reference in New Issue
Block a user