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:
parent
2fb1c0ad35
commit
1bf5c9752c
@ -79,6 +79,8 @@
|
|||||||
|
|
||||||
horizon.d3_pie_chart_distribution.init();
|
horizon.d3_pie_chart_distribution.init();
|
||||||
horizon.d3_pie_chart_usage.init();
|
horizon.d3_pie_chart_usage.init();
|
||||||
|
horizon.forms.datepicker();
|
||||||
|
$('#datepicker').datepicker();
|
||||||
|
|
||||||
var line_chart_selector = '.line-chart';
|
var line_chart_selector = '.line-chart';
|
||||||
var line_chart_data = [
|
var line_chart_data = [
|
||||||
|
@ -676,6 +676,17 @@
|
|||||||
<form class="form-horizontal">
|
<form class="form-horizontal">
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend translate>Other Input Types</legend>
|
<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">
|
<div class="form-group">
|
||||||
<label translate class="col-lg-2 control-label" for="datetime-localInput">Datetime</label>
|
<label translate class="col-lg-2 control-label" for="datetime-localInput">Datetime</label>
|
||||||
<div class="col-lg-10">
|
<div class="col-lg-10">
|
||||||
|
Loading…
Reference in New Issue
Block a user