gentelella/production/form_advanced.html
2016-04-25 19:10:01 +08:00

2575 lines
131 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 -->
<link href="../vendors/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Font Awesome -->
<link href="../vendors/font-awesome/css/font-awesome.min.css" rel="stylesheet">
<!-- Ion.RangeSlider -->
<link href="../vendors/normalize-css/normalize.css" rel="stylesheet">
<link href="../vendors/ion.rangeSlider/css/ion.rangeSlider.css" rel="stylesheet">
<link href="../vendors/ion.rangeSlider/css/ion.rangeSlider.skinFlat.css" rel="stylesheet">
<!-- Bootstrap Colorpicker -->
<link href="../vendors/mjolnic-bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css" rel="stylesheet">
<link href="../vendors/cropper/dist/cropper.min.css" rel="stylesheet">
<!-- Custom Theme Style -->
<link href="css/custom.css" rel="stylesheet">
</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 profile 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 profile 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">
<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">
<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">
<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="calendar.html">Calendar</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">
<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">
<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">
<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">
<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-sitemap"></i> Multilevel Menu <span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li><a href="#level1_1">Level One</a>
<li><a>Level One<span class="fa fa-chevron-down"></span></a>
<ul class="nav child_menu">
<li class="sub_menu"><a href="level2.html">Level Two</a>
</li>
<li><a href="#level2_1">Level Two</a>
</li>
<li><a href="#level2_2">Level Two</a>
</li>
</ul>
</li>
<li><a href="#level1_2">Level One</a>
</li>
</ul>
</li>
<li><a href="javascript:void(0)"><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 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" 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 cropper">
<div class="row">
<div class="col-md-9">
<!-- <h3 class="page-header">Demo:</h3> -->
<div class="img-container">
<img id="image" 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 input-group-sm">
<label class="input-group-addon" for="dataX">X</label>
<input type="text" class="form-control" id="dataX" placeholder="x">
<span class="input-group-addon">px</span>
</div>
<div class="input-group input-group-sm">
<label class="input-group-addon" for="dataY">Y</label>
<input type="text" class="form-control" id="dataY" placeholder="y">
<span class="input-group-addon">px</span>
</div>
<div class="input-group input-group-sm">
<label class="input-group-addon" for="dataWidth">Width</label>
<input type="text" class="form-control" id="dataWidth" placeholder="width">
<span class="input-group-addon">px</span>
</div>
<div class="input-group input-group-sm">
<label class="input-group-addon" for="dataHeight">Height</label>
<input type="text" class="form-control" id="dataHeight" placeholder="height">
<span class="input-group-addon">px</span>
</div>
<div class="input-group input-group-sm">
<label class="input-group-addon" for="dataRotate">Rotate</label>
<input type="text" class="form-control" id="dataRotate" placeholder="rotate">
<span class="input-group-addon">deg</span>
</div>
<div class="input-group input-group-sm">
<label class="input-group-addon" for="dataScaleX">ScaleX</label>
<input type="text" class="form-control" id="dataScaleX" placeholder="scaleX">
</div>
<div class="input-group input-group-sm">
<label class="input-group-addon" for="dataScaleY">ScaleY</label>
<input type="text" class="form-control" id="dataScaleY" placeholder="scaleY">
</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 type="button" class="btn btn-primary" data-method="setDragMode" data-option="move" 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 type="button" class="btn btn-primary" data-method="setDragMode" data-option="crop" 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>
</div>
<div class="btn-group">
<button type="button" class="btn btn-primary" data-method="zoom" data-option="0.1" 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 type="button" class="btn btn-primary" data-method="zoom" data-option="-0.1" 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>
</div>
<div class="btn-group">
<button type="button" class="btn btn-primary" data-method="move" data-option="-10" data-second-option="0" title="Move Left">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;move&quot;, -10, 0)">
<span class="fa fa-arrow-left"></span>
</span>
</button>
<button type="button" class="btn btn-primary" data-method="move" data-option="10" data-second-option="0" title="Move Right">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;move&quot;, 10, 0)">
<span class="fa fa-arrow-right"></span>
</span>
</button>
<button type="button" class="btn btn-primary" data-method="move" data-option="0" data-second-option="-10" title="Move Up">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;move&quot;, 0, -10)">
<span class="fa fa-arrow-up"></span>
</span>
</button>
<button type="button" class="btn btn-primary" data-method="move" data-option="0" data-second-option="10" title="Move Down">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;move&quot;, 0, 10)">
<span class="fa fa-arrow-down"></span>
</span>
</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-primary" data-method="rotate" data-option="-45" 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 type="button" class="btn btn-primary" data-method="rotate" data-option="45" 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 type="button" class="btn btn-primary" data-method="scaleX" data-option="-1" title="Flip Horizontal">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;scaleX&quot;, -1)">
<span class="fa fa-arrows-h"></span>
</span>
</button>
<button type="button" class="btn btn-primary" data-method="scaleY" data-option="-1" title="Flip Vertical">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;scaleY&quot;, -1)">
<span class="fa fa-arrows-v"></span>
</span>
</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-primary" data-method="crop" title="Crop">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;crop&quot;)">
<span class="fa fa-check"></span>
</span>
</button>
<button type="button" class="btn btn-primary" data-method="clear" title="Clear">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;clear&quot;)">
<span class="fa fa-remove"></span>
</span>
</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-primary" data-method="disable" title="Disable">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;disable&quot;)">
<span class="fa fa-lock"></span>
</span>
</button>
<button type="button" class="btn btn-primary" data-method="enable" title="Enable">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;enable&quot;)">
<span class="fa fa-unlock"></span>
</span>
</button>
</div>
<div class="btn-group">
<button type="button" class="btn btn-primary" data-method="reset" 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 type="file" class="sr-only" id="inputImage" name="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 type="button" class="btn btn-primary" data-method="destroy" 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 type="button" class="btn btn-primary" data-method="getCroppedCanvas">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getCroppedCanvas&quot;)">
Get Cropped Canvas
</span>
</button>
<button type="button" class="btn btn-primary" data-method="getCroppedCanvas" data-option="{ &quot;width&quot;: 160, &quot;height&quot;: 90 }">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getCroppedCanvas&quot;, { width: 160, height: 90 })">
160&times;90
</span>
</button>
<button type="button" class="btn btn-primary" data-method="getCroppedCanvas" data-option="{ &quot;width&quot;: 320, &quot;height&quot;: 180 }">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getCroppedCanvas&quot;, { width: 320, height: 180 })">
320&times;180
</span>
</button>
</div>
<!-- Show the cropped image in modal -->
<div class="modal fade docs-cropped" id="getCroppedCanvasModal" aria-hidden="true" aria-labelledby="getCroppedCanvasTitle" role="dialog" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
<h4 class="modal-title" id="getCroppedCanvasTitle">Cropped</h4>
</div>
<div class="modal-body"></div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
<a class="btn btn-primary" id="download" href="javascript:void(0);" download="cropped.png">Download</a>
</div>
</div>
</div>
</div><!-- /.modal -->
<button type="button" class="btn btn-primary" data-method="getData" data-option data-target="#putData">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getData&quot;)">
Get Data
</span>
</button>
<button type="button" class="btn btn-primary" data-method="setData" data-target="#putData">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setData&quot;, data)">
Set Data
</span>
</button>
<button type="button" class="btn btn-primary" data-method="getContainerData" data-option data-target="#putData">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getContainerData&quot;)">
Get Container Data
</span>
</button>
<button type="button" class="btn btn-primary" data-method="getImageData" data-option data-target="#putData">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getImageData&quot;)">
Get Image Data
</span>
</button>
<button type="button" class="btn btn-primary" data-method="getCanvasData" data-option data-target="#putData">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getCanvasData&quot;)">
Get Canvas Data
</span>
</button>
<button type="button" class="btn btn-primary" data-method="setCanvasData" data-target="#putData">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setCanvasData&quot;, data)">
Set Canvas Data
</span>
</button>
<button type="button" class="btn btn-primary" data-method="getCropBoxData" data-option data-target="#putData">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;getCropBoxData&quot;)">
Get Crop Box Data
</span>
</button>
<button type="button" class="btn btn-primary" data-method="setCropBoxData" data-target="#putData">
<span class="docs-tooltip" data-toggle="tooltip" title="$().cropper(&quot;setCropBoxData&quot;, data)">
Set Crop Box Data
</span>
</button>
<button type="button" class="btn btn-primary" data-method="moveTo" data-option="0">
<span class="docs-tooltip" data-toggle="tooltip" title="cropper.moveTo(0)">
0,0
</span>
</button>
<button type="button" class="btn btn-primary" data-method="zoomTo" data-option="1">
<span class="docs-tooltip" data-toggle="tooltip" title="cropper.zoomTo(1)">
100%
</span>
</button>
<button type="button" class="btn btn-primary" data-method="rotateTo" data-option="180">
<span class="docs-tooltip" data-toggle="tooltip" title="cropper.rotateTo(180)">
180°
</span>
</button>
<input type="text" class="form-control" id="putData" 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">
<input type="radio" class="sr-only" id="aspectRatio0" name="aspectRatio" value="1.7777777777777777">
<span class="docs-tooltip" data-toggle="tooltip" title="aspectRatio: 16 / 9">
16:9
</span>
</label>
<label class="btn btn-primary">
<input type="radio" class="sr-only" id="aspectRatio1" name="aspectRatio" value="1.3333333333333333">
<span class="docs-tooltip" data-toggle="tooltip" title="aspectRatio: 4 / 3">
4:3
</span>
</label>
<label class="btn btn-primary">
<input type="radio" class="sr-only" id="aspectRatio2" name="aspectRatio" value="1">
<span class="docs-tooltip" data-toggle="tooltip" title="aspectRatio: 1 / 1">
1:1
</span>
</label>
<label class="btn btn-primary">
<input type="radio" class="sr-only" id="aspectRatio3" name="aspectRatio" value="0.6666666666666666">
<span class="docs-tooltip" data-toggle="tooltip" title="aspectRatio: 2 / 3">
2:3
</span>
</label>
<label class="btn btn-primary">
<input type="radio" class="sr-only" id="aspectRatio4" name="aspectRatio" value="NaN">
<span class="docs-tooltip" data-toggle="tooltip" title="aspectRatio: NaN">
Free
</span>
</label>
</div>
<div class="btn-group btn-group-justified" data-toggle="buttons">
<label class="btn btn-primary active">
<input type="radio" class="sr-only" id="viewMode0" name="viewMode" value="0" checked>
<span class="docs-tooltip" data-toggle="tooltip" title="View Mode 0">
VM0
</span>
</label>
<label class="btn btn-primary">
<input type="radio" class="sr-only" id="viewMode1" name="viewMode" value="1">
<span class="docs-tooltip" data-toggle="tooltip" title="View Mode 1">
VM1
</span>
</label>
<label class="btn btn-primary">
<input type="radio" class="sr-only" id="viewMode2" name="viewMode" value="2">
<span class="docs-tooltip" data-toggle="tooltip" title="View Mode 2">
VM2
</span>
</label>
<label class="btn btn-primary">
<input type="radio" class="sr-only" id="viewMode3" name="viewMode" value="3">
<span class="docs-tooltip" data-toggle="tooltip" title="View Mode 3">
VM3
</span>
</label>
</div>
<div class="dropdown dropup docs-options">
<button type="button" class="btn btn-primary btn-block dropdown-toggle" id="toggleOptions" data-toggle="dropdown" aria-expanded="true">
Toggle Options
<span class="caret"></span>
</button>
<ul class="dropdown-menu" aria-labelledby="toggleOptions" role="menu">
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="responsive" checked>
responsive
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="restore" checked>
restore
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="checkCrossOrigin" checked>
checkCrossOrigin
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="checkOrientation" checked>
checkOrientation
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="modal" checked>
modal
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="guides" checked>
guides
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="center" checked>
center
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="highlight" checked>
highlight
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="background" checked>
background
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="autoCrop" checked>
autoCrop
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="movable" checked>
movable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="rotatable" checked>
rotatable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="scalable" checked>
scalable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="zoomable" checked>
zoomable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="zoomOnTouch" checked>
zoomOnTouch
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="zoomOnWheel" checked>
zoomOnWheel
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="cropBoxMovable" checked>
cropBoxMovable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="cropBoxResizable" checked>
cropBoxResizable
</label>
</li>
<li role="presentation">
<label class="checkbox-inline">
<input type="checkbox" name="toggleDragModeOnDblclick" checked>
toggleDragModeOnDblclick
</label>
</li>
</ul>
</div><!-- /.dropdown -->
<a class="btn btn-default btn-block" data-toggle="tooltip" href="https://fengyuanchen.github.io/cropperjs" title="Cropper without jQuery">Cropper.js</a>
</div><!-- /.docs-toggles -->
</div>
</div>
<!-- /image cropping -->
</div>
</div>
</div>
</div>
<!-- /page content -->
<!-- footer content -->
<footer>
<div class="pull-right">
Gentelella - Bootstrap Admin Template by <a href="https://colorlib.com">Colorlib</a>
</div>
<div class="clearfix"></div>
</footer>
<!-- /footer content -->
</div>
</div>
<!-- jQuery -->
<script src="../vendors/jquery/dist/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="../vendors/bootstrap/dist/js/bootstrap.min.js"></script>
<!-- FastClick -->
<script src="../vendors/fastclick/lib/fastclick.js"></script>
<!-- NProgress -->
<script src="../vendors/nprogress/nprogress.js"></script>
<!-- bootstrap-daterangepicker -->
<script src="js/moment/moment.min.js"></script>
<script src="js/datepicker/daterangepicker.js"></script>
<!-- Ion.RangeSlider -->
<script src="../vendors/ion.rangeSlider/js/ion.rangeSlider.min.js"></script>
<!-- Bootstrap Colorpicker -->
<script src="../vendors/mjolnic-bootstrap-colorpicker/dist/js/bootstrap-colorpicker.min.js"></script>
<!-- jquery.inputmask -->
<script src="../vendors/jquery.inputmask/dist/min/jquery.inputmask.bundle.min.js"></script>
<!-- jQuery Knob -->
<script src="../vendors/jquery-knob/dist/jquery.knob.min.js"></script>
<!-- Cropper -->
<script src="../vendors/cropper/dist/cropper.min.js"></script>
<!-- Custom Theme Scripts -->
<script src="js/custom.js"></script>
<!-- bootstrap-daterangepicker -->
<script>
$(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'));
};
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>
<script>
$(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'));
};
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>
<script>
$(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>
$(document).ready(function() {
$('#reservation').daterangepicker(null, function(start, end, label) {
console.log(start.toISOString(), end.toISOString(), label);
});
});
</script>
<!-- /bootstrap-daterangepicker -->
<!-- Ion.RangeSlider -->
<script>
$(document).ready(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.RangeSlider -->
<!-- Bootstrap Colorpicker -->
<script>
$(document).ready(function() {
$('.demo1').colorpicker();
$('.demo2').colorpicker();
$('#demo_forceformat').colorpicker({
format: 'rgba',
horizontal: true
});
$('#demo_forceformat3').colorpicker({
format: 'rgba',
});
$('.demo-auto').colorpicker();
});
</script>
<!-- /Bootstrap Colorpicker -->
<!-- jquery.inputmask -->
<script>
$(document).ready(function() {
$(":input").inputmask();
});
</script>
<!-- /jquery.inputmask -->
<!-- jQuery 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>
<!-- /jQuery Knob -->
<!-- Cropper -->
<script>
$(document).ready(function() {
var $image = $('#image');
var $download = $('#download');
var $dataX = $('#dataX');
var $dataY = $('#dataY');
var $dataHeight = $('#dataHeight');
var $dataWidth = $('#dataWidth');
var $dataRotate = $('#dataRotate');
var $dataScaleX = $('#dataScaleX');
var $dataScaleY = $('#dataScaleY');
var options = {
aspectRatio: 16 / 9,
preview: '.img-preview',
crop: function (e) {
$dataX.val(Math.round(e.x));
$dataY.val(Math.round(e.y));
$dataHeight.val(Math.round(e.height));
$dataWidth.val(Math.round(e.width));
$dataRotate.val(e.rotate);
$dataScaleX.val(e.scaleX);
$dataScaleY.val(e.scaleY);
}
};
// Tooltip
$('[data-toggle="tooltip"]').tooltip();
// Cropper
$image.on({
'build.cropper': function (e) {
console.log(e.type);
},
'built.cropper': function (e) {
console.log(e.type);
},
'cropstart.cropper': function (e) {
console.log(e.type, e.action);
},
'cropmove.cropper': function (e) {
console.log(e.type, e.action);
},
'cropend.cropper': function (e) {
console.log(e.type, e.action);
},
'crop.cropper': function (e) {
console.log(e.type, e.x, e.y, e.width, e.height, e.rotate, e.scaleX, e.scaleY);
},
'zoom.cropper': function (e) {
console.log(e.type, e.ratio);
}
}).cropper(options);
// Buttons
if (!$.isFunction(document.createElement('canvas').getContext)) {
$('button[data-method="getCroppedCanvas"]').prop('disabled', true);
}
if (typeof document.createElement('cropper').style.transition === 'undefined') {
$('button[data-method="rotate"]').prop('disabled', true);
$('button[data-method="scale"]').prop('disabled', true);
}
// Download
if (typeof $download[0].download === 'undefined') {
$download.addClass('disabled');
}
// Options
$('.docs-toggles').on('change', 'input', function () {
var $this = $(this);
var name = $this.attr('name');
var type = $this.prop('type');
var cropBoxData;
var canvasData;
if (!$image.data('cropper')) {
return;
}
if (type === 'checkbox') {
options[name] = $this.prop('checked');
cropBoxData = $image.cropper('getCropBoxData');
canvasData = $image.cropper('getCanvasData');
options.built = function () {
$image.cropper('setCropBoxData', cropBoxData);
$image.cropper('setCanvasData', canvasData);
};
} else if (type === 'radio') {
options[name] = $this.val();
}
$image.cropper('destroy').cropper(options);
});
// Methods
$('.docs-buttons').on('click', '[data-method]', function () {
var $this = $(this);
var data = $this.data();
var $target;
var result;
if ($this.prop('disabled') || $this.hasClass('disabled')) {
return;
}
if ($image.data('cropper') && data.method) {
data = $.extend({}, data); // Clone a new one
if (typeof data.target !== 'undefined') {
$target = $(data.target);
if (typeof data.option === 'undefined') {
try {
data.option = JSON.parse($target.val());
} catch (e) {
console.log(e.message);
}
}
}
result = $image.cropper(data.method, data.option, data.secondOption);
switch (data.method) {
case 'scaleX':
case 'scaleY':
$(this).data('option', -data.option);
break;
case 'getCroppedCanvas':
if (result) {
// Bootstrap's Modal
$('#getCroppedCanvasModal').modal().find('.modal-body').html(result);
if (!$download.hasClass('disabled')) {
$download.attr('href', result.toDataURL());
}
}
break;
}
if ($.isPlainObject(result) && $target) {
try {
$target.val(JSON.stringify(result));
} catch (e) {
console.log(e.message);
}
}
}
});
// Keyboard
$(document.body).on('keydown', function (e) {
if (!$image.data('cropper') || this.scrollTop > 300) {
return;
}
switch (e.which) {
case 37:
e.preventDefault();
$image.cropper('move', -1, 0);
break;
case 38:
e.preventDefault();
$image.cropper('move', 0, -1);
break;
case 39:
e.preventDefault();
$image.cropper('move', 1, 0);
break;
case 40:
e.preventDefault();
$image.cropper('move', 0, 1);
break;
}
});
// Import image
var $inputImage = $('#inputImage');
var URL = window.URL || window.webkitURL;
var blobURL;
if (URL) {
$inputImage.change(function () {
var files = this.files;
var file;
if (!$image.data('cropper')) {
return;
}
if (files && files.length) {
file = files[0];
if (/^image\/\w+$/.test(file.type)) {
blobURL = URL.createObjectURL(file);
$image.one('built.cropper', function () {
// Revoke when load complete
URL.revokeObjectURL(blobURL);
}).cropper('reset').cropper('replace', blobURL);
$inputImage.val('');
} else {
window.alert('Please choose an image file.');
}
}
});
} else {
$inputImage.prop('disabled', true).parent().addClass('disabled');
}
});
</script>
<!-- /Cropper -->
</body>
</html>