bastion 0.1.8 → 0.1.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/README.md +5 -6
- data/Rakefile +1 -1
- data/app/assets/javascripts/bastion/bastion-bootstrap.js +0 -4
- data/app/assets/javascripts/bastion/bastion.js +3 -9
- data/app/assets/javascripts/bastion/bastion.module.js +1 -1
- data/app/assets/javascripts/bastion/{incubator/alch-alert.directive.js → components/bst-alert.directive.js} +4 -4
- data/app/assets/javascripts/bastion/{incubator/alch-container-scroll.directive.js → components/bst-container-scroll.directive.js} +3 -3
- data/app/assets/javascripts/bastion/{incubator/alch-dropdown.directive.js → components/bst-dropdown.directive.js} +4 -4
- data/app/assets/javascripts/bastion/{incubator/alch-edit.directive.js → components/bst-edit.directive.js} +34 -34
- data/app/assets/javascripts/bastion/{incubator/alch-flyout.directive.js → components/bst-flyout.directive.js} +4 -4
- data/app/assets/javascripts/bastion/{incubator/alch-form-buttons.directive.js → components/bst-form-buttons.directive.js} +4 -4
- data/app/assets/javascripts/bastion/{incubator/alch-form-group.directive.js → components/bst-form-group.directive.js} +4 -4
- data/app/assets/javascripts/bastion/{incubator/alch-infinite-scroll.directive.js → components/bst-infinite-scroll.directive.js} +5 -5
- data/app/assets/javascripts/bastion/{incubator/alch-menu.directive.js → components/bst-menu.directive.js} +4 -4
- data/app/assets/javascripts/bastion/{incubator/alch-modal.directive.js → components/bst-modal.directive.js} +5 -5
- data/app/assets/javascripts/bastion/components/bst-on-enter.directive.js +41 -0
- data/app/assets/javascripts/bastion/{incubator/alch-save-control.directive.js → components/bst-save-control.directive.js} +4 -4
- data/app/assets/javascripts/bastion/{incubator/alch-table.directive.js → components/bst-table.directive.js} +31 -31
- data/app/assets/javascripts/bastion/components/components.module.js +27 -0
- data/app/assets/javascripts/bastion/{widgets → components}/current-tasks.directive.js +3 -3
- data/app/assets/javascripts/bastion/{incubator/format → components/formatters}/array-to-string.filter.js +2 -2
- data/app/assets/javascripts/bastion/{incubator/format → components/formatters}/boolean-to-yes-no.filter.js +2 -2
- data/app/assets/javascripts/bastion/{incubator/format → components/formatters}/capitalize.filter.js +2 -2
- data/app/assets/javascripts/bastion/{incubator/format/alch-format.module.js → components/formatters/components-formatters.module.js} +2 -2
- data/app/assets/javascripts/bastion/{incubator/format → components/formatters}/key-value-to-string.filter.js +2 -2
- data/app/assets/javascripts/bastion/{incubator/format → components/formatters}/unlimitedFilter.filter.js +3 -3
- data/app/assets/javascripts/bastion/{widgets → components}/nutupane-table.directive.js +1 -1
- data/app/assets/javascripts/bastion/{widgets → components}/nutupane.factory.js +2 -2
- data/app/assets/javascripts/bastion/{widgets → components}/page-title.directive.js +2 -2
- data/app/assets/javascripts/bastion/{widgets → components}/page-title.service.js +2 -2
- data/app/assets/javascripts/bastion/{widgets → components}/path-selector.directive.js +3 -3
- data/app/assets/javascripts/bastion/{incubator/views/alch-alert.html → components/views/bst-alert.html} +0 -0
- data/app/assets/javascripts/bastion/{incubator/views/alch-dropdown.html → components/views/bst-dropdown.html} +1 -1
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit-add-item.html → components/views/bst-edit-add-item.html} +0 -0
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit-add-remove-cancel.html → components/views/bst-edit-add-remove-cancel.html} +0 -0
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit-checkbox.html → components/views/bst-edit-checkbox.html} +1 -1
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit-custom.html → components/views/bst-edit-custom.html} +2 -2
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit-multiselect.html → components/views/bst-edit-multiselect.html} +2 -2
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit-save-cancel.html → components/views/bst-edit-save-cancel.html} +1 -1
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit-select.html → components/views/bst-edit-select.html} +1 -1
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit-text.html → components/views/bst-edit-text.html} +1 -1
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit-textarea.html → components/views/bst-edit-textarea.html} +1 -1
- data/app/assets/javascripts/bastion/{incubator/views/alch-edit.html → components/views/bst-edit.html} +3 -3
- data/app/assets/javascripts/bastion/{incubator/views/alch-flyout.html → components/views/bst-flyout.html} +0 -0
- data/app/assets/javascripts/bastion/{incubator/views/alch-form-buttons.html → components/views/bst-form-buttons.html} +1 -1
- data/app/assets/javascripts/bastion/{incubator/views/alch-form-group.html → components/views/bst-form-group.html} +0 -0
- data/app/assets/javascripts/bastion/{incubator/views/alch-menu.html → components/views/bst-menu.html} +1 -1
- data/app/assets/javascripts/bastion/{incubator/views/alch-modal-remove.html → components/views/bst-modal.html} +0 -0
- data/app/assets/javascripts/bastion/{incubator/views/alch-save-control.html → components/views/bst-save-control.html} +0 -0
- data/app/assets/javascripts/bastion/{widgets → components}/views/current-tasks.html +0 -0
- data/app/assets/javascripts/bastion/{widgets → components}/views/path-selector.html +0 -0
- data/app/assets/javascripts/bastion/i18n/katello.pot +18 -18
- data/app/assets/javascripts/bastion/layouts/details-nutupane.html +4 -4
- data/app/assets/javascripts/bastion/layouts/nutupane.html +4 -4
- data/app/assets/javascripts/bastion/menu/menu.module.js +1 -3
- data/app/views/bastion/layouts/application.html.erb +5 -1
- data/bower.json +0 -5
- data/grunt/karma.js +4 -5
- data/lib/bastion/version.rb +1 -1
- data/test/{incubator/alch-alert.directive.test.js → components/bst-alert.directive.test.js} +3 -3
- data/test/{incubator/alch-container-scroll.directive.test.js → components/bst-container-scroll.directive.test.js} +3 -3
- data/test/{incubator/alch-dropdown.directive.test.js → components/bst-dropdown.directive.test.js} +5 -5
- data/test/{incubator/alch-edit.directive.test.js → components/bst-edit.directive.test.js} +29 -29
- data/test/{incubator/alch-flyout.directive.test.js → components/bst-flyout.directive.test.js} +3 -3
- data/test/{incubator/alch-form-buttons.directive.test.js → components/bst-form-buttons.directive.test.js} +5 -5
- data/test/{incubator/alch-form-group.directive.test.js → components/bst-form-group.directive.test.js} +4 -4
- data/test/{incubator/alch-infinite-scroll.directive.test.js → components/bst-infinite-scroll.directive.test.js} +3 -3
- data/test/{incubator/alch-menu.directive.test.js → components/bst-menu.directive.test.js} +6 -6
- data/test/{incubator/alch-modal.directive.test.js → components/bst-modal.directive.test.js} +3 -3
- data/test/{incubator/nutupane-table.directive.test.js → components/bst-nutupane-table.directive.test.js} +1 -1
- data/test/{incubator/alch-table.directive.test.js → components/bst-table.directive.test.js} +21 -21
- data/test/{incubator/format → components/formatters}/array-to-string.filter.test.js +1 -1
- data/test/{incubator/format → components/formatters}/boolean-to-yes-no.filter.test.js +1 -1
- data/test/{incubator/format → components/formatters}/capitalize.filter.test.js +1 -1
- data/test/{incubator/format → components/formatters}/key-value-to-string.filter.test.js +1 -1
- data/test/{incubator/format → components/formatters}/unlimited-filter.filter.test.js +1 -1
- data/test/{incubator → components}/nutupane.factory.test.js +1 -1
- data/test/{widgets → components}/page-title.directive.test.js +1 -1
- data/test/{widgets → components}/page-title.service.test.js +1 -1
- data/test/{widgets → components}/path-selector.directive.test.js +2 -2
- metadata +105 -113
- data/app/assets/javascripts/bastion/incubator/stylesheets/alch-edit.scss +0 -34
- data/app/assets/javascripts/bastion/incubator/stylesheets/header.scss +0 -207
- data/app/assets/javascripts/bastion/widgets/widgets.module.js +0 -24
- data/vendor/assets/javascripts/bastion/alchemy/alchemy.js +0 -20
- data/vendor/assets/stylesheets/bastion/alchemy/_colors.scss +0 -99
- data/vendor/assets/stylesheets/bastion/alchemy/_media_object.scss +0 -22
- data/vendor/assets/stylesheets/bastion/alchemy/_mixins.scss +0 -24
- data/vendor/assets/stylesheets/bastion/alchemy/_normalize.scss +0 -396
- data/vendor/assets/stylesheets/bastion/alchemy/_vars.scss +0 -31
- data/vendor/assets/stylesheets/bastion/alchemy/alchemy.scss +0 -8
data/app/assets/javascripts/bastion/{incubator/format → components/formatters}/capitalize.filter.js
RENAMED
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @ngdoc filter
|
16
|
-
* @name
|
16
|
+
* @name Bastion.components.formatters.filter:capitalize
|
17
17
|
*
|
18
18
|
* @description
|
19
19
|
* A filter to capitalize the initial letter of a string.
|
@@ -21,7 +21,7 @@
|
|
21
21
|
* @example
|
22
22
|
* {{ 'blah' | capitalize }} will produce the string "Blah".
|
23
23
|
*/
|
24
|
-
angular.module('
|
24
|
+
angular.module('Bastion.components.formatters').filter('capitalize', function () {
|
25
25
|
return function (input) {
|
26
26
|
var capitalized = input;
|
27
27
|
if (angular.isString(input)) {
|
@@ -13,9 +13,9 @@
|
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @ngdoc module
|
16
|
-
* @name
|
16
|
+
* @name Bastion.components.formatters.format
|
17
17
|
*
|
18
18
|
* @description
|
19
19
|
* Module for formatting related functionality, primarily filters.
|
20
20
|
*/
|
21
|
-
angular.module('
|
21
|
+
angular.module('Bastion.components.formatters', ['ngSanitize']);
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @ngdoc filter
|
16
|
-
* @name
|
16
|
+
* @name Bastion.components.formatters.filter:keyValueToString
|
17
17
|
*
|
18
18
|
* @description
|
19
19
|
*
|
@@ -21,7 +21,7 @@
|
|
21
21
|
* @example
|
22
22
|
*
|
23
23
|
*/
|
24
|
-
angular.module('
|
24
|
+
angular.module('Bastion.components.formatters').filter('keyValueToString', [function () {
|
25
25
|
return function (toFormat, options) {
|
26
26
|
var keyName, valueName, separator;
|
27
27
|
options = options || {};
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @ngdoc filter
|
16
|
-
* @name
|
16
|
+
* @name Bastion.components.formatters.filter:unlimitedFilter
|
17
17
|
*
|
18
18
|
* @description
|
19
19
|
* Used to format a display value as either a number or the translate text "Unlimited"
|
@@ -22,14 +22,14 @@
|
|
22
22
|
* @example
|
23
23
|
* {{ hostCollection.max_content_hosts | unlimitedFilter:hostCollection.unlimited_content_hosts }}
|
24
24
|
*/
|
25
|
-
angular.module('
|
25
|
+
angular.module('Bastion.components.formatters').filter('unlimitedFilter', ['translate', function (translate) {
|
26
26
|
return function (displayValue, unlimited) {
|
27
27
|
if (unlimited || displayValue === -1) {
|
28
28
|
displayValue = translate("Unlimited");
|
29
29
|
} else if (displayValue) {
|
30
30
|
displayValue = displayValue.toString();
|
31
31
|
}
|
32
|
-
|
32
|
+
|
33
33
|
return displayValue;
|
34
34
|
};
|
35
35
|
}]);
|
@@ -9,7 +9,7 @@
|
|
9
9
|
*
|
10
10
|
* @example
|
11
11
|
*/
|
12
|
-
angular.module('
|
12
|
+
angular.module('Bastion.components').directive('nutupaneTable', ['$compile', function ($compile) {
|
13
13
|
return {
|
14
14
|
restrict: 'A',
|
15
15
|
link: function (scope, element) {
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @ngdoc service
|
16
|
-
* @name Bastion.
|
16
|
+
* @name Bastion.components.service:Nutupane
|
17
17
|
*
|
18
18
|
* @requires $location
|
19
19
|
* @requires $q
|
@@ -40,7 +40,7 @@
|
|
40
40
|
);
|
41
41
|
</pre>
|
42
42
|
*/
|
43
|
-
angular.module('Bastion.
|
43
|
+
angular.module('Bastion.components').factory('Nutupane',
|
44
44
|
['$location', '$q', '$timeout', function ($location, $q, $timeout) {
|
45
45
|
var Nutupane = function (resource, params, action) {
|
46
46
|
var self = this;
|
@@ -13,14 +13,14 @@
|
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @ngdoc directive
|
16
|
-
* @name Bastion.
|
16
|
+
* @name Bastion.components.directive:title
|
17
17
|
*
|
18
18
|
* @requires PageTitle
|
19
19
|
*
|
20
20
|
* @description
|
21
21
|
* Provides a way to set the title of the page.
|
22
22
|
*/
|
23
|
-
angular.module('Bastion.
|
23
|
+
angular.module('Bastion.components').directive('pageTitle', ['PageTitle', function (PageTitle) {
|
24
24
|
return {
|
25
25
|
templateUrl: '',
|
26
26
|
replace: true,
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @ngdoc service
|
16
|
-
* @name Bastion.
|
16
|
+
* @name Bastion.components.service:PageTitle
|
17
17
|
*
|
18
18
|
* @requires $window
|
19
19
|
* @requires $interpolate
|
@@ -21,7 +21,7 @@
|
|
21
21
|
* @description
|
22
22
|
* Service to set the title of the page and maintain a
|
23
23
|
*/
|
24
|
-
angular.module('Bastion.
|
24
|
+
angular.module('Bastion.components').service('PageTitle', ['$window', '$interpolate',
|
25
25
|
function ($window, $interpolate) {
|
26
26
|
this.titles = [];
|
27
27
|
|
@@ -13,7 +13,7 @@
|
|
13
13
|
|
14
14
|
/**
|
15
15
|
* @ngdoc directive
|
16
|
-
* @name Bastion.
|
16
|
+
* @name Bastion.components.directive:pathSelector
|
17
17
|
*
|
18
18
|
* @description
|
19
19
|
* Provides a widget that renders a set of paths visually and allows
|
@@ -21,7 +21,7 @@
|
|
21
21
|
*
|
22
22
|
* @example
|
23
23
|
*/
|
24
|
-
angular.module('Bastion.
|
24
|
+
angular.module('Bastion.components').directive('pathSelector',
|
25
25
|
function () {
|
26
26
|
return {
|
27
27
|
restrict: 'AE',
|
@@ -33,7 +33,7 @@ angular.module('Bastion.widgets').directive('pathSelector',
|
|
33
33
|
disableTrigger: '=',
|
34
34
|
pathAttribute: '@'
|
35
35
|
},
|
36
|
-
templateUrl: '
|
36
|
+
templateUrl: 'components/views/path-selector.html',
|
37
37
|
link: function (scope, element, attrs, ngModel) {
|
38
38
|
var activeItemId, convertPathObjects, selectionRequired;
|
39
39
|
selectionRequired = attrs['selectionRequired'] ? attrs['selectionRequired'] === 'true' : true;
|
File without changes
|
@@ -10,7 +10,7 @@
|
|
10
10
|
ng-class="{'menu-anchor' : item.type, 'dropdown-item-link-active' : item.active }">
|
11
11
|
<span class="fl">{{ item.display }}</span>
|
12
12
|
<i class="icon-caret-right flyout-indicator" ng-show="item.type=='flyout'"></i> </a>
|
13
|
-
<ul
|
13
|
+
<ul bst-flyout="item.items"
|
14
14
|
ng-if="item.type == 'flyout'"
|
15
15
|
ng-show="item.active"
|
16
16
|
ng-class="{ 'dropdown-active' : dropdown.show }">
|
File without changes
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="
|
1
|
+
<div class="bst-dialog bst-multiselect" ng-class="{open: editMode, closed: !editMode}">
|
2
2
|
<i class="icon-remove fr" ng-click="editMode = false" ng-show="editMode"></i>
|
3
3
|
<form ng-show="editMode" role="form">
|
4
4
|
<h5 translate>Existing Items</h5>
|
@@ -13,5 +13,5 @@
|
|
13
13
|
</li>
|
14
14
|
</ul>
|
15
15
|
</form>
|
16
|
-
<div
|
16
|
+
<div bst-edit></div>
|
17
17
|
</div>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<div class="
|
1
|
+
<div class="bst-edit">
|
2
2
|
<div class="value" ng-class="{ 'editable' : !readonly }" ng-click="edit()" ng-hide="editMode || workingMode">
|
3
3
|
<span class="fr">
|
4
4
|
<i class="icon-edit inline-icon" ng-hide="editMode || readonly"></i>
|
@@ -9,10 +9,10 @@
|
|
9
9
|
|
10
10
|
<span ng-switch on="buttonConfig">
|
11
11
|
<div ng-switch-when="addRemove">
|
12
|
-
<div ng-include="'
|
12
|
+
<div ng-include="'components/views/bst-edit-add-remove-cancel.html'"></div>
|
13
13
|
</div>
|
14
14
|
<div ng-switch-default>
|
15
|
-
<div ng-include="'
|
15
|
+
<div ng-include="'components/views/bst-edit-save-cancel.html'"></div>
|
16
16
|
</div>
|
17
17
|
</span>
|
18
18
|
</div>
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,50 +1,50 @@
|
|
1
1
|
msgid ""
|
2
2
|
msgstr ""
|
3
3
|
|
4
|
-
#: app/assets/bastion/
|
5
|
-
#: app/assets/bastion/
|
4
|
+
#: app/assets/bastion/components/views/bst-confirm-modal.html
|
5
|
+
#: app/assets/bastion/components/views/bst-confirm.html
|
6
6
|
#: app/assets/bastion/systems/views/bulk-actions-list.html
|
7
7
|
msgid "Yes"
|
8
8
|
msgstr ""
|
9
9
|
|
10
|
-
#: app/assets/bastion/
|
11
|
-
#: app/assets/bastion/
|
10
|
+
#: app/assets/bastion/components/views/bst-confirm-modal.html
|
11
|
+
#: app/assets/bastion/components/views/bst-confirm.html
|
12
12
|
#: app/assets/bastion/systems/views/bulk-actions-list.html
|
13
13
|
msgid "No"
|
14
14
|
msgstr ""
|
15
15
|
|
16
|
-
#: app/assets/bastion/
|
16
|
+
#: app/assets/bastion/components/views/bst-edit-add-item.html
|
17
17
|
msgid "Add New Item"
|
18
18
|
msgstr ""
|
19
19
|
|
20
|
-
#: app/assets/bastion/
|
21
|
-
#: app/assets/bastion/
|
22
|
-
#: app/assets/bastion/
|
20
|
+
#: app/assets/bastion/components/views/bst-edit-add-item.html
|
21
|
+
#: app/assets/bastion/components/views/bst-edit-add-remove-cancel.html
|
22
|
+
#: app/assets/bastion/components/views/bst-edit-save-cancel.html
|
23
23
|
#: app/assets/bastion/systems/views/bulk-actions-list.html
|
24
24
|
msgid "Working"
|
25
25
|
msgstr ""
|
26
26
|
|
27
|
-
#: app/assets/bastion/
|
28
|
-
#: app/assets/bastion/
|
27
|
+
#: app/assets/bastion/components/views/bst-edit-add-item.html
|
28
|
+
#: app/assets/bastion/components/views/bst-edit-add-remove-cancel.html
|
29
29
|
msgid "Add"
|
30
30
|
msgstr ""
|
31
31
|
|
32
|
-
#: app/assets/bastion/
|
32
|
+
#: app/assets/bastion/components/views/bst-edit-add-item.html
|
33
33
|
msgid "Key"
|
34
34
|
msgstr ""
|
35
35
|
|
36
|
-
#: app/assets/bastion/
|
36
|
+
#: app/assets/bastion/components/views/bst-edit-add-item.html
|
37
37
|
msgid "Value"
|
38
38
|
msgstr ""
|
39
39
|
|
40
|
-
#: app/assets/bastion/
|
40
|
+
#: app/assets/bastion/components/views/bst-edit-add-remove-cancel.html
|
41
41
|
#: app/assets/bastion/systems/content/views/system-packages.html
|
42
42
|
#: app/assets/bastion/systems/views/bulk-actions-list.html
|
43
43
|
msgid "Remove"
|
44
44
|
msgstr ""
|
45
45
|
|
46
|
-
#: app/assets/bastion/
|
47
|
-
#: app/assets/bastion/
|
46
|
+
#: app/assets/bastion/components/views/bst-edit-add-remove-cancel.html
|
47
|
+
#: app/assets/bastion/components/views/bst-edit-save-cancel.html
|
48
48
|
#: app/assets/bastion/products/views/discovery.html
|
49
49
|
#: app/assets/bastion/products/views/new-form.html
|
50
50
|
#: app/assets/bastion/providers/views/new.html
|
@@ -52,11 +52,11 @@ msgstr ""
|
|
52
52
|
msgid "Cancel"
|
53
53
|
msgstr ""
|
54
54
|
|
55
|
-
#: app/assets/bastion/
|
55
|
+
#: app/assets/bastion/components/views/bst-edit-multiselect.html
|
56
56
|
msgid "Existing Items"
|
57
57
|
msgstr ""
|
58
58
|
|
59
|
-
#: app/assets/bastion/
|
59
|
+
#: app/assets/bastion/components/views/bst-edit-multiselect.html
|
60
60
|
#: app/assets/bastion/products/views/discovery.html
|
61
61
|
#: app/assets/bastion/products/views/product-repositories.html
|
62
62
|
#: app/assets/bastion/systems/content/views/system-errata.html
|
@@ -66,7 +66,7 @@ msgstr ""
|
|
66
66
|
msgid "Filter"
|
67
67
|
msgstr ""
|
68
68
|
|
69
|
-
#: app/assets/bastion/
|
69
|
+
#: app/assets/bastion/components/views/bst-edit-save-cancel.html
|
70
70
|
msgid "Save"
|
71
71
|
msgstr ""
|
72
72
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
<section>
|
2
|
-
<div data-block="messages"
|
2
|
+
<div data-block="messages" bst-alert success-messages="successMessages" error-messages="errorMessages"></div>
|
3
3
|
|
4
4
|
<h4>
|
5
5
|
<span data-block="header"></span>
|
@@ -20,7 +20,7 @@
|
|
20
20
|
class="form-control"
|
21
21
|
placeholder="{{ 'Search...' | translate }}"
|
22
22
|
ng-model="detailsTable.searchTerm"
|
23
|
-
on-enter="detailsTable.search(detailsTable.searchTerm)"/>
|
23
|
+
bst-on-enter="detailsTable.search(detailsTable.searchTerm)"/>
|
24
24
|
<span class="input-group-btn">
|
25
25
|
<button ng-click="detailsTable.search(detailsTable.searchTerm)" class="btn btn-default" type="button"><i class="icon-search"></i></button>
|
26
26
|
</span>
|
@@ -50,9 +50,9 @@
|
|
50
50
|
<span translate>Working...</span>
|
51
51
|
</div>
|
52
52
|
|
53
|
-
<div class="nutupane"
|
53
|
+
<div class="nutupane" bst-table="detailsTable" nutupane-table>
|
54
54
|
|
55
|
-
<div
|
55
|
+
<div bst-container-scroll bst-infinite-scroll="detailsTable.nextPage()"
|
56
56
|
data="detailsTable.rows" skip-initial-load="!detailsTable.initialLoad">
|
57
57
|
|
58
58
|
<div class="nutupane-select-all" ng-show="detailsTable.selectAllResultsEnabled && detailsTable.allSelected() && !detailsTable.allResultsSelected">
|
@@ -1,6 +1,6 @@
|
|
1
1
|
<section>
|
2
2
|
|
3
|
-
<div data-block="messages"
|
3
|
+
<div data-block="messages" bst-alert error-messages="errorMessages" success-messages="successMessages"></div>
|
4
4
|
|
5
5
|
<div class="row nutupane-bar">
|
6
6
|
<h2 class="col-sm-2">
|
@@ -17,7 +17,7 @@
|
|
17
17
|
class="form-control"
|
18
18
|
placeholder="{{ 'Search...' | translate }}"
|
19
19
|
ng-model="table.searchTerm"
|
20
|
-
on-enter="table.search(table.searchTerm)"/>
|
20
|
+
bst-on-enter="table.search(table.searchTerm)"/>
|
21
21
|
<span class="input-group-btn">
|
22
22
|
<button ng-click="table.search(table.searchTerm)" class="btn btn-default" type="button"><i class="icon-search"></i></button>
|
23
23
|
</span>
|
@@ -40,13 +40,13 @@
|
|
40
40
|
|
41
41
|
</div>
|
42
42
|
|
43
|
-
<div class="row nutupane"
|
43
|
+
<div class="row nutupane" bst-table="table" nutupane-table ng-class="{'table-reduced': $root.$state.current.collapsed}">
|
44
44
|
<div class="loading-mask" ng-show="table.working" ng-class="{ 'loading-mask-collapsed': $root.$state.current.collapsed }">
|
45
45
|
<i class="icon-spinner icon-spin"></i>
|
46
46
|
<span ng-hide="$root.$state.current.collapsed">{{ "Loading..." | translate }}</span>
|
47
47
|
</div>
|
48
48
|
|
49
|
-
<div
|
49
|
+
<div bst-container-scroll control-width="table" bst-infinite-scroll="table.nextPage()" data="table.rows">
|
50
50
|
<div ui-view="table"></div>
|
51
51
|
</div>
|
52
52
|
</div>
|