add help to web interface

This commit is contained in:
Gilles Crettenand
2015-06-04 17:55:11 +02:00
parent e12dc5a3c7
commit f2bbf7093e
8 changed files with 124 additions and 3 deletions

14
templates/func_help.html Normal file
View File

@@ -0,0 +1,14 @@
<h2>{{ func }}</h2>
<h3>Parameters</h3>
<dl>
{{ parameters }}
</dl>
<h3>Return</h3>
{{ return }}
<h3>Description</h3>
{{ help }}

View File

@@ -22,7 +22,7 @@
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li><a href="/">Help</a></li>
<li><a href="help.php">Help</a></li>
<li><a href="logs.php">Logs</a></li>
<li><a href="phpinfo.php">PHPInfo</a></li>
</ul>

View File

@@ -0,0 +1,5 @@
<dt>{{ name }} {{ optional }}</dt>
<dd>
<bold>{{ type }}</bold>
{{ doc }}
</dd>

View File

@@ -0,0 +1,2 @@
<bold>{{ type }}</bold>
{{ doc }}