| 
									
										
										
										
											2021-08-09 20:29:53 +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(); ?>
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-17 01:53:22 +08:00
										 |  |  | 	<form> | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		<div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2021-08-09 20:29:53 +08:00
										 |  |  | 			<label for="nameInput">Theme Name</label> | 
					
						
							|  |  |  | 			<input type="text" class="form-control" name="name" id="nameInput" aria-describedby="nameInputHelp" required> | 
					
						
							|  |  |  | 			<small id="nameInputHelp" class="form-text text-muted">This is the name that is used to display the theme in the theme list.</small> | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-14 20:35:53 +08:00
										 |  |  | 		<div class="mb-3"> | 
					
						
							| 
									
										
										
										
											2021-08-09 20:29:53 +08:00
										 |  |  | 			<label for="foldernameInput">Folder Name</label> | 
					
						
							|  |  |  | 			<input type="text" class="form-control" name="foldername" id="foldernameInput" aria-describedby="foldernameInputHelp"> | 
					
						
							|  |  |  | 			<small id="foldernameInputHelp" class="form-text text-muted">This is the name of the folder where your CSS-files are placed under assets/css.</small> | 
					
						
							|  |  |  | 		</div> | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-10-17 01:53:22 +08:00
										 |  |  | 		<button type="button" onclick="addTheme(this.form);" class="btn btn-primary"><i class="fas fa-plus-square"></i> Add theme</button> | 
					
						
							| 
									
										
										
										
											2021-08-09 20:29:53 +08:00
										 |  |  | 	</form> | 
					
						
							|  |  |  | </div> |