Validate URL on options page
This commit is contained in:
parent
1d05a374df
commit
3b093a68b2
|
@ -3,10 +3,15 @@
|
||||||
<head>
|
<head>
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<title></title>
|
<title></title>
|
||||||
|
<style>
|
||||||
|
input:invalid {
|
||||||
|
background-color: red;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<label for="endpoint_id">Endpoint</label>
|
<label for="endpoint_id">Endpoint</label>
|
||||||
<div><input type="text" id="endpoint_id"/></div>
|
<div><input type="URL" id="endpoint_id"/></div>
|
||||||
<label for="notification_id">Notification after capturing</label>
|
<label for="notification_id">Notification after capturing</label>
|
||||||
<div><input type="checkbox" id="notification_id"/></div>
|
<div><input type="checkbox" id="notification_id"/></div>
|
||||||
<label for="default_tags_id">Default tags</label>
|
<label for="default_tags_id">Default tags</label>
|
||||||
|
|
Loading…
Reference in a new issue