Score
0
Watch 131 Star 348 Fork 128

jackkang / monitorHTMLGPL-2.0

Join us
Explore and code with more than 2 million developers,Free private repositories !:)
Sign up
监控系统完整html页面,适合用来做监控类型.基于Bootstrap的完美后台管理框架,开箱即用 spread retract

Clone or download
form-validation.html 47.05 KB
Copy Edit Web IDE Raw Blame History
jackkang authored 2017-06-28 15:46 . 提交代码
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841
<!DOCTYPE html>
<!--[if IE 9 ]><html class="ie9"><![endif]-->
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0" />
<meta name="format-detection" content="telephone=no">
<meta charset="UTF-8">
<meta name="description" content="Violate Responsive Admin Template">
<meta name="keywords" content="Super Admin, Admin, Template, Bootstrap">
<title>Super Admin Responsive Template</title>
<!-- CSS -->
<link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/bootstrap-3.3.4.css">
<link href="css/animate.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="http://www.jq22.com/jquery/font-awesome.4.6.0.css">
<link href="css/form.css" rel="stylesheet">
<link href="css/calendar.css" rel="stylesheet">
<link href="css/style.css" rel="stylesheet">
<link href="css/icons.css" rel="stylesheet">
<link href="css/generics.css" rel="stylesheet">
</head>
<body id="skin-blur-violate">
<header id="header" class="media">
<a href="" id="menu-toggle"></a>
<a class="logo pull-left" href="index.html">SUPER ADMIN 1.0</a>
<div class="media-body">
<div class="media" id="top-menu">
<div class="pull-left tm-icon">
<a data-drawer="messages" class="drawer-toggle" href="">
<i class="sa-top-message"></i>
<i class="n-count animated">5</i>
<span>Messages</span>
</a>
</div>
<div class="pull-left tm-icon">
<a data-drawer="notifications" class="drawer-toggle" href="">
<i class="sa-top-updates"></i>
<i class="n-count animated">9</i>
<span>Updates</span>
</a>
</div>
<div id="time" class="pull-right">
<span id="hours"></span>
:
<span id="min"></span>
:
<span id="sec"></span>
</div>
<div class="media-body">
<input type="text" class="main-search">
</div>
</div>
</div>
</header>
<div class="clearfix"></div>
<section id="main" class="p-relative" role="main">
<!-- Sidebar -->
<aside id="sidebar">
<!-- Sidbar Widgets -->
<div class="side-widgets overflow">
<!-- Profile Menu -->
<div class="text-center s-widget m-b-25 dropdown" id="profile-menu">
<a href="" data-toggle="dropdown">
<img class="profile-pic animated" src="img/profile-pic.jpg" alt="">
</a>
<ul class="dropdown-menu profile-menu">
<li><a href="">My Profile</a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>
<li><a href="">Messages</a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>
<li><a href="">Settings</a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>
<li><a href="">Sign Out</a> <i class="icon left">&#61903;</i><i class="icon right">&#61815;</i></li>
</ul>
<h4 class="m-0">Malinda Hollaway</h4>
@malinda-h
</div>
<!-- Calendar -->
<div class="s-widget m-b-25">
<div id="sidebar-calendar"></div>
</div>
<!-- Feeds -->
<div class="s-widget m-b-25">
<h2 class="tile-title">
News Feeds
</h2>
<div class="s-widget-body">
<div id="news-feed"></div>
</div>
</div>
<!-- Projects -->
<div class="s-widget m-b-25">
<h2 class="tile-title">
Projects on going
</h2>
<div class="s-widget-body">
<div class="side-border">
<small>Joomla Website</small>
<div class="progress progress-small">
<a href="#" data-toggle="tooltip" title="" class="progress-bar tooltips progress-bar-danger" style="width: 60%;" data-original-title="60%">
<span class="sr-only">60% Complete</span>
</a>
</div>
</div>
<div class="side-border">
<small>Opencart E-Commerce Website</small>
<div class="progress progress-small">
<a href="#" data-toggle="tooltip" title="" class="tooltips progress-bar progress-bar-info" style="width: 43%;" data-original-title="43%">
<span class="sr-only">43% Complete</span>
</a>
</div>
</div>
<div class="side-border">
<small>Social Media API</small>
<div class="progress progress-small">
<a href="#" data-toggle="tooltip" title="" class="tooltips progress-bar progress-bar-warning" style="width: 81%;" data-original-title="81%">
<span class="sr-only">81% Complete</span>
</a>
</div>
</div>
<div class="side-border">
<small>VB.Net Software Package</small>
<div class="progress progress-small">
<a href="#" data-toggle="tooltip" title="" class="tooltips progress-bar progress-bar-success" style="width: 10%;" data-original-title="10%">
<span class="sr-only">10% Complete</span>
</a>
</div>
</div>
<div class="side-border">
<small>Chrome Extension</small>
<div class="progress progress-small">
<a href="#" data-toggle="tooltip" title="" class="tooltips progress-bar progress-bar-success" style="width: 95%;" data-original-title="95%">
<span class="sr-only">95% Complete</span>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Side Menu -->
<ul class="list-unstyled side-menu">
<li>
<a class="sa-side-home" href="index.html">
<span class="menu-item">Dashboard</span>
</a>
</li>
<li>
<a class="sa-side-typography" href="typography.html">
<span class="menu-item">Typography</span>
</a>
</li>
<li>
<a class="sa-side-widget" href="content-widgets.html">
<span class="menu-item">Widgets</span>
</a>
</li>
<li>
<a class="sa-side-table" href="tables.html">
<span class="menu-item">Tables</span>
</a>
</li>
<li class="dropdown active">
<a class="sa-side-form" href="">
<span class="menu-item">Form</span>
</a>
<ul class="list-unstyled menu-item">
<li><a href="form-elements.html">Basic Form Elements</a></li>
<li><a href="form-components.html">Form Components</a></li>
<li><a href="form-examples.html">Form Examples</a></li>
<li><a class="active" href="form-validation.html">Form Validation</a></li>
</ul>
</li>
<li class="dropdown">
<a class="sa-side-ui" href="">
<span class="menu-item">User Interface</span>
</a>
<ul class="list-unstyled menu-item">
<li><a href="buttons.html">Buttons</a></li>
<li><a href="labels.html">Labels</a></li>
<li><a href="images-icons.html">Images &amp; Icons</a></li>
<li><a href="alerts.html">Alerts</a></li>
<li><a href="media.html">Media</a></li>
<li><a href="components.html">Components</a></li>
<li><a href="other-components.html">Others</a></li>
</ul>
</li>
<li>
<a class="sa-side-chart" href="charts.html">
<span class="menu-item">Charts</span>
</a>
</li>
<li>
<a class="sa-side-folder" href="file-manager.html">
<span class="menu-item">File Manager</span>
</a>
</li>
<li>
<a class="sa-side-calendar" href="calendar.html">
<span class="menu-item">Calendar</span>
</a>
</li>
<li class="dropdown">
<a class="sa-side-page" href="">
<span class="menu-item">Pages</span>
</a>
<ul class="list-unstyled menu-item">
<li><a href="list-view.html">List View</a></li>
<li><a href="profile-page.html">Profile Page</a></li>
<li><a href="messages.html">Messages</a></li>
<li><a href="login.html">Login</a></li>
<li><a href="404.html">404 Error</a></li>
</ul>
</li>
</ul>
</aside>
<!-- Content -->
<section id="content" class="container">
<!-- Messages Drawer -->
<div id="messages" class="tile drawer animated">
<div class="listview narrow">
<div class="media">
<a href="">Send a New Message</a>
<span class="drawer-close">&times;</span>
</div>
<div class="overflow" style="height: 254px">
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/1.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Nadin Jackson - 2 Hours ago</small><br>
<a class="t-overflow" href="">Mauris consectetur urna nec tempor adipiscing. Proin sit amet nisi ligula. Sed eu adipiscing lectus</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/2.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">David Villa - 5 Hours ago</small><br>
<a class="t-overflow" href="">Suspendisse in purus ut nibh placerat Cras pulvinar euismod nunc quis gravida. Suspendisse pharetra</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/3.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Harris worgon - On 15/12/2013</small><br>
<a class="t-overflow" href="">Maecenas venenatis enim condimentum ultrices fringilla. Nulla eget libero rhoncus, bibendum diam eleifend, vulputate mi. Fusce non nibh pulvinar, ornare turpis id</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/4.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Mitch Bradberry - On 14/12/2013</small><br>
<a class="t-overflow" href="">Phasellus interdum felis enim, eu bibendum ipsum tristique vitae. Phasellus feugiat massa orci, sed viverra felis aliquet quis. Curabitur vel blandit odio. Vestibulum sagittis quis sem sit amet tristique.</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/1.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Nadin Jackson - On 15/12/2013</small><br>
<a class="t-overflow" href="">Ipsum wintoo consectetur urna nec tempor adipiscing. Proin sit amet nisi ligula. Sed eu adipiscing lectus</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/2.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">David Villa - On 16/12/2013</small><br>
<a class="t-overflow" href="">Suspendisse in purus ut nibh placerat Cras pulvinar euismod nunc quis gravida. Suspendisse pharetra</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/3.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Harris worgon - On 17/12/2013</small><br>
<a class="t-overflow" href="">Maecenas venenatis enim condimentum ultrices fringilla. Nulla eget libero rhoncus, bibendum diam eleifend, vulputate mi. Fusce non nibh pulvinar, ornare turpis id</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/4.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Mitch Bradberry - On 18/12/2013</small><br>
<a class="t-overflow" href="">Phasellus interdum felis enim, eu bibendum ipsum tristique vitae. Phasellus feugiat massa orci, sed viverra felis aliquet quis. Curabitur vel blandit odio. Vestibulum sagittis quis sem sit amet tristique.</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/5.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Wendy Mitchell - On 19/12/2013</small><br>
<a class="t-overflow" href="">Integer a eros dapibus, vehicula quam accumsan, tincidunt purus</a>
</div>
</div>
</div>
<div class="media text-center whiter l-100">
<a href=""><small>VIEW ALL</small></a>
</div>
</div>
</div>
<!-- Notification Drawer -->
<div id="notifications" class="tile drawer animated">
<div class="listview narrow">
<div class="media">
<a href="">Notification Settings</a>
<span class="drawer-close">&times;</span>
</div>
<div class="overflow" style="height: 254px">
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/1.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Nadin Jackson - 2 Hours ago</small><br>
<a class="t-overflow" href="">Mauris consectetur urna nec tempor adipiscing. Proin sit amet nisi ligula. Sed eu adipiscing lectus</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/2.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">David Villa - 5 Hours ago</small><br>
<a class="t-overflow" href="">Suspendisse in purus ut nibh placerat Cras pulvinar euismod nunc quis gravida. Suspendisse pharetra</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/3.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Harris worgon - On 15/12/2013</small><br>
<a class="t-overflow" href="">Maecenas venenatis enim condimentum ultrices fringilla. Nulla eget libero rhoncus, bibendum diam eleifend, vulputate mi. Fusce non nibh pulvinar, ornare turpis id</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/4.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Mitch Bradberry - On 14/12/2013</small><br>
<a class="t-overflow" href="">Phasellus interdum felis enim, eu bibendum ipsum tristique vitae. Phasellus feugiat massa orci, sed viverra felis aliquet quis. Curabitur vel blandit odio. Vestibulum sagittis quis sem sit amet tristique.</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/1.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">Nadin Jackson - On 15/12/2013</small><br>
<a class="t-overflow" href="">Ipsum wintoo consectetur urna nec tempor adipiscing. Proin sit amet nisi ligula. Sed eu adipiscing lectus</a>
</div>
</div>
<div class="media">
<div class="pull-left">
<img width="40" src="img/profile-pics/2.jpg" alt="">
</div>
<div class="media-body">
<small class="text-muted">David Villa - On 16/12/2013</small><br>
<a class="t-overflow" href="">Suspendisse in purus ut nibh placerat Cras pulvinar euismod nunc quis gravida. Suspendisse pharetra</a>
</div>
</div>
</div>
<div class="media text-center whiter l-100">
<a href=""><small>VIEW ALL</small></a>
</div>
</div>
</div>
<!-- Breadcrumb -->
<ol class="breadcrumb hidden-xs">
<li><a href="#">Home</a></li>
<li><a href="#">Library</a></li>
<li class="active">Data</li>
</ol>
<h4 class="page-title">FORM VALIDATION</h4>
<!-- Required Feilds -->
<div class="block-area" id="required">
<h3 class="block-title">Required Feilds</h3>
<form role="form" class="form-validation-1">
<div class="row">
<div class="col-md-4 form-group">
<label>Text feild</label>
<input type="text" class="input-sm validate[required] form-control" placeholder="...">
</div>
<div class="col-md-4 form-group">
<label>Password</label>
<input type="password" class="input-sm validate[required] form-control" placeholder="...">
</div>
<div class="col-md-4 form-group">
<label>Select</label>
<select name="sport" class="form-control input-sm validate[required]">
<option value="">Choose a sport</option>
<option value="option1">Tennis</option>
<option value="option2">Football</option>
<option value="option3">Golf</option>
</select>
</div>
</div>
<div class="clearfix"></div>
<div class="form-group m-b-15">
<label>Textarea</label>
<textarea class="input-sm validate[required] form-control" placeholder="..."></textarea>
</div>
<input class="btn btn-sm" type="submit" value="VALIDATE">
<button class="btn btn-sm validation-clear">CLOSE PROMPTS</button>
</form>
</div>
<hr class="whiter m-t-20" />
<!-- Invalid Feilds -->
<div class="block-area" id="invalid">
<h3 class="block-title">Invalid Feilds</h3>
<form role="form" class="form-validation-2">
<!-- Telephone -->
<div class="form-group">
<label>
Telephone - Valid Entries (+103-304-340-4300-043) /
(+1 305 768 23 34 ext 23) /
(+1 (305) 768-2334 extension 703) /
(+1 (305) 768-2334 x703) /
(04312 / 777 777) /
(01-47.34/32 56) /
((01865) 123456)
</label>
<input type="text" class="input-sm validate[required,custom[phone]] form-control" placeholder="...">
</div>
<!-- URL -->
<div class="form-group">
<label>URL (Begin with http:// https:// or ftp:// )</label>
<input value="http://" class="input-sm form-control validate[required,custom[url]]" type="text" placeholder="...">
</div>
<!-- Email -->
<div class="form-group">
<label>Email</label>
<input class="form-control input-sm validate[required,custom[email]]" type="text" placeholder="...">
</div>
<!-- IP Address -->
<div class="form-group">
<label>IP Address</label>
<input class="form-control input-sm validate[required,custom[ipv4]]" type="text" placeholder="...">
</div>
<!-- Date -->
<div class="form-group">
<label>Date - ISO 8601 dates only YYYY-mm-dd</label>
<input class="form-control input-sm validate[required,custom[date]]" type="text" placeholder="...">
</div>
<!-- Number -->
<div class="form-group">
<label>Number - A signed floating number, ie: -3849.354, 38.00, 38, .77 </label>
<input class="form-control input-sm validate[required,custom[number]]" type="text" placeholder="...">
</div>
<!-- Integer -->
<div class="form-group">
<label>Integer - An signed integer: ie +34, 34 or -1 </label>
<input class="form-control input-sm validate[required,custom[integer]]" type="text" placeholder="...">
</div>
<!-- Only Letter/Number -->
<div class="form-group">
<label>Only Letter/Number - Only [0-9a-zA-Z]</label>
<input class="form-control input-sm validate[required,custom[onlyLetterNumber]]" type="text" placeholder="...">
</div>
<!-- Only Number -->
<div class="form-group">
<label>Only Number(Char) - Only [0-9] and space</label>
<input class="form-control input-sm validate[required,custom[onlyNumberSp]]" type="text" placeholder="...">
</div>
<!-- Only Letter -->
<div class="form-group m-b-15">
<label>Only Letter - Only ascii letters, space and '</label>
<input class="form-control input-sm validate[required,custom[onlyLetterSp]]" type="text" placeholder="...">
</div>
<input class="btn btn-sm" type="submit" value="VALIDATE">
<button class="btn btn-sm validation-clear">CLOSE PROMPTS</button>
</form>
</div>
<hr class="whiter m-t-20" />
<!-- Equals -->
<div class="block-area" id="equals">
<h3 class="block-title">Equals</h3>
<form role="form" class="form-validation-3">
<div class="row">
<div class="form-group col-md-6">
<label>Password</label>
<input type="password" class="input-sm validate[required] form-control" name="password" id="password" placeholder="...">
</div>
<div class="form-group m-b-15 col-md-6">
<label>Confirm Password</label>
<input type="password" class="input-sm validate[required,equals[password]] form-control" placeholder="...">
</div>
</div>
<input class="btn btn-sm" type="submit" value="VALIDATE">
<button class="btn btn-sm validation-clear">CLOSE PROMPTS</button>
</form>
</div>
<hr class="whiter m-t-20" />
<!-- Conditional required -->
<div class="block-area" id="conditional">
<h3 class="block-title">Conditional Required</h3>
<p class="m-b-20">Use Tab key to validate</p>
<form role="form" class="form-validation-5">
<!-- Default -->
<div class="row">
<div class="form-group col-md-6">
<label>Depending field (1)</label>
<input type="text" class="input-sm form-control" name="dep" id="dep1" placeholder="...">
</div>
<div class="form-group col-md-6">
<label>This field is required if previous field has a value</label>
<input type="text" class="input-sm validate[condRequired[dep1]] form-control" name="dep1" id="dep-a" placeholder="...">
</div>
</div>
<br />
OR with 2 depending fields
<br /><br />
<div class="row">
<!-- 2 Dependant -->
<div class="form-group col-md-6">
<label>Depending field (1A)</label>
<input type="text" class="input-sm form-control" name="dep1a" id="dep1a" placeholder="...">
</div>
<div class="form-group col-md-6">
<label>Depending field (1B)</label>
<input type="text" class="input-sm form-control" name="dep1b" id="dep1b" placeholder="...">
</div>
</div>
<div class="form-group m-b-15">
<label>This field is required if any of above fields has a value</label>
<input type="text" class="input-sm validate[condRequired[dep1a,dep1b]] form-control" name="dep1b" id="dep1c" placeholder="...">
</div>
<a href="#" class="btn btn-sm validation-clear">CLOSE PROMPTS</a>
</form>
</div>
<hr class="whiter m-t-20" />
<!-- Group required -->
<div class="block-area" id="group-required">
<h3 class="block-title">Group Required</h3>
<p>Check at least one input is filled</p>
<form role="form" class="form-validation-6">
<div class="form-group">
<label>Payee Name</label>
<input type="text" class="input-sm validate[groupRequired[payments],custom[onlyLetterSp]] form-control" name="grouped" placeholder="...">
</div>
OR
<div class="form-group">
<label>Payee Email</label>
<input type="text" class="input-sm validate[groupRequired[payments],custom[email]] form-control" name="grouped" placeholder="...">
</div>
OR
<div class="form-group">
<label>Payee Account Number</label>
<input type="text" class="input-sm validate[groupRequired[payments],custom[integer],max[50]] form-control" name="grouped" placeholder="...">
</div>
OR
<div class="form-group m-b-15">
<select class="validate[groupRequired[payments]] form-control input-sm" name="bank2" id="bank2">
<option value="">Choose a payment option</option>
<option value="Paypal">Paypal</option>
<option value="Bank">Bank account</option>
</select>
</div>
<input class="btn btn-sm" type="submit" value="VALIDATE">
<button class="btn btn-sm validation-clear">CLOSE PROMPTS</button>
</form>
</div>
<hr class="whiter m-t-20" />
<!-- Min/Max -->
<div class="block-area" id="minmax">
<h3 class="block-title">Min/Max (Size)</h3>
<form role="form" class="form-validation-7">
<div class="row">
<!-- Minimum Character -->
<div class="form-group col-md-6">
<label>Minimum Characters (Set to 6) </label>
<input type="text" class="input-sm validate[required,minSize[6]] form-control" placeholder="...">
</div>
<!-- Maximum Character -->
<div class="form-group col-md-6">
<label>Maximum Characters (Set to 6) </label>
<input type="text" class="input-sm validate[required,maxSize[6]] form-control" placeholder="...">
</div>
<!-- Minimum Integer -->
<div class="form-group col-md-6">
<label>Minimum Integer Value - Integer &gt;= 5 </label>
<input type="text" class="input-sm validate[required,custom[integer],min[5]] form-control" placeholder="...">
</div>
<!-- Maximum Integer -->
<div class="form-group m-b-15 col-md-6">
<label>Maximum Integer Value - Integer &lt;= 50 </label>
<input type="text" class="input-sm validate[required,custom[integer],max[50]] form-control" placeholder="...">
</div>
</div>
<input class="btn btn-sm" type="submit" value="VALIDATE">
<button class="btn btn-sm validation-clear">CLOSE PROMPTS</button>
</form>
</div>
<hr class="whiter m-t-20" />
<!-- Date/Time -->
<div class="block-area" id="datetime">
<h3 class="block-title">Date/Time</h3>
<form role="form" class="form-validation-8">
<div class="row">
<!-- Past -->
<div class="form-group col-md-6">
<label>Past - Date should ealier than 2013/05/10</label>
<input type="text" class="input-sm validate[custom[date],past[2013/05/10]] form-control" placeholder="...">
</div>
<!-- Future -->
<div class="form-group col-md-6">
<label>Future - Date should older than today's date</label>
<input type="text" class="input-sm validate[custom[date],future[NOW]] form-control" placeholder="...">
</div>
</div>
<!-- Date Range -->
<p>Date Range - Checks that the start date is before the end date. Please enter an end date ealier than the start date</p>
<div class="row">
<div class="col-sm-6">
<div class="form-group">
<input type="text" class="input-sm validate[dateRange[grp1]] form-control" name="date-range" placeholder="Start Date">
</div>
</div>
<div class="col-sm-6">
<div class="form-group m-b-15">
<input type="text" class="input-sm validate[dateRange[grp1]] form-control" name="date-range" placeholder="End Date">
</div>
</div>
</div>
<a href="#" class="btn btn-sm validation-clear">CLOSE PROMPTS</a>
</form>
</div>
<hr class="whiter m-t-20" />
<!-- Checkbox/Radio -->
<div class="block-area" id="checkboxradio">
<h3 class="block-title">Checkbox/Radio</h3>
<form role="form" class="form-validation-9">
<p>Minimum 2 checkbox</p>
<div class="form-group m-b-15">
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[minCheckbox[2]]" name="group[group]" id="inlineCheckbox1" value="option1">
</span>
1
</label>
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[minCheckbox[2]]" name="group[group]" id="inlineCheckbox2" value="option2">
</span>
2
</label>
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[minCheckbox[2]]" name="group[group]" id="inlineCheckbox3" value="option3">
</span>
3
</label>
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[minCheckbox[2]]" name="group[group]" id="inlineCheckbox4" value="option4">
</span>
4
</label>
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[minCheckbox[2]]" name="group[group]" id="inlineCheckbox5" value="option5">
</span>
5
</label>
</div>
<div class="form-group m-b-15">
<p>Maximum 3 checkbox</p>
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[maxCheckbox[3]]" name="group[group2]" id="inlineCheckbox6" value="option6">
</span>
6
</label>
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[maxCheckbox[3]]" name="group[group2]" id="inlineCheckbox7" value="option7">
</span>
7
</label>
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[maxCheckbox[3]]" name="group[group2]" id="inlineCheckbox8" value="option8">
</span>
8
</label>
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[maxCheckbox[3]]" name="group[group2]" id="inlineCheckbox9" value="option9">
</span>
9
</label>
<label class="checkbox-inline">
<span class="checkableBox">
<input type="checkbox" class="validate[maxCheckbox[3]]" name="group[group2]" id="inlineCheckbox10" value="option10">
</span>
10
</label>
</div>
<div class="form-group m-b-15">
<p>Select an option</p>
<label class="radio-inline">
<span class="checkableBox checkableBox-radio">
<input type="radio" class="validate[required]" name="group[group3]" value="option1">
</span>
1
</label>
<label class="radio-inline">
<span class="checkableBox checkableBox-radio">
<input type="radio" class="validate[required]" name="group[group3]" value="option2">
</span>
2
</label>
<label class="radio-inline">
<span class="checkableBox checkableBox-radio">
<input type="radio" class="validate[required]" name="group[group3]" value="option3">
</span>
3
</label>
</div>
<div class="form-group m-b-15">
<label class="checkbox">
<span class="checkableBox">
<input class="validate[required]" name="agree" type="checkbox" value="">
</span>
I have read and accepted
</label>
</div>
<input class="submit btn btn-sm" type="submit" value="VALIDATE">
<button class="btn btn-sm validation-clear">CLOSE PROMPTS</button>
</form>
<br/><br/><br/>
</div>
</section>
</section>
<!-- Javascript Libraries -->
<!-- jQuery -->
<script src="http://www.jq22.com/jquery/jquery-1.10.2.js"></script> <!-- jQuery Library -->
<!-- Bootstrap -->
<script src="http://www.jq22.com/jquery/bootstrap-3.3.4.js"></script>
<!-- Form Related -->
<script src="js/validation/validate.min.js"></script> <!-- jQuery Form Validation Library -->
<script src="js/validation/validationEngine.min.js"></script> <!-- jQuery Form Validation Library - requirred with above js -->
<script src="js/icheck.js"></script> <!-- Custom Checkbox + Radio -->
<!-- UX -->
<script src="js/scroll.min.js"></script> <!-- Custom Scrollbar -->
<!-- Other -->
<script src="js/calendar.min.js"></script> <!-- Calendar -->
<script src="js/feeds.min.js"></script> <!-- News Feeds -->
<!-- All JS functions -->
<script src="js/functions.js"></script>
</body>
</html>

Comment ( 0 )

Sign in for post a comment

HTML
1
https://gitee.com/kangjie1209/monitor.git
git@gitee.com:kangjie1209/monitor.git
kangjie1209
monitor
monitor
master

Help Search