Theme Preview Page should include datepicker.

Change-Id: I8b107dd3a28c8434fe5c5e5ba8e3ef0ecd1df0f2
partially-implements: blueprint bootstrap-theme-preview
Depends-On: https://review.openstack.org/#/c/318933
This commit is contained in:
Diana Whitten 2016-05-19 14:27:31 -07:00 committed by Julie Gravel
parent 2fb1c0ad35
commit 1bf5c9752c
2 changed files with 13 additions and 0 deletions

View File

@ -79,6 +79,8 @@
horizon.d3_pie_chart_distribution.init();
horizon.d3_pie_chart_usage.init();
horizon.forms.datepicker();
$('#datepicker').datepicker();
var line_chart_selector = '.line-chart';
var line_chart_data = [

View File

@ -676,6 +676,17 @@
<form class="form-horizontal">
<fieldset>
<legend translate>Other Input Types</legend>
<div class="form-group">
<label translate class="col-lg-2 control-label" for="datepicker">Datepicker</label>
<div class="col-lg-10">
<div class='input-group'>
<input type="text" class="form-control" id="datepicker">
<span class="input-group-addon datepicker-addon">
<span class="fa fa-calendar"></span>
</span>
</div>
</div>
</div>
<div class="form-group">
<label translate class="col-lg-2 control-label" for="datetime-localInput">Datetime</label>
<div class="col-lg-10">