You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
593 lines
33 KiB
593 lines
33 KiB
<!DOCTYPE html>
|
|
<html lang="zh">
|
|
<head>
|
|
<th:block th:include="include :: header('基本表单')" />
|
|
</head>
|
|
<body class="gray-bg">
|
|
<div class="wrapper wrapper-content animated fadeInRight">
|
|
<div class="row">
|
|
<div class="col-sm-7">
|
|
<div class="ibox float-e-margins">
|
|
<div class="ibox-title">
|
|
<h5>基本表单 <small>简单登录表单示例</small></h5>
|
|
<div class="ibox-tools">
|
|
<a class="collapse-link">
|
|
<i class="fa fa-chevron-up"></i>
|
|
</a>
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
|
<i class="fa fa-wrench"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-user">
|
|
<li><a href="#">选项1</a>
|
|
</li>
|
|
<li><a href="#">选项2</a>
|
|
</li>
|
|
</ul>
|
|
<a class="close-link">
|
|
<i class="fa fa-times"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<div class="row">
|
|
<div class="col-sm-6 b-r">
|
|
<h3 class="m-t-none m-b">登录</h3>
|
|
<p>欢迎登录本站(⊙o⊙)</p>
|
|
<form role="form">
|
|
<div class="form-group">
|
|
<label>用户名</label>
|
|
<input type="email" placeholder="请输入您注册的E-mail" class="form-control">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>密码</label>
|
|
<input type="password" placeholder="请输入密码" class="form-control">
|
|
</div>
|
|
<div>
|
|
<button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="submit"><strong>登 录</strong>
|
|
</button>
|
|
<label>
|
|
<input type="checkbox">自动登录</label>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<h4>还不是会员?</h4>
|
|
<p>您可以注册一个新账户</p>
|
|
<p class="text-center">
|
|
<a href="#"><i class="fa fa-sign-in big-icon"></i></a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-5">
|
|
<div class="ibox float-e-margins">
|
|
<div class="ibox-title">
|
|
<h5>横向表单</h5>
|
|
<div class="ibox-tools">
|
|
<a class="collapse-link">
|
|
<i class="fa fa-chevron-up"></i>
|
|
</a>
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
|
<i class="fa fa-wrench"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-user">
|
|
<li><a href="#">选项1</a>
|
|
</li>
|
|
<li><a href="#">选项2</a>
|
|
</li>
|
|
</ul>
|
|
<a class="close-link">
|
|
<i class="fa fa-times"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<form class="form-horizontal">
|
|
<p>欢迎登录本站(⊙o⊙)</p>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">用户名:</label>
|
|
|
|
<div class="col-sm-8">
|
|
<input type="email" placeholder="用户名" class="form-control"> <span class="help-block m-b-none">请输入您注册时所填的E-mail</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="col-sm-3 control-label">密码:</label>
|
|
|
|
<div class="col-sm-8">
|
|
<input type="password" placeholder="密码" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-sm-offset-3 col-sm-8">
|
|
<button class="btn btn-sm btn-white" type="submit">登 录</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-8">
|
|
<div class="ibox float-e-margins">
|
|
<div class="ibox-title">
|
|
<h5>内联表单</h5>
|
|
<div class="ibox-tools">
|
|
<a class="collapse-link">
|
|
<i class="fa fa-chevron-up"></i>
|
|
</a>
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
|
<i class="fa fa-wrench"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-user">
|
|
<li><a href="#">选项1</a>
|
|
</li>
|
|
<li><a href="#">选项2</a>
|
|
</li>
|
|
</ul>
|
|
<a class="close-link">
|
|
<i class="fa fa-times"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<form role="form" class="form-inline">
|
|
<div class="form-group">
|
|
<label for="exampleInputEmail2" class="sr-only">用户名</label>
|
|
<input type="email" placeholder="请输入用户名" id="exampleInputEmail2" class="form-control">
|
|
</div>
|
|
<div class="form-group">
|
|
<label for="exampleInputPassword2" class="sr-only">密码</label>
|
|
<input type="password" placeholder="请输入密码" id="exampleInputPassword2" class="form-control">
|
|
</div>
|
|
<div class="checkbox m-l m-r-xs">
|
|
<label>
|
|
<input type="checkbox"><i></i> 自动登录</label>
|
|
</div>
|
|
<button class="btn btn-white" type="submit">登录</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="col-sm-4">
|
|
<div class="ibox float-e-margins">
|
|
<div class="ibox-title">
|
|
<h5>弹出表单 <small>弹出框登录示例</small></h5>
|
|
<div class="ibox-tools">
|
|
<a class="collapse-link">
|
|
<i class="fa fa-chevron-up"></i>
|
|
</a>
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
|
<i class="fa fa-wrench"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-user">
|
|
<li><a href="#">选项1</a>
|
|
</li>
|
|
<li><a href="#">选项2</a>
|
|
</li>
|
|
</ul>
|
|
<a class="close-link">
|
|
<i class="fa fa-times"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<div class="text-center">
|
|
<a data-toggle="modal" class="btn btn-primary" href="#modal-form">打开登录窗口</a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="ibox float-e-margins">
|
|
<div class="ibox-title">
|
|
<h5>所有表单元素 <small>包括自定义样式的复选和单选按钮</small></h5>
|
|
<div class="ibox-tools">
|
|
<a class="collapse-link">
|
|
<i class="fa fa-chevron-up"></i>
|
|
</a>
|
|
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
|
|
<i class="fa fa-wrench"></i>
|
|
</a>
|
|
<ul class="dropdown-menu dropdown-user">
|
|
<li><a href="#">选项1</a>
|
|
</li>
|
|
<li><a href="#">选项2</a>
|
|
</li>
|
|
</ul>
|
|
<a class="close-link">
|
|
<i class="fa fa-times"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="ibox-content">
|
|
<form method="get" class="form-horizontal">
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">普通</label>
|
|
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">带说明信息</label>
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control"> <span class="help-block m-b-none">帮助文本,可能会超过一行,以块级元素显示</span>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">密码</label>
|
|
|
|
<div class="col-sm-10">
|
|
<input type="password" class="form-control" name="password">
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">提示</label>
|
|
|
|
<div class="col-sm-10">
|
|
<input type="text" placeholder="提示信息" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">禁用</label>
|
|
|
|
<div class="col-sm-10">
|
|
<input type="text" disabled="" placeholder="已被禁用" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">静态控制</label>
|
|
|
|
<div class="col-sm-10">
|
|
<p class="form-control-static">ruoyi.vip</p>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">复选框&单选框
|
|
<br/>
|
|
<small class="text-navy">普通Bootstrap元素</small>
|
|
</label>
|
|
|
|
<div class="col-sm-10">
|
|
<div class="checkbox">
|
|
<label>
|
|
<input type="checkbox" value="">选项1</label>
|
|
</div>
|
|
<div class="radio">
|
|
<label>
|
|
<input type="radio" checked="" value="option1" id="optionsRadios1" name="optionsRadios">选项1</label>
|
|
</div>
|
|
<div class="radio">
|
|
<label>
|
|
<input type="radio" value="option2" id="optionsRadios2" name="optionsRadios">选项2</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">内联复选框</label>
|
|
|
|
<div class="col-sm-10">
|
|
<label class="checkbox-inline">
|
|
<input type="checkbox" value="option1" id="inlineCheckbox1">a</label>
|
|
<label class="checkbox-inline">
|
|
<input type="checkbox" value="option2" id="inlineCheckbox2">b</label>
|
|
<label class="checkbox-inline">
|
|
<input type="checkbox" value="option3" id="inlineCheckbox3">c</label>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">复选框&单选框
|
|
<br/><small class="text-navy">自定义样式</small>
|
|
</label>
|
|
|
|
<div class="col-sm-10">
|
|
<div class="checkbox check-box">
|
|
<label>
|
|
<input type="checkbox" value=""> <i></i> 选项1</label>
|
|
</div>
|
|
<div class="checkbox check-box">
|
|
<label>
|
|
<input type="checkbox" value="" checked=""> <i></i> 选项2(选中)</label>
|
|
</div>
|
|
<div class="checkbox check-box">
|
|
<label>
|
|
<input type="checkbox" value="" disabled="" checked=""> <i></i> 选项3(选中并禁用)</label>
|
|
</div>
|
|
<div class="checkbox check-box">
|
|
<label>
|
|
<input type="checkbox" value="" disabled=""> <i></i> 选项4(禁用)</label>
|
|
</div>
|
|
<div class="radio check-box">
|
|
<label>
|
|
<input type="radio" value="option1" name="a"> <i></i> 选项1</label>
|
|
</div>
|
|
<div class="radio check-box">
|
|
<label>
|
|
<input type="radio" checked="" value="option2" name="a"> <i></i> 选项2(选中)</label>
|
|
</div>
|
|
<div class="radio check-box">
|
|
<label>
|
|
<input type="radio" disabled="" checked="" value="option2"> <i></i> 选项3(选中并禁用)</label>
|
|
</div>
|
|
<div class="radio check-box">
|
|
<label>
|
|
<input type="radio" disabled="" name="a"> <i></i> 选项4(禁用)</label>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">内联复选框</label>
|
|
|
|
<div class="col-sm-10">
|
|
<label class="checkbox-inline check-box">
|
|
<input type="checkbox" value="option1">a</label>
|
|
<label class="checkbox-inline check-box">
|
|
<input type="checkbox" value="option2">b</label>
|
|
<label class="checkbox-inline check-box">
|
|
<input type="checkbox" value="option3">c</label>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">Select</label>
|
|
|
|
<div class="col-sm-10">
|
|
<select class="form-control m-b" name="account">
|
|
<option>选项 1</option>
|
|
<option>选项 2</option>
|
|
<option>选项 3</option>
|
|
<option>选项 4</option>
|
|
</select>
|
|
|
|
<div class="col-sm-4 m-l-n">
|
|
<select class="form-control" multiple="">
|
|
<option>选项 1</option>
|
|
<option>选项 2</option>
|
|
<option>选项 3</option>
|
|
<option>选项 4</option>
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group has-success">
|
|
<label class="col-sm-2 control-label">验证通过</label>
|
|
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group has-warning">
|
|
<label class="col-sm-2 control-label">未填写</label>
|
|
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group has-error">
|
|
<label class="col-sm-2 control-label">验证未通过</label>
|
|
|
|
<div class="col-sm-10">
|
|
<input type="text" class="form-control">
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">自定义尺寸</label>
|
|
|
|
<div class="col-sm-10">
|
|
<input type="text" placeholder=".input-lg" class="form-control input-lg m-b">
|
|
<input type="text" placeholder="Default input" class="form-control m-b">
|
|
<input type="text" placeholder=".input-sm" class="form-control input-sm">
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">列尺寸</label>
|
|
|
|
<div class="col-sm-10">
|
|
<div class="row">
|
|
<div class="col-md-2">
|
|
<input type="text" placeholder=".col-md-2" class="form-control">
|
|
</div>
|
|
<div class="col-md-3">
|
|
<input type="text" placeholder=".col-md-3" class="form-control">
|
|
</div>
|
|
<div class="col-md-4">
|
|
<input type="text" placeholder=".col-md-4" class="form-control">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">文本框组</label>
|
|
|
|
<div class="col-sm-10">
|
|
<div class="input-group m-b"><span class="input-group-addon">@</span>
|
|
<input type="text" placeholder="用户名" class="form-control">
|
|
</div>
|
|
<div class="input-group m-b">
|
|
<input type="text" class="form-control"> <span class="input-group-addon">.00</span>
|
|
</div>
|
|
<div class="input-group m-b"><span class="input-group-addon">¥</span>
|
|
<input type="text" class="form-control"> <span class="input-group-addon">.00</span>
|
|
</div>
|
|
<div class="input-group m-b"><span class="input-group-addon"> <input type="checkbox"> </span>
|
|
<input type="text" class="form-control">
|
|
</div>
|
|
<div class="input-group"><span class="input-group-addon"> <input type="radio"> </span>
|
|
<input type="text" class="form-control">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">按钮插件</label>
|
|
|
|
<div class="col-sm-10">
|
|
<div class="input-group m-b"><span class="input-group-btn">
|
|
<button type="button" class="btn btn-primary">搜</button> </span>
|
|
<input type="text" class="form-control">
|
|
</div>
|
|
<div class="input-group">
|
|
<input type="text" class="form-control"> <span class="input-group-btn"> <button type="button" class="btn btn-primary">搜索
|
|
</button> </span>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">带下拉框</label>
|
|
|
|
<div class="col-sm-10">
|
|
<div class="input-group m-b">
|
|
<div class="input-group-btn">
|
|
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">操作 <span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">选项1</a>
|
|
</li>
|
|
<li><a href="#">选项2</a>
|
|
</li>
|
|
<li><a href="#">选项3</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li><a href="#">选项4</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<input type="text" class="form-control">
|
|
</div>
|
|
<div class="input-group">
|
|
<input type="text" class="form-control">
|
|
|
|
<div class="input-group-btn">
|
|
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button">操作 <span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu pull-right">
|
|
<li><a href="#">选项1</a>
|
|
</li>
|
|
<li><a href="#">选项2</a>
|
|
</li>
|
|
<li><a href="#">选项3</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li><a href="#">选项4</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<label class="col-sm-2 control-label">分段</label>
|
|
|
|
<div class="col-sm-10">
|
|
<div class="input-group m-b">
|
|
<div class="input-group-btn">
|
|
<button tabindex="-1" class="btn btn-white" type="button">操作</button>
|
|
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button"><span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu">
|
|
<li><a href="#">选项1</a>
|
|
</li>
|
|
<li><a href="#">选项2</a>
|
|
</li>
|
|
<li><a href="#">选项3</a>
|
|
</li>
|
|
<li class="divider"></li>
|
|
<li><a href="#">选项4</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
<input type="text" class="form-control">
|
|
</div>
|
|
<div class="input-group">
|
|
<input type="text" class="form-control">
|
|
|
|
<div class="input-group-btn">
|
|
<button tabindex="-1" class="btn btn-white" type="button">操作</button>
|
|
<button data-toggle="dropdown" class="btn btn-white dropdown-toggle" type="button"><span class="caret"></span>
|
|
</button>
|
|
<ul class="dropdown-menu pull-right">
|
|
分段
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="hr-line-dashed"></div>
|
|
<div class="form-group">
|
|
<div class="col-sm-4 col-sm-offset-2">
|
|
<button class="btn btn-primary" type="submit">保存内容</button>
|
|
<button class="btn btn-white" type="submit">取消</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div id="modal-form" class="modal fade" aria-hidden="true">
|
|
<div class="modal-dialog">
|
|
<div class="modal-content">
|
|
<div class="modal-body">
|
|
<div class="row">
|
|
<div class="col-sm-6 b-r">
|
|
<h3 class="m-t-none m-b">登录</h3>
|
|
|
|
<p>欢迎登录本站(⊙o⊙)</p>
|
|
|
|
<form role="form">
|
|
<div class="form-group">
|
|
<label>用户名:</label>
|
|
<input type="email" placeholder="请输入用户名" class="form-control">
|
|
</div>
|
|
<div class="form-group">
|
|
<label>密码:</label>
|
|
<input type="password" placeholder="请输入密码" class="form-control">
|
|
</div>
|
|
<div>
|
|
<button class="btn btn-sm btn-primary pull-right m-t-n-xs" type="submit"><strong>登录</strong>
|
|
</button>
|
|
<label>
|
|
<input type="checkbox" class="i-checks">自动登录</label>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
<div class="col-sm-6">
|
|
<h4>还不是会员?</h4>
|
|
<p>您可以注册一个账户</p>
|
|
<p class="text-center">
|
|
<a href="#"><i class="fa fa-sign-in big-icon"></i></a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<th:block th:include="include :: footer" />
|
|
</body>
|
|
</html>
|
|
|