| 
									
										
										
										
											2022-09-07 01:35:27 +08:00
										 |  |  | 
 | 
					
						
							|  |  |  | <div class="container" id="create_mode"> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | <br> | 
					
						
							|  |  |  | 	<?php if($this->session->flashdata('message')) { ?>
 | 
					
						
							|  |  |  | 		<!-- Display Message --> | 
					
						
							|  |  |  | 		<div class="alert-message error"> | 
					
						
							|  |  |  | 		  <p><?php echo $this->session->flashdata('message'); ?></p>
 | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 	<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php if($this->session->flashdata('notice')) { ?>
 | 
					
						
							|  |  |  | 			<div id="message" > | 
					
						
							|  |  |  | 			<?php echo $this->session->flashdata('notice'); ?>
 | 
					
						
							|  |  |  | 			</div> | 
					
						
							|  |  |  | 		<?php } ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php $this->load->helper('form'); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<?php echo validation_errors(); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		<form> | 
					
						
							|  |  |  | 		<div class="form-group"> | 
					
						
							|  |  |  | 		    <label for="bandInput">Band</label> | 
					
						
							|  |  |  | 		    <input type="text" class="form-control" name="band" id="bandInput" aria-describedby="bandInputHelp" required> | 
					
						
							|  |  |  | 		    <small id="bandInputHelp" class="form-text text-muted">Band name</small> | 
					
						
							|  |  |  | 		  </div> | 
					
						
							| 
									
										
										
										
											2022-09-10 00:52:57 +08:00
										 |  |  | 		  <div class="form-group"> | 
					
						
							|  |  |  | 			<label for="bandGroup">Bandgroup</label> | 
					
						
							|  |  |  | 			<input type="text" class="form-control" name="bandgroup" id="bandGroup" aria-describedby="bandgroupInputHelp" required> | 
					
						
							|  |  |  | 			<small id="bandgroupInputHelp" class="form-text text-muted">Name of bandgroup (E.g. hf, vhf, uhf, shf)</small> | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 		<div class="form-group"> | 
					
						
							|  |  |  | 			<label for="ssbqrg">SSB QRG</label> | 
					
						
							|  |  |  | 			<input type="text" class="form-control" name="ssbqrg" id="ssbqrg" aria-describedby="ssbqrgInputHelp" required> | 
					
						
							|  |  |  | 			<small id="ssbqrgInputHelp" class="form-text text-muted">Frequency for SSB QRG in band (must be in Hz)</small> | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 		<div class="form-group"> | 
					
						
							|  |  |  | 			<label for="dataqrg">DATA QRG</label> | 
					
						
							|  |  |  | 			<input type="text" class="form-control" name="dataqrg" id="dataqrg" aria-describedby="dataqrgInputHelp" required> | 
					
						
							|  |  |  | 			<small id="dataqrgInputHelp" class="form-text text-muted">Frequency for DATA QRG in band (must be in Hz)</small> | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 		<div class="form-group"> | 
					
						
							|  |  |  | 			<label for="cwqrg">CW QRG</label> | 
					
						
							|  |  |  | 			<input type="text" class="form-control" name="cwqrg" id="cwqrg" aria-describedby="cwqrgInputHelp" required> | 
					
						
							|  |  |  | 			<small id="cwqrgInputHelp" class="form-text text-muted">Frequency for CW QRG in band (must be in Hz)</small> | 
					
						
							|  |  |  | 		</div> | 
					
						
							| 
									
										
										
										
											2022-09-07 01:35:27 +08:00
										 |  |  | 		   | 
					
						
							|  |  |  | 			<button type="button" onclick="createBand(this.form);" class="btn btn-primary"><i class="fas fa-plus-square"></i> Create band</button> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 		</form> | 
					
						
							|  |  |  | </div> |