sw2at-ui 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +1 -1
- data/VERSION +1 -1
- data/app/assets/javascripts/swat/app/app.coffee +13 -0
- data/app/assets/javascripts/swat/app/controllers/revisions.coffee +1 -1
- data/app/assets/javascripts/swat/app/controllers/root.coffee +1 -1
- data/app/assets/javascripts/swat/app/controllers/summary.coffee +72 -0
- data/app/assets/javascripts/swat/app/factories/fails_graph.coffee +45 -0
- data/app/assets/javascripts/swat/app/factories/helpers.coffee +7 -0
- data/app/assets/javascripts/swat/app/factories/revision_model.coffee +1 -2
- data/app/assets/javascripts/swat/bower_components.coffee +4 -1
- data/app/assets/javascripts/swat/lib/highcharts-ng.js +396 -0
- data/app/assets/javascripts/swat/lib/highcharts.src.js +18635 -0
- data/app/assets/stylesheets/swat/application.scss +55 -0
- data/app/assets/stylesheets/swat/swat_theme.scss +261 -0
- data/app/models/revision.rb +1 -2
- data/app/views/swat/pages/revisions/index.slim +7 -7
- data/app/views/swat/pages/revisions/partials/_exceptions.slim +31 -0
- data/app/views/swat/pages/revisions/partials/_test_cases.slim +29 -0
- data/app/views/swat/pages/revisions/show.slim +5 -32
- data/app/views/swat/pages/revisions/summary.slim +52 -0
- data/config/routes.rb +1 -1
- data/sw2at-ui.gemspec +15 -7
- metadata +13 -5
- data/app/assets/stylesheets/swat/application.sass +0 -59
- data/app/assets/stylesheets/swat/swat_theme.sass +0 -192
@@ -1,59 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
*= require_tree .
|
3
|
-
*= require_self
|
4
|
-
*/
|
5
|
-
|
6
|
-
@import "bootstrap"
|
7
|
-
|
8
|
-
$greyBg: #9f9f9f
|
9
|
-
$greenMain: greenyellow
|
10
|
-
|
11
|
-
#swat
|
12
|
-
font-size: 13px
|
13
|
-
|
14
|
-
#header-label
|
15
|
-
margin-top: 0
|
16
|
-
padding: 12px
|
17
|
-
a
|
18
|
-
color: $greenMain
|
19
|
-
&:hover
|
20
|
-
text-decoration: none
|
21
|
-
.label
|
22
|
-
width: 100%
|
23
|
-
float: left
|
24
|
-
font-size: 12px
|
25
|
-
color: $greenMain
|
26
|
-
|
27
|
-
&:hover .label
|
28
|
-
display: inline !important
|
29
|
-
|
30
|
-
|
31
|
-
h1, h2, h3
|
32
|
-
text-align: center
|
33
|
-
//color: $greenMain
|
34
|
-
|
35
|
-
header
|
36
|
-
background-color: black
|
37
|
-
color: white
|
38
|
-
h2
|
39
|
-
color: $greenMain
|
40
|
-
text-align: center
|
41
|
-
sub
|
42
|
-
font-size: 12px
|
43
|
-
|
44
|
-
|
45
|
-
#subheader
|
46
|
-
//min-height: 34px
|
47
|
-
h3
|
48
|
-
margin: 5px
|
49
|
-
|
50
|
-
#content
|
51
|
-
background: rgb(240, 240, 240)
|
52
|
-
|
53
|
-
#container
|
54
|
-
padding: 0px 15px 15px 15px
|
55
|
-
//background: $greyBg
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
@@ -1,192 +0,0 @@
|
|
1
|
-
$footerSize: 45px
|
2
|
-
$negativeFooterSize: -$footerSize
|
3
|
-
|
4
|
-
$commandWidth: 400px
|
5
|
-
$copyIconWidth: 30px
|
6
|
-
$commandTextWidth: $commandWidth - $copyIconWidth
|
7
|
-
|
8
|
-
html, body
|
9
|
-
height: 100% !important
|
10
|
-
min-height: 100%
|
11
|
-
|
12
|
-
#swat
|
13
|
-
height: 100%
|
14
|
-
min-height: 100%
|
15
|
-
|
16
|
-
#container
|
17
|
-
min-height: 100%
|
18
|
-
|
19
|
-
.invisible
|
20
|
-
opacity: 0
|
21
|
-
|
22
|
-
.loader
|
23
|
-
background: url('/assets/swat/loading-green.gif') no-repeat
|
24
|
-
width: 50px
|
25
|
-
height: 50px
|
26
|
-
display: inline-block
|
27
|
-
float: left
|
28
|
-
margin-left: 16px
|
29
|
-
|
30
|
-
#revision-info
|
31
|
-
.revision
|
32
|
-
color: grey
|
33
|
-
padding-top: 9px
|
34
|
-
float: left
|
35
|
-
width: 100%
|
36
|
-
.revision-name
|
37
|
-
padding-left: 10px
|
38
|
-
color: black
|
39
|
-
|
40
|
-
.revision-status
|
41
|
-
float: left
|
42
|
-
margin-left: 20px
|
43
|
-
&.in_progress_success, &.completed_passed
|
44
|
-
color: #50CE5F
|
45
|
-
&.in_progress_failed,&.completed_failed
|
46
|
-
color: #ff5246
|
47
|
-
|
48
|
-
|
49
|
-
.controls
|
50
|
-
float: right
|
51
|
-
.btn
|
52
|
-
background-color: rgb(124, 222, 124)
|
53
|
-
color: green
|
54
|
-
font-weight: bold
|
55
|
-
margin-right: 10px
|
56
|
-
&:hover
|
57
|
-
background-color: rgb(169, 222, 157)
|
58
|
-
.revisions
|
59
|
-
opacity: 1
|
60
|
-
.reload
|
61
|
-
opacity: 1
|
62
|
-
|
63
|
-
|
64
|
-
.total-examples
|
65
|
-
background: #E8E8E8
|
66
|
-
display: inline-block
|
67
|
-
padding: 6px
|
68
|
-
border-radius: 30px
|
69
|
-
color: #887171
|
70
|
-
font-weight: bold
|
71
|
-
text-align: center
|
72
|
-
margin-left: 10px
|
73
|
-
|
74
|
-
#revisions-container
|
75
|
-
.revisions-header
|
76
|
-
margin: 0
|
77
|
-
padding-right: 50px
|
78
|
-
padding-top: 8px
|
79
|
-
.list
|
80
|
-
padding: 13px
|
81
|
-
|
82
|
-
table.revisions-table
|
83
|
-
background: #ffffff
|
84
|
-
tr
|
85
|
-
cursor: pointer
|
86
|
-
|
87
|
-
|
88
|
-
#revisions-container
|
89
|
-
tr
|
90
|
-
cursor: pointer
|
91
|
-
|
92
|
-
table#test-cases
|
93
|
-
border-top: 0
|
94
|
-
tr
|
95
|
-
cursor: default
|
96
|
-
th
|
97
|
-
border-top: 0
|
98
|
-
background: #ffffff
|
99
|
-
&.command
|
100
|
-
width: $commandWidth
|
101
|
-
&.status
|
102
|
-
width: 100px
|
103
|
-
&.duration
|
104
|
-
width: 100px
|
105
|
-
td
|
106
|
-
&:hover
|
107
|
-
background-color: transparent
|
108
|
-
padding: 0
|
109
|
-
.cell
|
110
|
-
padding: 8px
|
111
|
-
display: block
|
112
|
-
.detailed-info
|
113
|
-
padding: 0 8px
|
114
|
-
|
115
|
-
td.status
|
116
|
-
font-weight: bold
|
117
|
-
text-transform: capitalize
|
118
|
-
td.command
|
119
|
-
background: white
|
120
|
-
cursor: pointer
|
121
|
-
margin: 0
|
122
|
-
padding: 0
|
123
|
-
input
|
124
|
-
width: $commandTextWidth
|
125
|
-
margin-right: 5px
|
126
|
-
height: 100%
|
127
|
-
padding-left: 10px
|
128
|
-
padding-right: 10px
|
129
|
-
margin: 0
|
130
|
-
border: none
|
131
|
-
font-weight: bold
|
132
|
-
background: black
|
133
|
-
color: red
|
134
|
-
|
135
|
-
&.failed
|
136
|
-
background: mistyrose
|
137
|
-
color: red
|
138
|
-
.main-info
|
139
|
-
cursor: pointer
|
140
|
-
&:hover
|
141
|
-
background: #ffd7e5
|
142
|
-
|
143
|
-
td.command
|
144
|
-
input
|
145
|
-
color: rgb(223, 96, 96)
|
146
|
-
&.passed
|
147
|
-
background: lightgreen
|
148
|
-
color: green
|
149
|
-
td.command
|
150
|
-
input
|
151
|
-
color: rgb(129, 192, 129)
|
152
|
-
|
153
|
-
|
154
|
-
.push
|
155
|
-
height: $footerSize
|
156
|
-
|
157
|
-
|
158
|
-
#footer
|
159
|
-
height: $footerSize
|
160
|
-
margin-top: $negativeFooterSize
|
161
|
-
text-align: center
|
162
|
-
|
163
|
-
|
164
|
-
.nav-tabs
|
165
|
-
margin-left: 12px
|
166
|
-
margin-right: 12px
|
167
|
-
span.label
|
168
|
-
color: black
|
169
|
-
font-size: 15px
|
170
|
-
span.status
|
171
|
-
&.in_progress_success
|
172
|
-
color: rgb(192, 175, 84)
|
173
|
-
&.in_progress_failed
|
174
|
-
color: rgb(217, 140, 160)
|
175
|
-
&.completed_failed
|
176
|
-
color: rgb(242, 40, 77)
|
177
|
-
&.completed_passed
|
178
|
-
color: rgb(61, 168, 83)
|
179
|
-
|
180
|
-
.tab-content
|
181
|
-
.tab-pane
|
182
|
-
padding: 12px
|
183
|
-
padding-top: 0
|
184
|
-
|
185
|
-
.copy-icon
|
186
|
-
font-size: 20px
|
187
|
-
display: inline-block
|
188
|
-
text-decoration: none
|
189
|
-
color: black
|
190
|
-
margin-left: 5px
|
191
|
-
|
192
|
-
|