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>
|
||||
<?php $this->load->view('layout/messages'); ?>
|
||||
|
||||
<form method="post" action="<?php echo site_url('user/login'); ?>" name="users">
|
||||
<table>
|
||||
<tr>
|
||||
<td>Username</td>
|
||||
<td><input type="text" name="user_name" value="<?php echo $this->input->post('user_name'); ?>"></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>Password</td>
|
||||
<td><input type="password" name="user_password" /></td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
|
||||
<div><input type="submit" value="Log in" /></div>
|
||||
|
||||
<input type="hidden" name="id" value="<?php echo $this->uri->segment(3); ?>" />
|
||||
<div class="form-group">
|
||||
<label for="user_name">Username</label>
|
||||
<input id="user_name" type="text" name="user_name" class="form-control" value="<?php echo $this->input->post('user_name'); ?>">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="password">Password</label>
|
||||
<input id="password" type="password" name="user_password" class="form-control">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input class="btn-info p-2 col" type="submit" value="Log in" />
|
||||
</div
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
|
|
|||
正在加载…
在新工单中引用