summaryrefslogtreecommitdiffstats
path: root/web/directive/date.html
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2015-04-21 23:48:54 +0300
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2016-04-19 15:25:49 +0300
commita693a0459c176b86e17d536584d0c1c527f92857 (patch)
treef9cfd749454f1e24c14400741d403bb1f1388ce8 /web/directive/date.html
parentbe803d679f7a51f93194c86e37168c651471031b (diff)
downloadaconf-a693a0459c176b86e17d536584d0c1c527f92857.tar.bz2
aconf-a693a0459c176b86e17d536584d0c1c527f92857.tar.xz
web client: refactor using AngularJS and Bootstrapv0.6.0
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>