summaryrefslogtreecommitdiffstats
path: root/web/directive/date.html
diff options
context:
space:
mode:
Diffstat (limited to 'web/directive/date.html')
-rw-r--r--web/directive/date.html16
1 files changed, 16 insertions, 0 deletions
diff --git a/web/directive/date.html b/web/directive/date.html
new file mode 100644
index 0000000..10d5717
--- /dev/null
+++ b/web/directive/date.html
@@ -0,0 +1,16 @@
+<!--
+ Copyright (c) 2012-2015 Kaarle Ritvanen
+ See LICENSE file for license details
+-->
+
+<div class="input-group">
+ <input type="date"
+ class="form-control aconf-sync"
+ name="{{ name }}"
+ ng-model="value"
+ datepicker-popup
+ is-open="opened">
+ <span class="input-group-btn">
+ <button class="btn btn-default" ng-click="open($event)">...</button>
+ </span>
+</div>