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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzcxMzc5YzQ4ODkwM2ZmYjg2ZDc3OTEzMmU2NmQxZmYzYjBhMWVhOA==
4
+ ZTMwYjM5MTBmNmNlYWY4YTkwMjMxMmJiZDUxZWY3ZmZmNjQ3ODhmNg==
5
5
  data.tar.gz: !binary |-
6
- YmJhMTU4MTFiNWEzMjhlOTkyM2Y5ZWU0OWUyMzFlOGQxYzdhMDUyMA==
6
+ MTY3YWJmNzViMjJjNzE4MTEyMDFkZmExNjU2YTRhYzI5ZWZkMzI2ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OGE5M2NhNWVjMWNkNzU5NWQzY2RkZTA4YjliZTRjY2RlZWY1YWRiZTczYzhh
10
- ZmY5M2RjYWU3ZmZjYjAwYzljMTBjODUwMWQ2NTRjMzM1OGE1MzFlMDMzMTI4
11
- ZjZlZjdmNTE5MjViOTJiNTU5MWYyMGY1MGI1YzgzOWFhMzNkNDM=
9
+ MTU4OTY3ZDM3NzljNzVkOGE4NGM0Y2ViMDViODI1NTNkMmVmMzE2NTkyMmZh
10
+ NGFkMjc1OGI4MWE4ZjE2OTgyZWFiODk4Y2UwMjIwMGQ3NjJhOWJjNzRlZjU3
11
+ NmI3NGNmOWJjZTg1MzdjOGE1NDEwNjY0MTBkNmJlMTM1MmFiMWI=
12
12
  data.tar.gz: !binary |-
13
- ZmY1M2FjMWQ0OGU0YTczNGViMDBkZTYyMTVkMjc0YTU1NDMyNTc3MmY5MTBk
14
- ZGZiMDkzN2I4ZTE5Yzc2Yjg0YTE2YTRiYzlkMzk0MjA0ZDBkZGZlNzNmNTM4
15
- MzY2OGMzNDM4YjM5Y2EwMmY5ZjI1MTI1NTM5NjVkYzc2ZmZiM2I=
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 (path.slice(0, '/katello'.length) === '/katello') {
71
+ if (/^\/katello($|\/)/.test(path)) {
73
72
  $window.location.href = $location.url();
74
73
  $window.location.reload();
75
74
  }
@@ -243,6 +243,7 @@ angular.module('alchemy')
243
243
  scope: {
244
244
  model: '=alchEditSelect',
245
245
  displayValueDefault: '=displayValueDefault',
246
+ formatter: '@formatter',
246
247
  readonly: '=',
247
248
  selector: '=',
248
249
  handleOptions: '&options',
@@ -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(table.searchTerm)"/>
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(searchTerm);
217
+ self.query();
217
218
  }
218
219
  };
219
220
 
@@ -157,6 +157,11 @@ td.row-select {
157
157
  word-wrap: break-word;
158
158
  }
159
159
 
160
+ .info-paragraph {
161
+ padding-left: 0px;
162
+ white-space: pre;
163
+ }
164
+
160
165
  .detail:not(:last-child) {
161
166
  margin-bottom: 5px;
162
167
  }
@@ -1,3 +1,3 @@
1
1
  module Bastion
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-17 00:00:00.000000000 Z
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