2014-02-11 05:44:19 +01:00
<? INC Header.tmpl ?>
2014-09-19 20:19:24 +02:00
<div class="container col-md-10 col-md-offset-1">
2014-02-11 05:44:19 +01:00
<div class="panel panel-default">
2014-09-19 20:19:24 +02:00
<div class="panel-heading">Certificate</div>
2014-02-11 05:44:19 +01:00
<div class="panel-body">
<? IF Cert ?>
2014-09-19 20:19:24 +02:00
<div class="alert alert-success">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.</div>
2014-02-11 05:44:19 +01:00
<? ELSE ?>
2014-09-19 20:19:24 +02:00
<div class="alert alert-danger">You do not have a cert.</div>
2014-02-11 05:44:19 +01:00
<? ENDIF ?>
2014-05-21 09:41:26 +02:00
<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>update">
2014-02-11 05:44:19 +01:00
<? INC _csrf_check.tmpl ?>
2014-09-19 20:19:24 +02:00
<div class="form-group">
<label for="inputPEM" class="col-sm-2 control-label">PEM File: </label>
2014-02-11 05:44:19 +01:00
<div class="col-sm-10">
<textarea class="form-control" rows="5" name="cert"></textarea>
</div>
2014-09-19 20:19:24 +02:00
</div>
</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="Update" />
2014-02-11 05:44:19 +01:00
</div>
2014-09-19 20:19:24 +02:00
</form>
2014-02-11 05:44:19 +01:00
</div>
</div>
2014-09-19 20:19:24 +02:00
2014-02-11 05:44:19 +01:00
<? INC Footer.tmpl ?>