2015-05-19 08:25:00 +02:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
|
|
|
|
<head>
|
2016-03-06 21:53:42 +01:00
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
|
|
<!-- Meta, title, CSS, favicons, etc. -->
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<title>Gentallela Alela! | </title>
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<!-- Bootstrap core CSS -->
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<link href="css/bootstrap.min.css" rel="stylesheet">
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<link href="fonts/css/font-awesome.min.css" rel="stylesheet">
|
|
|
|
<link href="css/animate.min.css" rel="stylesheet">
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<!-- Custom styling plus plugins -->
|
|
|
|
<link href="css/custom.css" rel="stylesheet">
|
|
|
|
<link href="css/icheck/flat/green.css" rel="stylesheet">
|
2015-05-19 08:25:00 +02:00
|
|
|
|
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<script src="js/jquery.min.js"></script>
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<!--[if lt IE 9]>
|
2015-05-19 08:25:00 +02:00
|
|
|
<script src="../assets/js/ie8-responsive-file-warning.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!--[if lt IE 9]>
|
2015-05-19 08:25:00 +02:00
|
|
|
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
|
|
|
|
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
|
|
|
|
<![endif]-->
|
|
|
|
|
|
|
|
</head>
|
|
|
|
|
|
|
|
|
|
|
|
<body class="nav-md">
|
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<div class="container body">
|
2015-05-19 08:25:00 +02:00
|
|
|
|
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<div class="main_container">
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<div class="col-md-3 left_col">
|
|
|
|
<div class="left_col scroll-view">
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<div class="navbar nav_title" style="border: 0;">
|
|
|
|
<a href="index.html" class="site_title"><i class="fa fa-paw"></i> <span>Gentellela Alela!</span></a>
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
|
|
|
|
<!-- menu prile quick info -->
|
|
|
|
<div class="profile">
|
|
|
|
<div class="profile_pic">
|
|
|
|
<img src="images/img.jpg" alt="..." class="img-circle profile_img">
|
|
|
|
</div>
|
|
|
|
<div class="profile_info">
|
|
|
|
<span>Welcome,</span>
|
|
|
|
<h2>John Doe</h2>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<!-- /menu prile quick info -->
|
|
|
|
|
|
|
|
<br />
|
|
|
|
|
|
|
|
<!-- sidebar menu -->
|
|
|
|
<div id="sidebar-menu" class="main_menu_side hidden-print main_menu">
|
|
|
|
|
|
|
|
<div class="menu_section">
|
|
|
|
<h3>General</h3>
|
|
|
|
<ul class="nav side-menu">
|
|
|
|
<li><a><i class="fa fa-home"></i> Home <span class="fa fa-chevron-down"></span></a>
|
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
|
<li><a href="index.html">Dashboard</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="index2.html">Dashboard2</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="index3.html">Dashboard3</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a><i class="fa fa-edit"></i> Forms <span class="fa fa-chevron-down"></span></a>
|
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
|
<li><a href="form.html">General Form</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="form_advanced.html">Advanced Components</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="form_validation.html">Form Validation</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="form_wizards.html">Form Wizard</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="form_upload.html">Form Upload</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="form_buttons.html">Form Buttons</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a><i class="fa fa-desktop"></i> UI Elements <span class="fa fa-chevron-down"></span></a>
|
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
|
<li><a href="general_elements.html">General Elements</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="media_gallery.html">Media Gallery</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="typography.html">Typography</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="icons.html">Icons</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="glyphicons.html">Glyphicons</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="widgets.html">Widgets</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="invoice.html">Invoice</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="inbox.html">Inbox</a>
|
|
|
|
</li>
|
2016-04-08 14:57:31 +02:00
|
|
|
<li><a href="calendar.html">Calendar</a>
|
2016-03-06 21:53:42 +01:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a><i class="fa fa-table"></i> Tables <span class="fa fa-chevron-down"></span></a>
|
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
|
<li><a href="tables.html">Tables</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="tables_dynamic.html">Table Dynamic</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a><i class="fa fa-bar-chart-o"></i> Data Presentation <span class="fa fa-chevron-down"></span></a>
|
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
|
<li><a href="chartjs.html">Chart JS</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="chartjs2.html">Chart JS2</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="morisjs.html">Moris JS</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="echarts.html">ECharts </a>
|
|
|
|
</li>
|
|
|
|
<li><a href="other_charts.html">Other Charts </a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
<div class="menu_section">
|
|
|
|
<h3>Live On</h3>
|
|
|
|
<ul class="nav side-menu">
|
|
|
|
<li><a><i class="fa fa-bug"></i> Additional Pages <span class="fa fa-chevron-down"></span></a>
|
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
|
<li><a href="e_commerce.html">E-commerce</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="projects.html">Projects</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="project_detail.html">Project Detail</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="contacts.html">Contacts</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="profile.html">Profile</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a><i class="fa fa-windows"></i> Extras <span class="fa fa-chevron-down"></span></a>
|
|
|
|
<ul class="nav child_menu" style="display: none">
|
|
|
|
<li><a href="page_404.html">404 Error</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="page_500.html">500 Error</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="plain_page.html">Plain Page</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="login.html">Login Page</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="pricing_tables.html">Pricing Tables</a>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a><i class="fa fa-laptop"></i> Landing Page <span class="label label-success pull-right">Coming Soon</span></a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /sidebar menu -->
|
|
|
|
|
|
|
|
<!-- /menu footer buttons -->
|
|
|
|
<div class="sidebar-footer hidden-small">
|
|
|
|
<a data-toggle="tooltip" data-placement="top" title="Settings">
|
|
|
|
<span class="glyphicon glyphicon-cog" aria-hidden="true"></span>
|
|
|
|
</a>
|
|
|
|
<a data-toggle="tooltip" data-placement="top" title="FullScreen">
|
|
|
|
<span class="glyphicon glyphicon-fullscreen" aria-hidden="true"></span>
|
|
|
|
</a>
|
|
|
|
<a data-toggle="tooltip" data-placement="top" title="Lock">
|
|
|
|
<span class="glyphicon glyphicon-eye-close" aria-hidden="true"></span>
|
|
|
|
</a>
|
|
|
|
<a data-toggle="tooltip" data-placement="top" title="Logout">
|
|
|
|
<span class="glyphicon glyphicon-off" aria-hidden="true"></span>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<!-- /menu footer buttons -->
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<!-- top navigation -->
|
|
|
|
<div class="top_nav">
|
|
|
|
|
|
|
|
<div class="nav_menu">
|
|
|
|
<nav class="" role="navigation">
|
|
|
|
<div class="nav toggle">
|
|
|
|
<a id="menu_toggle"><i class="fa fa-bars"></i></a>
|
2015-05-19 08:25:00 +02:00
|
|
|
</div>
|
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<ul class="nav navbar-nav navbar-right">
|
|
|
|
<li class="">
|
|
|
|
<a href="javascript:;" class="user-profile dropdown-toggle" data-toggle="dropdown" aria-expanded="false">
|
|
|
|
<img src="images/img.jpg" alt="">John Doe
|
|
|
|
<span class=" fa fa-angle-down"></span>
|
|
|
|
</a>
|
|
|
|
<ul class="dropdown-menu dropdown-usermenu animated fadeInDown pull-right">
|
|
|
|
<li><a href="javascript:;"> Profile</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="javascript:;">
|
|
|
|
<span class="badge bg-red pull-right">50%</span>
|
|
|
|
<span>Settings</span>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="javascript:;">Help</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="login.html"><i class="fa fa-sign-out pull-right"></i> Log Out</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
|
|
|
|
<li role="presentation" class="dropdown">
|
|
|
|
<a href="javascript:;" class="dropdown-toggle info-number" data-toggle="dropdown" aria-expanded="false">
|
|
|
|
<i class="fa fa-envelope-o"></i>
|
|
|
|
<span class="badge bg-green">6</span>
|
|
|
|
</a>
|
|
|
|
<ul id="menu1" class="dropdown-menu list-unstyled msg_list animated fadeInDown" role="menu">
|
|
|
|
<li>
|
|
|
|
<a>
|
|
|
|
<span class="image">
|
2015-05-19 08:25:00 +02:00
|
|
|
<img src="images/img.jpg" alt="Profile Image" />
|
|
|
|
</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
<span>
|
2015-05-19 08:25:00 +02:00
|
|
|
<span>John Smith</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
<span class="time">3 mins ago</span>
|
|
|
|
</span>
|
|
|
|
<span class="message">
|
|
|
|
Film festivals used to be do-or-die moments for movie makers. They were where...
|
2015-05-19 08:25:00 +02:00
|
|
|
</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a>
|
|
|
|
<span class="image">
|
2015-05-19 08:25:00 +02:00
|
|
|
<img src="images/img.jpg" alt="Profile Image" />
|
|
|
|
</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
<span>
|
2015-05-19 08:25:00 +02:00
|
|
|
<span>John Smith</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
<span class="time">3 mins ago</span>
|
|
|
|
</span>
|
|
|
|
<span class="message">
|
|
|
|
Film festivals used to be do-or-die moments for movie makers. They were where...
|
2015-05-19 08:25:00 +02:00
|
|
|
</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a>
|
|
|
|
<span class="image">
|
2015-05-19 08:25:00 +02:00
|
|
|
<img src="images/img.jpg" alt="Profile Image" />
|
|
|
|
</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
<span>
|
2015-05-19 08:25:00 +02:00
|
|
|
<span>John Smith</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
<span class="time">3 mins ago</span>
|
|
|
|
</span>
|
|
|
|
<span class="message">
|
|
|
|
Film festivals used to be do-or-die moments for movie makers. They were where...
|
2015-05-19 08:25:00 +02:00
|
|
|
</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a>
|
|
|
|
<span class="image">
|
2015-05-19 08:25:00 +02:00
|
|
|
<img src="images/img.jpg" alt="Profile Image" />
|
|
|
|
</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
<span>
|
2015-05-19 08:25:00 +02:00
|
|
|
<span>John Smith</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
<span class="time">3 mins ago</span>
|
|
|
|
</span>
|
|
|
|
<span class="message">
|
|
|
|
Film festivals used to be do-or-die moments for movie makers. They were where...
|
2015-05-19 08:25:00 +02:00
|
|
|
</span>
|
2016-03-06 21:53:42 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<div class="text-center">
|
|
|
|
<a>
|
|
|
|
<strong>See All Alerts</strong>
|
|
|
|
<i class="fa fa-angle-right"></i>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
</ul>
|
|
|
|
</nav>
|
|
|
|
</div>
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
</div>
|
|
|
|
<!-- /top navigation -->
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<!-- page content -->
|
|
|
|
<div class="right_col" role="main">
|
|
|
|
|
|
|
|
<div class="">
|
|
|
|
<div class="page-title">
|
|
|
|
<div class="title_left">
|
|
|
|
<h3>
|
2015-05-19 08:25:00 +02:00
|
|
|
Form Validation
|
|
|
|
</h3>
|
2016-03-06 21:53:42 +01:00
|
|
|
</div>
|
2015-05-19 08:25:00 +02:00
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<div class="title_right">
|
|
|
|
<div class="col-md-5 col-sm-5 col-xs-12 form-group pull-right top_search">
|
|
|
|
<div class="input-group">
|
|
|
|
<input type="text" class="form-control" placeholder="Search for...">
|
|
|
|
<span class="input-group-btn">
|
2015-05-19 08:25:00 +02:00
|
|
|
<button class="btn btn-default" type="button">Go!</button>
|
|
|
|
</span>
|
|
|
|
</div>
|
2016-03-06 21:53:42 +01:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-12 col-sm-12 col-xs-12">
|
|
|
|
<div class="x_panel">
|
|
|
|
<div class="x_title">
|
|
|
|
<h2>Form validation <small>sub title</small></h2>
|
|
|
|
<ul class="nav navbar-right panel_toolbox">
|
|
|
|
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
|
|
|
|
</li>
|
|
|
|
<li class="dropdown">
|
|
|
|
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false"><i class="fa fa-wrench"></i></a>
|
|
|
|
<ul class="dropdown-menu" role="menu">
|
|
|
|
<li><a href="#">Settings 1</a>
|
|
|
|
</li>
|
|
|
|
<li><a href="#">Settings 2</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</li>
|
|
|
|
<li><a class="close-link"><i class="fa fa-close"></i></a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
<div class="x_content">
|
|
|
|
|
|
|
|
<form class="form-horizontal form-label-left" novalidate>
|
|
|
|
|
|
|
|
<p>For alternative validation library <code>parsleyJS</code> check out in the <a href="form.html">form page</a>
|
2015-05-19 08:25:00 +02:00
|
|
|
</p>
|
2016-03-06 21:53:42 +01:00
|
|
|
<span class="section">Personal Info</span>
|
|
|
|
|
|
|
|
<div class="item form-group">
|
|
|
|
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="name">Name <span class="required">*</span>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<input id="name" class="form-control col-md-7 col-xs-12" data-validate-length-range="6" data-validate-words="2" name="name" placeholder="both name(s) e.g Jon Doe" required="required" type="text">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item form-group">
|
|
|
|
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="email">Email <span class="required">*</span>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<input type="email" id="email" name="email" required="required" class="form-control col-md-7 col-xs-12">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item form-group">
|
|
|
|
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="email">Confirm Email <span class="required">*</span>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<input type="email" id="email2" name="confirm_email" data-validate-linked="email" required="required" class="form-control col-md-7 col-xs-12">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item form-group">
|
|
|
|
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="number">Number <span class="required">*</span>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<input type="number" id="number" name="number" required="required" data-validate-minmax="10,100" class="form-control col-md-7 col-xs-12">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item form-group">
|
|
|
|
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="website">Website URL <span class="required">*</span>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<input type="url" id="website" name="website" required="required" placeholder="www.website.com" class="form-control col-md-7 col-xs-12">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item form-group">
|
|
|
|
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="occupation">Occupation <span class="required">*</span>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<input id="occupation" type="text" name="occupation" data-validate-length-range="5,20" class="optional form-control col-md-7 col-xs-12">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item form-group">
|
|
|
|
<label for="password" class="control-label col-md-3">Password</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<input id="password" type="password" name="password" data-validate-length="6,8" class="form-control col-md-7 col-xs-12" required="required">
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="item form-group">
|
|
|
|
<label for="password2" class="control-label col-md-3 col-sm-3 col-xs-12">Repeat Password</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<input id="password2" type="password" name="password2" data-validate-linked="password" class="form-control col-md-7 col-xs-12" required="required">
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-26 09:23:57 +01:00
|
|
|
<div class="item form-group">
|
|
|
|
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="telephone">Telephone <span class="required">*</span>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<input type="tel" id="telephone" name="phone" required="required" data-validate-length-range="8,20" class="form-control col-md-7 col-xs-12">
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-03-06 21:53:42 +01:00
|
|
|
<div class="item form-group">
|
|
|
|
<label class="control-label col-md-3 col-sm-3 col-xs-12" for="textarea">Textarea <span class="required">*</span>
|
|
|
|
</label>
|
|
|
|
<div class="col-md-6 col-sm-6 col-xs-12">
|
|
|
|
<textarea id="textarea" required="required" name="textarea" class="form-control col-md-7 col-xs-12"></textarea>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="ln_solid"></div>
|
|
|
|
<div class="form-group">
|
|
|
|
<div class="col-md-6 col-md-offset-3">
|
|
|
|
<button type="submit" class="btn btn-primary">Cancel</button>
|
|
|
|
<button id="send" type="submit" class="btn btn-success">Submit</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</form>
|
|
|
|
|
2015-05-19 08:25:00 +02:00
|
|
|
</div>
|
2016-03-06 21:53:42 +01:00
|
|
|
</div>
|
2015-05-19 08:25:00 +02:00
|
|
|
</div>
|
2016-03-06 21:53:42 +01:00
|
|
|
</div>
|
2015-05-19 08:25:00 +02:00
|
|
|
</div>
|
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
<!-- footer content -->
|
|
|
|
<footer>
|
2016-04-12 14:28:25 +02:00
|
|
|
<div class="pull-right">
|
|
|
|
Gentelella - Bootstrap Admin Template by <a href="https://colorlib.com">Colorlib</a>
|
2016-03-06 21:53:42 +01:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</footer>
|
|
|
|
<!-- /footer content -->
|
|
|
|
|
|
|
|
</div>
|
|
|
|
<!-- /page content -->
|
2015-05-19 08:25:00 +02:00
|
|
|
</div>
|
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div id="custom_notifications" class="custom-notifications dsp_none">
|
|
|
|
<ul class="list-unstyled notifications clearfix" data-tabbed_notifications="notif-group">
|
|
|
|
</ul>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
<div id="notif-group" class="tabbed_notifications"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script src="js/bootstrap.min.js"></script>
|
|
|
|
|
|
|
|
<!-- bootstrap progress js -->
|
|
|
|
<script src="js/progressbar/bootstrap-progressbar.min.js"></script>
|
|
|
|
<!-- icheck -->
|
|
|
|
<script src="js/icheck/icheck.min.js"></script>
|
|
|
|
<!-- pace -->
|
|
|
|
<script src="js/pace/pace.min.js"></script>
|
|
|
|
<script src="js/custom.js"></script>
|
|
|
|
<!-- form validation -->
|
|
|
|
<script src="js/validator/validator.js"></script>
|
|
|
|
<script>
|
|
|
|
// initialize the validator function
|
|
|
|
validator.message['date'] = 'not a real date';
|
|
|
|
|
|
|
|
// validate a field on "blur" event, a 'select' on 'change' event & a '.reuired' classed multifield on 'keyup':
|
|
|
|
$('form')
|
|
|
|
.on('blur', 'input[required], input.optional, select.required', validator.checkField)
|
|
|
|
.on('change', 'select.required', validator.checkField)
|
|
|
|
.on('keypress', 'input[required][pattern]', validator.keypress);
|
|
|
|
|
|
|
|
$('.multi.required')
|
|
|
|
.on('keyup blur', 'input', function() {
|
|
|
|
validator.checkField.apply($(this).siblings().last()[0]);
|
|
|
|
});
|
|
|
|
|
|
|
|
// bind the validation to the form submit event
|
|
|
|
//$('#send').click('submit');//.prop('disabled', true);
|
|
|
|
|
|
|
|
$('form').submit(function(e) {
|
|
|
|
e.preventDefault();
|
|
|
|
var submit = true;
|
|
|
|
// evaluate the form using generic validaing
|
|
|
|
if (!validator.checkAll($(this))) {
|
|
|
|
submit = false;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (submit)
|
|
|
|
this.submit();
|
|
|
|
return false;
|
|
|
|
});
|
|
|
|
|
|
|
|
/* FOR DEMO ONLY */
|
|
|
|
$('#vfields').change(function() {
|
|
|
|
$('form').toggleClass('mode2');
|
|
|
|
}).prop('checked', false);
|
|
|
|
|
|
|
|
$('#alerts').change(function() {
|
|
|
|
validator.defaults.alerts = (this.checked) ? false : true;
|
|
|
|
if (this.checked)
|
|
|
|
$('form .alert').remove();
|
|
|
|
}).prop('checked', false);
|
|
|
|
</script>
|
2015-05-19 08:25:00 +02:00
|
|
|
|
|
|
|
</body>
|
|
|
|
|
2016-03-06 21:53:42 +01:00
|
|
|
</html>
|