diff --git a/app/js/custom.js b/app/js/custom.js index 7c874fd6..8cbeeecf 100644 --- a/app/js/custom.js +++ b/app/js/custom.js @@ -468,6 +468,14 @@ $(document).ready(function(){ }, placeholder: "___.___.___.___" }); + $('.date').mask('FF:FF:FF:FF:FF:FF', { + translation: { + "F": { + pattern: /[0-9a-z]/, optional: true + } + }, + placeholder: "__:__:__:__:__:__" + }); }); $('#wg-upload,#wg-manual').on('click', function (e) { diff --git a/templates/dhcp/static_leases.php b/templates/dhcp/static_leases.php index c1e090c4..90e24352 100644 --- a/templates/dhcp/static_leases.php +++ b/templates/dhcp/static_leases.php @@ -30,7 +30,7 @@