bastion 0.1.5 → 0.1.6

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
- YjViY2M5MmQwYjA4ZTc2NGRlZWFmMjQ1ZThmYTg4ZmU0YzRjZTM5NA==
4
+ Y2MxYTYwZThlNTkzZGQ1NDY3MDc0YWRjN2Q4YzMwZTY5ZDgxZGJjYw==
5
5
  data.tar.gz: !binary |-
6
- ZjUzODcyYjZlODFmODNlNWZkN2Q5ZjM2NzlkZmY0OGE5NWVkNTk4Mw==
6
+ ZGQ5ODY1YzAzNmVmY2IyMDJkZjYwODllMzg2NjY4YTQxYmRkN2IxYQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- NWFkMzY5NDlkMWY2N2NhNDI1YWFkMmJiOTAyY2IyOGVkNjdiNWViYmNlMmE0
10
- ZWE0MmNiMzk5OGFkNTNkZTY2YjVmN2JjZDIxYzI0YjExYTJhOThlNjgxYjhi
11
- YTc3ZjQ3NzIzY2RlZTdiYzc0MTc1Y2FkYzMxNDM3ZGIxOTQ1NGU=
9
+ MDU4Y2U4NzUyNThmMjEzNTdiN2ZjMmJmNjkyMTFlYmQwMjI3YmM1MThmZDQ2
10
+ MmU1OTEzOTU4MDZkMzkxNzY1ZWI2ZGI1NmIzMTQ4ZGY0YTdhZTY1ZjQyNzQw
11
+ YTQ4NjdlY2EwMzYyMmZkMDE4ZGEwNGE3MDJiNzhhMzhjMmE5YmE=
12
12
  data.tar.gz: !binary |-
13
- M2ZjNWY0NDNkYWE0YzRmYjAyMmFlOWU4ZTU2OWJmMjFmMWVhNGZjNmJlMzVh
14
- ZmRkZGE1ZDU0NzI4NzY2YjkzOGVlNWViZWNiZDFmODdjZWMxMDkwYWNjZjhm
15
- ZmNmZDc1ZTNlZmJmN2ZlYWZmNjc2YTQ5ZDAyZWU0MjRlOWRhMDk=
13
+ OGE3N2JiNTA1ZjcxYThiYWNhNmQwODNhZTZmOTQxMTVjZDk1Yzg1ZTkxOTA4
14
+ NmRkMzNhNWI4MGJmOWQ3OGQ0MjFmZjRhOTM0NjAwYjdmYzY1MGViOWRmNjQz
15
+ NTdjZjVkOTI0NTJkMTYxODBjYzUzYjVjM2RhNzI3YjJkYzc5N2U=
@@ -21,6 +21,7 @@
21
21
  */
22
22
  angular.module('Bastion', [
23
23
  'ui.router',
24
+ 'ngResource',
24
25
  'Bastion.i18n',
25
26
  'Bastion.widgets'
26
27
  ]);
@@ -9,7 +9,7 @@
9
9
  <span data-block="filters"></span>
10
10
  </div>
11
11
 
12
- <div class="row nutupane-bar">
12
+ <div class="row nutupane-details-bar">
13
13
  <div class="col-sm-3">
14
14
  <div data-block="search">
15
15
  <div class="input-group input-group">
@@ -220,7 +220,9 @@ angular.module('Bastion.widgets').factory('Nutupane',
220
220
 
221
221
  // Must be overridden
222
222
  self.table.closeItem = function () {
223
- throw "NotImplementedError";
223
+ if (!self.masterOnly) {
224
+ throw "Nutupane closeItem not implemented. If you are using Nutupane functionality with master-detail please pass 'masterOnly' to your Nutupane declaration";
225
+ }
224
226
  };
225
227
 
226
228
  self.table.replaceRow = function (row) {
@@ -9,9 +9,12 @@
9
9
  @import "mixins";
10
10
  @import "variables";
11
11
  @import "nutupane";
12
+ @import "systems";
13
+ @import "tasks";
12
14
  @import "overrides";
13
15
  @import "helpers";
14
16
  @import "./forms";
17
+ @import "gpg-keys";
15
18
  @import "animations";
16
19
  @import "path-selector";
17
20
  @import "typography";
@@ -150,8 +153,40 @@
150
153
  float: right;
151
154
  }
152
155
  }
156
+
157
+ .info-blocks {
158
+ margin-top: 20px;
159
+ margin-bottom: 20px;
160
+
161
+ .info-block-head {
162
+ font-size: 18px;
163
+ padding-left: 15px;
164
+ padding-top: 18px;
165
+ background: #F7F7F7;
166
+ }
167
+
168
+ .info-block {
169
+ text-align: center;
170
+ }
171
+ }
172
+
173
+ .details-page {
174
+ padding-top: 20px;
175
+
176
+ h1 {
177
+ margin-bottom: 20px;
178
+ }
179
+
180
+ .nav-tabs {
181
+ margin-bottom: 20px;
182
+ }
183
+ }
153
184
  }
154
185
 
155
186
  .modal.fade.in {
156
187
  display: block;
157
188
  }
189
+
190
+ .bottom-padding{
191
+ padding-bottom: 15px;
192
+ }
File without changes
@@ -1,5 +1,4 @@
1
1
  @import "variables";
2
- @import (reference) "rcue/rcue";
3
2
 
4
3
  .table {
5
4
  table-layout: fixed;
@@ -127,6 +126,12 @@ td.row-select {
127
126
  }
128
127
  }
129
128
 
129
+ .nutupane-details-bar {
130
+ .nutupane-bar;
131
+ background: inherit;
132
+ border: inherit;
133
+ }
134
+
130
135
  .nutupane-select-all {
131
136
  text-align: center;
132
137
  .alert-info;
@@ -1,3 +1,3 @@
1
1
  module Bastion
2
- VERSION = "0.1.5"
2
+ VERSION = "0.1.6"
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.5
4
+ version: 0.1.6
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-21 00:00:00.000000000 Z
11
+ date: 2014-10-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: angular-rails-templates
@@ -120,6 +120,7 @@ files:
120
120
  - app/assets/javascripts/bastion/widgets/widgets.module.js
121
121
  - app/assets/stylesheets/bastion/animations.less
122
122
  - app/assets/stylesheets/bastion/bastion.less
123
+ - app/assets/stylesheets/bastion/details-page.less
123
124
  - app/assets/stylesheets/bastion/forms.less
124
125
  - app/assets/stylesheets/bastion/helpers.less
125
126
  - app/assets/stylesheets/bastion/mixins.less