diff --git a/client/src/__locales/en.json b/client/src/__locales/en.json index bbfe2336..465a4006 100644 --- a/client/src/__locales/en.json +++ b/client/src/__locales/en.json @@ -15,6 +15,7 @@ "dhcp_not_found": "It is safe to enable the built-in DHCP server - we didn't find any active DHCP servers on the network. However, we encourage you to re-check it manually as our automatic test currently doesn't give 100% guarantee.", "dhcp_found": "An active DHCP server is found on the network. It is not safe to enable the built-in DHCP server.", "dhcp_leases": "DHCP leases", + "dhcp_static_leases": "DHCP static leases", "dhcp_leases_not_found": "No DHCP leases found", "dhcp_config_saved": "Saved DHCP server config", "form_error_required": "Required field", diff --git a/client/src/components/Settings/Dhcp/StaticLeases.js b/client/src/components/Settings/Dhcp/StaticLeases.js new file mode 100644 index 00000000..6bcf596c --- /dev/null +++ b/client/src/components/Settings/Dhcp/StaticLeases.js @@ -0,0 +1,49 @@ +import React, { Component } from 'react'; +import PropTypes from 'prop-types'; +import ReactTable from 'react-table'; +import { Trans, withNamespaces } from 'react-i18next'; + +class StaticLeases extends Component { + cellWrap = ({ value }) => ( +