|
1 | 1 | /**
|
2 | 2 | * angular-strap
|
3 |
| - * @version v2.0.0 - 2014-04-07 |
| 3 | + * @version v2.0.1 - 2014-04-10 |
4 | 4 | * @link http://mgcrea.github.io/angular-strap
|
5 | 5 | * @author Olivier Louvignes (olivier@mg-crea.com)
|
6 | 6 | * @license MIT License, http://www.opensource.org/licenses/MIT
|
7 | 7 | */
|
8 | 8 | (function(window, document, undefined) {
|
9 | 9 | 'use strict';
|
10 | 10 |
|
11 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/alert/alert.tpl.js |
| 11 | +// Source: alert.tpl.js |
12 | 12 | angular.module('mgcrea.ngStrap.alert').run([
|
13 | 13 | '$templateCache',
|
14 | 14 | function ($templateCache) {
|
15 | 15 | $templateCache.put('alert/alert.tpl.html', '<div class="alert alert-dismissable" tabindex="-1" ng-class="[type ? \'alert-\' + type : null]"><button type="button" class="close" ng-click="$hide()">×</button> <strong ng-bind="title"></strong> <span ng-bind-html="content"></span></div>');
|
16 | 16 | }
|
17 | 17 | ]);
|
18 | 18 |
|
19 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/aside/aside.tpl.js |
| 19 | +// Source: aside.tpl.js |
20 | 20 | angular.module('mgcrea.ngStrap.aside').run([
|
21 | 21 | '$templateCache',
|
22 | 22 | function ($templateCache) {
|
23 | 23 | $templateCache.put('aside/aside.tpl.html', '<div class="aside" tabindex="-1" role="dialog"><div class="aside-dialog"><div class="aside-content"><div class="aside-header" ng-show="title"><button type="button" class="close" ng-click="$hide()">×</button><h4 class="aside-title" ng-bind="title"></h4></div><div class="aside-body" ng-bind="content"></div><div class="aside-footer"><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></div>');
|
24 | 24 | }
|
25 | 25 | ]);
|
26 | 26 |
|
27 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/datepicker/datepicker.tpl.js |
| 27 | +// Source: datepicker.tpl.js |
28 | 28 | angular.module('mgcrea.ngStrap.datepicker').run([
|
29 | 29 | '$templateCache',
|
30 | 30 | function ($templateCache) {
|
31 | 31 | $templateCache.put('datepicker/datepicker.tpl.html', '<div class="dropdown-menu datepicker" ng-class="\'datepicker-mode-\' + $mode" style="max-width: 320px"><table style="table-layout: fixed; height: 100%; width: 100%"><thead><tr class="text-center"><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$selectPane(-1)"><i class="glyphicon glyphicon-chevron-left"></i></button></th><th colspan="{{ rows[0].length - 2 }}"><button tabindex="-1" 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 tabindex="-1" type="button" class="btn btn-default pull-right" ng-click="$selectPane(+1)"><i class="glyphicon glyphicon-chevron-right"></i></button></th></tr><tr ng-show="labels" ng-bind-html="labels"></tr></thead><tbody><tr ng-repeat="(i, row) in rows" height="{{ 100 / rows.length }}%"><td class="text-center" ng-repeat="(j, el) in row"><button tabindex="-1" type="button" class="btn btn-default" style="width: 100%" 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></td></tr></tbody></table></div>');
|
32 | 32 | }
|
33 | 33 | ]);
|
34 | 34 |
|
35 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/dropdown/dropdown.tpl.js |
| 35 | +// Source: dropdown.tpl.js |
36 | 36 | angular.module('mgcrea.ngStrap.dropdown').run([
|
37 | 37 | '$templateCache',
|
38 | 38 | function ($templateCache) {
|
39 | 39 | $templateCache.put('dropdown/dropdown.tpl.html', '<ul tabindex="-1" class="dropdown-menu" role="menu"><li role="presentation" ng-class="{divider: item.divider}" ng-repeat="item in content"><a role="menuitem" tabindex="-1" ng-href="{{item.href}}" ng-if="!item.divider && item.href" ng-bind="item.text"></a> <a role="menuitem" tabindex="-1" href="javascript:void(0)" ng-if="!item.divider && item.click" ng-click="$eval(item.click);$hide()" ng-bind="item.text"></a></li></ul>');
|
40 | 40 | }
|
41 | 41 | ]);
|
42 | 42 |
|
43 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/modal/modal.tpl.js |
| 43 | +// Source: modal.tpl.js |
44 | 44 | angular.module('mgcrea.ngStrap.modal').run([
|
45 | 45 | '$templateCache',
|
46 | 46 | function ($templateCache) {
|
47 | 47 | $templateCache.put('modal/modal.tpl.html', '<div class="modal" tabindex="-1" role="dialog"><div class="modal-dialog"><div class="modal-content"><div class="modal-header" ng-show="title"><button type="button" class="close" ng-click="$hide()">×</button><h4 class="modal-title" ng-bind="title"></h4></div><div class="modal-body" ng-bind="content"></div><div class="modal-footer"><button type="button" class="btn btn-default" ng-click="$hide()">Close</button></div></div></div></div>');
|
48 | 48 | }
|
49 | 49 | ]);
|
50 | 50 |
|
51 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/popover/popover.tpl.js |
| 51 | +// Source: popover.tpl.js |
52 | 52 | angular.module('mgcrea.ngStrap.popover').run([
|
53 | 53 | '$templateCache',
|
54 | 54 | function ($templateCache) {
|
55 | 55 | $templateCache.put('popover/popover.tpl.html', '<div class="popover"><div class="arrow"></div><h3 class="popover-title" ng-bind="title" ng-show="title"></h3><div class="popover-content" ng-bind="content"></div></div>');
|
56 | 56 | }
|
57 | 57 | ]);
|
58 | 58 |
|
59 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/select/select.tpl.js |
| 59 | +// Source: select.tpl.js |
60 | 60 | angular.module('mgcrea.ngStrap.select').run([
|
61 | 61 | '$templateCache',
|
62 | 62 | function ($templateCache) {
|
63 | 63 | $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 style="cursor: default" role="menuitem" tabindex="-1" ng-click="$select($index, $event)"><span ng-bind="match.label"></span> <i class="glyphicon glyphicon-ok pull-right" ng-if="$isMultiple && $isActive($index)"></i></a></li></ul>');
|
64 | 64 | }
|
65 | 65 | ]);
|
66 | 66 |
|
67 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/tab/tab.tpl.js |
| 67 | +// Source: tab.tpl.js |
68 | 68 | angular.module('mgcrea.ngStrap.tab').run([
|
69 | 69 | '$templateCache',
|
70 | 70 | function ($templateCache) {
|
71 | 71 | $templateCache.put('tab/tab.tpl.html', '<ul class="nav nav-tabs"><li ng-repeat="pane in panes" ng-class="{active: $index == active}"><a data-toggle="tab" ng-click="setActive($index, $event)" data-index="{{$index}}">{{pane.title}}</a></li></ul><div class="tab-content"><div ng-repeat="pane in panes" class="tab-pane" ng-class="[$index == active ? \'active\' : \'\']" ng-include="pane.template || \'$pane\'"></div></div>');
|
72 | 72 | }
|
73 | 73 | ]);
|
74 | 74 |
|
75 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/timepicker/timepicker.tpl.js |
| 75 | +// Source: timepicker.tpl.js |
76 | 76 | angular.module('mgcrea.ngStrap.timepicker').run([
|
77 | 77 | '$templateCache',
|
78 | 78 | function ($templateCache) {
|
79 | 79 | $templateCache.put('timepicker/timepicker.tpl.html', '<div class="dropdown-menu timepicker" style="min-width: 0px;width: auto"><table height="100%"><thead><tr class="text-center"><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$moveIndex(-1, 0)"><i class="glyphicon glyphicon-chevron-up"></i></button></th><th> </th><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$moveIndex(-1, 1)"><i class="glyphicon glyphicon-chevron-up"></i></button></th></tr></thead><tbody><tr ng-repeat="(i, row) in rows"><td class="text-center"><button tabindex="-1" style="width: 100%" type="button" class="btn btn-default" ng-class="{\'btn-primary\': row[0].selected}" ng-click="$select(row[0].date, 0)" ng-disabled="row[0].disabled"><span ng-class="{\'text-muted\': row[0].muted}" ng-bind="row[0].label"></span></button></td><td><span ng-bind="i == midIndex ? \':\' : \' \'"></span></td><td class="text-center"><button tabindex="-1" ng-if="row[1].date" style="width: 100%" type="button" class="btn btn-default" ng-class="{\'btn-primary\': row[1].selected}" ng-click="$select(row[1].date, 1)" ng-disabled="row[1].disabled"><span ng-class="{\'text-muted\': row[1].muted}" ng-bind="row[1].label"></span></button></td><td ng-if="showAM"> </td><td ng-if="showAM"><button tabindex="-1" ng-show="i == midIndex - !isAM * 1" style="width: 100%" type="button" ng-class="{\'btn-primary\': !!isAM}" class="btn btn-default" ng-click="$switchMeridian()" ng-disabled="el.disabled">AM</button> <button tabindex="-1" ng-show="i == midIndex + 1 - !isAM * 1" style="width: 100%" type="button" ng-class="{\'btn-primary\': !isAM}" class="btn btn-default" ng-click="$switchMeridian()" ng-disabled="el.disabled">PM</button></td></tr></tbody><tfoot><tr class="text-center"><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$moveIndex(1, 0)"><i class="glyphicon glyphicon-chevron-down"></i></button></th><th> </th><th><button tabindex="-1" type="button" class="btn btn-default pull-left" ng-click="$moveIndex(1, 1)"><i class="glyphicon glyphicon-chevron-down"></i></button></th></tr></tfoot></table></div>');
|
80 | 80 | }
|
81 | 81 | ]);
|
82 | 82 |
|
83 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/tooltip/tooltip.tpl.js |
| 83 | +// Source: tooltip.tpl.js |
84 | 84 | angular.module('mgcrea.ngStrap.tooltip').run([
|
85 | 85 | '$templateCache',
|
86 | 86 | function ($templateCache) {
|
87 | 87 | $templateCache.put('tooltip/tooltip.tpl.html', '<div class="tooltip in" ng-show="title"><div class="tooltip-arrow"></div><div class="tooltip-inner" ng-bind="title"></div></div>');
|
88 | 88 | }
|
89 | 89 | ]);
|
90 | 90 |
|
91 |
| -// Source: /Users/olivier/Dropbox/Projects/angular-strap/src/typeahead/typeahead.tpl.js |
| 91 | +// Source: typeahead.tpl.js |
92 | 92 | angular.module('mgcrea.ngStrap.typeahead').run([
|
93 | 93 | '$templateCache',
|
94 | 94 | function ($templateCache) {
|
|
0 commit comments