notes 1.8.2
This commit is contained in:
		@@ -1,36 +1,37 @@
 | 
			
		||||
<? I18N znc-notes ?>
 | 
			
		||||
<? INC Header.tmpl ?>
 | 
			
		||||
 | 
			
		||||
<div class="container col-md-10 col-md-offset-1">
 | 
			
		||||
	<div class="panel panel-default">
 | 
			
		||||
		<div class="panel-heading">Notes · Add A Note</div>
 | 
			
		||||
		<div class="panel-heading"><? FORMAT "Add A Note" ?></div>
 | 
			
		||||
			<div class="panel-body">
 | 
			
		||||
				<form class="form-horizontal" method="post" action="<? VAR URIPrefix TOP ?><? VAR ModPath ?>addnote">
 | 
			
		||||
				<? INC _csrf_check.tmpl ?>
 | 
			
		||||
 | 
			
		||||
				<div class="form-group">
 | 
			
		||||
					<label for="inputKey" class="col-sm-2 control-label">Key:</label>
 | 
			
		||||
					<label for="inputKey" class="col-sm-2 control-label"><? FORMAT "Key:" ?></label>
 | 
			
		||||
						<div class="col-sm-10">
 | 
			
		||||
							<input type="text" class="form-control" id="inputKey" name="key" size="8">
 | 
			
		||||
						</div>
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
				<div class="form-group">
 | 
			
		||||
					<label for="inputNote" class="col-sm-2 control-label">Note:</label>
 | 
			
		||||
					<label for="inputNote" class="col-sm-2 control-label"><? FORMAT "Note:" ?></label>
 | 
			
		||||
						<div class="col-sm-10">
 | 
			
		||||
							<input type="text" class="form-control" id="inputNote" name="note" size="40">
 | 
			
		||||
						</div>
 | 
			
		||||
				</div>
 | 
			
		||||
 | 
			
		||||
				<? IF !NotesLoop ?>
 | 
			
		||||
					<div class="alert alert-warning">You have no notes to display.</div>
 | 
			
		||||
					<div class="alert alert-warning"><? FORMAT "You have no notes to display." ?></div>
 | 
			
		||||
				<? ELSE ?>
 | 
			
		||||
 | 
			
		||||
				<table class="table table-bordered table-hover">
 | 
			
		||||
					<thead>
 | 
			
		||||
						<tr>
 | 
			
		||||
							<td>Key</td>
 | 
			
		||||
							<td>Note</td>
 | 
			
		||||
							<td>Action</td>
 | 
			
		||||
							<td><? FORMAT "Key" ?></td>
 | 
			
		||||
							<td><? FORMAT "Note" ?></td>
 | 
			
		||||
							<td></td>
 | 
			
		||||
						</tr>
 | 
			
		||||
					</thead>
 | 
			
		||||
					<tbody>
 | 
			
		||||
@@ -38,7 +39,7 @@
 | 
			
		||||
						<tr>
 | 
			
		||||
							<td><? VAR Key ?></td>
 | 
			
		||||
							<td><? VAR Note ?></td>
 | 
			
		||||
							<td><a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>delnote?key=<? VAR Key ESC=URL,HTML ?>" class="btn btn-danger btn-xs">Delete</a></td>
 | 
			
		||||
							<td><a href="<? VAR URIPrefix TOP ?><? VAR ModPath TOP ?>delnote?key=<? VAR Key ESC=URL,HTML ?>" class="btn btn-danger btn-xs"><? FORMAT "[del]" ?></a></td>
 | 
			
		||||
						</tr>
 | 
			
		||||
						<? ENDLOOP ?>
 | 
			
		||||
					</tbody>
 | 
			
		||||
@@ -48,7 +49,7 @@
 | 
			
		||||
 | 
			
		||||
				<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 Note"  />
 | 
			
		||||
					<input class="btn btn-success" type="submit" name="add" value="<? FORMAT "Add Note" ?>"  />
 | 
			
		||||
				</div>
 | 
			
		||||
				</form>
 | 
			
		||||
	</div>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user