add help to web interface
This commit is contained in:
14
templates/func_help.html
Normal file
14
templates/func_help.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<h2>{{ func }}</h2>
|
||||
|
||||
<h3>Parameters</h3>
|
||||
<dl>
|
||||
{{ parameters }}
|
||||
</dl>
|
||||
|
||||
<h3>Return</h3>
|
||||
{{ return }}
|
||||
|
||||
<h3>Description</h3>
|
||||
{{ help }}
|
||||
|
||||
|
||||
@@ -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>
|
||||
|
||||
5
templates/param_help.html
Normal file
5
templates/param_help.html
Normal file
@@ -0,0 +1,5 @@
|
||||
<dt>{{ name }} {{ optional }}</dt>
|
||||
<dd>
|
||||
<bold>{{ type }}</bold>
|
||||
{{ doc }}
|
||||
</dd>
|
||||
2
templates/return_help.html
Normal file
2
templates/return_help.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<bold>{{ type }}</bold>
|
||||
{{ doc }}
|
||||
Reference in New Issue
Block a user