35 lines
1.2 KiB
Cheetah
35 lines
1.2 KiB
Cheetah
<? INC Header.tmpl ?>
|
|
|
|
<div class="container">
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">Cert</div>
|
|
<div class="panel-body">
|
|
<? IF Cert ?>
|
|
<p>You already have a certificate set, use the form below to overwrite the current certificate. Alternatively click <a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>delete">here</a> to <a href="<? VAR URIPrefix TOP ?><? VAR ModPath ?>delete">delete</a> your certificate.</p>
|
|
<? ELSE ?>
|
|
<p>You do not have a cert.</p>
|
|
<? ENDIF ?>
|
|
|
|
<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>update">
|
|
<? INC _csrf_check.tmpl ?>
|
|
<h3>Certificate</h3>
|
|
<hr>
|
|
|
|
<div class="form-group">
|
|
<label for="inputPEM" class="col-sm-2 control-label">PEM File</label>
|
|
<div class="col-sm-10">
|
|
<textarea class="form-control" rows="5" name="cert"></textarea>
|
|
</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="Update" />
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<? INC Footer.tmpl ?> |