changed login form to use bootstrap layout
这个提交包含在:
		
							父节点
							
								
									7329bd2c9d
								
							
						
					
					
						当前提交
						0e30ebaa89
					
				
					共有  1 个文件被更改,包括 13 次插入 和 16 次删除
				
			
		|  | @ -1,24 +1,21 @@ | ||||||
| <div id="container"> | <div id="container" class="container w-25 mx-auto pt-5"> | ||||||
| 
 | 
 | ||||||
| <h2>Log in</h2> | <h2>Log in</h2> | ||||||
| <?php $this->load->view('layout/messages'); ?>
 | <?php $this->load->view('layout/messages'); ?>
 | ||||||
| 
 | 
 | ||||||
| <form method="post" action="<?php echo site_url('user/login'); ?>" name="users"> | <form method="post" action="<?php echo site_url('user/login'); ?>" name="users"> | ||||||
| <table> | 	<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> | ||||||
| 	<tr> | 	<div class="form-group"> | ||||||
| 		<td>Username</td> | 		<label for="user_name">Username</label> | ||||||
| 		<td><input type="text" name="user_name" value="<?php echo $this->input->post('user_name'); ?>"></td> | 		<input id="user_name" type="text" name="user_name" class="form-control" value="<?php echo $this->input->post('user_name'); ?>"> | ||||||
| 	</tr> | 	</div> | ||||||
| 	 | 	<div class="form-group"> | ||||||
| 	<tr> | 		<label for="password">Password</label> | ||||||
| 		<td>Password</td> | 		<input id="password" type="password" name="user_password" class="form-control"> | ||||||
| 		<td><input type="password" name="user_password" /></td> | 	</div> | ||||||
| 	</tr> | 	<div class="form-group"> | ||||||
| 	 | 		<input class="btn-info p-2 col" type="submit" value="Log in" /> | ||||||
| </table>	 | 	</div | ||||||
| <input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" /> |  | ||||||
| <div><input type="submit" value="Log in" /></div> |  | ||||||
| 
 |  | ||||||
| </form> | </form> | ||||||
| 
 | 
 | ||||||
| </div> | </div> | ||||||
|  |  | ||||||
		正在加载…
	
		在新工单中引用