Files
cdnjs/ajax/libs/angular-strap/2.0.0-beta.4/angular-strap.tpl.js
T

27 lines
2.2 KiB
JavaScript

/**
* angular-strap
* @version v2.0.0-beta.4 - 2014-01-20
* @link http://mgcrea.github.io/angular-strap
* @author Olivier Louvignes <olivier@mg-crea.com>
* @license MIT License, http://www.opensource.org/licenses/MIT
*/
(function(window, document, undefined) {
'use strict';
// Source: dist/modules/datepicker.tpl.js
angular.module('mgcrea.ngStrap.datepicker').run(['$templateCache', function($templateCache) {
$templateCache.put('datepicker/datepicker.tpl.html',
"<div class=\"dropdown-menu datepicker\"><table tabindex=\"-1\" height=\"100%\"><thead><tr class=\"text-center\"><th><button type=\"button\" class=\"btn btn-default pull-left\" ng-click=\"$selectPane(-1)\"><i class=\"glyphicon glyphicon-chevron-left\"></i></button></th><th colspan=\"5\" style=\"width: 100%\"><button type=\"button\" class=\"btn btn-default btn-block text-strong\" ng-click=\"$toggleMode()\"><strong style=\"text-transform: capitalize\" ng-bind=\"title\"></strong></button></th><th><button type=\"button\" class=\"btn btn-default pull-right\" ng-click=\"$selectPane(+1)\"><i class=\"glyphicon glyphicon-chevron-right\"></i></button></th></tr><tr ng-show2=\"labels\" ng-bind-html=\"labels\"></tr></thead><tbody><tr ng-repeat=\"(i, row) in rows\"><td colspan=\"7\" style=\"letter-spacing: -4px\"><span ng-repeat=\"(j, el) in row\" class=\"text-center\"><button type=\"button\" class=\"btn btn-default\" style=\"height:{{height}}px;width:{{width}}%\" ng-class=\"{'btn-primary': el.selected}\" ng-click=\"$select(el.date)\" ng-disabled=\"el.disabled\"><span ng-class=\"{'text-muted': el.muted}\" ng-bind=\"el.label\"></span></button></span></td></tr></tbody></table></div>"
);
}]);
// Source: dist/modules/select.tpl.js
angular.module('mgcrea.ngStrap.select').run(['$templateCache', function($templateCache) {
$templateCache.put('select/select.tpl.html',
"<ul tabindex=\"-1\" class=\"select dropdown-menu\" ng-show=\"$isVisible()\" role=\"select\"><li role=\"presentation\" ng-repeat=\"match in $matches\" ng-class=\"{active: $isActive($index)}\"><a role=\"menuitem\" tabindex=\"-1\" ng-click=\"$select($index, $event)\" ng-bind=\"match.label\"></a> <i class=\"glyphicon glyphicon-ok\" ng-if=\"$isMultiple\"></i></li></ul>"
);
}]);
})(window, document);