2 Star 10 Fork 23

迷夨啲尛飛/beyondadmin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
form-validation.html 90.69 KB
一键复制 编辑 原始数据 按行查看 历史
梦中程序员 提交于 2018-03-16 21:08 . beyondadmin模板
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612
<!DOCTYPE html>
<!--
BeyondAdmin - Responsive Admin Dashboard Template build with Twitter Bootstrap 3.3.5
Version: 1.4.2
Purchase: http://wrapbootstrap.com
-->
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
<meta charset="utf-8" />
<title>Form Validation</title>
<meta name="description" content="form validation" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="shortcut icon" href="assets/img/favicon.png" type="image/x-icon">
<!--Basic Styles-->
<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
<link id="bootstrap-rtl-link" href="" rel="stylesheet" />
<link href="assets/css/font-awesome.min.css" rel="stylesheet" />
<link href="assets/css/weather-icons.min.css" rel="stylesheet" />
<!--Fonts-->
<link href="http://fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,400,600,700,300" rel="stylesheet" type="text/css">
<!--Beyond styles-->
<link id="beyond-link" href="assets/css/beyond.min.css" rel="stylesheet" />
<link href="assets/css/demo.min.css" rel="stylesheet" />
<link href="assets/css/typicons.min.css" rel="stylesheet" />
<link href="assets/css/animate.min.css" rel="stylesheet" />
<link id="skin-link" href="" rel="stylesheet" type="text/css" />
<!--Skin Script: Place this script in head to load scripts for skins and rtl support-->
<script src="assets/js/skins.min.js"></script>
</head>
<!-- /Head -->
<!-- Body -->
<body>
<!-- Loading Container -->
<div class="loading-container">
<div class="loader"></div>
</div>
<!-- /Loading Container -->
<!-- Navbar -->
<div class="navbar">
<div class="navbar-inner">
<div class="navbar-container">
<!-- Navbar Barnd -->
<div class="navbar-header pull-left">
<a href="#" class="navbar-brand">
<small>
<img src="assets/img/logo.png" alt="" />
</small>
</a>
</div>
<!-- /Navbar Barnd -->
<!-- Sidebar Collapse -->
<div class="sidebar-collapse" id="sidebar-collapse">
<i class="collapse-icon fa fa-bars"></i>
</div>
<!-- /Sidebar Collapse -->
<!-- Account Area and Settings --->
<div class="navbar-header pull-right">
<div class="navbar-account">
<ul class="account-area">
<li>
<a class=" dropdown-toggle" data-toggle="dropdown" title="Help" href="#">
<i class="icon fa fa-warning"></i>
</a>
<!--Notification Dropdown-->
<ul class="pull-right dropdown-menu dropdown-arrow dropdown-notifications">
<li>
<a href="#">
<div class="clearfix">
<div class="notification-icon">
<i class="fa fa-phone bg-themeprimary white"></i>
</div>
<div class="notification-body">
<span class="title">Skype meeting with Patty</span>
<span class="description">01:00 pm</span>
</div>
<div class="notification-extra">
<i class="fa fa-clock-o themeprimary"></i>
<span class="description">office</span>
</div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<div class="notification-icon">
<i class="fa fa-check bg-darkorange white"></i>
</div>
<div class="notification-body">
<span class="title">Uncharted break</span>
<span class="description">03:30 pm - 05:15 pm</span>
</div>
<div class="notification-extra">
<i class="fa fa-clock-o darkorange"></i>
</div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<div class="notification-icon">
<i class="fa fa-gift bg-warning white"></i>
</div>
<div class="notification-body">
<span class="title">Kate birthday party</span>
<span class="description">08:30 pm</span>
</div>
<div class="notification-extra">
<i class="fa fa-calendar warning"></i>
<i class="fa fa-clock-o warning"></i>
<span class="description">at home</span>
</div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<div class="notification-icon">
<i class="fa fa-glass bg-success white"></i>
</div>
<div class="notification-body">
<span class="title">Dinner with friends</span>
<span class="description">10:30 pm</span>
</div>
</div>
</a>
</li>
<li class="dropdown-footer ">
<span>
Today, March 28
</span>
<span class="pull-right">
10°c
<i class="wi wi-cloudy"></i>
</span>
</li>
</ul>
<!--/Notification Dropdown-->
</li>
<li>
<a class="dropdown-toggle" data-toggle="dropdown" title="Mails" href="#">
<i class="icon fa fa-envelope"></i>
<span class="badge">3</span>
</a>
<!--Messages Dropdown-->
<ul class="pull-right dropdown-menu dropdown-arrow dropdown-messages">
<li>
<a href="#">
<img src="assets/img/avatars/divyia.jpg" class="message-avatar" alt="Divyia Austin">
<div class="message">
<span class="message-sender">
Divyia Austin
</span>
<span class="message-time">
2 minutes ago
</span>
<span class="message-subject">
Here's the recipe for apple pie
</span>
<span class="message-body">
to identify the sending application when the senders image is shown for the main icon
</span>
</div>
</a>
</li>
<li>
<a href="#">
<img src="assets/img/avatars/bing.png" class="message-avatar" alt="Microsoft Bing">
<div class="message">
<span class="message-sender">
Bing.com
</span>
<span class="message-time">
Yesterday
</span>
<span class="message-subject">
Bing Newsletter: The January Issue‏
</span>
<span class="message-body">
Discover new music just in time for the Grammy® Awards.
</span>
</div>
</a>
</li>
<li>
<a href="#">
<img src="assets/img/avatars/adam-jansen.jpg" class="message-avatar" alt="Divyia Austin">
<div class="message">
<span class="message-sender">
Nicolas
</span>
<span class="message-time">
Friday, September 22
</span>
<span class="message-subject">
New 4K Cameras
</span>
<span class="message-body">
The 4K revolution has come over the horizon and is reaching the general populous
</span>
</div>
</a>
</li>
</ul>
<!--/Messages Dropdown-->
</li>
<li>
<a class="dropdown-toggle" data-toggle="dropdown" title="Tasks" href="#">
<i class="icon fa fa-tasks"></i>
<span class="badge">4</span>
</a>
<!--Tasks Dropdown-->
<ul class="pull-right dropdown-menu dropdown-tasks dropdown-arrow ">
<li class="dropdown-header bordered-darkorange">
<i class="fa fa-tasks"></i>
4 Tasks In Progress
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Account Creation</span>
<span class="pull-right">65%</span>
</div>
<div class="progress progress-xs">
<div style="width:65%" class="progress-bar"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Profile Data</span>
<span class="pull-right">35%</span>
</div>
<div class="progress progress-xs">
<div style="width:35%" class="progress-bar progress-bar-success"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Updating Resume</span>
<span class="pull-right">75%</span>
</div>
<div class="progress progress-xs">
<div style="width:75%" class="progress-bar progress-bar-darkorange"></div>
</div>
</a>
</li>
<li>
<a href="#">
<div class="clearfix">
<span class="pull-left">Adding Contacts</span>
<span class="pull-right">10%</span>
</div>
<div class="progress progress-xs">
<div style="width:10%" class="progress-bar progress-bar-warning"></div>
</div>
</a>
</li>
<li class="dropdown-footer">
<a href="#">
See All Tasks
</a>
<button class="btn btn-xs btn-default shiny darkorange icon-only pull-right"><i class="fa fa-check"></i></button>
</li>
</ul>
<!--/Tasks Dropdown-->
</li>
<li>
<a class="wave in" id="chat-link" title="Chat" href="#">
<i class="icon glyphicon glyphicon-comment"></i>
</a>
</li>
<li>
<a class="login-area dropdown-toggle" data-toggle="dropdown">
<div class="avatar" title="View your public profile">
<img src="assets/img/avatars/adam-jansen.jpg">
</div>
<section>
<h2><span class="profile"><span>David Stevenson</span></span></h2>
</section>
</a>
<!--Login Area Dropdown-->
<ul class="pull-right dropdown-menu dropdown-arrow dropdown-login-area">
<li class="username"><a>David Stevenson</a></li>
<li class="email"><a>[email protected]</a></li>
<!--Avatar Area-->
<li>
<div class="avatar-area">
<img src="assets/img/avatars/adam-jansen.jpg" class="avatar">
<span class="caption">Change Photo</span>
</div>
</li>
<!--Avatar Area-->
<li class="edit">
<a href="profile.html" class="pull-left">Profile</a>
<a href="#" class="pull-right">Setting</a>
</li>
<!--Theme Selector Area-->
<li class="theme-area">
<ul class="colorpicker" id="skin-changer">
<li><a class="colorpick-btn" href="#" style="background-color:#5DB2FF;" rel="assets/css/skins/blue.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#2dc3e8;" rel="assets/css/skins/azure.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#03B3B2;" rel="assets/css/skins/teal.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#53a93f;" rel="assets/css/skins/green.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#FF8F32;" rel="assets/css/skins/orange.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#cc324b;" rel="assets/css/skins/pink.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#AC193D;" rel="assets/css/skins/darkred.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#8C0095;" rel="assets/css/skins/purple.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#0072C6;" rel="assets/css/skins/darkblue.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#585858;" rel="assets/css/skins/gray.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#474544;" rel="assets/css/skins/black.min.css"></a></li>
<li><a class="colorpick-btn" href="#" style="background-color:#001940;" rel="assets/css/skins/deepblue.min.css"></a></li>
</ul>
</li>
<!--/Theme Selector Area-->
<li class="dropdown-footer">
<a href="login.html">
Sign out
</a>
</li>
</ul>
<!--/Login Area Dropdown-->
</li>
<!-- /Account Area -->
<!--Note: notice that setting div must start right after account area list.
no space must be between these elements-->
<!-- Settings -->
</ul><div class="setting">
<a id="btn-setting" title="Setting" href="#">
<i class="icon glyphicon glyphicon-cog"></i>
</a>
</div><div class="setting-container">
<label>
<input type="checkbox" id="checkbox_fixednavbar">
<span class="text">Fixed Navbar</span>
</label>
<label>
<input type="checkbox" id="checkbox_fixedsidebar">
<span class="text">Fixed SideBar</span>
</label>
<label>
<input type="checkbox" id="checkbox_fixedbreadcrumbs">
<span class="text">Fixed BreadCrumbs</span>
</label>
<label>
<input type="checkbox" id="checkbox_fixedheader">
<span class="text">Fixed Header</span>
</label>
</div>
<!-- Settings -->
</div>
</div>
<!-- /Account Area and Settings -->
</div>
</div>
</div>
<!-- /Navbar -->
<!-- Main Container -->
<div class="main-container container-fluid">
<!-- Page Container -->
<div class="page-container">
<!-- Page Sidebar -->
<div class="page-sidebar" id="sidebar">
<!-- Page Sidebar Header-->
<div class="sidebar-header-wrapper">
<input type="text" class="searchinput" />
<i class="searchicon fa fa-search"></i>
<div class="searchhelper">Search Reports, Charts, Emails or Notifications</div>
</div>
<!-- /Page Sidebar Header -->
<!-- Sidebar Menu -->
<ul class="nav sidebar-menu">
<!--Dashboard-->
<li>
<a href="index.html">
<i class="menu-icon glyphicon glyphicon-home"></i>
<span class="menu-text"> Dashboard </span>
</a>
</li>
<!--Databoxes-->
<li>
<a href="databoxes.html">
<i class="menu-icon glyphicon glyphicon-tasks"></i>
<span class="menu-text"> Data Boxes </span>
</a>
</li>
<!--Widgets-->
<li>
<a href="widgets.html">
<i class="menu-icon fa fa-th"></i>
<span class="menu-text"> Widgets </span>
</a>
</li>
<!--UI Elements-->
<li>
<a href="#" class="menu-dropdown">
<i class="menu-icon fa fa-desktop"></i>
<span class="menu-text"> Elements </span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="elements.html">
<span class="menu-text">Basic Elements</span>
</a>
</li>
<li>
<a href="#" class="menu-dropdown">
<span class="menu-text">
Icons
</span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="font-awesome.html">
<i class="menu-icon fa fa-rocket"></i>
<span class="menu-text">Font Awesome</span>
</a>
</li>
<li>
<a href="glyph-icons.html">
<i class="menu-icon glyphicon glyphicon-stats"></i>
<span class="menu-text">Glyph Icons</span>
</a>
</li>
<li>
<a href="typicon.html">
<i class="menu-icon typcn typcn-location-outline"></i>
<span class="menu-text"> Typicons</span>
</a>
</li>
<li>
<a href="weather-icons.html">
<i class="menu-icon wi wi-hot"></i>
<span class="menu-text">Weather Icons</span>
</a>
</li>
</ul>
</li>
<li>
<a href="tabs.html">
<span class="menu-text">Tabs & Accordions</span>
</a>
</li>
<li>
<a href="alerts.html">
<span class="menu-text">Alerts & Tooltips</span>
</a>
</li>
<li>
<a href="modals.html">
<span class="menu-text">Modals & Wells</span>
</a>
</li>
<li>
<a href="buttons.html">
<span class="menu-text">Buttons</span>
</a>
</li>
<li>
<a href="nestable-list.html">
<span class="menu-text"> Nestable List</span>
</a>
</li>
<li>
<a href="treeview.html">
<span class="menu-text">Treeview</span>
</a>
</li>
</ul>
</li>
<!--Tables-->
<li>
<a href="#" class="menu-dropdown">
<i class="menu-icon fa fa-table"></i>
<span class="menu-text"> Tables </span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="tables-simple.html">
<span class="menu-text">Simple & Responsive</span>
</a>
</li>
<li>
<a href="tables-data.html">
<span class="menu-text">Data Tables</span>
</a>
</li>
</ul>
</li>
<!--Forms-->
<li class="active open">
<a href="#" class="menu-dropdown">
<i class="menu-icon fa fa-pencil-square-o"></i>
<span class="menu-text"> Forms </span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="form-layouts.html">
<span class="menu-text">Form Layouts</span>
</a>
</li>
<li>
<a href="form-inputs.html">
<span class="menu-text">Form Inputs</span>
</a>
</li>
<li>
<a href="form-pickers.html">
<span class="menu-text">Data Pickers</span>
</a>
</li>
<li>
<a href="form-wizard.html">
<span class="menu-text">Wizard</span>
</a>
</li>
<li class="active">
<a href="form-validation.html">
<span class="menu-text">Validation</span>
</a>
</li>
<li>
<a href="form-editors.html">
<span class="menu-text">Editors</span>
</a>
</li>
<li>
<a href="form-inputmask.html">
<span class="menu-text">Input Mask</span>
</a>
</li>
</ul>
</li>
<!--Charts-->
<li>
<a href="#" class="menu-dropdown">
<i class="menu-icon fa fa-bar-chart-o"></i>
<span class="menu-text"> Charts </span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="flot.html">
<span class="menu-text">Flot Charts</span>
</a>
</li>
<li>
<a href="morris.html">
<span class="menu-text"> Morris Charts</span>
</a>
</li>
<li>
<a href="sparkline.html">
<span class="menu-text">Sparkline Charts</span>
</a>
</li>
<li>
<a href="easypiecharts.html">
<span class="menu-text">Easy Pie Charts</span>
</a>
</li>
<li>
<a href="chartjs.html">
<span class="menu-text"> ChartJS</span>
</a>
</li>
</ul>
</li>
<!--Profile-->
<li>
<a href="profile.html">
<i class="menu-icon fa fa-picture-o"></i>
<span class="menu-text">Profile</span>
</a>
</li>
<!--Mail-->
<li>
<a href="#" class="menu-dropdown">
<i class="menu-icon fa fa-envelope-o"></i>
<span class="menu-text"> Mail </span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="inbox.html">
<span class="menu-text">Inbox</span>
</a>
</li>
<li>
<a href="message-view.html">
<span class="menu-text">View Message</span>
</a>
</li>
<li>
<a href="message-compose.html">
<span class="menu-text">Compose Message</span>
</a>
</li>
</ul>
</li>
<!--Calendar-->
<li>
<a href="calendar.html">
<i class="menu-icon fa fa-calendar"></i>
<span class="menu-text">
Calendar
</span>
</a>
</li>
<!--Pages-->
<li>
<a href="#" class="menu-dropdown">
<i class="menu-icon glyphicon glyphicon-paperclip"></i>
<span class="menu-text"> Pages </span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="timeline.html">
<span class="menu-text">Timeline</span>
</a>
</li>
<li>
<a href="pricing.html">
<span class="menu-text">Pricing Tables</span>
</a>
</li>
<li>
<a href="invoice.html">
<span class="menu-text">Invoice</span>
</a>
</li>
<li>
<a href="login.html">
<span class="menu-text">Login</span>
</a>
</li>
<li>
<a href="register.html">
<span class="menu-text">Register</span>
</a>
</li>
<li>
<a href="lock.html">
<span class="menu-text">Lock Screen</span>
</a>
</li>
<li>
<a href="typography.html">
<span class="menu-text"> Typography </span>
</a>
</li>
</ul>
</li>
<!--More Pages-->
<li>
<a href="#" class="menu-dropdown">
<i class="menu-icon glyphicon glyphicon-link"></i>
<span class="menu-text">
More Pages
</span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="error-404.html">
<span class="menu-text">Error 404</span>
</a>
</li>
<li>
<a href="error-500.html">
<span class="menu-text"> Error 500</span>
</a>
</li>
<li>
<a href="blank.html">
<span class="menu-text">Blank Page</span>
</a>
</li>
<li>
<a href="grid.html">
<span class="menu-text"> Grid</span>
</a>
</li>
<li>
<a href="#" class="menu-dropdown">
<span class="menu-text">
Multi Level Menu
</span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="#">
<i class="menu-icon fa fa-camera"></i>
<span class="menu-text">Level 3</span>
</a>
</li>
<li>
<a href="#" class="menu-dropdown">
<i class="menu-icon fa fa-asterisk"></i>
<span class="menu-text">
Level 4
</span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a href="#">
<i class="menu-icon fa fa-bolt"></i>
<span class="menu-text">Some Item</span>
</a>
</li>
<li>
<a href="#">
<i class="menu-icon fa fa-bug"></i>
<span class="menu-text">Another Item</span>
</a>
</li>
</ul>
</li>
</ul>
</li>
</ul>
</li>
<!--Right to Left-->
<li>
<a href="#" class="menu-dropdown">
<i class="menu-icon fa fa-align-right"></i>
<span class="menu-text"> Right to Left </span>
<i class="menu-expand"></i>
</a>
<ul class="submenu">
<li>
<a>
<span class="menu-text">RTL</span>
<label class="pull-right margin-top-10">
<input id="rtl-changer" class="checkbox-slider slider-icon colored-primary" type="checkbox">
<span class="text"></span>
</label>
</a>
</li>
<li>
<a href="index-rtl-ar.html">
<span class="menu-text">Arabic Layout</span>
</a>
</li>
<li>
<a href="index-rtl-fa.html">
<span class="menu-text">Persian Layout</span>
</a>
</li>
</ul>
</li>
<li>
<a href="versions.html">
<i class="menu-icon glyphicon glyphicon-fire themesecondary"></i>
<span class="menu-text">
BeyondAdmin Versions
</span>
</a>
</li>
</ul>
<!-- /Sidebar Menu -->
</div>
<!-- /Page Sidebar -->
<!-- Chat Bar -->
<div id="chatbar" class="page-chatbar">
<div class="chatbar-contacts">
<div class="contacts-search">
<input type="text" class="searchinput" placeholder="Search Contacts" />
<i class="searchicon fa fa-search"></i>
<div class="searchhelper">Search Your Contacts and Chat History</div>
</div>
<ul class="contacts-list">
<li class="contact">
<div class="contact-avatar">
<img src="assets/img/avatars/divyia.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">Divyia Philips</div>
<div class="contact-status">
<div class="online"></div>
<div class="status">online</div>
</div>
<div class="last-chat-time">
last week
</div>
</div>
</li>
<li class="contact">
<div class="contact-avatar">
<img src="assets/img/avatars/Nicolai-Larson.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">Adam Johnson</div>
<div class="contact-status">
<div class="offline"></div>
<div class="status">left 4 mins ago</div>
</div>
<div class="last-chat-time">
today
</div>
</div>
</li>
<li class="contact">
<div class="contact-avatar">
<img src="assets/img/avatars/John-Smith.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">John Smith</div>
<div class="contact-status">
<div class="online"></div>
<div class="status">online</div>
</div>
<div class="last-chat-time">
1:57 am
</div>
</div>
</li>
<li class="contact">
<div class="contact-avatar">
<img src="assets/img/avatars/Osvaldus-Valutis.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">Osvaldus Valutis</div>
<div class="contact-status">
<div class="online"></div>
<div class="status">online</div>
</div>
<div class="last-chat-time">
today
</div>
</div>
</li>
<li class="contact">
<div class="contact-avatar">
<img src="assets/img/avatars/Javi-Jimenez.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">Javi Jimenez</div>
<div class="contact-status">
<div class="online"></div>
<div class="status">online</div>
</div>
<div class="last-chat-time">
today
</div>
</div>
</li>
<li class="contact">
<div class="contact-avatar">
<img src="assets/img/avatars/Stephanie-Walter.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">Stephanie Walter</div>
<div class="contact-status">
<div class="online"></div>
<div class="status">online</div>
</div>
<div class="last-chat-time">
yesterday
</div>
</div>
</li>
<li class="contact">
<div class="contact-avatar">
<img src="assets/img/avatars/Sergey-Azovskiy.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">Sergey Azovskiy</div>
<div class="contact-status">
<div class="offline"></div>
<div class="status">offline since oct 24</div>
</div>
<div class="last-chat-time">
22 oct
</div>
</div>
</li>
<li class="contact">
<div class="contact-avatar">
<img src="assets/img/avatars/Lee-Munroe.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">Lee Munroe</div>
<div class="contact-status">
<div class="online"></div>
<div class="status">online</div>
</div>
<div class="last-chat-time">
today
</div>
</div>
</li>
<li class="contact">
<div class="contact-avatar">
<img src="assets/img/avatars/divyia.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">Divyia Philips</div>
<div class="contact-status">
<div class="online"></div>
<div class="status">online</div>
</div>
<div class="last-chat-time">
last week
</div>
</div>
</li>
</ul>
</div>
<div class="chatbar-messages" style="display: none;">
<div class="messages-contact">
<div class="contact-avatar">
<img src="assets/img/avatars/divyia.jpg" />
</div>
<div class="contact-info">
<div class="contact-name">Divyia Philips</div>
<div class="contact-status">
<div class="online"></div>
<div class="status">online</div>
</div>
<div class="last-chat-time">
a moment ago
</div>
<div class="back">
<i class="fa fa-arrow-circle-left"></i>
</div>
</div>
</div>
<ul class="messages-list">
<li class="message">
<div class="message-info">
<div class="bullet"></div>
<div class="contact-name">Me</div>
<div class="message-time">10:14 AM, Today</div>
</div>
<div class="message-body">
Hi, Hope all is good. Are we meeting today?
</div>
</li>
<li class="message reply">
<div class="message-info">
<div class="bullet"></div>
<div class="contact-name">Divyia</div>
<div class="message-time">10:15 AM, Today</div>
</div>
<div class="message-body">
Hi, Hope all is good. Are we meeting today?
</div>
</li>
<li class="message">
<div class="message-info">
<div class="bullet"></div>
<div class="contact-name">Me</div>
<div class="message-time">10:14 AM, Today</div>
</div>
<div class="message-body">
Hi, Hope all is good. Are we meeting today?
</div>
</li>
<li class="message reply">
<div class="message-info">
<div class="bullet"></div>
<div class="contact-name">Divyia</div>
<div class="message-time">10:15 AM, Today</div>
</div>
<div class="message-body">
Hi, Hope all is good. Are we meeting today?
</div>
</li>
<li class="message">
<div class="message-info">
<div class="bullet"></div>
<div class="contact-name">Me</div>
<div class="message-time">10:14 AM, Today</div>
</div>
<div class="message-body">
Hi, Hope all is good. Are we meeting today?
</div>
</li>
<li class="message reply">
<div class="message-info">
<div class="bullet"></div>
<div class="contact-name">Divyia</div>
<div class="message-time">10:15 AM, Today</div>
</div>
<div class="message-body">
Hi, Hope all is good. Are we meeting today?
</div>
</li>
</ul>
<div class="send-message">
<span class="input-icon icon-right">
<textarea rows="4" class="form-control" placeholder="Type your message"></textarea>
<i class="fa fa-camera themeprimary"></i>
</span>
</div>
</div>
</div>
<!-- /Chat Bar -->
<!-- Page Content -->
<div class="page-content">
<!-- Page Breadcrumb -->
<div class="page-breadcrumbs">
<ul class="breadcrumb">
<li>
<i class="fa fa-home"></i>
<a href="#">Home</a>
</li>
<li>
<a href="#">Forms</a>
</li>
<li class="active">Validation</li>
</ul>
</div>
<!-- /Page Breadcrumb -->
<!-- Page Header -->
<div class="page-header position-relative">
<div class="header-title">
<h1>
Form Vlidation
<small>
<i class="fa fa-angle-right"></i>
Bootstrap Validator
</small>
</h1>
</div>
<!--Header Buttons-->
<div class="header-buttons">
<a class="sidebar-toggler" href="#">
<i class="fa fa-arrows-h"></i>
</a>
<a class="refresh" id="refresh-toggler" href="">
<i class="glyphicon glyphicon-refresh"></i>
</a>
<a class="fullscreen" id="fullscreen-toggler" href="#">
<i class="glyphicon glyphicon-fullscreen"></i>
</a>
</div>
<!--Header Buttons End-->
</div>
<!-- /Page Header -->
<!-- Page Body -->
<div class="page-body">
<div class="row">
<div class="col-lg-12 col-sm-12 col-xs-12">
<div class="row">
<div class="col-lg-6 col-sm-6 col-xs-12">
<div class="widget radius-bordered">
<div class="widget-header">
<span class="widget-caption">Registration Form</span>
</div>
<div class="widget-body">
<form id="registrationForm" method="post" class="form-horizontal"
data-bv-message="This value is not valid"
data-bv-feedbackicons-valid="glyphicon glyphicon-ok"
data-bv-feedbackicons-invalid="glyphicon glyphicon-remove"
data-bv-feedbackicons-validating="glyphicon glyphicon-refresh">
<div class="form-title">
Basic Validator With HTML Attributes
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Full name</label>
<div class="col-lg-4">
<input type="text" class="form-control" name="firstName" placeholder="First name"
data-bv-notempty="true"
data-bv-notempty-message="The first name is required and cannot be empty" />
</div>
<div class="col-lg-4">
<input type="text" class="form-control" name="lastName" placeholder="Last name"
data-bv-notempty="true"
data-bv-notempty-message="The last name is required and cannot be empty" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Username</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="username"
data-bv-message="The username is not valid"
data-bv-notempty="true"
data-bv-notempty-message="The username is required and cannot be empty"
data-bv-regexp="true"
data-bv-regexp-regexp="[a-zA-Z0-9_\.]+"
data-bv-regexp-message="The username can only consist of alphabetical, number, dot and underscore"
data-bv-stringlength="true"
data-bv-stringlength-min="6"
data-bv-stringlength-max="30"
data-bv-stringlength-message="The username must be more than 6 and less than 30 characters long"
data-bv-different="true"
data-bv-different-field="password"
data-bv-different-message="The username and password cannot be the same as each other" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Email address</label>
<div class="col-lg-8">
<input class="form-control" name="email" type="email"
data-bv-emailaddress="true"
data-bv-emailaddress-message="The input is not a valid email address" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Password</label>
<div class="col-lg-8">
<input type="password" class="form-control" name="password"
data-bv-notempty="true"
data-bv-notempty-message="The password is required and cannot be empty"
data-bv-identical="true"
data-bv-identical-field="confirmPassword"
data-bv-identical-message="The password and its confirm are not the same"
data-bv-different="true"
data-bv-different-field="username"
data-bv-different-message="The password cannot be the same as username" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Retype password</label>
<div class="col-lg-8">
<input type="password" class="form-control" name="confirmPassword"
data-bv-notempty="true"
data-bv-notempty-message="The confirm password is required and cannot be empty"
data-bv-identical="true"
data-bv-identical-field="password"
data-bv-identical-message="The password and its confirm are not the same"
data-bv-different="true"
data-bv-different-field="username"
data-bv-different-message="The password cannot be the same as username" />
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-4 col-lg-8">
<input class="btn btn-palegreen" type="submit" value="Validate" />
</div>
</div>
</form>
</div>
</div>
</div>
<div class="col-lg-6 col-sm-6 col-xs-12">
<div class="widget radius-bordered">
<div class="widget-header">
<span class="widget-caption">Toggling Field Validator</span>
</div>
<div class="widget-body">
<form id="togglingForm" method="post" class="form-horizontal">
<div class="form-group">
<label class="col-lg-4 control-label">Full name <sup>*</sup></label>
<div class="col-lg-4">
<input type="text" class="form-control" name="firstName" placeholder="First name" />
</div>
<div class="col-lg-4">
<input type="text" class="form-control" name="lastName" placeholder="Last name" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Company <sup>*</sup></label>
<div class="col-lg-8">
<input type="text" class="form-control" name="company"
required data-bv-notempty-message="The company name is required" />
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-4 col-lg-8">
<button type="button" class="btn btn-danger btn-sm" data-toggle="#jobInfo">
Add more info
</button>
</div>
</div>
<!-- These fields will not be validated as long as they are not visible -->
<div id="jobInfo" style="display: none;">
<div class="form-group">
<label class="col-lg-4 control-label">Job title <sup>*</sup></label>
<div class="col-lg-8">
<input type="text" class="form-control" name="job" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Department <sup>*</sup></label>
<div class="col-lg-8">
<input type="text" class="form-control" name="department" />
</div>
</div>
</div>
<hr class="wide" />
<div class="form-group">
<label class="col-lg-4 control-label">Mobile phone <sup>*</sup></label>
<div class="col-lg-8">
<input type="text" class="form-control" name="mobilePhone" />
</div>
</div>
<div class="form-group">
<div class="col-lg-offset-4 col-lg-8">
<button type="button" class="btn btn-danger btn-sm" data-toggle="#phoneInfo">
Add more phone numbers
</button>
</div>
</div>
<!-- These fields will not be validated as long as they are not visible -->
<div id="phoneInfo" style="display: none;">
<div class="form-group">
<label class="col-lg-4 control-label">Home phone</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="homePhone" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Office phone</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="officePhone" />
</div>
</div>
</div>
<hr class="wide" />
<div class="form-group">
<div class="col-lg-8 col-lg-offset-4">
<button type="submit" class="btn btn-danger">Validate</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-sm-6 col-xs-12">
<div class="widget radius-bordered">
<div class="widget-header">
<span class="widget-caption">Tabbed Validation</span>
</div>
<div class="widget-body">
<div class="docs-example">
<ul class="nav nav-tabs tabs-flat">
<li class="active"><a href="#info-tab" data-toggle="tab">Information</a></li>
<li class=""><a href="#address-tab" data-toggle="tab">Address</a></li>
</ul>
<form id="accountForm" method="post" class="form-horizontal bv-form" novalidate="novalidate">
<div class="tab-content tabs-flat">
<div class="tab-pane" id="info-tab">
<div class="form-group has-feedback">
<label class="col-lg-4 control-label">Full name</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="fullName" data-bv-field="fullName"><i class="form-control-feedback" data-bv-field="fullName" style="display: none;"></i>
</div>
</div>
<div class="form-group has-feedback">
<label class="col-lg-4 control-label">Company</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="company" data-bv-field="company"><i class="form-control-feedback" data-bv-field="company" style="display: none;"></i>
</div>
</div>
<div class="form-group has-feedback">
<label class="col-lg-4 control-label">Job title</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="jobTitle" data-bv-field="jobTitle"><i class="form-control-feedback" data-bv-field="jobTitle" style="display: none;"></i>
</div>
</div>
</div>
<div class="tab-pane active" id="address-tab">
<div class="form-group has-feedback">
<label class="col-lg-4 control-label">Address</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="address" data-bv-field="address"><i class="form-control-feedback" data-bv-field="address" style="display: none;"></i>
</div>
</div>
<div class="form-group has-feedback">
<label class="col-lg-4 control-label">City</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="city" data-bv-field="city"><i class="form-control-feedback" data-bv-field="city" style="display: none;"></i>
</div>
</div>
<div class="form-group has-feedback">
<label class="col-lg-4 control-label">Country</label>
<div class="col-lg-8">
<select class="form-control" name="country" data-bv-field="country">
<option value="">Select a country</option>
<option value="FR">France</option>
<option value="DE">Germany</option>
<option value="IT">Italy</option>
<option value="JP">Japan</option>
<option value="RU">Russian</option>
<option value="US">United State</option>
<option value="GB">United Kingdom</option>
<option value="other">Other</option>
</select><i class="form-control-feedback" data-bv-field="country" style="display: none;"></i>
</div>
</div>
</div>
</div>
<div class="form-group">
<div class="col-lg-8 col-lg-offset-4">
<button type="submit" class="btn btn-blue">Validate</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
<div class="col-lg-6 col-sm-6 col-xs-12">
<div class="widget radius-bordered">
<div class="widget-header">
<span class="widget-caption">HTML5 Elements</span>
</div>
<div class="widget-body">
<form id="html5Form" method="post" class="form-horizontal"
data-bv-message="This value is not valid"
data-bv-feedbackicons-valid="glyphicon glyphicon-ok"
data-bv-feedbackicons-invalid="glyphicon glyphicon-remove"
data-bv-feedbackicons-validating="glyphicon glyphicon-refresh">
<div class="form-group">
<label class="col-lg-4 control-label">Username</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="username"
data-bv-message="The username is not valid"
required
data-bv-notempty-message="The username is required and cannot be empty"
pattern="[a-zA-Z0-9]+"
data-bv-regexp-message="The username can only consist of alphabetical, number" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Email address</label>
<div class="col-lg-8">
<input class="form-control" name="email"
required
type="email" data-bv-emailaddress-message="The input is not a valid email address" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Website</label>
<div class="col-lg-8">
<input class="form-control" name="website"
required
type="url" data-bv-uri-message="The input is not a valid website address" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Fav color</label>
<div class="col-lg-8">
<input class="form-control" name="color"
required
type="color" data-bv-hexcolor-message="The input is not a valid color code" />
</div>
</div>
<div class="form-group">
<label class="col-lg-4 control-label">Age</label>
<div class="col-lg-8">
<input type="text" class="form-control" name="age"
required
min="10"
data-bv-greaterthan-inclusive="false"
data-bv-greaterthan-message="The input must be greater than or equal to 10"
max="100"
data-bv-lessthan-inclusive="true"
data-bv-lessthan-message="The input must be less than 100" />
<!--<input class="form-control" name="age"
required
type="range"
min="10"
max="100"
data-bv-between-message="The input must be between 10 and 100" />-->
</div>
</div>
<div class="form-group">
<div class="col-lg-8 col-lg-offset-4">
<button type="submit" class="btn btn-warning">Validate</button>
</div>
</div>
</form>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /Page Body -->
</div>
<!-- /Page Content -->
</div>
<!-- /Page Container -->
<!-- Main Container -->
</div>
<!--Basic Scripts-->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/slimscroll/jquery.slimscroll.min.js"></script>
<!--Beyond Scripts-->
<script src="assets/js/beyond.min.js"></script>
<!--Page Related Scripts-->
<script src="assets/js/validation/bootstrapValidator.js"></script>
<script>
$(document).ready(function () {
$("#registrationForm").bootstrapValidator();
$('#togglingForm').bootstrapValidator({
message: 'This value is not valid',
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
submitHandler: function (validator, form, submitButton) {
// Do nothing
},
fields: {
firstName: {
validators: {
notEmpty: {
message: 'The first name is required'
}
}
},
lastName: {
validators: {
notEmpty: {
message: 'The last name is required'
}
}
},
company: {
validators: {
notEmpty: {
message: 'The company name is required'
}
}
},
// These fields will be validated when being visible
job: {
validators: {
notEmpty: {
message: 'The job title is required'
}
}
},
department: {
validators: {
notEmpty: {
message: 'The department name is required'
}
}
},
mobilePhone: {
validators: {
notEmpty: {
message: 'The mobile phone number is required'
},
digits: {
message: 'The mobile phone number is not valid'
}
}
},
// These fields will be validated when being visible
homePhone: {
validators: {
digits: {
message: 'The home phone number is not valid'
}
}
},
officePhone: {
validators: {
digits: {
message: 'The office phone number is not valid'
}
}
}
}
})
.find('button[data-toggle]')
.on('click', function () {
var $target = $($(this).attr('data-toggle'));
// Show or hide the additional fields
// They will or will not be validated based on their visibilities
$target.toggle();
if (!$target.is(':visible')) {
// Enable the submit buttons in case additional fields are not valid
$('#togglingForm').data('bootstrapValidator').disableSubmitButtons(false);
}
});
$('#accountForm').bootstrapValidator({
// Only disabled elements are excluded
// The invisible elements belonging to inactive tabs must be validated
excluded: [':disabled'],
feedbackIcons: {
valid: 'glyphicon glyphicon-ok',
invalid: 'glyphicon glyphicon-remove',
validating: 'glyphicon glyphicon-refresh'
},
submitHandler: function (validator, form, submitButton) {
// Do nothing
},
fields: {
fullName: {
validators: {
notEmpty: {
message: 'The full name is required'
}
}
},
company: {
validators: {
notEmpty: {
message: 'The company name is required'
}
}
},
address: {
validators: {
notEmpty: {
message: 'The address is required'
}
}
},
city: {
validators: {
notEmpty: {
message: 'The city is required'
}
}
}
}
});
$('#html5Form').bootstrapValidator();
});
</script>
</body>
<!-- /Body -->
</html>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
HTML
1
https://gitee.com/mishidexiaobai/beyondadmin.git
[email protected]:mishidexiaobai/beyondadmin.git
mishidexiaobai
beyondadmin
beyondadmin
master

搜索帮助