aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'admin/resources/templates/kc-dropdown.html')
-rw-r--r--admin/resources/templates/kc-dropdown.html12
1 files changed, 12 insertions, 0 deletions
diff --git a/admin/resources/templates/kc-dropdown.html b/admin/resources/templates/kc-dropdown.html
new file mode 100644
index 0000000..13874ca
--- /dev/null
+++ b/admin/resources/templates/kc-dropdown.html
@@ -0,0 +1,12 @@
+<div class="dropdown">
+ <button class="btn btn-default dropdown-toggle" type="button" id="{{id}}" data-toggle="dropdown">
+ <span ng-show="kcModel">{{kcModel}}</span>
+ <span ng-hide="kcModel" class="control-label">{{kcPlaceholder}}</span>
+ <span class="caret"></span>
+ </button>
+ <ul class="dropdown-menu" role="menu">
+ <li role="presentation" ng-repeat="option in kcOptions">
+ <a href="" role="menuitem" tabindex="-1" ng-click="updateModel(option)">{{option}}</a>
+ </li>
+ </ul>
+</div> \ No newline at end of file