gentelella/production/form_advanced.html
2015-05-19 09:25:00 +03:00

2226 lines
156 KiB
HTML
Executable file

<!DOCTYPE html>
<html lang="en">
<head>
<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">
<title>Gentallela Alela! | </title>
<!-- Bootstrap core CSS -->
<link href="css/bootstrap.min.css" rel="stylesheet">
<link href="fonts/css/font-awesome.min.css" rel="stylesheet">
<link href="css/animate.min.css" rel="stylesheet">
<!-- Custom styling plus plugins -->
<link href="css/custom.css" rel="stylesheet">
<link href="css/icheck/flat/green.css" rel="stylesheet">
<!-- ion_range -->
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/ion.rangeSlider.css" />
<link rel="stylesheet" href="css/ion.rangeSlider.skinFlat.css" />
<!-- colorpicker -->
<link href="css/colorpicker/bootstrap-colorpicker.min.css" rel="stylesheet">
<script src="js/jquery.min.js"></script>
<!--[if lt IE 9]>
<script src="../assets/js/ie8-responsive-file-warning.js"></script>
<![endif]-->
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<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">
<div class="container body">
<div class="main_container">
<div class="col-md-3 left_col">
<div class="left_col scroll-view">
<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>
<!-- 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>Anthony Fernando</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>
<li><a href="calender.html">Calender</a>
</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>
</div>
<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">
<img src="images/img.jpg" alt="Profile Image" />
</span>
<span>
<span>John Smith</span>
<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...
</span>
</a>
</li>
<li>
<a>
<span class="image">
<img src="images/img.jpg" alt="Profile Image" />
</span>
<span>
<span>John Smith</span>
<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...
</span>
</a>
</li>
<li>
<a>
<span class="image">
<img src="images/img.jpg" alt="Profile Image" />
</span>
<span>
<span>John Smith</span>
<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...
</span>
</a>
</li>
<li>
<a>
<span class="image">
<img src="images/img.jpg" alt="Profile Image" />
</span>
<span>
<span>John Smith</span>
<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...
</span>
</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>
</ul>
</nav>
</div>
</div>
<!-- /top navigation -->
<!-- page content -->
<div class="right_col" role="main">
<div class="">
<div class="page-title">
<div class="title_left">
<h3>
Form advanced
</h3>
</div>
<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">
<button class="btn btn-default" type="button">Go!</button>
</span>
</div>
</div>
</div>
</div>
<div class="clearfix"></div>
<div class="row">
<!-- form input mask -->
<div class="col-md-6 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Input Mask</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">
<br />
<form class="form-horizontal form-label-left">
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-3">Date Mask</label>
<div class="col-md-9 col-sm-9 col-xs-9">
<input type="text" class="form-control" data-inputmask="'mask': '99/99/9999'">
<span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-3">Phone mask</label>
<div class="col-md-9 col-sm-9 col-xs-9">
<input type="text" class="form-control" data-inputmask="'mask' : '(999) 999-9999'">
<span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-3">Custom Mask</label>
<div class="col-md-9 col-sm-9 col-xs-9">
<input type="text" class="form-control" data-inputmask="'mask': '99-999999'">
<span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-3">Serial Number</label>
<div class="col-md-9 col-sm-9 col-xs-9">
<input type="text" class="form-control" data-inputmask="'mask' : '****-****-****-****-****-***'">
<span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-3">TaxID Mask</label>
<div class="col-md-9 col-sm-9 col-xs-9">
<input type="text" class="form-control" data-inputmask="'mask' : '99-99999999'">
<span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-3">Credit Card Mask</label>
<div class="col-md-9 col-sm-9 col-xs-9">
<input type="text" class="form-control" data-inputmask="'mask' : '9999-9999-9999-9999'">
<span class="fa fa-user form-control-feedback right" aria-hidden="true"></span>
</div>
</div>
<div class="ln_solid"></div>
<div class="form-group">
<div class="col-md-9 col-md-offset-3">
<button type="submit" class="btn btn-primary">Cancel</button>
<button type="submit" class="btn btn-success">Submit</button>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- /form input mask -->
<!-- form color picker -->
<div class="col-md-6 col-sm-12 col-xs-12">
<div class="x_panel">
<div class="x_title">
<h2>Color Picker</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">
<br />
<form class="form-horizontal form-label-left">
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12">Default Input</label>
<div class="col-md-9 col-sm-9 col-xs-12">
<input type="text" class="demo1 form-control" value="#5367ce" />
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12">Styled</label>
<div class="col-md-9 col-sm-9 col-xs-12">
<div class="input-group demo2">
<input type="text" value="#e01ab5" class="form-control" />
<span class="input-group-addon"><i></i></span>
</div>
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12">Horizontal bar</label>
<div class="col-md-9 col-sm-9 col-xs-12">
<input type="text" class="form-control demo colorpicker-element" data-horizontal="true" id="demo_forceformat" value="#8fff00">
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12">Vertical bar</label>
<div class="col-md-9 col-sm-9 col-xs-12">
<input type="text" class="form-control demo colorpicker-element" id="demo_forceformat3" value="#8fff00">
</div>
</div>
<div class="form-group">
<label class="control-label col-md-3 col-sm-3 col-xs-12">Inline picker</label>
<div class="col-md-9 col-sm-9 col-xs-12">
<div class="well">
<div id="demo_cont" class="demo demo-auto inl-bl colorpicker-element" data-container="#demo_cont" data-color="rgba(150,216,62,0.55)" data-inline="true"></div>
<div class="demo demo-auto inl-bl colorpicker-element" data-container="true" data-color="rgb(50,216,62)" data-inline="true" style="margin-left:20px;"></div>
</div>
</div>
</div>
</form>
</div>
</div>
</div>
<!-- /form color picker -->
<!-- form input knob -->
<div class="col-md-12">
<div class="x_panel">
<div class="x_title">
<h2>Input knob</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">
<div class="col-md-2">
<p>Display value</p>
<input class="knob" data-width="100" data-height="120" data-min="-100" data-displayPrevious=true data-fgColor="#26B99A" value="44">
</div>
<div class="col-md-2">
<p>&#215; 'cursor' mode</p>
<input class="knob" data-width="100" data-height="120" data-cursor=true data-fgColor="#34495E" value="29">
</div>
<div class="col-md-2">
<p>Step 0.1</p>
<input class="knob" data-width="100" data-height="120" data-min="-10000" data-displayPrevious=true data-fgColor="#26B99A" data-max="10000" data-step=".1" value="0">
</div>
<div class="col-md-2">
<p>Angle arc</p>
<input class="knob" data-width="100" data-height="120" data-angleOffset=-125 data-angleArc=250 data-fgColor="#34495E" data-rotation="anticlockwise" value="35">
</div>
<div class="col-md-2">
<p>Alternate design</p>
<input class="knob" data-width="110" data-height="120" data-displayPrevious=true data-fgColor="#26B99A" data-skin="tron" data-thickness=".2" value="75">
</div>
<div class="col-md-2">
<p>Angle offset</p>
<input class="knob" data-width="100" data-height="120" data-angleOffset=90 data-linecap=round data-fgColor="#26B99A" value="35">
</div>
</div>
</div>
</div>
<!-- /form input knob -->
</div>
<div class="row">
<div class="col-md-12">
<!-- form date pickers -->
<div class="x_panel" style="">
<div class="x_title">
<h2>Date Pickers <small> Available with multiple designs</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">
<div class="well" style="overflow: auto">
<div class="col-md-4">
<div id="reportrange_right" class="pull-left" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc">
<i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
<span>December 30, 2014 - January 28, 2015</span> <b class="caret"></b>
</div>
</div>
<div class="col-md-4">
<p>Date Range Picker with opening to right and left</p>
</div>
<div class="col-md-4">
<div id="reportrange" class="pull-right" style="background: #fff; cursor: pointer; padding: 5px 10px; border: 1px solid #ccc">
<i class="glyphicon glyphicon-calendar fa fa-calendar"></i>
<span>December 30, 2014 - January 28, 2015</span> <b class="caret"></b>
</div>
</div>
</div>
<div class="well">
<form class="form-horizontal">
<fieldset>
<div class="control-group">
<div class="controls">
<div class="input-prepend input-group">
<span class="add-on input-group-addon"><i class="glyphicon glyphicon-calendar fa fa-calendar"></i></span>
<input type="text" style="width: 200px" name="reservation" id="reservation" class="form-control" value="03/18/2013 - 03/23/2013" />
</div>
</div>
</div>
</fieldset>
</form>
</div>
<div class="row">
<div class="col-md-3">
<div class="daterangepicker xdisplay picker_1 single opensright show-calendar">
<div class="calendar first single right" style="display: block;">
<div class="calendar-date">
<table class="table-condensed">
<thead>
<tr>
<th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
</th>
<th colspan="5" class="month">Mar 2013</th>
<th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
</th>
</tr>
<tr>
<th>Su</th>
<th>Mo</th>
<th>Tu</th>
<th>We</th>
<th>Th</th>
<th>Fr</th>
<th>Sa</th>
</tr>
</thead>
<tbody>
<tr>
<td class="available off" data-title="r0c0">24</td>
<td class="available off" data-title="r0c1">25</td>
<td class="available off" data-title="r0c2">26</td>
<td class="available off" data-title="r0c3">27</td>
<td class="available off" data-title="r0c4">28</td>
<td class="available" data-title="r0c5">1</td>
<td class="available" data-title="r0c6">2</td>
</tr>
<tr>
<td class="available" data-title="r1c0">3</td>
<td class="available" data-title="r1c1">4</td>
<td class="available" data-title="r1c2">5</td>
<td class="available" data-title="r1c3">6</td>
<td class="available" data-title="r1c4">7</td>
<td class="available" data-title="r1c5">8</td>
<td class="available" data-title="r1c6">9</td>
</tr>
<tr>
<td class="available" data-title="r2c0">10</td>
<td class="available" data-title="r2c1">11</td>
<td class="available" data-title="r2c2">12</td>
<td class="available" data-title="r2c3">13</td>
<td class="available" data-title="r2c4">14</td>
<td class="available" data-title="r2c5">15</td>
<td class="available" data-title="r2c6">16</td>
</tr>
<tr>
<td class="available" data-title="r3c0">17</td>
<td class="available active start-date end-date" data-title="r3c1">18</td>
<td class="available" data-title="r3c2">19</td>
<td class="available" data-title="r3c3">20</td>
<td class="available" data-title="r3c4">21</td>
<td class="available" data-title="r3c5">22</td>
<td class="available" data-title="r3c6">23</td>
</tr>
<tr>
<td class="available" data-title="r4c0">24</td>
<td class="available" data-title="r4c1">25</td>
<td class="available" data-title="r4c2">26</td>
<td class="available" data-title="r4c3">27</td>
<td class="available" data-title="r4c4">28</td>
<td class="available" data-title="r4c5">29</td>
<td class="available" data-title="r4c6">30</td>
</tr>
<tr>
<td class="available" data-title="r5c0">31</td>
<td class="available off" data-title="r5c1">1</td>
<td class="available off" data-title="r5c2">2</td>
<td class="available off" data-title="r5c3">3</td>
<td class="available off" data-title="r5c4">4</td>
<td class="available off" data-title="r5c5">5</td>
<td class="available off" data-title="r5c6">6</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="calendar second left" style="display: none;">
<div class="calendar-date">
<table class="table-condensed">
<thead>
<tr>
<th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
</th>
<th colspan="5" class="month">Mar 2013</th>
<th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
</th>
</tr>
<tr>
<th>Su</th>
<th>Mo</th>
<th>Tu</th>
<th>We</th>
<th>Th</th>
<th>Fr</th>
<th>Sa</th>
</tr>
</thead>
<tbody>
<tr>
<td class="available off" data-title="r0c0">24</td>
<td class="available off" data-title="r0c1">25</td>
<td class="available off" data-title="r0c2">26</td>
<td class="available off" data-title="r0c3">27</td>
<td class="available off" data-title="r0c4">28</td>
<td class="available" data-title="r0c5">1</td>
<td class="available" data-title="r0c6">2</td>
</tr>
<tr>
<td class="available" data-title="r1c0">3</td>
<td class="available" data-title="r1c1">4</td>
<td class="available" data-title="r1c2">5</td>
<td class="available" data-title="r1c3">6</td>
<td class="available" data-title="r1c4">7</td>
<td class="available" data-title="r1c5">8</td>
<td class="available" data-title="r1c6">9</td>
</tr>
<tr>
<td class="available" data-title="r2c0">10</td>
<td class="available" data-title="r2c1">11</td>
<td class="available" data-title="r2c2">12</td>
<td class="available" data-title="r2c3">13</td>
<td class="available" data-title="r2c4">14</td>
<td class="available" data-title="r2c5">15</td>
<td class="available" data-title="r2c6">16</td>
</tr>
<tr>
<td class="available" data-title="r3c0">17</td>
<td class="available active start-date end-date" data-title="r3c1">18</td>
<td class="available" data-title="r3c2">19</td>
<td class="available" data-title="r3c3">20</td>
<td class="available" data-title="r3c4">21</td>
<td class="available" data-title="r3c5">22</td>
<td class="available" data-title="r3c6">23</td>
</tr>
<tr>
<td class="available" data-title="r4c0">24</td>
<td class="available" data-title="r4c1">25</td>
<td class="available" data-title="r4c2">26</td>
<td class="available" data-title="r4c3">27</td>
<td class="available" data-title="r4c4">28</td>
<td class="available" data-title="r4c5">29</td>
<td class="available" data-title="r4c6">30</td>
</tr>
<tr>
<td class="available" data-title="r5c0">31</td>
<td class="available off" data-title="r5c1">1</td>
<td class="available off" data-title="r5c2">2</td>
<td class="available off" data-title="r5c3">3</td>
<td class="available off" data-title="r5c4">4</td>
<td class="available off" data-title="r5c5">5</td>
<td class="available off" data-title="r5c6">6</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="ranges" style="display: none;">
<div class="range_inputs">
<div class="daterangepicker_start_input">
<label for="daterangepicker_start">From</label>
<input id="daterangepicker_start" class="input-mini" type="text" name="daterangepicker_start" value="">
</div>
<div class="daterangepicker_end_input">
<label for="daterangepicker_end">To</label>
<input id="daterangepicker_end" class="input-mini" type="text" name="daterangepicker_end" value="">
</div>
<button class="applyBtn btn btn-small btn-sm btn-success">Apply</button>&nbsp;
<button class="cancelBtn btn btn-small btn-sm btn-default">Cancel</button>
</div>
</div>
</div>
<fieldset>
<div class="control-group">
<div class="controls">
<div class="col-md-11 xdisplay_inputx form-group has-feedback">
<input type="text" class="form-control has-feedback-left" id="single_cal1" placeholder="First Name" aria-describedby="inputSuccess2Status">
<span class="fa fa-calendar-o form-control-feedback left" aria-hidden="true"></span>
<span id="inputSuccess2Status" class="sr-only">(success)</span>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-3">
<div class="daterangepicker xdisplay picker_2 single opensright show-calendar">
<div class="calendar first single right" style="display: block;">
<div class="calendar-date">
<table class="table-condensed">
<thead>
<tr>
<th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
</th>
<th colspan="5" class="month">Mar 2013</th>
<th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
</th>
</tr>
<tr>
<th>Su</th>
<th>Mo</th>
<th>Tu</th>
<th>We</th>
<th>Th</th>
<th>Fr</th>
<th>Sa</th>
</tr>
</thead>
<tbody>
<tr>
<td class="available off" data-title="r0c0">24</td>
<td class="available off" data-title="r0c1">25</td>
<td class="available off" data-title="r0c2">26</td>
<td class="available off" data-title="r0c3">27</td>
<td class="available off" data-title="r0c4">28</td>
<td class="available" data-title="r0c5">1</td>
<td class="available" data-title="r0c6">2</td>
</tr>
<tr>
<td class="available" data-title="r1c0">3</td>
<td class="available" data-title="r1c1">4</td>
<td class="available" data-title="r1c2">5</td>
<td class="available" data-title="r1c3">6</td>
<td class="available" data-title="r1c4">7</td>
<td class="available" data-title="r1c5">8</td>
<td class="available" data-title="r1c6">9</td>
</tr>
<tr>
<td class="available" data-title="r2c0">10</td>
<td class="available" data-title="r2c1">11</td>
<td class="available" data-title="r2c2">12</td>
<td class="available" data-title="r2c3">13</td>
<td class="available" data-title="r2c4">14</td>
<td class="available" data-title="r2c5">15</td>
<td class="available" data-title="r2c6">16</td>
</tr>
<tr>
<td class="available" data-title="r3c0">17</td>
<td class="available active start-date end-date" data-title="r3c1">18</td>
<td class="available" data-title="r3c2">19</td>
<td class="available" data-title="r3c3">20</td>
<td class="available" data-title="r3c4">21</td>
<td class="available" data-title="r3c5">22</td>
<td class="available" data-title="r3c6">23</td>
</tr>
<tr>
<td class="available" data-title="r4c0">24</td>
<td class="available" data-title="r4c1">25</td>
<td class="available" data-title="r4c2">26</td>
<td class="available" data-title="r4c3">27</td>
<td class="available" data-title="r4c4">28</td>
<td class="available" data-title="r4c5">29</td>
<td class="available" data-title="r4c6">30</td>
</tr>
<tr>
<td class="available" data-title="r5c0">31</td>
<td class="available off" data-title="r5c1">1</td>
<td class="available off" data-title="r5c2">2</td>
<td class="available off" data-title="r5c3">3</td>
<td class="available off" data-title="r5c4">4</td>
<td class="available off" data-title="r5c5">5</td>
<td class="available off" data-title="r5c6">6</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="calendar second left" style="display: none;">
<div class="calendar-date">
<table class="table-condensed">
<thead>
<tr>
<th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
</th>
<th colspan="5" class="month">Mar 2013</th>
<th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
</th>
</tr>
<tr>
<th>Su</th>
<th>Mo</th>
<th>Tu</th>
<th>We</th>
<th>Th</th>
<th>Fr</th>
<th>Sa</th>
</tr>
</thead>
<tbody>
<tr>
<td class="available off" data-title="r0c0">24</td>
<td class="available off" data-title="r0c1">25</td>
<td class="available off" data-title="r0c2">26</td>
<td class="available off" data-title="r0c3">27</td>
<td class="available off" data-title="r0c4">28</td>
<td class="available" data-title="r0c5">1</td>
<td class="available" data-title="r0c6">2</td>
</tr>
<tr>
<td class="available" data-title="r1c0">3</td>
<td class="available" data-title="r1c1">4</td>
<td class="available" data-title="r1c2">5</td>
<td class="available" data-title="r1c3">6</td>
<td class="available" data-title="r1c4">7</td>
<td class="available" data-title="r1c5">8</td>
<td class="available" data-title="r1c6">9</td>
</tr>
<tr>
<td class="available" data-title="r2c0">10</td>
<td class="available" data-title="r2c1">11</td>
<td class="available" data-title="r2c2">12</td>
<td class="available" data-title="r2c3">13</td>
<td class="available" data-title="r2c4">14</td>
<td class="available" data-title="r2c5">15</td>
<td class="available" data-title="r2c6">16</td>
</tr>
<tr>
<td class="available" data-title="r3c0">17</td>
<td class="available active start-date end-date" data-title="r3c1">18</td>
<td class="available" data-title="r3c2">19</td>
<td class="available" data-title="r3c3">20</td>
<td class="available" data-title="r3c4">21</td>
<td class="available" data-title="r3c5">22</td>
<td class="available" data-title="r3c6">23</td>
</tr>
<tr>
<td class="available" data-title="r4c0">24</td>
<td class="available" data-title="r4c1">25</td>
<td class="available" data-title="r4c2">26</td>
<td class="available" data-title="r4c3">27</td>
<td class="available" data-title="r4c4">28</td>
<td class="available" data-title="r4c5">29</td>
<td class="available" data-title="r4c6">30</td>
</tr>
<tr>
<td class="available" data-title="r5c0">31</td>
<td class="available off" data-title="r5c1">1</td>
<td class="available off" data-title="r5c2">2</td>
<td class="available off" data-title="r5c3">3</td>
<td class="available off" data-title="r5c4">4</td>
<td class="available off" data-title="r5c5">5</td>
<td class="available off" data-title="r5c6">6</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="ranges" style="display: none;">
<div class="range_inputs">
<div class="daterangepicker_start_input">
<label for="daterangepicker_start3">From</label>
<input id="daterangepicker_start3" class="input-mini" type="text" name="daterangepicker_start" value="">
</div>
<div class="daterangepicker_end_input">
<label for="daterangepicker_end3">To</label>
<input id="daterangepicker_end3" class="input-mini" type="text" name="daterangepicker_end" value="">
</div>
<button class="applyBtn btn btn-small btn-sm btn-success">Apply</button>&nbsp;
<button class="cancelBtn btn btn-small btn-sm btn-default">Cancel</button>
</div>
</div>
</div>
<fieldset>
<div class="control-group">
<div class="controls">
<div class="col-md-11 xdisplay_inputx form-group has-feedback">
<input type="text" class="form-control has-feedback-left" id="single_cal2" placeholder="First Name" aria-describedby="inputSuccess2Status2">
<span class="fa fa-calendar-o form-control-feedback left" aria-hidden="true"></span>
<span id="inputSuccess2Status2" class="sr-only">(success)</span>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-3">
<div class="daterangepicker picker_3 xdisplay single opensright show-calendar">
<div class="calendar first single right" style="display: block;">
<div class="calendar-date">
<table class="table-condensed">
<thead>
<tr>
<th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
</th>
<th colspan="5" class="month">Mar 2013</th>
<th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
</th>
</tr>
<tr>
<th>Su</th>
<th>Mo</th>
<th>Tu</th>
<th>We</th>
<th>Th</th>
<th>Fr</th>
<th>Sa</th>
</tr>
</thead>
<tbody>
<tr>
<td class="available off" data-title="r0c0">24</td>
<td class="available off" data-title="r0c1">25</td>
<td class="available off" data-title="r0c2">26</td>
<td class="available off" data-title="r0c3">27</td>
<td class="available off" data-title="r0c4">28</td>
<td class="available" data-title="r0c5">1</td>
<td class="available" data-title="r0c6">2</td>
</tr>
<tr>
<td class="available" data-title="r1c0">3</td>
<td class="available" data-title="r1c1">4</td>
<td class="available" data-title="r1c2">5</td>
<td class="available" data-title="r1c3">6</td>
<td class="available" data-title="r1c4">7</td>
<td class="available" data-title="r1c5">8</td>
<td class="available" data-title="r1c6">9</td>
</tr>
<tr>
<td class="available" data-title="r2c0">10</td>
<td class="available" data-title="r2c1">11</td>
<td class="available" data-title="r2c2">12</td>
<td class="available" data-title="r2c3">13</td>
<td class="available" data-title="r2c4">14</td>
<td class="available" data-title="r2c5">15</td>
<td class="available" data-title="r2c6">16</td>
</tr>
<tr>
<td class="available" data-title="r3c0">17</td>
<td class="available active start-date end-date" data-title="r3c1">18</td>
<td class="available" data-title="r3c2">19</td>
<td class="available" data-title="r3c3">20</td>
<td class="available" data-title="r3c4">21</td>
<td class="available" data-title="r3c5">22</td>
<td class="available" data-title="r3c6">23</td>
</tr>
<tr>
<td class="available" data-title="r4c0">24</td>
<td class="available" data-title="r4c1">25</td>
<td class="available" data-title="r4c2">26</td>
<td class="available" data-title="r4c3">27</td>
<td class="available" data-title="r4c4">28</td>
<td class="available" data-title="r4c5">29</td>
<td class="available" data-title="r4c6">30</td>
</tr>
<tr>
<td class="available" data-title="r5c0">31</td>
<td class="available off" data-title="r5c1">1</td>
<td class="available off" data-title="r5c2">2</td>
<td class="available off" data-title="r5c3">3</td>
<td class="available off" data-title="r5c4">4</td>
<td class="available off" data-title="r5c5">5</td>
<td class="available off" data-title="r5c6">6</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="calendar second left" style="display: none;">
<div class="calendar-date">
<table class="table-condensed">
<thead>
<tr>
<th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
</th>
<th colspan="5" class="month">Mar 2013</th>
<th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
</th>
</tr>
<tr>
<th>Su</th>
<th>Mo</th>
<th>Tu</th>
<th>We</th>
<th>Th</th>
<th>Fr</th>
<th>Sa</th>
</tr>
</thead>
<tbody>
<tr>
<td class="available off" data-title="r0c0">24</td>
<td class="available off" data-title="r0c1">25</td>
<td class="available off" data-title="r0c2">26</td>
<td class="available off" data-title="r0c3">27</td>
<td class="available off" data-title="r0c4">28</td>
<td class="available" data-title="r0c5">1</td>
<td class="available" data-title="r0c6">2</td>
</tr>
<tr>
<td class="available" data-title="r1c0">3</td>
<td class="available" data-title="r1c1">4</td>
<td class="available" data-title="r1c2">5</td>
<td class="available" data-title="r1c3">6</td>
<td class="available" data-title="r1c4">7</td>
<td class="available" data-title="r1c5">8</td>
<td class="available" data-title="r1c6">9</td>
</tr>
<tr>
<td class="available" data-title="r2c0">10</td>
<td class="available" data-title="r2c1">11</td>
<td class="available" data-title="r2c2">12</td>
<td class="available" data-title="r2c3">13</td>
<td class="available" data-title="r2c4">14</td>
<td class="available" data-title="r2c5">15</td>
<td class="available" data-title="r2c6">16</td>
</tr>
<tr>
<td class="available" data-title="r3c0">17</td>
<td class="available active start-date end-date" data-title="r3c1">18</td>
<td class="available" data-title="r3c2">19</td>
<td class="available" data-title="r3c3">20</td>
<td class="available" data-title="r3c4">21</td>
<td class="available" data-title="r3c5">22</td>
<td class="available" data-title="r3c6">23</td>
</tr>
<tr>
<td class="available" data-title="r4c0">24</td>
<td class="available" data-title="r4c1">25</td>
<td class="available" data-title="r4c2">26</td>
<td class="available" data-title="r4c3">27</td>
<td class="available" data-title="r4c4">28</td>
<td class="available" data-title="r4c5">29</td>
<td class="available" data-title="r4c6">30</td>
</tr>
<tr>
<td class="available" data-title="r5c0">31</td>
<td class="available off" data-title="r5c1">1</td>
<td class="available off" data-title="r5c2">2</td>
<td class="available off" data-title="r5c3">3</td>
<td class="available off" data-title="r5c4">4</td>
<td class="available off" data-title="r5c5">5</td>
<td class="available off" data-title="r5c6">6</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="ranges" style="display: none;">
<div class="range_inputs">
<div class="daterangepicker_start_input">
<label for="daterangepicker_start2">From</label>
<input id="daterangepicker_start2" class="input-mini" type="text" name="daterangepicker_start" value="">
</div>
<div class="daterangepicker_end_input">
<label for="daterangepicker_end2">To</label>
<input id="daterangepicker_end2" class="input-mini" type="text" name="daterangepicker_end" value="">
</div>
<button class="applyBtn btn btn-small btn-sm btn-success">Apply</button>&nbsp;
<button class="cancelBtn btn btn-small btn-sm btn-default">Cancel</button>
</div>
</div>
</div>
<fieldset>
<div class="control-group">
<div class="controls">
<div class="col-md-11 xdisplay_inputx form-group has-feedback">
<input type="text" class="form-control has-feedback-left" id="single_cal3" placeholder="First Name" aria-describedby="inputSuccess2Status3">
<span class="fa fa-calendar-o form-control-feedback left" aria-hidden="true"></span>
<span id="inputSuccess2Status3" class="sr-only">(success)</span>
</div>
</div>
</div>
</fieldset>
</div>
<div class="col-md-3">
<div class="daterangepicker picker_4 xdisplay single opensright show-calendar">
<div class="calendar first single right" style="display: block;">
<div class="calendar-date">
<table class="table-condensed">
<thead>
<tr>
<th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
</th>
<th colspan="5" class="month">Mar 2013</th>
<th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
</th>
</tr>
<tr>
<th>Su</th>
<th>Mo</th>
<th>Tu</th>
<th>We</th>
<th>Th</th>
<th>Fr</th>
<th>Sa</th>
</tr>
</thead>
<tbody>
<tr>
<td class="available off" data-title="r0c0">24</td>
<td class="available off" data-title="r0c1">25</td>
<td class="available off" data-title="r0c2">26</td>
<td class="available off" data-title="r0c3">27</td>
<td class="available off" data-title="r0c4">28</td>
<td class="available" data-title="r0c5">1</td>
<td class="available" data-title="r0c6">2</td>
</tr>
<tr>
<td class="available" data-title="r1c0">3</td>
<td class="available" data-title="r1c1">4</td>
<td class="available" data-title="r1c2">5</td>
<td class="available" data-title="r1c3">6</td>
<td class="available" data-title="r1c4">7</td>
<td class="available" data-title="r1c5">8</td>
<td class="available" data-title="r1c6">9</td>
</tr>
<tr>
<td class="available" data-title="r2c0">10</td>
<td class="available" data-title="r2c1">11</td>
<td class="available" data-title="r2c2">12</td>
<td class="available" data-title="r2c3">13</td>
<td class="available" data-title="r2c4">14</td>
<td class="available" data-title="r2c5">15</td>
<td class="available" data-title="r2c6">16</td>
</tr>
<tr>
<td class="available" data-title="r3c0">17</td>
<td class="available active start-date end-date" data-title="r3c1">18</td>
<td class="available" data-title="r3c2">19</td>
<td class="available" data-title="r3c3">20</td>
<td class="available" data-title="r3c4">21</td>
<td class="available" data-title="r3c5">22</td>
<td class="available" data-title="r3c6">23</td>
</tr>
<tr>
<td class="available" data-title="r4c0">24</td>
<td class="available" data-title="r4c1">25</td>
<td class="available" data-title="r4c2">26</td>
<td class="available" data-title="r4c3">27</td>
<td class="available" data-title="r4c4">28</td>
<td class="available" data-title="r4c5">29</td>
<td class="available" data-title="r4c6">30</td>
</tr>
<tr>
<td class="available" data-title="r5c0">31</td>
<td class="available off" data-title="r5c1">1</td>
<td class="available off" data-title="r5c2">2</td>
<td class="available off" data-title="r5c3">3</td>
<td class="available off" data-title="r5c4">4</td>
<td class="available off" data-title="r5c5">5</td>
<td class="available off" data-title="r5c6">6</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="calendar second left" style="display: none;">
<div class="calendar-date">
<table class="table-condensed">
<thead>
<tr>
<th class="prev available"><i class="fa fa-arrow-left icon icon-arrow-left glyphicon glyphicon-arrow-left"></i>
</th>
<th colspan="5" class="month">Mar 2013</th>
<th class="next available"><i class="fa fa-arrow-right icon icon-arrow-right glyphicon glyphicon-arrow-right"></i>
</th>
</tr>
<tr>
<th>Su</th>
<th>Mo</th>
<th>Tu</th>
<th>We</th>
<th>Th</th>
<th>Fr</th>
<th>Sa</th>
</tr>
</thead>
<tbody>
<tr>
<td class="available off" data-title="r0c0">24</td>
<td class="available off" data-title="r0c1">25</td>
<td class="available off" data-title="r0c2">26</td>
<td class="available off" data-title="r0c3">27</td>
<td class="available off" data-title="r0c4">28</td>
<td class="available" data-title="r0c5">1</td>
<td class="available" data-title="r0c6">2</td>
</tr>
<tr>
<td class="available" data-title="r1c0">3</td>
<td class="available" data-title="r1c1">4</td>
<td class="available" data-title="r1c2">5</td>
<td class="available" data-title="r1c3">6</td>
<td class="available" data-title="r1c4">7</td>
<td class="available" data-title="r1c5">8</td>
<td class="available" data-title="r1c6">9</td>
</tr>
<tr>
<td class="available" data-title="r2c0">10</td>
<td class="available" data-title="r2c1">11</td>
<td class="available" data-title="r2c2">12</td>
<td class="available" data-title="r2c3">13</td>
<td class="available" data-title="r2c4">14</td>
<td class="available" data-title="r2c5">15</td>
<td class="available" data-title="r2c6">16</td>
</tr>
<tr>
<td class="available" data-title="r3c0">17</td>
<td class="available active start-date end-date" data-title="r3c1">18</td>
<td class="available" data-title="r3c2">19</td>
<td class="available" data-title="r3c3">20</td>
<td class="available" data-title="r3c4">21</td>
<td class="available" data-title="r3c5">22</td>
<td class="available" data-title="r3c6">23</td>
</tr>
<tr>
<td class="available" data-title="r4c0">24</td>
<td class="available" data-title="r4c1">25</td>
<td class="available" data-title="r4c2">26</td>
<td class="available" data-title="r4c3">27</td>
<td class="available" data-title="r4c4">28</td>
<td class="available" data-title="r4c5">29</td>
<td class="available" data-title="r4c6">30</td>
</tr>
<tr>
<td class="available" data-title="r5c0">31</td>
<td class="available off" data-title="r5c1">1</td>
<td class="available off" data-title="r5c2">2</td>
<td class="available off" data-title="r5c3">3</td>
<td class="available off" data-title="r5c4">4</td>
<td class="available off" data-title="r5c5">5</td>
<td class="available off" data-title="r5c6">6</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="ranges" style="display: none;">
<div class="range_inputs">
<div class="daterangepicker_start_input">
<label for="daterangepicker_start">From</label>
<input class="input-mini" type="text" name="daterangepicker_start" value="">
</div>
<div class="daterangepicker_end_input">
<label for="daterangepicker_end">To</label>
<input class="input-mini" type="text" name="daterangepicker_end" value="">
</div>
<button class="applyBtn btn btn-small btn-sm btn-success">Apply</button>&nbsp;
<button class="cancelBtn btn btn-small btn-sm btn-default">Cancel</button>
</div>
</div>
</div>
<fieldset>
<div class="control-group">
<div class="controls">
<div class="col-md-11 xdisplay_inputx form-group has-feedback">
<input type="text" class="form-control has-feedback-left" id="single_cal4" placeholder="First Name" aria-describedby="inputSuccess2Status4">
<span class="fa fa-calendar-o form-control-feedback left" aria-hidden="true"></span>
<span id="inputSuccess2Status4" class="sr-only">(success)</span>
</div>
</div>
</div>
</fieldset>
</div>
</div>
</div>
</div>
<!-- /form datepicker -->
<!-- form grid slider -->
<div class="x_panel" style="">
<div class="x_title">
<h2>Grid Slider</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">
<div class="row grid_slider">
<div class="col-md-6 col-sm-6 col-xs-12">
<p>Default grid slider with min and max values</p>
<input type="text" id="range" value="" name="range" />
</div>
<div class="col-md-6 col-sm-6 col-xs-12">
<p>Grid with slider labels are far away outside it's container</p>
<input type="text" id="range_25" value="" name="range" />
</div>
<div class="col-md-6 col-sm-6 col-xs-12">
<p>Grid with labels inside container using force_edges attribute</p>
<input type="text" id="range_27" value="" name="range" />
</div>
<div class="col-md-6 col-sm-6 col-xs-12">
<p>Create Grid with pre-defined steps</p>
<input type="text" id="range_26" value="" name="range" />
</div>
<div class="col-md-6 col-sm-6 col-xs-12">
<p>Prevent one from dragging the labels</p>
<input type="text" id="range_31" value="" name="range" />
</div>
<div class="col-md-6 col-sm-6 col-xs-12">
<p>Grid with minimum and maximum values</p>
<input type="text" class="range_min_max" value="" name="range" />
</div>
<div>
<p>Grid With time in 24 hour format</p>
<input type="text" class="range_time24" value="" name="range" />
</div>
</div>
</div>
</div><br /><br />
<!-- /form grid slider -->
<!-- image cropping -->
<div class="container">
<div class="row">
<div class="col-md-9">
<!-- <h3 class="page-header">Demo:</h3> -->
<div class="img-container">
<img src="images/picture2.jpg" alt="Picture">
</div>
</div>
<div class="col-md-3">
<!-- <h3 class="page-header">Preview:</h3> -->
<div class="docs-preview clearfix">
<div class="img-preview preview-lg"></div>
<div class="img-preview preview-md"></div>
<div class="img-preview preview-sm"></div>
<div class="img-preview preview-xs"></div>
</div>
<!-- <h3 class="page-header">Data:</h3> -->
<div class="docs-data">
<div class="input-group">
<label class="input-group-addon" for="dataX">X</label>
<input class="form-control" id="dataX" type="text" placeholder="x">
<span class="input-group-addon">px</span>
</div>
<div class="input-group">
<label class="input-group-addon" for="dataY">Y</label>
<input class="form-control" id="dataY" type="text" placeholder="y">
<span class="input-group-addon">px</span>
</div>
<div class="input-group">
<label class="input-group-addon" for="dataWidth">Width</label>
<input class="form-control" id="dataWidth" type="text" placeholder="width">
<span class="input-group-addon">px</span>
</div>
<div class="input-group">
<label class="input-group-addon" for="dataHeight">Height</label>
<input class="form-control" id="dataHeight" type="text" placeholder="height">
<span class="input-group-addon">px</span>
</div>
<div class="input-group">
<label class="input-group-addon" for="dataRotate">Rotate</label>
<input class="form-control" id="dataRotate" type="text" placeholder="rotate">
<span class="input-group-addon">deg</span>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-9 docs-buttons">
<!-- <h3 class="page-header">Toolbar:</h3> -->
<div class="btn-group">
<button class="btn btn-primary" data-method="setDragMode" data-option="move" type="button" title="Move">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setDragMode&quot;, &quot;move&quot;)">
<span class="fa fa-arrows"></span>
</span>
</button>
<button class="btn btn-primary" data-method="setDragMode" data-option="crop" type="button" title="Crop">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setDragMode&quot;, &quot;crop&quot;)">
<span class="fa fa-crop"></span>
</span>
</button>
<button class="btn btn-primary" data-method="zoom" data-option="0.1" type="button" title="Zoom In">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;zoom&quot;, 0.1)">
<span class="fa fa-search-plus"></span>
</span>
</button>
<button class="btn btn-primary" data-method="zoom" data-option="-0.1" type="button" title="Zoom Out">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;zoom&quot;, -0.1)">
<span class="fa fa-search-minus"></span>
</span>
</button>
<button class="btn btn-primary" data-method="rotate" data-option="-45" type="button" title="Rotate Left">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;rotate&quot;, -45)">
<span class="fa fa-rotate-left"></span>
</span>
</button>
<button class="btn btn-primary" data-method="rotate" data-option="45" type="button" title="Rotate Right">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;rotate&quot;, 45)">
<span class="fa fa-rotate-right"></span>
</span>
</button>
</div>
<div class="btn-group">
<button class="btn btn-primary" data-method="disable" type="button" title="Disable">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;disable&quot;)">
<span class="fa fa-lock"></span>
</span>
</button>
<button class="btn btn-primary" data-method="enable" type="button" title="Enable">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;enable&quot;)">
<span class="fa fa-unlock"></span>
</span>
</button>
<button class="btn btn-primary" data-method="clear" type="button" title="Clear">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;clear&quot;)">
<span class="fa fa-close"></span>
</span>
</button>
<button class="btn btn-primary" data-method="reset" type="button" title="Reset">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;reset&quot;)">
<span class="fa fa-refresh"></span>
</span>
</button>
<label class="btn btn-primary btn-upload" for="inputImage" title="Upload image file">
<input class="sr-only" id="inputImage" name="file" type="file" accept="image/*">
<span class="docs-tooltip" data-toggle="tooltip" title="Import image with Blob URLs">
<span class="fa fa-upload"></span>
</span>
</label>
<button class="btn btn-primary" data-method="destroy" type="button" title="Destroy">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;destroy&quot;)">
<span class="fa fa-power-off"></span>
</span>
</button>
</div>
<div class="btn-group btn-group-crop">
<button class="btn btn-primary" data-method="getDataURL" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;)">
Get Data URL
</span>
</button>
<button class="btn btn-primary" data-method="getDataURL" data-option="image/jpeg" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;, &quot;image/jpeg&quot;)">
JPG
</span>
</button>
<!-- <button class="btn btn-primary" data-method="getDataURL" data-option="image/webp" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;, &quot;image/webp&quot;)">
WEBP
</span>
</button> -->
<button class="btn btn-primary" data-method="getDataURL" data-option="{ &quot;width&quot;: 160, &quot;height&quot;: 90 }" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;, { &quot;width&quot;: 160, &quot;height&quot;: 90 })">
160 &times; 90
</span>
</button>
<button class="btn btn-primary" data-method="getDataURL" data-option="{ &quot;width&quot;: 320, &quot;height&quot;: 180 }" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getDataURL&quot;, { &quot;width&quot;: 320, &quot;height&quot;: 180 })">
320 &times; 180
</span>
</button>
</div>
<!-- Show the cropped image in modal -->
<div class="modal fade docs-cropped" id="getDataURLModal" aria-hidden="true" aria-labelledby="getDataURLTitle" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button class="close" data-dismiss="modal" type="button" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="getDataURLTitle">Cropped</h4>
</div>
<div class="modal-body"></div>
<!-- <div class="modal-footer">
<button class="btn btn-primary" data-dismiss="modal" type="button">Close</button>
</div> -->
</div>
</div>
</div><!-- /.modal -->
<div class="btn-group">
<button class="btn btn-primary" data-method="getData" data-option="" data-target="#putData" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getData&quot;)">
Get Data
</span>
</button>
<button class="btn btn-primary" data-method="getData" data-option="true" data-target="#putData" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getData&quot;, true)">
Rounded
</span>
</button>
</div>
<div class="btn-group">
<button class="btn btn-primary" data-method="getImageData" data-option="" data-target="#putData" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getImageData&quot;)">
Get Image Data
</span>
</button>
<button class="btn btn-primary" data-method="getImageData" data-option="true" data-target="#putData" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getImageData&quot;, true)">
All
</span>
</button>
</div>
<button class="btn btn-primary" data-method="setImageData" data-target="#putData" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setImageData&quot;, data)">
Set Image Data
</span>
</button>
<button class="btn btn-primary" data-method="getCropBoxData" data-option="" data-target="#putData" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getCropBoxData&quot;)">
Get Crop Box Data
</span>
</button>
<button class="btn btn-primary" data-method="setCropBoxData" data-target="#putData" type="button">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setCropBoxData&quot;, data)">
Set Crop Box Data
</span>
</button>
<input class="form-control" id="putData" type="text" placeholder="Get data to here or set data with this value">
</div><!-- /.docs-buttons -->
<div class="col-md-3 docs-toggles">
<!-- <h3 class="page-header">Toggles:</h3> -->
<div class="btn-group btn-group-justified" data-toggle="buttons">
<label class="btn btn-primary active" data-method="setAspectRatio" data-option="1.7777777777777777" title="Set Aspect Ratio">
<input class="sr-only" id="aspestRatio1" name="aspestRatio" value="1.7777777777777777" type="radio">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, 16 / 9)">
16:9
</span>
</label>
<label class="btn btn-primary" data-method="setAspectRatio" data-option="1.3333333333333333" title="Set Aspect Ratio">
<input class="sr-only" id="aspestRatio2" name="aspestRatio" value="1.3333333333333333" type="radio">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, 4 / 3)">
4:3
</span>
</label>
<label class="btn btn-primary" data-method="setAspectRatio" data-option="1" title="Set Aspect Ratio">
<input class="sr-only" id="aspestRatio3" name="aspestRatio" value="1" type="radio">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, 1 / 1)">
1:1
</span>
</label>
<label class="btn btn-primary" data-method="setAspectRatio" data-option="0.6666666666666666" title="Set Aspect Ratio">
<input class="sr-only" id="aspestRatio4" name="aspestRatio" value="0.6666666666666666" type="radio">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, 2 / 3)">
2:3
</span>
</label>
<label class="btn btn-primary" data-method="setAspectRatio" data-option="NaN" title="Set Aspect Ratio">
<input class="sr-only" id="aspestRatio5" name="aspestRatio" value="NaN" type="radio">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setAspectRatio&quot;, NaN)">
Free
</span>
</label>
</div>
<div class="dropdown dropup docs-options">
<button class="btn btn-primary btn-block dropdown-toggle" id="toggleOptions" type="button" data-toggle="dropdown" aria-expanded="true">
Toggle Options
<span class="caret"></span>
</button>
<ul class="dropdown-menu" role="menu" aria-labelledby="toggleOptions">
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="global" checked>
global
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="responsive" checked>
responsive
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="checkImageOrigin" checked>
checkImageOrigin
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="modal" checked>
modal
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="guides" checked>
guides
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="highlight" checked>
highlight
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="background" checked>
background
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="autoCrop" checked>
autoCrop
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="dragCrop" checked>
dragCrop
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="movable" checked>
movable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="resizable" checked>
resizable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="rotatable" checked>
rotatable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="zoomable" checked>
zoomable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="touchDragZoom" checked>
touchDragZoom
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="option" value="mouseWheelZoom" checked>
mouseWheelZoom
</label>
</li>
</ul>
</div><!-- /.dropdown -->
</div><!-- /.docs-toggles -->
</div>
</div>
<!-- /image cropping -->
</div>
</div>
</div>
<!-- footer content -->
<footer>
<div class="">
<p class="pull-right">Gentelella Alela! a Bootstrap 3 template by <a>Kimlabs</a>. |
<span class="lead"> <i class="fa fa-paw"></i> Gentelella Alela!</span>
</p>
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
<!-- /page content -->
</div>
</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>
<!-- chart js -->
<script src="js/chartjs/chart.min.js"></script>
<!-- bootstrap progress js -->
<script src="js/progressbar/bootstrap-progressbar.min.js"></script>
<script src="js/nicescroll/jquery.nicescroll.min.js"></script>
<!-- icheck -->
<script src="js/icheck/icheck.min.js"></script>
<script src="js/custom.js"></script>
<!-- daterangepicker -->
<script type="text/javascript" src="js/moment.min2.js"></script>
<script type="text/javascript" src="js/datepicker/daterangepicker.js"></script>
<!-- input mask -->
<script src="js/input_mask/jquery.inputmask.js"></script>
<!-- knob -->
<script src="js/knob/jquery.knob.min.js"></script>
<!-- range slider -->
<script src="js/ion_range/ion.rangeSlider.min.js"></script>
<!-- color picker -->
<script src="js/colorpicker/bootstrap-colorpicker.js"></script>
<script src="js/colorpicker/docs.js"></script>
<!-- image cropping -->
<script src="js/cropping/cropper.min.js"></script>
<script src="js/cropping/main2.js"></script>
<!-- datepicker -->
<script type="text/javascript">
$(document).ready(function () {
var cb = function (start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
$('#reportrange_right span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
//alert("Callback has fired: [" + start.format('MMMM D, YYYY') + " to " + end.format('MMMM D, YYYY') + ", label = " + label + "]");
}
var optionSet1 = {
startDate: moment().subtract(29, 'days'),
endDate: moment(),
minDate: '01/01/2012',
maxDate: '12/31/2015',
dateLimit: {
days: 60
},
showDropdowns: true,
showWeekNumbers: true,
timePicker: false,
timePickerIncrement: 1,
timePicker12Hour: true,
ranges: {
'Today': [moment(), moment()],
'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
'Last 7 Days': [moment().subtract(6, 'days'), moment()],
'Last 30 Days': [moment().subtract(29, 'days'), moment()],
'This Month': [moment().startOf('month'), moment().endOf('month')],
'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
},
opens: 'right',
buttonClasses: ['btn btn-default'],
applyClass: 'btn-small btn-primary',
cancelClass: 'btn-small',
format: 'MM/DD/YYYY',
separator: ' to ',
locale: {
applyLabel: 'Submit',
cancelLabel: 'Clear',
fromLabel: 'From',
toLabel: 'To',
customRangeLabel: 'Custom',
daysOfWeek: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
firstDay: 1
}
};
$('#reportrange_right span').html(moment().subtract(29, 'days').format('MMMM D, YYYY') + ' - ' + moment().format('MMMM D, YYYY'));
$('#reportrange_right').daterangepicker(optionSet1, cb);
$('#reportrange_right').on('show.daterangepicker', function () {
console.log("show event fired");
});
$('#reportrange_right').on('hide.daterangepicker', function () {
console.log("hide event fired");
});
$('#reportrange_right').on('apply.daterangepicker', function (ev, picker) {
console.log("apply event fired, start/end dates are " + picker.startDate.format('MMMM D, YYYY') + " to " + picker.endDate.format('MMMM D, YYYY'));
});
$('#reportrange_right').on('cancel.daterangepicker', function (ev, picker) {
console.log("cancel event fired");
});
$('#options1').click(function () {
$('#reportrange_right').data('daterangepicker').setOptions(optionSet1, cb);
});
$('#options2').click(function () {
$('#reportrange_right').data('daterangepicker').setOptions(optionSet2, cb);
});
$('#destroy').click(function () {
$('#reportrange_right').data('daterangepicker').remove();
});
});
</script>
<!-- datepicker -->
<script type="text/javascript">
$(document).ready(function () {
var cb = function (start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
$('#reportrange span').html(start.format('MMMM D, YYYY') + ' - ' + end.format('MMMM D, YYYY'));
//alert("Callback has fired: [" + start.format('MMMM D, YYYY') + " to " + end.format('MMMM D, YYYY') + ", label = " + label + "]");
}
var optionSet1 = {
startDate: moment().subtract(29, 'days'),
endDate: moment(),
minDate: '01/01/2012',
maxDate: '12/31/2015',
dateLimit: {
days: 60
},
showDropdowns: true,
showWeekNumbers: true,
timePicker: false,
timePickerIncrement: 1,
timePicker12Hour: true,
ranges: {
'Today': [moment(), moment()],
'Yesterday': [moment().subtract(1, 'days'), moment().subtract(1, 'days')],
'Last 7 Days': [moment().subtract(6, 'days'), moment()],
'Last 30 Days': [moment().subtract(29, 'days'), moment()],
'This Month': [moment().startOf('month'), moment().endOf('month')],
'Last Month': [moment().subtract(1, 'month').startOf('month'), moment().subtract(1, 'month').endOf('month')]
},
opens: 'left',
buttonClasses: ['btn btn-default'],
applyClass: 'btn-small btn-primary',
cancelClass: 'btn-small',
format: 'MM/DD/YYYY',
separator: ' to ',
locale: {
applyLabel: 'Submit',
cancelLabel: 'Clear',
fromLabel: 'From',
toLabel: 'To',
customRangeLabel: 'Custom',
daysOfWeek: ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'],
monthNames: ['January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December'],
firstDay: 1
}
};
$('#reportrange span').html(moment().subtract(29, 'days').format('MMMM D, YYYY') + ' - ' + moment().format('MMMM D, YYYY'));
$('#reportrange').daterangepicker(optionSet1, cb);
$('#reportrange').on('show.daterangepicker', function () {
console.log("show event fired");
});
$('#reportrange').on('hide.daterangepicker', function () {
console.log("hide event fired");
});
$('#reportrange').on('apply.daterangepicker', function (ev, picker) {
console.log("apply event fired, start/end dates are " + picker.startDate.format('MMMM D, YYYY') + " to " + picker.endDate.format('MMMM D, YYYY'));
});
$('#reportrange').on('cancel.daterangepicker', function (ev, picker) {
console.log("cancel event fired");
});
$('#options1').click(function () {
$('#reportrange').data('daterangepicker').setOptions(optionSet1, cb);
});
$('#options2').click(function () {
$('#reportrange').data('daterangepicker').setOptions(optionSet2, cb);
});
$('#destroy').click(function () {
$('#reportrange').data('daterangepicker').remove();
});
});
</script>
<!-- /datepicker -->
<script type="text/javascript">
$(document).ready(function () {
$('#single_cal1').daterangepicker({
singleDatePicker: true,
calender_style: "picker_1"
}, function (start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
$('#single_cal2').daterangepicker({
singleDatePicker: true,
calender_style: "picker_2"
}, function (start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
$('#single_cal3').daterangepicker({
singleDatePicker: true,
calender_style: "picker_3"
}, function (start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
$('#single_cal4').daterangepicker({
singleDatePicker: true,
calender_style: "picker_4"
}, function (start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
});
</script>
<script type="text/javascript">
$(document).ready(function () {
$('#reservation').daterangepicker(null, function (start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
});
</script>
<!-- /datepicker -->
<!-- input_mask -->
<script>
$(document).ready(function () {
$(":input").inputmask();
});
</script>
<!-- /input mask -->
<!-- ion_range -->
<script>
$(function () {
$("#range_27").ionRangeSlider({
type: "double",
min: 1000000,
max: 2000000,
grid: true,
force_edges: true
});
$("#range").ionRangeSlider({
hide_min_max: true,
keyboard: true,
min: 0,
max: 5000,
from: 1000,
to: 4000,
type: 'double',
step: 1,
prefix: "$",
grid: true
});
$("#range_25").ionRangeSlider({
type: "double",
min: 1000000,
max: 2000000,
grid: true
});
$("#range_26").ionRangeSlider({
type: "double",
min: 0,
max: 10000,
step: 500,
grid: true,
grid_snap: true
});
$("#range_31").ionRangeSlider({
type: "double",
min: 0,
max: 100,
from: 30,
to: 70,
from_fixed: true
});
$(".range_min_max").ionRangeSlider({
type: "double",
min: 0,
max: 100,
from: 30,
to: 70,
max_interval: 50
});
$(".range_time24").ionRangeSlider({
min: +moment().subtract(12, "hours").format("X"),
max: +moment().format("X"),
from: +moment().subtract(6, "hours").format("X"),
grid: true,
force_edges: true,
prettify: function (num) {
var m = moment(num, "X");
return m.format("Do MMMM, HH:mm");
}
});
});
</script>
<!-- /ion_range -->
<!-- knob -->
<script>
$(function ($) {
$(".knob").knob({
change: function (value) {
//console.log("change : " + value);
},
release: function (value) {
//console.log(this.$.attr('value'));
console.log("release : " + value);
},
cancel: function () {
console.log("cancel : ", this);
},
/*format : function (value) {
return value + '%';
},*/
draw: function () {
// "tron" case
if (this.$.data('skin') == 'tron') {
this.cursorExt = 0.3;
var a = this.arc(this.cv) // Arc
,
pa // Previous arc
, r = 1;
this.g.lineWidth = this.lineWidth;
if (this.o.displayPrevious) {
pa = this.arc(this.v);
this.g.beginPath();
this.g.strokeStyle = this.pColor;
this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, pa.s, pa.e, pa.d);
this.g.stroke();
}
this.g.beginPath();
this.g.strokeStyle = r ? this.o.fgColor : this.fgColor;
this.g.arc(this.xy, this.xy, this.radius - this.lineWidth, a.s, a.e, a.d);
this.g.stroke();
this.g.lineWidth = 2;
this.g.beginPath();
this.g.strokeStyle = this.o.fgColor;
this.g.arc(this.xy, this.xy, this.radius - this.lineWidth + 1 + this.lineWidth * 2 / 3, 0, 2 * Math.PI, false);
this.g.stroke();
return false;
}
}
});
// Example of infinite knob, iPod click wheel
var v, up = 0,
down = 0,
i = 0,
$idir = $("div.idir"),
$ival = $("div.ival"),
incr = function () {
i++;
$idir.show().html("+").fadeOut();
$ival.html(i);
},
decr = function () {
i--;
$idir.show().html("-").fadeOut();
$ival.html(i);
};
$("input.infinite").knob({
min: 0,
max: 20,
stopper: false,
change: function () {
if (v > this.cv) {
if (up) {
decr();
up = 0;
} else {
up = 1;
down = 0;
}
} else {
if (v < this.cv) {
if (down) {
incr();
down = 0;
} else {
down = 1;
up = 0;
}
}
}
v = this.cv;
}
});
});
</script>
<!-- /knob -->
</body>
</html>