strelka-admin 0.0.1.pre7

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.
Files changed (61) hide show
  1. data.tar.gz.sig +0 -0
  2. data/History.rdoc +4 -0
  3. data/Manifest.txt +58 -0
  4. data/README.rdoc +65 -0
  5. data/Rakefile +42 -0
  6. data/data/strelka-admin/app.conf +7 -0
  7. data/data/strelka-admin/apps/config-service +72 -0
  8. data/data/strelka-admin/apps/strelka-admin +102 -0
  9. data/data/strelka-admin/apps/strelka-setup +32 -0
  10. data/data/strelka-admin/host-config.rb +44 -0
  11. data/data/strelka-admin/static/css/bootstrap-responsive.css +581 -0
  12. data/data/strelka-admin/static/css/bootstrap-responsive.min.css +4 -0
  13. data/data/strelka-admin/static/css/bootstrap.css +3496 -0
  14. data/data/strelka-admin/static/css/bootstrap.min.css +632 -0
  15. data/data/strelka-admin/static/css/master.css +337 -0
  16. data/data/strelka-admin/static/css/reset.css +112 -0
  17. data/data/strelka-admin/static/fonts/IstokWeb-Bold.ttf +0 -0
  18. data/data/strelka-admin/static/fonts/IstokWeb-BoldItalic.ttf +0 -0
  19. data/data/strelka-admin/static/fonts/IstokWeb-Italic.ttf +0 -0
  20. data/data/strelka-admin/static/fonts/IstokWeb-Regular.ttf +0 -0
  21. data/data/strelka-admin/static/fonts/OFL.txt +94 -0
  22. data/data/strelka-admin/static/images/21d1-16.png +0 -0
  23. data/data/strelka-admin/static/images/21d1.png +0 -0
  24. data/data/strelka-admin/static/images/glyphicons-halflings-white.png +0 -0
  25. data/data/strelka-admin/static/images/glyphicons-halflings.png +0 -0
  26. data/data/strelka-admin/static/images/icons/blank.png +0 -0
  27. data/data/strelka-admin/static/images/icons/cross-button.png +0 -0
  28. data/data/strelka-admin/static/images/icons/tick-button.png +0 -0
  29. data/data/strelka-admin/static/images/icons/tick-circle-frame.png +0 -0
  30. data/data/strelka-admin/static/images/icons/tick-circle.png +0 -0
  31. data/data/strelka-admin/static/images/icons/tick-octagon-frame.png +0 -0
  32. data/data/strelka-admin/static/images/icons/tick-octagon.png +0 -0
  33. data/data/strelka-admin/static/images/icons/tick-red.png +0 -0
  34. data/data/strelka-admin/static/images/icons/tick-shield.png +0 -0
  35. data/data/strelka-admin/static/images/icons/tick-small-circle.png +0 -0
  36. data/data/strelka-admin/static/images/icons/tick-small-red.png +0 -0
  37. data/data/strelka-admin/static/images/icons/tick-small-white.png +0 -0
  38. data/data/strelka-admin/static/images/icons/tick-small.png +0 -0
  39. data/data/strelka-admin/static/images/icons/tick-white.png +0 -0
  40. data/data/strelka-admin/static/images/icons/tick.png +0 -0
  41. data/data/strelka-admin/static/images/noise.jpg +0 -0
  42. data/data/strelka-admin/static/images/noise.png +0 -0
  43. data/data/strelka-admin/static/js/admin/app.js +60 -0
  44. data/data/strelka-admin/static/js/vendor/backbone.js +1290 -0
  45. data/data/strelka-admin/static/js/vendor/bootstrap.js +1720 -0
  46. data/data/strelka-admin/static/js/vendor/bootstrap.min.js +1 -0
  47. data/data/strelka-admin/static/js/vendor/jquery-1.7.1.js +9266 -0
  48. data/data/strelka-admin/static/js/vendor/jquery.jeditable.mini.js +38 -0
  49. data/data/strelka-admin/static/js/vendor/jquery.tmpl.min.js +10 -0
  50. data/data/strelka-admin/static/js/vendor/jquery.tmplPlus.min.js +11 -0
  51. data/data/strelka-admin/static/js/vendor/jquery.tools.min.js +20 -0
  52. data/data/strelka-admin/static/js/vendor/json2.js +487 -0
  53. data/data/strelka-admin/static/js/vendor/underscore.js +999 -0
  54. data/data/strelka-admin/templates/admin/console.tmpl +80 -0
  55. data/data/strelka-admin/templates/admin/host.tmpl +75 -0
  56. data/data/strelka-admin/templates/admin/message.tmpl +14 -0
  57. data/data/strelka-admin/templates/admin/server.tmpl +75 -0
  58. data/data/strelka-admin/templates/layout.tmpl +85 -0
  59. data/lib/strelka/admin.rb +63 -0
  60. metadata +210 -0
  61. metadata.gz.sig +0 -0
@@ -0,0 +1,337 @@
1
+ /* @override http://localhost:7337/css/master.css */
2
+
3
+ @import url(reset.css);
4
+
5
+ /* @group Fonts */
6
+ @font-face {
7
+ font-family: IstokWeb;
8
+ src: local('IstokWeb'),
9
+ url(../fonts/IstokWeb-Regular.ttf) format("truetype");
10
+ }
11
+ @font-face {
12
+ font-family: IstokWeb;
13
+ font-weight: bold;
14
+ src: local('IstokWeb Bold'),
15
+ url(../fonts/IstokWeb-Bold.ttf) format("truetype");
16
+ }
17
+ @font-face {
18
+ font-family: IstokWeb;
19
+ font-style: italic;
20
+ src: local('IstokWeb Italic'),
21
+ url(../fonts/IstokWeb-Italic.ttf) format("truetype");
22
+ }
23
+ @font-face {
24
+ font-family: IstokWeb;
25
+ font-style: italic;
26
+ font-weight: bold;
27
+ src: local('IstokWeb Bold Italic'),
28
+ url(../fonts/IstokWeb-BoldItalic.ttf) format("truetype");
29
+ }
30
+
31
+
32
+ @font-face {
33
+ font-family: Inconsolata;
34
+ src: local('Inconsolata'),
35
+ url(../fonts/Inconsolata.otf) format("opentype");
36
+ }
37
+ /* @end */
38
+
39
+
40
+ /* @group Generic Element Styles */
41
+ html {
42
+ margin: 0;
43
+ font: 14px/18px IstokWeb;
44
+ background-color: #999;
45
+ color: #333;
46
+ }
47
+
48
+ body {
49
+ margin: 0;
50
+ padding: 0;
51
+ min-width: 800px;
52
+ }
53
+
54
+
55
+ h1,h2,h3,h4,h5,h6 {
56
+ font-weight: bold;
57
+ color: black;
58
+ }
59
+
60
+ a {
61
+ color: #911;
62
+ text-decoration: none;
63
+ background: rgba( 255,255,255, 0.15 );
64
+ }
65
+ /* @end */
66
+
67
+
68
+ /* @group Top-level Sections and Headers */
69
+ body > header,
70
+ body > section {
71
+ background: #cbcfd5 url(../images/noise.png) repeat;
72
+ }
73
+ body > header {
74
+ padding: 40px 40px 20px;
75
+ font-weight: bold;
76
+ font-size: 60px;
77
+ text-shadow: 0 0 8px rgba( 25,25,25, 0.2 );
78
+ }
79
+ body > header h1 {
80
+ margin: 0;
81
+ color: white;
82
+ }
83
+ body > section {
84
+ padding: 0 40px 1em;
85
+ }
86
+
87
+ /* @end */
88
+
89
+ /* @group Top-level Nav */
90
+ body > nav {
91
+ margin-top: -0.5em;
92
+ background: #b5b9be;
93
+ padding: 0.5em 50px;
94
+ }
95
+ body > nav ol li {
96
+ display: inline;
97
+ }
98
+ body > nav ol li + li:before {
99
+ content: "> ";
100
+ color: whitesmoke;
101
+ }
102
+ /* @end */
103
+
104
+
105
+
106
+ /* @group Footers */
107
+ body > footer {
108
+ color: #777;
109
+ font-size: 0.9em;
110
+ padding: 1em;
111
+ background: -moz-linear-gradient(top,
112
+ rgba(0,0,0,0.85) 0%,
113
+ rgba(0,0,0,0.4) 7%,
114
+ rgba(0,0,0,0) 39%,
115
+ rgba(0,0,0,0) 100%); /* FF3.6+ */
116
+ background: -webkit-gradient(linear, left top, left bottom,
117
+ color-stop(0%,rgba(0,0,0,0.85)),
118
+ color-stop(7%,rgba(0,0,0,0.4)),
119
+ color-stop(39%,rgba(0,0,0,0)),
120
+ color-stop(100%,rgba(0,0,0,0))); /* Chrome,Safari4+ */
121
+ background: -webkit-linear-gradient(top,
122
+ rgba(0,0,0,0.85) 0%,
123
+ rgba(0,0,0,0.4) 7%,
124
+ rgba(0,0,0,0) 39%,
125
+ rgba(0,0,0,0) 100%); /* Chrome10+,Safari5.1+ */
126
+ background: -o-linear-gradient(top,
127
+ rgba(0,0,0,0.85) 0%,
128
+ rgba(0,0,0,0.4) 7%,
129
+ rgba(0,0,0,0) 39%,
130
+ rgba(0,0,0,0) 100%); /* Opera11.10+ */
131
+ background: -ms-linear-gradient(top,
132
+ rgba(0,0,0,0.85) 0%,
133
+ rgba(0,0,0,0.4) 7%,
134
+ rgba(0,0,0,0) 39%,
135
+ rgba(0,0,0,0) 100%); /* IE10+ */
136
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#d9000000',
137
+ endColorstr='#00000000',GradientType=0 ); /* IE6-9 */
138
+ background: linear-gradient(top,
139
+ rgba(0,0,0,0.85) 0%,
140
+ rgba(0,0,0,0.4) 7%,
141
+ rgba(0,0,0,0) 39%,
142
+ rgba(0,0,0,0) 100%); /* W3C */
143
+ }
144
+ footer span.copyright {
145
+ float: right;
146
+ }
147
+ /* @end */
148
+
149
+
150
+ /* @group Second-Level sections and headers */
151
+ body > section > section {
152
+ padding: 2em 0;
153
+ }
154
+ section > header {
155
+ padding: 0.5em 0;
156
+ font-size: 1.2em;
157
+ }
158
+ /* Add space between sibing sections and tables */
159
+ section + section,
160
+ table + section,
161
+ section + table {
162
+ margin-top: 2em;
163
+ }
164
+ /* @end */
165
+
166
+
167
+ /* @group Tables */
168
+ table {}
169
+ table caption {
170
+ caption-side: bottom;
171
+ padding: 1em;
172
+ font-size: 0.9em;
173
+ color: #777;
174
+ }
175
+ table caption p {
176
+ text-align: center;
177
+ }
178
+ td, th {
179
+ padding: 2px 1em;
180
+ }
181
+ td {
182
+ border-bottom: 1px dotted #999;
183
+ }
184
+ th {
185
+ font-weight: bold;
186
+ border-bottom: 2px solid;
187
+ }
188
+ table.horizontal th {
189
+ border-bottom: 1px dotted #999;
190
+ text-align: right;
191
+ }
192
+ td.icon {
193
+ text-align: center;
194
+ line-height: 8px;
195
+ vertical-align: bottom;
196
+ }
197
+
198
+ tbody.actions td {
199
+ border: none;
200
+ padding: 0;
201
+ margin: 0;
202
+ }
203
+ tbody.actions nav {
204
+ text-align: right;
205
+ }
206
+ tbody.actions nav button {
207
+ font-size: 1.1em;
208
+ padding: 0.5em 1em;
209
+ margin: 1em 0;
210
+ border: 1px;
211
+ background: #45484d;
212
+ background: -moz-linear-gradient(top, #45484d 0%, #000000 100%);
213
+ background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#45484d), color-stop(100%,#000000));
214
+ background: -webkit-linear-gradient(top, #45484d 0%,#000000 100%);
215
+ background: -o-linear-gradient(top, #45484d 0%,#000000 100%);
216
+ background: -ms-linear-gradient(top, #45484d 0%,#000000 100%);
217
+ background: linear-gradient(top, #45484d 0%,#000000 100%);
218
+ display: inline-block;
219
+ padding: 5px 10px 6px;
220
+ color: #fff;
221
+ text-decoration: none;
222
+ -moz-border-radius: 5px;
223
+ -webkit-border-radius: 5px;
224
+ -moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
225
+ -webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
226
+ text-shadow: 0 -1px 1px rgba(0,0,0,0.25);
227
+ border-bottom: 1px solid rgba(0,0,0,0.25);
228
+ position: relative;
229
+ cursor: pointer;
230
+ }
231
+
232
+
233
+ /* @group Editable row affordance */
234
+ tr.unsaved {}
235
+ tr.unsaved td {}
236
+
237
+ tr.unsaved td.editable,
238
+ tr.unsaved td.toggle {
239
+ font-style: italic;
240
+ background: white;
241
+ cursor: pointer;
242
+ }
243
+ tr.unsaved td.controls {
244
+ visibility: visible;
245
+ }
246
+
247
+ .editable form {
248
+ margin: 0;
249
+ padding: 0;
250
+ display: inline-block;
251
+ }
252
+ .editable form input {
253
+ margin: 0;
254
+ padding: 0 4px;
255
+ border: 1px solid #efefef;
256
+ background: #efefef;
257
+ border-radius: 0.5em;
258
+ outline: none;
259
+ max-height: 1em;
260
+ }
261
+ .editable form input:focus {
262
+ outline: none;
263
+ }
264
+
265
+ td.toggle img {
266
+ visibility: hidden;
267
+ }
268
+ td.toggle.enabled img {
269
+ visibility: visible;
270
+ }
271
+
272
+ tr.server.unsaved span.target {
273
+ cursor: pointer;
274
+ }
275
+
276
+ td.toggle span.target {
277
+ border: 1px dashed rgba( 0,0,0, 0.20 );
278
+ border-radius: 4px;
279
+ display: inline-block;
280
+ }
281
+ /* @end */
282
+
283
+ /* @group Controls Column */
284
+ th.controls,
285
+ td.controls {
286
+ border: none;
287
+ }
288
+ td.controls {
289
+ visibility: hidden;
290
+ }
291
+ td.controls button {
292
+ padding: 0;
293
+ margin: 0;
294
+ border: none;
295
+ background: clear;
296
+ cursor: pointer;
297
+ }
298
+ /* @end */
299
+ /* @end */
300
+
301
+
302
+ /* @group Specific Application Section Styles */
303
+ section#body {
304
+ min-height: 600px;
305
+ }
306
+ section#versions ul {
307
+ font-family: Inconsolata, fixed;
308
+ }
309
+ section#tasklist tr.system-task {
310
+ font-style: italic;
311
+ }
312
+
313
+ section#servers table {
314
+ width: 90%;
315
+ }
316
+
317
+ section#routes td.target {
318
+ background: rgba( 255,255,255, 0.15 );
319
+ }
320
+ section#routes span.send-ident {
321
+ font-weight: bold;
322
+ }
323
+ section#routes span.send-spec,
324
+ section#routes span.recv-spec {
325
+ background-color: rgba( 255,255,255, 0.5 );
326
+ padding: 0 4px;
327
+ border-radius: 0.25em;
328
+ }
329
+ section#routes span.index-file {
330
+ color: #999;
331
+ }
332
+ section#routes span.default-ctype {
333
+ font-family: Inconsolata, monospace;
334
+ font-size: 0.8em;
335
+ }
336
+ /* @end */
337
+
@@ -0,0 +1,112 @@
1
+ /* @group Reset */
2
+
3
+ html,body,div,span,a,img,h1,h2,h3,h4,h5,h6,hgroup,p,dl,dialog,dt,dd,ol,ul,li,abbr,
4
+ acronym,address,b,big,blockquote,cite,code,del,dfn,em,i,ins,kbd,pre,q,samp,tt,var,
5
+ small,strong,sub,sup,object,iframe,form,fieldset,label,legend,table,caption,tbody,
6
+ tfoot,thead,tr,th,td,article,aside,footer,header,nav,section,figure,menu,time,mark,
7
+ audio,video {
8
+ font-family: inherit;
9
+ font-size: 100%;
10
+ font-weight: inherit;
11
+ font-style: inherit;
12
+ vertical-align: baseline;
13
+ white-space: normal;
14
+ text-align: left;
15
+ margin: 0;
16
+ padding: 0;
17
+ border: 0;
18
+ outline: 0;
19
+ background: transparent
20
+ }
21
+
22
+ textarea {
23
+ font-family: inherit;
24
+ font-size: 100%;
25
+ font-weight: normal;
26
+ font-style: normal;
27
+ white-space: normal;
28
+ text-align: left;
29
+ margin: 0;
30
+ padding: 0
31
+ }
32
+
33
+ article,aside,footer,header,nav,section,dialog,figure,hgroup,menu {
34
+ display: block
35
+ }
36
+
37
+ h1,h2,h3,h4,h5,h6 {
38
+ font-size: 100%;
39
+ font-weight: normal
40
+ }
41
+
42
+ del,ins {
43
+ text-decoration: none
44
+ }
45
+
46
+ ol,ul {
47
+ list-style: none
48
+ }
49
+
50
+ nav ul {
51
+ list-style-type: none
52
+ }
53
+
54
+ table {
55
+ border-collapse: separate;
56
+ border-spacing: 0;
57
+ background-color: transparent;
58
+ width: auto;
59
+ height: auto
60
+ }
61
+
62
+ :focus {
63
+ outline: 0
64
+ }
65
+
66
+ blockquote:before,blockquote:after,q:before,q:after {
67
+ content: ""
68
+ }
69
+
70
+ blockquote,q {
71
+ quotes: "" ""
72
+ }
73
+
74
+ input {
75
+ margin: 0
76
+ }
77
+
78
+ applet,basefont,dir,font,isindex,menu,s,strike,u {
79
+ font-family: inherit;
80
+ font-size: 100%;
81
+ font-weight: normal;
82
+ font-style: normal;
83
+ white-space: normal;
84
+ vertical-align: baseline;
85
+ text-decoration: inherit;
86
+ text-align: left;
87
+ color: inherit;
88
+ margin: 0;
89
+ padding: 0;
90
+ border: 0;
91
+ outline: 0
92
+ }
93
+
94
+ dir,menu {
95
+ list-style: none
96
+ }
97
+
98
+ nobr {
99
+ white-space: normal
100
+ }
101
+
102
+ blink {
103
+ text-decoration: none
104
+ }
105
+
106
+ marquee {
107
+ overflow: visible
108
+ }
109
+
110
+ /* @end */
111
+
112
+