sw2at-ui 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/app/assets/images/swat/preloader-black-bg-static.png +0 -0
- data/app/assets/images/swat/preloader-black-bg.gif +0 -0
- data/app/assets/images/swat/preloader-trans-bg.gif +0 -0
- data/app/assets/javascripts/swat/app/app.coffee +1 -1
- data/app/assets/javascripts/swat/app/controllers/management/configuration.coffee +5 -1
- data/app/assets/javascripts/swat/app/controllers/management/console.coffee +2 -2
- data/app/assets/javascripts/swat/app/controllers/revision.coffee +2 -1
- data/app/assets/javascripts/swat/app/controllers/revisions.coffee +2 -1
- data/app/assets/javascripts/swat/app/controllers/summary.coffee +3 -2
- data/app/assets/javascripts/swat/app/factories/global_control.coffee +4 -1
- data/app/assets/stylesheets/swat/confirmation.scss +3 -0
- data/app/assets/stylesheets/swat/header.scss +6 -1
- data/app/assets/stylesheets/swat/vars.scss +1 -1
- data/app/views/swat/pages/management/configuration.slim +0 -1
- data/app/views/swat/pages/management/console.slim +0 -1
- data/app/views/swat/pages/revisions/index.slim +0 -1
- data/app/views/swat/pages/revisions/partials/_revision_header.slim +0 -1
- data/app/views/swat/shared/_header.slim +6 -1
- data/sw2at-ui.gemspec +6 -3
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 70519508dad88b8731b62a8b4b369fcd8a712c8a
|
4
|
+
data.tar.gz: b138100f5c3bdab3d07b9b84c4ac7c35f22deda0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 298136f656f4323fc40c107944b7f4eb4ceb68452f47f991912aa1e20a6b2cc5dbdc570daa838e1b197b13117eca2ebf9f91926c1ffafcfd4d1a5b935cfa74ae
|
7
|
+
data.tar.gz: aafd9f51075ee11e9c0417009545c1faaff7146bf86fa5453d31b69fec2bd8907c8dba4f74071307779ddccaaf08090c5ab1725add2a86ce3350cfa69ffe2496
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.16
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,13 +1,17 @@
|
|
1
1
|
angular.module("SWAT").controller "ConfigurationCtrl", ($rootScope, $scope, $state, $stateParams, $timeout
|
2
2
|
ConfigurationService) ->
|
3
3
|
$scope.init = ->
|
4
|
-
$timeout($scope.reloadConfig, 1000)
|
5
4
|
$rootScope.globalControl.setReloader($scope.reloadConfig)
|
5
|
+
#$timeout($rootScope.globalControl.reload, 1000)
|
6
|
+
$rootScope.globalControl.reload()
|
7
|
+
|
6
8
|
|
7
9
|
$scope.reloadConfig = ->
|
8
10
|
$scope.configPromise = ConfigurationService.get()
|
9
11
|
$scope.configPromise.$promise.then((resp)->
|
10
12
|
$scope.config = resp
|
11
13
|
)
|
14
|
+
$scope.configPromise
|
15
|
+
|
12
16
|
|
13
17
|
$scope.init()
|
@@ -7,9 +7,8 @@ angular.module("SWAT").controller "ConsoleCtrl", ($rootScope, $scope, $state, $s
|
|
7
7
|
user: { name: '' }
|
8
8
|
period: { name: '' }
|
9
9
|
revision: { name: '' }
|
10
|
-
|
11
|
-
$scope.loadConsoleData()
|
12
10
|
$rootScope.globalControl.setReloader($scope.loadConsoleData)
|
11
|
+
$rootScope.globalControl.reload()
|
13
12
|
|
14
13
|
|
15
14
|
$scope.loadConsoleData = ->
|
@@ -17,6 +16,7 @@ angular.module("SWAT").controller "ConsoleCtrl", ($rootScope, $scope, $state, $s
|
|
17
16
|
$scope.consoleDataPromise.$promise.then((resp)->
|
18
17
|
$scope.consoleData = resp
|
19
18
|
)
|
19
|
+
$scope.consoleDataPromise
|
20
20
|
|
21
21
|
$scope.sum = (data)->
|
22
22
|
_.sum(_.values(data))
|
@@ -3,14 +3,15 @@ angular.module("SWAT").controller "RevisionCtrl", ($rootScope, $scope, $state, $
|
|
3
3
|
|
4
4
|
$scope.init = ->
|
5
5
|
$scope.currentState = $state.current.name
|
6
|
-
$scope.reloadData()
|
7
6
|
$rootScope.globalControl.setReloader($scope.reloadData)
|
7
|
+
$rootScope.globalControl.reload()
|
8
8
|
|
9
9
|
$scope.reloadData = ->
|
10
10
|
return if $scope.revisionPromise && !$scope.revisionPromise.$resolved
|
11
11
|
params = { branch: decodeURI($stateParams.branch), user: $stateParams.user, time: $stateParams.time }
|
12
12
|
$scope.revisionPromise = RevisionService.get(params)
|
13
13
|
$scope.revisionPromise.$promise.then($scope.initTabs)
|
14
|
+
$scope.revisionPromise
|
14
15
|
|
15
16
|
$scope.initTabs = (revision)->
|
16
17
|
$scope.revision = revision
|
@@ -2,14 +2,15 @@ angular.module("SWAT").controller "RevisionsCtrl", ($rootScope, $scope, $state,
|
|
2
2
|
|
3
3
|
$scope.init = ->
|
4
4
|
window.Swat.log('Revisions Controller initalized!')
|
5
|
-
$scope.initRevisions()
|
6
5
|
$rootScope.globalControl.setReloader($scope.initRevisions)
|
6
|
+
$rootScope.globalControl.reload()
|
7
7
|
|
8
8
|
$scope.initRevisions = ->
|
9
9
|
$scope.revisionsPromise = RevisionService.query()
|
10
10
|
$scope.revisionsPromise.$promise.then((resp)->
|
11
11
|
$scope.revisions = resp
|
12
12
|
)
|
13
|
+
$scope.revisionsPromise
|
13
14
|
|
14
15
|
$scope.testsProgress = (revision)->
|
15
16
|
|
@@ -4,14 +4,15 @@ angular.module("SWAT").controller "SummaryCtrl", ($rootScope, $scope, $state, $s
|
|
4
4
|
$scope.init = ->
|
5
5
|
$scope.currentState = $state.current.name
|
6
6
|
$scope.summary = {}
|
7
|
-
$scope.reloadData()
|
8
7
|
$rootScope.globalControl.setReloader($scope.reloadData)
|
8
|
+
$rootScope.globalControl.reload()
|
9
9
|
|
10
10
|
$scope.reloadData = ->
|
11
|
-
return if $scope.revisionPromise && !$scope.revisionPromise.$resolved
|
11
|
+
return $scope.revisionPromise if $scope.revisionPromise && !$scope.revisionPromise.$resolved
|
12
12
|
params = { branch: $stateParams.branch, user: $stateParams.user, time: $stateParams.time }
|
13
13
|
$scope.revisionPromise = RevisionService.get(params)
|
14
14
|
$scope.revisionPromise.$promise.then($scope.initInformation)
|
15
|
+
$scope.revisionPromise
|
15
16
|
|
16
17
|
$scope.initInformation = (revision)->
|
17
18
|
$scope.revision = revision
|
@@ -42,6 +42,7 @@
|
|
42
42
|
border-top: 1px solid rgba(190, 190, 190, 0.28);
|
43
43
|
padding: 12px;
|
44
44
|
background-color: rgb(236, 236, 236);
|
45
|
+
height: 53px;
|
45
46
|
|
46
47
|
.controls {
|
47
48
|
text-align: right;
|
@@ -67,6 +68,8 @@
|
|
67
68
|
display: inline-block;
|
68
69
|
float: left;
|
69
70
|
margin-left: 16px;
|
71
|
+
margin-top: -10px;
|
72
|
+
margin-bottom: 2px;
|
70
73
|
}
|
71
74
|
|
72
75
|
}
|
@@ -46,7 +46,12 @@
|
|
46
46
|
margin-top: -3px;
|
47
47
|
padding: 7px;
|
48
48
|
line-height: 25px;
|
49
|
-
|
49
|
+
background-image: url("/assets/swat/preloader-black-bg-static.png");
|
50
|
+
background-size: 39px;
|
51
|
+
&.loading {
|
52
|
+
background-image: url("/assets/swat/preloader-black-bg.gif");
|
53
|
+
}
|
54
|
+
//&:after { content: 'F5' }
|
50
55
|
}
|
51
56
|
}
|
52
57
|
|
@@ -3,7 +3,6 @@ h1.revision
|
|
3
3
|
|
4
4
|
span.revision-status ng-class="revision.data.status.name"
|
5
5
|
| {{ ' '+revision.data.status.label }}
|
6
|
-
span.loader ng-class="{ true: 'invisible' }[(revisionPromise && revisionPromise.$resolved)]"
|
7
6
|
.controls
|
8
7
|
button.btn.revisions ui-sref="revisions" title="See all revisions list" ng-disabled="(currentState == 'revisions')"
|
9
8
|
| Revisions
|
data/sw2at-ui.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: sw2at-ui 0.0.
|
5
|
+
# stub: sw2at-ui 0.0.16 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "sw2at-ui"
|
9
|
-
s.version = "0.0.
|
9
|
+
s.version = "0.0.16"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib"]
|
13
13
|
s.authors = ["Vitaly Tarasenko"]
|
14
|
-
s.date = "2015-07-
|
14
|
+
s.date = "2015-07-26"
|
15
15
|
s.description = " Control your tests, run them parallel. Check statuses of your revisions online. Share results to all team members. "
|
16
16
|
s.email = "vetal.tarasenko@gmail.com"
|
17
17
|
s.executables = ["rails"]
|
@@ -27,6 +27,9 @@ Gem::Specification.new do |s|
|
|
27
27
|
"Rakefile",
|
28
28
|
"VERSION",
|
29
29
|
"app/assets/images/swat/loading-green.gif",
|
30
|
+
"app/assets/images/swat/preloader-black-bg-static.png",
|
31
|
+
"app/assets/images/swat/preloader-black-bg.gif",
|
32
|
+
"app/assets/images/swat/preloader-trans-bg.gif",
|
30
33
|
"app/assets/javascripts/swat/.bowerrc",
|
31
34
|
"app/assets/javascripts/swat/app/app.coffee",
|
32
35
|
"app/assets/javascripts/swat/app/controllers/global_nav.coffee",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sw2at-ui
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Vitaly Tarasenko
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -237,6 +237,9 @@ files:
|
|
237
237
|
- Rakefile
|
238
238
|
- VERSION
|
239
239
|
- app/assets/images/swat/loading-green.gif
|
240
|
+
- app/assets/images/swat/preloader-black-bg-static.png
|
241
|
+
- app/assets/images/swat/preloader-black-bg.gif
|
242
|
+
- app/assets/images/swat/preloader-trans-bg.gif
|
240
243
|
- app/assets/javascripts/swat/.bowerrc
|
241
244
|
- app/assets/javascripts/swat/app/app.coffee
|
242
245
|
- app/assets/javascripts/swat/app/controllers/global_nav.coffee
|