Skip to content

Commit

Permalink
update example page, draft new release
Browse files Browse the repository at this point in the history
  • Loading branch information
najlepsiwebdesigner committed Mar 23, 2016
1 parent 2b275be commit 8fce701
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 4 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foundation-datepicker",
"version": "1.5.0",
"version": "1.5.2",
"homepage": "https://github.com/najlepsiwebdesigner/foundation-datepicker",
"authors": [
"Peter Beňo <[email protected]>"
Expand Down
13 changes: 11 additions & 2 deletions example.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,20 +75,25 @@ <h4 data-magellan-destination="basic-example">Basic</h4>
<p>Attached to a field with the format specified via options. Initial date is set with initialDate option or with value attribute on the input tag.</p>
<input type="text" class="span2" id="dp1">
<hr>

<script src="https://gist.github.com/najlepsiwebdesigner/b71a309d6fe893486c6a.js"></script>
<hr>


<h4 data-magellan-destination="advanced-example">Close button and data tags</h4>
<a name="advanced-example"></a>
<p>Attached to a field with the format specified via data tag and close button enabled. See source of </p>
<input type="text" class="span2" value="02/16/12" data-date-format="mm/dd/yy" id="dp2">
<hr>
<script src="https://gist.github.com/najlepsiwebdesigner/b94d0c1d908892d10444.js"></script>
<hr>

<h4 data-magellan-destination="time-example">Time picker</h4>
<a name="time-example"></a>
<p>With time picking enabled and vietnamese language used.</p>
<input type="text" class="span2" value="02-12-1989 12:05" id="dpt">
<hr>
<script src="https://gist.github.com/najlepsiwebdesigner/f921f23f5bf3e9286acf.js"></script>
<hr>

<h4 data-magellan-destination="limited-example">Limited picker</h4>
<a name="limited-example"></a>
Expand All @@ -102,6 +107,8 @@ <h4 data-magellan-destination="limited-example">Limited picker</h4>
</div>
</div>
<hr>
<script src="https://gist.github.com/najlepsiwebdesigner/32fed5dc2fe2df9a5f6b.js"></script>
<hr>

<h4 data-magellan-destination="no-inputs-example">No inputs</h4>
<a name="no-inputs-example"></a>
Expand All @@ -127,6 +134,8 @@ <h4 data-magellan-destination="no-inputs-example">No inputs</h4>
<div class="alert alert-box" style="display:none;" id="alert"> <strong>Oh snap!</strong>
</div>
<hr>
<script src="https://gist.github.com/najlepsiwebdesigner/f00af2b2dfbca6494d0a.js"></script>
<hr>

<h4 data-magellan-destination="deps-example">Dependent pickers</h4>
<a name="deps-example"></a>
Expand Down Expand Up @@ -441,7 +450,7 @@ <h4>
$('#dp2').fdatepicker({
closeButton: true
});
$('#dp3').fdatepicker();
// $('#dp3').fdatepicker();


$('#dpt').fdatepicker({
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "foundation-datepicker",
"version": "1.5.1",
"version": "1.5.2",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
Expand Down

0 comments on commit 8fce701

Please sign in to comment.