bastion 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/assets/javascripts/bastion/bastion.module.js +1 -2
- data/app/assets/javascripts/bastion/incubator/alch-edit.directive.js +1 -0
- data/app/assets/javascripts/bastion/layouts/details-nutupane.html +6 -2
- data/app/assets/javascripts/bastion/widgets/nutupane.factory.js +2 -1
- data/app/assets/stylesheets/bastion/nutupane.less +5 -0
- data/lib/bastion/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZTMwYjM5MTBmNmNlYWY4YTkwMjMxMmJiZDUxZWY3ZmZmNjQ3ODhmNg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
MTY3YWJmNzViMjJjNzE4MTEyMDFkZmExNjU2YTRhYzI5ZWZkMzI2ZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MTU4OTY3ZDM3NzljNzVkOGE4NGM0Y2ViMDViODI1NTNkMmVmMzE2NTkyMmZh
|
10
|
+
NGFkMjc1OGI4MWE4ZjE2OTgyZWFiODk4Y2UwMjIwMGQ3NjJhOWJjNzRlZjU3
|
11
|
+
NmI3NGNmOWJjZTg1MzdjOGE1NDEwNjY0MTBkNmJlMTM1MmFiMWI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWJhYjI4MmJmYmYwODJmODIzMDczMTRmODUwYzAyMjJhZjQ5MmFjMjE2MWU2
|
14
|
+
ZDBhOWY0NjE2MTNkYmVhMzFlM2ExMTU1ZTk5ZjU1MzIwMzUxMDY4YjkyOWYy
|
15
|
+
Yzc4NDg1YzhkMzMyZjU2MWE1ZGQ3OTAxMWUxODllOTk3ZDJkZTc=
|
@@ -21,7 +21,6 @@
|
|
21
21
|
*/
|
22
22
|
angular.module('Bastion', [
|
23
23
|
'ui.router',
|
24
|
-
'ngResource',
|
25
24
|
'Bastion.i18n',
|
26
25
|
'Bastion.widgets'
|
27
26
|
]);
|
@@ -69,7 +68,7 @@ angular.module('Bastion').config(
|
|
69
68
|
$window.location.href = oldBrowserBastionPath + $location.path();
|
70
69
|
}
|
71
70
|
|
72
|
-
if (
|
71
|
+
if (/^\/katello($|\/)/.test(path)) {
|
73
72
|
$window.location.href = $location.url();
|
74
73
|
$window.location.reload();
|
75
74
|
}
|
@@ -5,6 +5,10 @@
|
|
5
5
|
<span data-block="header"></span>
|
6
6
|
</h4>
|
7
7
|
|
8
|
+
<div>
|
9
|
+
<span data-block="filters"></span>
|
10
|
+
</div>
|
11
|
+
|
8
12
|
<div class="row nutupane-bar">
|
9
13
|
<div class="col-sm-3">
|
10
14
|
<div data-block="search">
|
@@ -13,7 +17,7 @@
|
|
13
17
|
class="form-control"
|
14
18
|
placeholder="{{ 'Search...' | translate }}"
|
15
19
|
ng-model="detailsTable.searchTerm"
|
16
|
-
on-enter="detailsTable.search(
|
20
|
+
on-enter="detailsTable.search(detailsTable.searchTerm)"/>
|
17
21
|
<span class="input-group-btn">
|
18
22
|
<button ng-click="detailsTable.search(detailsTable.searchTerm)" class="btn btn-default" type="button"><i class="icon-search"></i></button>
|
19
23
|
</span>
|
@@ -53,7 +57,7 @@
|
|
53
57
|
|
54
58
|
<div class="nutupane" alch-table="detailsTable" nutupane-table>
|
55
59
|
|
56
|
-
<div alch-container-scroll alch-infinite-scroll="detailsTable.nextPage()"
|
60
|
+
<div alch-container-scroll alch-infinite-scroll="detailsTable.nextPage()"
|
57
61
|
data="detailsTable.rows" skip-initial-load="!detailsTable.initialLoad">
|
58
62
|
|
59
63
|
<div class="nutupane-select-all" ng-show="detailsTable.selectAllResultsEnabled && detailsTable.allSelected() && !detailsTable.allResultsSelected">
|
@@ -207,13 +207,14 @@ angular.module('Bastion.widgets').factory('Nutupane',
|
|
207
207
|
|
208
208
|
self.table.search = function (searchTerm) {
|
209
209
|
$location.search(self.searchKey, searchTerm);
|
210
|
+
self.table.searchTerm = searchTerm;
|
210
211
|
self.table.resource.page = 1;
|
211
212
|
self.table.rows = [];
|
212
213
|
self.table.closeItem();
|
213
214
|
self.table.selectAllResults(false);
|
214
215
|
|
215
216
|
if (!self.table.working) {
|
216
|
-
self.query(
|
217
|
+
self.query();
|
217
218
|
}
|
218
219
|
};
|
219
220
|
|
data/lib/bastion/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bastion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katello
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: angular-rails-templates
|