bastion 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/app/assets/stylesheets/bastion/bastion.less +0 -3
- data/app/assets/stylesheets/bastion/nutupane.less +1 -0
- data/lib/bastion/engine.rb +5 -2
- data/lib/bastion/version.rb +1 -1
- data/lib/bastion.rb +7 -2
- metadata +2 -5
- data/app/assets/stylesheets/bastion/gpg-keys.less +0 -36
- data/app/assets/stylesheets/bastion/systems.less +0 -35
- data/app/assets/stylesheets/bastion/tasks.less +0 -23
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
OGVmMDYxNTNjY2M0ODgwMzA1ZWUzNWE1ZjM0NTMxZDY3ODM2YjI5Nw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
Yzc3MTFkODhmMDI0MzhjZDRhMjFlZDc5OWNmMzhlZGY2MDAzZjZjYg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
YmE4ZTg3YmJiYWNiZjQzYzAxNjNkNTc5NWU4ZWM1NWJlNWRlNGVlYmI0ZmIz
|
10
|
+
YzA5MjAxZDZiZTA0ZDFhMjM1NDkzMjQ2NTdjYzZmZTg5MzNkZTc3YmZlNzkw
|
11
|
+
ZGUzYTdmMWNlZGQ1OGJhMDg1ZTQ4Y2IyYWJmNTBlY2UyOTZiNDM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MDM2MDliMjVmMzIyY2Y5ZGRhMzdkM2Y4YzE0NzliNjE0YmE5Y2JkY2I5NzNh
|
14
|
+
OWIwZWI1MmY5YjVkNzUxNDZiM2NmOWM4OTUxMWZmNWRhNjMwNGM1ZDFhYTMw
|
15
|
+
Y2ZjMTQ0NTM2NTFmMWQwMzI2OWM4ZWIwZTYwODQ2YWJlYjk2YmQ=
|
@@ -9,12 +9,9 @@
|
|
9
9
|
@import "mixins";
|
10
10
|
@import "variables";
|
11
11
|
@import "nutupane";
|
12
|
-
@import "systems";
|
13
|
-
@import "tasks";
|
14
12
|
@import "overrides";
|
15
13
|
@import "helpers";
|
16
14
|
@import "./forms";
|
17
|
-
@import "gpg-keys";
|
18
15
|
@import "animations";
|
19
16
|
@import "path-selector";
|
20
17
|
@import "typography";
|
data/lib/bastion/engine.rb
CHANGED
@@ -15,8 +15,11 @@ module Bastion
|
|
15
15
|
end
|
16
16
|
|
17
17
|
initializer "bastion.assets.paths", :group => :all do |app|
|
18
|
-
|
19
|
-
|
18
|
+
if defined? Less::Rails
|
19
|
+
app.config.less.paths << "#{Bastion::Engine.root}/app/assets/stylesheets/bastion"
|
20
|
+
app.config.less.paths << "#{Bastion::Engine.root}/vendor/assets/stylesheets/bastion"
|
21
|
+
end
|
22
|
+
|
20
23
|
app.middleware.use ::ActionDispatch::Static, "#{Bastion::Engine.root}/app/assets/javascripts/bastion"
|
21
24
|
|
22
25
|
SETTINGS[:bastion] = {
|
data/lib/bastion/version.rb
CHANGED
data/lib/bastion.rb
CHANGED
@@ -1,7 +1,12 @@
|
|
1
|
-
|
2
|
-
|
1
|
+
# to make Foreman#in_rake? helper available if Foreman's lib is available
|
2
|
+
lib_foreman = File.expand_path('lib/foreman', Rails.root)
|
3
|
+
require lib_foreman unless !Dir.exist?(lib_foreman)
|
4
|
+
|
5
|
+
require 'less-rails' if !Rails.env.production? || Foreman.in_rake?
|
3
6
|
require 'angular-rails-templates'
|
4
7
|
|
8
|
+
require File.expand_path('bastion/engine', File.dirname(__FILE__))
|
9
|
+
|
5
10
|
module Bastion
|
6
11
|
|
7
12
|
@@plugins = {};
|
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.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Katello
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-10-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: less-rails
|
@@ -121,14 +121,11 @@ files:
|
|
121
121
|
- app/assets/stylesheets/bastion/animations.less
|
122
122
|
- app/assets/stylesheets/bastion/bastion.less
|
123
123
|
- app/assets/stylesheets/bastion/forms.less
|
124
|
-
- app/assets/stylesheets/bastion/gpg-keys.less
|
125
124
|
- app/assets/stylesheets/bastion/helpers.less
|
126
125
|
- app/assets/stylesheets/bastion/mixins.less
|
127
126
|
- app/assets/stylesheets/bastion/nutupane.less
|
128
127
|
- app/assets/stylesheets/bastion/overrides.less
|
129
128
|
- app/assets/stylesheets/bastion/path-selector.less
|
130
|
-
- app/assets/stylesheets/bastion/systems.less
|
131
|
-
- app/assets/stylesheets/bastion/tasks.less
|
132
129
|
- app/assets/stylesheets/bastion/typography.less
|
133
130
|
- app/assets/stylesheets/bastion/variables.less
|
134
131
|
- app/controllers/bastion/bastion_controller.rb
|
@@ -1,36 +0,0 @@
|
|
1
|
-
.form {
|
2
|
-
.gpg-textarea {
|
3
|
-
width: 560px;
|
4
|
-
height: 300px;
|
5
|
-
font-family:Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,
|
6
|
-
Bitstream Vera Sans Mono,Courier New,monospace;
|
7
|
-
}
|
8
|
-
}
|
9
|
-
.gpg-details.details {
|
10
|
-
width: 82%;
|
11
|
-
}
|
12
|
-
.gpg-alch-edit {
|
13
|
-
.editable-value {
|
14
|
-
float: left;
|
15
|
-
}
|
16
|
-
.alch-edit{
|
17
|
-
.value {
|
18
|
-
width: 520px;
|
19
|
-
font-family: Consolas,Monaco,Lucida Console,Liberation Mono,DejaVu Sans Mono,
|
20
|
-
Bitstream Vera Sans Mono,Courier New,monospace;
|
21
|
-
word-break: break-all;
|
22
|
-
word-wrap: break-word;
|
23
|
-
white-space: pre-wrap;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
textarea {
|
27
|
-
.form.gpg-textarea;
|
28
|
-
}
|
29
|
-
|
30
|
-
.value.editable {
|
31
|
-
.fr {
|
32
|
-
margin-top:-80px;
|
33
|
-
}
|
34
|
-
}
|
35
|
-
|
36
|
-
}
|
@@ -1,35 +0,0 @@
|
|
1
|
-
html.custom-information {
|
2
|
-
.form input {
|
3
|
-
width: 200px;
|
4
|
-
}
|
5
|
-
|
6
|
-
button {
|
7
|
-
vertical-align: middle;
|
8
|
-
}
|
9
|
-
|
10
|
-
.existing-items {
|
11
|
-
margin-top: 25px;
|
12
|
-
}
|
13
|
-
|
14
|
-
.details-container {
|
15
|
-
max-height: 250px;
|
16
|
-
overflow-y: auto;
|
17
|
-
padding: 15px;
|
18
|
-
}
|
19
|
-
|
20
|
-
.info-value {
|
21
|
-
display: inline-block;
|
22
|
-
}
|
23
|
-
}
|
24
|
-
|
25
|
-
.system-subscriptions {
|
26
|
-
margin-top: 35px;
|
27
|
-
}
|
28
|
-
|
29
|
-
.filter-options {
|
30
|
-
clear: both;
|
31
|
-
|
32
|
-
.filter-option {
|
33
|
-
padding: 5px;
|
34
|
-
}
|
35
|
-
}
|
@@ -1,23 +0,0 @@
|
|
1
|
-
table div.progress {
|
2
|
-
margin-bottom: 0;
|
3
|
-
}
|
4
|
-
|
5
|
-
table.tasks-table th.task-status {
|
6
|
-
width: 10%;
|
7
|
-
}
|
8
|
-
|
9
|
-
table.tasks-table th.task-user {
|
10
|
-
width: 15%;
|
11
|
-
}
|
12
|
-
|
13
|
-
.task-details {
|
14
|
-
.nutupane-details;
|
15
|
-
left: 0;
|
16
|
-
width: 100%;
|
17
|
-
box-shadow: none;
|
18
|
-
}
|
19
|
-
|
20
|
-
.current-tasks {
|
21
|
-
width: 50em;
|
22
|
-
padding-left: 1em;
|
23
|
-
}
|