tdns/Site/index.html

60 lines
1.9 KiB
HTML
Raw Permalink Normal View History

2022-07-24 20:09:33 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tesses DNS</title>
<link rel="stylesheet" href="css/bootstrap.min.css">
</head>
<body>
<div class="container">
<br>
<h1>Tesses DNS</h1>
<template id="dns">
<div class="row">
<div class="col">
<input class="form-control" type="text" id="key" placeholder="Domain Name or Key">
</div>
<div class="col">
<select class="form-select" id="type">
<option selected value="A">A</option>
<option value="CNAME">CNAME</option>
</select>
</div>
<div class="col">
<input class="form-control" type="text" id="value" placeholder="IP, Domain Or Value">
</div>
<div class="col">
<input class="form-control" value="300" type="number" id="ttl" placeholder="TTL" min="0" max="1000000">
</div>
<div class="col">
<button type="button" id="save" class="btn btn-success">Save</button>
<button type="button" id="delete" class="btn btn-danger">Delete</button>
</div>
</div>
<br>
</template>
<div id="dns_items">
</div>
<button type="button" id="add" onclick="add()" class="btn btn-primary">Add</button>
<button type="button" id="save" onclick="saveAll()" class="btn btn-success">Save</button>
</div>
<script src="js/dns.js"></script>
<script src="js/bootstrap.min.js"></script>
</body>
</html>