Browse Source

Better help text

master
Pete Shadbolt 7 years ago
parent
commit
0cf9298dae
2 changed files with 24 additions and 1 deletions
  1. +11
    -0
      static/main.css
  2. +13
    -1
      templates/index.html

+ 11
- 0
static/main.css View File

@@ -51,6 +51,17 @@ html, body { margin: 0; padding: 0; overflow: hidden; font-size: 10pt; font-fam
font-size: 9pt; font-size: 9pt;
} }


#help {
color:black;
padding: 10px;
font-family: monospace;
position: absolute;
bottom: 10px;
right: 10px;
font-size: 9pt;
}






ul { ul {


+ 13
- 1
templates/index.html View File

@@ -24,7 +24,7 @@
<div id=node_info class=hidden> </div> <div id=node_info class=hidden> </div>
<div id=server_info class=hidden> </div> <div id=server_info class=hidden> </div>


<div id=version>Version 0.4.27</div>
<div id=version>ABP version 0.4.27</div>


<div id=node_data class=hidden> <div id=node_data class=hidden>
<div id=node_name></div> <div id=node_name></div>
@@ -43,5 +43,17 @@
</div> </div>




<div id=help>
<h3>API usage:</h3>
GET https://abv.peteshadbolt.co.uk/graph -> JSON<br/>
POST JSON -> https://abv.peteshadbolt.co.uk/graph

<h3>TODO:</h3>
GET https://abv.peteshadbolt.co.uk/hadamard/0<br/>
GET https://abv.peteshadbolt.co.uk/cz/0/1<br/>
GET https://abv.peteshadbolt.co.uk/measure/10/x<br/>
etc.
</div>

</body> </body>
</html> </html>

Loading…
Cancel
Save