added more pretty

This commit is contained in:
2018-05-01 15:59:45 +10:00
parent 9a91620cf0
commit 0c9bfd8d3e
3 changed files with 47 additions and 4 deletions

7
static/css/bootstrap.min.css vendored Normal file

File diff suppressed because one or more lines are too long

12
static/css/test.css Normal file
View File

@ -0,0 +1,12 @@
.records {
font-size: 10px;
padding: 30px;
color: grey;
background-color: beige;
}
.myNav {
background-color: black;
color: darkgrey;
justify-content: center;
}

View File

@ -1,5 +1,29 @@
{{dnsinfo}} <!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{% for field in dnsinfo %} <!-- Bootstrap CSS -->
<li>{{field}}</li> <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" integrity="sha384-WskhaSGFgHYWDcbwN70/dfYBj47jz9qbsMId/iRN3ewGhXQFZCSftd1LZCfmhktB" crossorigin="anonymous">
{% endfor %}
<link rel="stylesheet" href="/static/css/test.css">
<title>Hello, world!</title>
</head>
<body>
<div class="navbar myNav">
<h3>DNSPy2: Electric Boogaloo</h3>
</div>
<div class="container records">
{% for key, value in dnsinfo.iteritems() %}
<li><b>{{ key }} </b> - {{ value }}</li>
{% endfor %}
</div>
<!-- Optional JavaScript -->
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js" integrity="sha384-smHYKdLADwkXOn1EmN1qk/HfnUcbVRZyYmZ4qpPea6sjB/pTJ0euyQp0Mk8ck+5T" crossorigin="anonymous"></script>
</body>
</html>