mirror of https://github.com/r4sas/Niflheim-api
R4SAS
5 years ago
8 changed files with 166 additions and 137 deletions
@ -1,28 +1,56 @@
@@ -1,28 +1,56 @@
|
||||
/* style sheet for api pages */ |
||||
body, input, textarea { |
||||
font-family: sans-serif; |
||||
padding: 0; |
||||
margin: 0; |
||||
background-color: #F0F0F0; |
||||
}a { |
||||
text-decoration:none; |
||||
color:#800000; |
||||
}h2 { |
||||
font-size:18px; |
||||
}#title { |
||||
max-width:570px; |
||||
margin-bottom:40px; |
||||
line-height: 35px; |
||||
font-size: 25px; |
||||
font-weight: bold; |
||||
padding-top:20px; |
||||
padding-bottom:5px; |
||||
border-bottom:1px solid #c4c4c4; |
||||
}#wrapper { |
||||
font-size: 15px; |
||||
max-width: 570px; |
||||
margin: auto; |
||||
}.contribs { |
||||
font-size:13px; |
||||
margin-bottom:6px; |
||||
font-family: sans-serif; |
||||
padding: 0; |
||||
margin: 0; |
||||
background-color: #F0F0F0; |
||||
} |
||||
|
||||
a { |
||||
text-decoration: none; |
||||
color: #800000; |
||||
} |
||||
|
||||
h2 { |
||||
font-size: 18px; |
||||
} |
||||
|
||||
#title { |
||||
max-width: 570px; |
||||
margin-bottom: 40px; |
||||
line-height: 35px; |
||||
font-size: 25px; |
||||
font-weight: bold; |
||||
padding-top: 20px; |
||||
padding-bottom: 5px; |
||||
border-bottom: 1px solid #c4c4c4; |
||||
} |
||||
|
||||
#title a { |
||||
color:#302f30; |
||||
} |
||||
|
||||
#wrapper { |
||||
font-size: 15px; |
||||
max-width: 570px; |
||||
margin: auto; |
||||
} |
||||
|
||||
.apireq { |
||||
padding-top: 5px; |
||||
padding-left: 10px; |
||||
padding-bottom: 5px; |
||||
line-height: 25px; |
||||
background-color: #e5e5e5; |
||||
color: #4c4c4c; |
||||
border-top: solid 1px #d3d3d3; |
||||
border-bottom: solid 1px #d3d3d3; |
||||
margin-top: 8px; |
||||
margin-bottom: 20px; |
||||
} |
||||
|
||||
.wide { |
||||
width: 100%; |
||||
border-bottom: solid 1px #d3d3d3; |
||||
margin-bottom: 25px; |
||||
} |
||||
|
@ -1,21 +0,0 @@
@@ -1,21 +0,0 @@
|
||||
<!doctype html> |
||||
<title>API</title> |
||||
<link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='style.css')}}"/> |
||||
<html> |
||||
<body> |
||||
<div id="wrapper"> |
||||
<div id="title"> |
||||
<a href='/'>Yggdrasil Network API</a> |
||||
</div> |
||||
|
||||
<h2>Contributors - {{nocontribs}}</h2> |
||||
<p>This is a list of contributors sending in their view of the network, this list is based on the contributions sent in the last 4 hours.</p><br /> |
||||
|
||||
{% for x in contribnodes %} |
||||
<div class="contribs">{{ x }}</div> |
||||
{% endfor %} |
||||
|
||||
|
||||
</div> |
||||
</body> |
||||
</html> |
Loading…
Reference in new issue