bastion 3.4.2 → 3.4.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/bastion/layouts/details-page-with-breadcrumbs.html +23 -0
- data/app/assets/javascripts/bastion/layouts/partials/full-row-breadcrumbs.html +5 -0
- data/app/assets/javascripts/bastion/layouts/partials/messages-container.html +17 -0
- data/app/assets/javascripts/bastion/layouts/partials/page-header-with-actions.html +9 -0
- data/app/assets/javascripts/bastion/layouts/partials/page-loading-indicator.html +4 -0
- data/app/assets/javascripts/bastion/layouts/partials/table.html +77 -0
- data/app/assets/javascripts/bastion/layouts/table-with-header.html +15 -0
- data/app/assets/javascripts/bastion/layouts/{two-column.html → two-column-details.html} +1 -1
- data/app/assets/stylesheets/bastion/components.scss +7 -3
- data/app/assets/stylesheets/bastion/overrides.scss +5 -1
- data/lib/bastion/version.rb +1 -1
- metadata +10 -5
- data/app/assets/javascripts/bastion/layouts/page-with-breadcrumbs.html +0 -28
- data/app/assets/javascripts/bastion/layouts/table.html +0 -94
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ba58dae068650035beae8f2007b1ddd3f967889
|
4
|
+
data.tar.gz: 6fa01aaa0311136433dc902adf5871a13c6b34a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ce8eb2f8f1080080b414c339c49ef7a220db1203710a238c3055fb1b1ab993fcfdf24d1825877399fc0d5117950e7542780529fdc4e5a760c50107708e7dbced
|
7
|
+
data.tar.gz: d328c4abad8fd41d5e19c6b95d8c012f2402ff157f06d8d5472b306eac55e161ca8616b45094a86ab6f08a22bfebe4b66eb433cb5a15cd8e7169b408560275ac
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<div data-extend-template="layouts/partials/page-loading-indicator.html"></div>
|
2
|
+
|
3
|
+
<div data-extend-template="layouts/partials/page-header-with-actions.html">
|
4
|
+
<span data-block="header"></span>
|
5
|
+
<span data-block="item-actions"></span>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<div data-extend-template="layouts/partials/full-row-breadcrumbs.html"></div>
|
9
|
+
<div data-extend-template="layouts/partials/messages-container.html"></div>
|
10
|
+
|
11
|
+
<div class="row">
|
12
|
+
<div class="col-sm-12">
|
13
|
+
<nav data-block="navigation"></nav>
|
14
|
+
</div>
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<div class="row">
|
18
|
+
<div class="col-sm-12 page-content">
|
19
|
+
<div ng-hide="page && (page.loading || page.error)">
|
20
|
+
<span data-block="content"></span>
|
21
|
+
</div>
|
22
|
+
</div>
|
23
|
+
</div>
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<div class="row">
|
2
|
+
<div class="col-sm-12">
|
3
|
+
<div bst-global-notification></div>
|
4
|
+
</div>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<div class="row">
|
8
|
+
<div class="col-sm-12">
|
9
|
+
<div bst-alerts success-messages="successMessages" error-messages="errorMessages"></div>
|
10
|
+
</div>
|
11
|
+
</div>
|
12
|
+
|
13
|
+
<div class="row">
|
14
|
+
<div class="col-sm-12">
|
15
|
+
<div data-block="messages"></div>
|
16
|
+
</div>
|
17
|
+
</div>
|
@@ -0,0 +1,77 @@
|
|
1
|
+
<div class="row header-bar">
|
2
|
+
<div class="row">
|
3
|
+
<div class="col-sm-12">
|
4
|
+
<div data-block="search-filter"></div>
|
5
|
+
</div>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<div class="col-sm-3">
|
9
|
+
<div class="input-group input-group">
|
10
|
+
<input type="text"
|
11
|
+
class="form-control"
|
12
|
+
placeholder="{{ 'Filter...' | translate }}"
|
13
|
+
bst-on-enter="table.search(table.searchTerm)"
|
14
|
+
ng-model="table.searchTerm"
|
15
|
+
ng-trim="false"
|
16
|
+
typeahead="item.label for item in table.autocomplete($viewValue)"
|
17
|
+
typeahead-empty
|
18
|
+
typeahead-template-url="components/views/autocomplete-scoped-search.html"/>
|
19
|
+
<span class="input-group-btn">
|
20
|
+
<button class="btn btn-default"
|
21
|
+
type="button"
|
22
|
+
ng-click='table.search("") && (table.searchCompleted = false)'
|
23
|
+
ng-show="table.searchCompleted && table.searchTerm">
|
24
|
+
<i class="fa fa-times"></i>
|
25
|
+
</button>
|
26
|
+
<button ng-click="table.search(table.searchTerm)" class="btn btn-default" type="button">
|
27
|
+
<i class="fa fa-search"></i>
|
28
|
+
<span translate>Search</span>
|
29
|
+
</button>
|
30
|
+
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
31
|
+
<i class="fa fa-caret-down"></i>
|
32
|
+
</button>
|
33
|
+
<ul bst-bookmark controller-name="controllerName" query="table.searchTerm" class="dropdown-menu pull-right"></ul>
|
34
|
+
</span>
|
35
|
+
</div>
|
36
|
+
</div>
|
37
|
+
|
38
|
+
<div class="col-sm-3">
|
39
|
+
<span translate>Showing {{ table.rows.length }} of {{ table.resource.subtotal }} ({{ table.resource.total }} Total)</span>
|
40
|
+
</div>
|
41
|
+
|
42
|
+
<div class="fr">
|
43
|
+
<div class="fl">
|
44
|
+
<div data-block="list-actions"></div>
|
45
|
+
</div>
|
46
|
+
</div>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
<div class="row header-bar" ng-show="table.rowSelect">
|
50
|
+
<div class="fr">
|
51
|
+
<span translate>{{ table.numSelected }} Selected</span>
|
52
|
+
</div>
|
53
|
+
<div class="col-sm-5">
|
54
|
+
<span data-block="filters"></span>
|
55
|
+
</div>
|
56
|
+
</div>
|
57
|
+
|
58
|
+
<div class="row nutupane" bst-table="table" nutupane-table>
|
59
|
+
<div class="loading-mask" ng-show="table.refreshing" >
|
60
|
+
<i class="fa fa-spinner fa-spin"></i>
|
61
|
+
<span>{{ "Loading..." | translate }}</span>
|
62
|
+
</div>
|
63
|
+
|
64
|
+
<p bst-alert="info" ng-show="table.rows.length === 0 && !table.working && !table.searchTerm && !table.searchCompleted">
|
65
|
+
<span data-block="no-rows-message"></span>
|
66
|
+
</p>
|
67
|
+
<p bst-alert="info" ng-show="table.rows.length === 0 && !table.working && (table.searchTerm || table.searchCompleted)">
|
68
|
+
<span data-block="no-search-results-message"></span>
|
69
|
+
</p>
|
70
|
+
|
71
|
+
<div ng-show="table.rows.length > 0" bst-container-scroll data="table.rows">
|
72
|
+
<div infinite-scroll="table.nextPage()" infinite-scroll-container="'.container-scroll-wrapper'"
|
73
|
+
infinite-scroll-listen-for-event="nutupane:loaded">
|
74
|
+
<div data-block="table"></div>
|
75
|
+
</div>
|
76
|
+
</div>
|
77
|
+
</div>
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<section>
|
2
|
+
<div data-extend-template="layouts/partials/page-header-with-actions.html">
|
3
|
+
<span data-block="header"></span>
|
4
|
+
<span data-block="item-actions"></span>
|
5
|
+
</div>
|
6
|
+
|
7
|
+
<div data-extend-template="layouts/partials/messages-container.html"></div>
|
8
|
+
|
9
|
+
<div data-extend-template="layouts/partials/table.html">
|
10
|
+
<span data-block="list-actions"></span>
|
11
|
+
<span data-block="no-rows-message"></span>
|
12
|
+
<span data-block="no-search-results-message"></span>
|
13
|
+
<span data-block="table"></span>
|
14
|
+
</div>
|
15
|
+
</section>
|
@@ -8,13 +8,17 @@
|
|
8
8
|
}
|
9
9
|
}
|
10
10
|
|
11
|
+
.nav.nav-tabs.details-nav {
|
12
|
+
margin-bottom: 10px;
|
13
|
+
}
|
14
|
+
|
11
15
|
.dl-horizontal.dl-horizontal-left {
|
12
16
|
dt {
|
13
17
|
overflow: visible;
|
14
18
|
text-align: left;
|
15
19
|
text-overflow: clip;
|
16
|
-
white-space:
|
17
|
-
width:
|
20
|
+
white-space: inherit;
|
21
|
+
width: 150px;
|
18
22
|
}
|
19
23
|
|
20
24
|
dt:after {
|
@@ -25,4 +29,4 @@
|
|
25
29
|
margin-left: 200px;
|
26
30
|
word-wrap: break-word;
|
27
31
|
}
|
28
|
-
}
|
32
|
+
}
|
data/lib/bastion/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bastion
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eric D Helms
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-11-
|
12
|
+
date: 2016-11-07 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: angular-rails-templates
|
@@ -139,12 +139,17 @@ files:
|
|
139
139
|
- app/assets/javascripts/bastion/i18n/zanata.xml
|
140
140
|
- app/assets/javascripts/bastion/layouts/404.html
|
141
141
|
- app/assets/javascripts/bastion/layouts/details-nutupane.html
|
142
|
+
- app/assets/javascripts/bastion/layouts/details-page-with-breadcrumbs.html
|
142
143
|
- app/assets/javascripts/bastion/layouts/nutupane.html
|
143
|
-
- app/assets/javascripts/bastion/layouts/page-with-breadcrumbs.html
|
144
144
|
- app/assets/javascripts/bastion/layouts/panel.html
|
145
|
+
- app/assets/javascripts/bastion/layouts/partials/full-row-breadcrumbs.html
|
146
|
+
- app/assets/javascripts/bastion/layouts/partials/messages-container.html
|
147
|
+
- app/assets/javascripts/bastion/layouts/partials/page-header-with-actions.html
|
148
|
+
- app/assets/javascripts/bastion/layouts/partials/page-loading-indicator.html
|
149
|
+
- app/assets/javascripts/bastion/layouts/partials/table.html
|
145
150
|
- app/assets/javascripts/bastion/layouts/select-all-results.html
|
146
|
-
- app/assets/javascripts/bastion/layouts/table.html
|
147
|
-
- app/assets/javascripts/bastion/layouts/two-column.html
|
151
|
+
- app/assets/javascripts/bastion/layouts/table-with-header.html
|
152
|
+
- app/assets/javascripts/bastion/layouts/two-column-details.html
|
148
153
|
- app/assets/javascripts/bastion/menu/menu-expander.service.js
|
149
154
|
- app/assets/javascripts/bastion/menu/menu.module.js
|
150
155
|
- app/assets/javascripts/bastion/routing.module.js
|
@@ -1,28 +0,0 @@
|
|
1
|
-
<div class="loading-mask fa-3x" ng-show="page.loading">
|
2
|
-
<i class="fa fa-spinner fa-spin"></i>
|
3
|
-
{{ "Loading..." | translate }}
|
4
|
-
</div>
|
5
|
-
|
6
|
-
<div class="row header-bar">
|
7
|
-
<div class="col-sm-10">
|
8
|
-
<span data-block="header"></span>
|
9
|
-
</div>
|
10
|
-
|
11
|
-
<div class="fr">
|
12
|
-
<span data-block="item-actions"></span>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
<div class="row">
|
17
|
-
<div class="col-sm-12">
|
18
|
-
<div ncy-breadcrumb></div>
|
19
|
-
</div>
|
20
|
-
</div>
|
21
|
-
|
22
|
-
<div class="row">
|
23
|
-
<div class="col-sm-12">
|
24
|
-
<div ng-hide="page && (page.loading || page.error)">
|
25
|
-
<span data-block="content"></span>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
</div>
|
@@ -1,94 +0,0 @@
|
|
1
|
-
<section>
|
2
|
-
|
3
|
-
<div bst-global-notification></div>
|
4
|
-
|
5
|
-
<div class="row header-bar">
|
6
|
-
<h2 class="col-sm-10">
|
7
|
-
<span data-block="header">
|
8
|
-
REPLACE ME
|
9
|
-
</span>
|
10
|
-
</h2>
|
11
|
-
<div class="fr">
|
12
|
-
<span data-block="item-actions"></span>
|
13
|
-
</div>
|
14
|
-
</div>
|
15
|
-
|
16
|
-
<div class="row header-bar">
|
17
|
-
<div class="row">
|
18
|
-
<div class="col-sm-12">
|
19
|
-
<div data-block="search-filter"></div>
|
20
|
-
</div>
|
21
|
-
</div>
|
22
|
-
|
23
|
-
<div class="col-sm-3">
|
24
|
-
<div class="input-group input-group">
|
25
|
-
<input type="text"
|
26
|
-
class="form-control"
|
27
|
-
placeholder="{{ 'Filter...' | translate }}"
|
28
|
-
bst-on-enter="table.search(table.searchTerm)"
|
29
|
-
ng-model="table.searchTerm"
|
30
|
-
ng-trim="false"
|
31
|
-
typeahead="item.label for item in table.autocomplete($viewValue)"
|
32
|
-
typeahead-empty
|
33
|
-
typeahead-template-url="components/views/autocomplete-scoped-search.html"/>
|
34
|
-
<span class="input-group-btn">
|
35
|
-
<button class="btn btn-default"
|
36
|
-
type="button"
|
37
|
-
ng-click='table.search("") && (table.searchCompleted = false)'
|
38
|
-
ng-show="table.searchCompleted && table.searchTerm">
|
39
|
-
<i class="fa fa-times"></i>
|
40
|
-
</button>
|
41
|
-
<button ng-click="table.search(table.searchTerm)" class="btn btn-default" type="button">
|
42
|
-
<i class="fa fa-search"></i>
|
43
|
-
<span translate>Search</span>
|
44
|
-
</button>
|
45
|
-
<button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
46
|
-
<i class="fa fa-caret-down"></i>
|
47
|
-
</button>
|
48
|
-
<ul bst-bookmark controller-name="controllerName" query="table.searchTerm" class="dropdown-menu pull-right"></ul>
|
49
|
-
</span>
|
50
|
-
</div>
|
51
|
-
</div>
|
52
|
-
|
53
|
-
<div class="col-sm-3">
|
54
|
-
<span translate>Showing {{ table.rows.length }} of {{ table.resource.subtotal }} ({{ table.resource.total }} Total)</span>
|
55
|
-
</div>
|
56
|
-
|
57
|
-
<div class="fr">
|
58
|
-
<div class="fl">
|
59
|
-
<div data-block="list-actions"></div>
|
60
|
-
</div>
|
61
|
-
</div>
|
62
|
-
</div>
|
63
|
-
|
64
|
-
<div class="row header-bar">
|
65
|
-
<div class="fr">
|
66
|
-
<span translate>{{ table.numSelected }} Selected</span>
|
67
|
-
</div>
|
68
|
-
<div class="col-sm-5">
|
69
|
-
<span data-block="filters"></span>
|
70
|
-
</div>
|
71
|
-
</div>
|
72
|
-
|
73
|
-
<div class="row nutupane" bst-table="table" nutupane-table>
|
74
|
-
<div class="loading-mask" ng-show="table.refreshing" >
|
75
|
-
<i class="fa fa-spinner fa-spin"></i>
|
76
|
-
<span>{{ "Loading..." | translate }}</span>
|
77
|
-
</div>
|
78
|
-
|
79
|
-
<p bst-alert="info" ng-show="table.rows.length === 0 && !table.working && !table.searchTerm && !table.searchCompleted">
|
80
|
-
<span data-block="no-rows-message"></span>
|
81
|
-
</p>
|
82
|
-
<p bst-alert="info" ng-show="table.rows.length === 0 && !table.working && (table.searchTerm || table.searchCompleted)">
|
83
|
-
<span data-block="no-search-results-message"></span>
|
84
|
-
</p>
|
85
|
-
|
86
|
-
<div ng-show="table.rows.length > 0" bst-container-scroll data="table.rows">
|
87
|
-
<div infinite-scroll="table.nextPage()" infinite-scroll-container="'.container-scroll-wrapper'"
|
88
|
-
infinite-scroll-listen-for-event="nutupane:loaded">
|
89
|
-
<div data-block="table"></div>
|
90
|
-
</div>
|
91
|
-
</div>
|
92
|
-
</div>
|
93
|
-
|
94
|
-
</section>
|