Update to support the new bits on ZNC v.1.5-git

This commit is contained in:
sprybear
2014-09-20 02:19:24 +08:00
parent 48c4873d47
commit 769440e9ba
73 changed files with 9070 additions and 1198 deletions

View File

@@ -1,14 +1,11 @@
<? INC Header.tmpl ?>
<div class="container">
<div class="container col-md-10 col-md-offset-1">
<div class="panel panel-default">
<div class="panel-heading">Cert Auth</div>
<div class="panel-heading">Certauth &mdash; Add A Note</div>
<div class="panel-body">
<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>add">
<? INC _csrf_check.tmpl ?>
<h3>Add A Note</h3>
<hr>
<div class="form-group">
<label for="inputKey" class="col-sm-2 control-label">Key:</label>
<div class="col-sm-10">
@@ -16,34 +13,36 @@
</div>
</div>
<div class="btn-group pull-right">
<input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" name="add" value="Add Key" />
</div>
</form>
<? IF !KeyLoop ?>
<p>You have no keys.</p>
<p class="text-center">You have no keys.</p>
<? ELSE ?>
<br />
<table class="table table-bordered table-hover">
<thead>
<tr>
<td></td>
<td>Action</td>
<td>Key</td>
</tr>
</thead>
<tbody>
<? LOOP KeyLoop ?>
<tr>
<td>[<a href="<? VAR ModPath ?>delete?key=<? VAR Key ESC=URL,HTML ?>">del</a>]</td>
<td><a href="<? VAR ModPath ?>delete?key=<? VAR Key ESC=URL,HTML ?>" class="btn btn-danger btn-xs">Delete</a></td>
<td><? VAR Key ?></td>
</tr>
<? ENDLOOP ?>
<? ENDLOOP ?>
</tbody>
</table>
<? ENDIF ?>
</div>
<div class="panel-footer text-right">
<input class="btn btn-danger" type="reset" value="Reset">
<input class="btn btn-success" type="submit" name="add" value="Add Key" />
</div>
</form>
</div>
</div>