Update to support the new bits on ZNC v.1.5-git
This commit is contained in:
		@@ -1,35 +1,30 @@
 | 
			
		||||
<? 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</div>
 | 
			
		||||
		<div class="panel-heading">Certificate</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>
 | 
			
		||||
					<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>
 | 
			
		||||
				<? ELSE ?>
 | 
			
		||||
					<p>You do not have a cert.</p>
 | 
			
		||||
					<div class="alert alert-danger">You do not have a cert.</div>
 | 
			
		||||
				<? 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="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 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" />
 | 
			
		||||
			</div>
 | 
			
		||||
				</form>	
 | 
			
		||||
	</div>
 | 
			
		||||
</div>
 | 
			
		||||
	
 | 
			
		||||
 | 
			
		||||
<? INC Footer.tmpl ?>
 | 
			
		||||
		Reference in New Issue
	
	Block a user