city-watch 0.3.3 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. data/Gemfile.lock +2 -2
  2. data/lib/city_watch/commander/home.rb +3 -3
  3. data/lib/city_watch/commander/server.rb +8 -3
  4. data/lib/city_watch/commander.rb +1 -1
  5. data/lib/city_watch.rb +3 -1
  6. data/lib/version.rb +1 -1
  7. data/static/javascripts/city_watch.js +0 -0
  8. data/static/javascripts/highlight.pack.js +1 -0
  9. data/static/stylesheets/arta.css +158 -0
  10. data/static/stylesheets/ascetic.css +50 -0
  11. data/static/stylesheets/brown_paper.css +104 -0
  12. data/static/stylesheets/brown_papersq.png +0 -0
  13. data/static/stylesheets/city_watch.css +30 -0
  14. data/static/stylesheets/dark.css +103 -0
  15. data/static/stylesheets/default.css +135 -0
  16. data/static/stylesheets/far.css +111 -0
  17. data/static/stylesheets/github.css +127 -0
  18. data/static/stylesheets/googlecode.css +144 -0
  19. data/static/stylesheets/idea.css +121 -0
  20. data/static/stylesheets/ir_black.css +104 -0
  21. data/static/stylesheets/magula.css +121 -0
  22. data/static/stylesheets/monokai.css +114 -0
  23. data/static/stylesheets/pojoaque.css +104 -0
  24. data/static/stylesheets/pojoaque.jpg +0 -0
  25. data/static/stylesheets/rainbow.css +114 -0
  26. data/static/stylesheets/school_book.css +111 -0
  27. data/static/stylesheets/school_book.png +0 -0
  28. data/static/stylesheets/solarized_dark.css +88 -0
  29. data/static/stylesheets/solarized_light.css +88 -0
  30. data/static/stylesheets/sunburst.css +158 -0
  31. data/static/stylesheets/tomorrow-night-blue.css +52 -0
  32. data/static/stylesheets/tomorrow-night-bright.css +51 -0
  33. data/static/stylesheets/tomorrow-night-eighties.css +51 -0
  34. data/static/stylesheets/tomorrow-night.css +52 -0
  35. data/static/stylesheets/tomorrow.css +49 -0
  36. data/static/stylesheets/vs.css +86 -0
  37. data/static/stylesheets/xcode.css +154 -0
  38. data/static/stylesheets/zenburn.css +115 -0
  39. data/watch_commander.ru +2 -0
  40. metadata +33 -1
@@ -0,0 +1,158 @@
1
+ /*
2
+
3
+ Sunburst-like style (c) Vasily Polovnyov <vast@whiteants.net>
4
+
5
+ */
6
+
7
+ pre code {
8
+ display: block; padding: 0.5em;
9
+ background: #000; color: #f8f8f8;
10
+ }
11
+
12
+ pre .comment,
13
+ pre .template_comment,
14
+ pre .javadoc {
15
+ color: #aeaeae;
16
+ font-style: italic;
17
+ }
18
+
19
+ pre .keyword,
20
+ pre .ruby .function .keyword,
21
+ pre .request,
22
+ pre .status,
23
+ pre .nginx .title {
24
+ color: #E28964;
25
+ }
26
+
27
+ pre .function .keyword,
28
+ pre .sub .keyword,
29
+ pre .method,
30
+ pre .list .title {
31
+ color: #99CF50;
32
+ }
33
+
34
+ pre .string,
35
+ pre .tag .value,
36
+ pre .cdata,
37
+ pre .filter .argument,
38
+ pre .attr_selector,
39
+ pre .apache .cbracket,
40
+ pre .date,
41
+ pre .tex .command {
42
+ color: #65B042;
43
+ }
44
+
45
+ pre .subst {
46
+ color: #DAEFA3;
47
+ }
48
+
49
+ pre .regexp {
50
+ color: #E9C062;
51
+ }
52
+
53
+ pre .title,
54
+ pre .sub .identifier,
55
+ pre .pi,
56
+ pre .tag,
57
+ pre .tag .keyword,
58
+ pre .decorator,
59
+ pre .shebang,
60
+ pre .prompt {
61
+ color: #89BDFF;
62
+ }
63
+
64
+ pre .class .title,
65
+ pre .haskell .type,
66
+ pre .smalltalk .class,
67
+ pre .javadoctag,
68
+ pre .yardoctag,
69
+ pre .phpdoc {
70
+ text-decoration: underline;
71
+ }
72
+
73
+ pre .symbol,
74
+ pre .ruby .symbol .string,
75
+ pre .number {
76
+ color: #3387CC;
77
+ }
78
+
79
+ pre .params,
80
+ pre .variable,
81
+ pre .clojure .attribute {
82
+ color: #3E87E3;
83
+ }
84
+
85
+ pre .css .tag,
86
+ pre .rules .property,
87
+ pre .pseudo,
88
+ pre .tex .special {
89
+ color: #CDA869;
90
+ }
91
+
92
+ pre .css .class {
93
+ color: #9B703F;
94
+ }
95
+
96
+ pre .rules .keyword {
97
+ color: #C5AF75;
98
+ }
99
+
100
+ pre .rules .value {
101
+ color: #CF6A4C;
102
+ }
103
+
104
+ pre .css .id {
105
+ color: #8B98AB;
106
+ }
107
+
108
+ pre .annotation,
109
+ pre .apache .sqbracket,
110
+ pre .nginx .built_in {
111
+ color: #9B859D;
112
+ }
113
+
114
+ pre .preprocessor {
115
+ color: #8996A8;
116
+ }
117
+
118
+ pre .hexcolor,
119
+ pre .css .value .number {
120
+ color: #DD7B3B;
121
+ }
122
+
123
+ pre .css .function {
124
+ color: #DAD085;
125
+ }
126
+
127
+ pre .diff .header,
128
+ pre .chunk,
129
+ pre .tex .formula {
130
+ background-color: #0E2231;
131
+ color: #F8F8F8;
132
+ font-style: italic;
133
+ }
134
+
135
+ pre .diff .change {
136
+ background-color: #4A410D;
137
+ color: #F8F8F8;
138
+ }
139
+
140
+ pre .addition {
141
+ background-color: #253B22;
142
+ color: #F8F8F8;
143
+ }
144
+
145
+ pre .deletion {
146
+ background-color: #420E09;
147
+ color: #F8F8F8;
148
+ }
149
+
150
+ pre .coffeescript .javascript,
151
+ pre .javascript .xml,
152
+ pre .tex .formula,
153
+ pre .xml .javascript,
154
+ pre .xml .vbscript,
155
+ pre .xml .css,
156
+ pre .xml .cdata {
157
+ opacity: 0.5;
158
+ }
@@ -0,0 +1,52 @@
1
+ /* Tomorrow Night Blue Theme */
2
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
3
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
4
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
5
+ .tomorrow-comment, pre .comment, pre .title {
6
+ color: #7285b7;
7
+ }
8
+
9
+ .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
10
+ color: #ff9da4;
11
+ }
12
+
13
+ .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
14
+ color: #ffc58f;
15
+ }
16
+
17
+ .tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
18
+ color: #ffeead;
19
+ }
20
+
21
+ .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
22
+ color: #d1f1a9;
23
+ }
24
+
25
+ .tomorrow-aqua, pre .css .hexcolor {
26
+ color: #99ffff;
27
+ }
28
+
29
+ .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
30
+ color: #bbdaff;
31
+ }
32
+
33
+ .tomorrow-purple, pre .keyword, pre .javascript .function {
34
+ color: #ebbbff;
35
+ }
36
+
37
+ pre code {
38
+ display: block;
39
+ background: #002451;
40
+ color: white;
41
+ padding: 0.5em;
42
+ }
43
+
44
+ pre .coffeescript .javascript,
45
+ pre .javascript .xml,
46
+ pre .tex .formula,
47
+ pre .xml .javascript,
48
+ pre .xml .vbscript,
49
+ pre .xml .css,
50
+ pre .xml .cdata {
51
+ opacity: 0.5;
52
+ }
@@ -0,0 +1,51 @@
1
+ /* Tomorrow Night Bright Theme */
2
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
4
+ .tomorrow-comment, pre .comment, pre .title {
5
+ color: #969896;
6
+ }
7
+
8
+ .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
9
+ color: #d54e53;
10
+ }
11
+
12
+ .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
13
+ color: #e78c45;
14
+ }
15
+
16
+ .tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
17
+ color: #e7c547;
18
+ }
19
+
20
+ .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
21
+ color: #b9ca4a;
22
+ }
23
+
24
+ .tomorrow-aqua, pre .css .hexcolor {
25
+ color: #70c0b1;
26
+ }
27
+
28
+ .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
29
+ color: #7aa6da;
30
+ }
31
+
32
+ .tomorrow-purple, pre .keyword, pre .javascript .function {
33
+ color: #c397d8;
34
+ }
35
+
36
+ pre code {
37
+ display: block;
38
+ background: black;
39
+ color: #eaeaea;
40
+ padding: 0.5em;
41
+ }
42
+
43
+ pre .coffeescript .javascript,
44
+ pre .javascript .xml,
45
+ pre .tex .formula,
46
+ pre .xml .javascript,
47
+ pre .xml .vbscript,
48
+ pre .xml .css,
49
+ pre .xml .cdata {
50
+ opacity: 0.5;
51
+ }
@@ -0,0 +1,51 @@
1
+ /* Tomorrow Night Eighties Theme */
2
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
3
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
4
+ .tomorrow-comment, pre .comment, pre .title {
5
+ color: #999999;
6
+ }
7
+
8
+ .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
9
+ color: #f2777a;
10
+ }
11
+
12
+ .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
13
+ color: #f99157;
14
+ }
15
+
16
+ .tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
17
+ color: #ffcc66;
18
+ }
19
+
20
+ .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
21
+ color: #99cc99;
22
+ }
23
+
24
+ .tomorrow-aqua, pre .css .hexcolor {
25
+ color: #66cccc;
26
+ }
27
+
28
+ .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
29
+ color: #6699cc;
30
+ }
31
+
32
+ .tomorrow-purple, pre .keyword, pre .javascript .function {
33
+ color: #cc99cc;
34
+ }
35
+
36
+ pre code {
37
+ display: block;
38
+ background: #2d2d2d;
39
+ color: #cccccc;
40
+ padding: 0.5em;
41
+ }
42
+
43
+ pre .coffeescript .javascript,
44
+ pre .javascript .xml,
45
+ pre .tex .formula,
46
+ pre .xml .javascript,
47
+ pre .xml .vbscript,
48
+ pre .xml .css,
49
+ pre .xml .cdata {
50
+ opacity: 0.5;
51
+ }
@@ -0,0 +1,52 @@
1
+ /* Tomorrow Night Theme */
2
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
3
+ /* Original theme - https://github.com/chriskempson/tomorrow-theme */
4
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
5
+ .tomorrow-comment, pre .comment, pre .title {
6
+ color: #969896;
7
+ }
8
+
9
+ .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
10
+ color: #cc6666;
11
+ }
12
+
13
+ .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
14
+ color: #de935f;
15
+ }
16
+
17
+ .tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
18
+ color: #f0c674;
19
+ }
20
+
21
+ .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
22
+ color: #b5bd68;
23
+ }
24
+
25
+ .tomorrow-aqua, pre .css .hexcolor {
26
+ color: #8abeb7;
27
+ }
28
+
29
+ .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
30
+ color: #81a2be;
31
+ }
32
+
33
+ .tomorrow-purple, pre .keyword, pre .javascript .function {
34
+ color: #b294bb;
35
+ }
36
+
37
+ pre code {
38
+ display: block;
39
+ background: #1d1f21;
40
+ color: #c5c8c6;
41
+ padding: 0.5em;
42
+ }
43
+
44
+ pre .coffeescript .javascript,
45
+ pre .javascript .xml,
46
+ pre .tex .formula,
47
+ pre .xml .javascript,
48
+ pre .xml .vbscript,
49
+ pre .xml .css,
50
+ pre .xml .cdata {
51
+ opacity: 0.5;
52
+ }
@@ -0,0 +1,49 @@
1
+ /* http://jmblog.github.com/color-themes-for-google-code-highlightjs */
2
+ .tomorrow-comment, pre .comment, pre .title {
3
+ color: #8e908c;
4
+ }
5
+
6
+ .tomorrow-red, pre .variable, pre .attribute, pre .tag, pre .regexp, pre .ruby .constant, pre .xml .tag .title, pre .xml .pi, pre .xml .doctype, pre .html .doctype, pre .css .id, pre .css .class, pre .css .pseudo {
7
+ color: #c82829;
8
+ }
9
+
10
+ .tomorrow-orange, pre .number, pre .preprocessor, pre .built_in, pre .literal, pre .params, pre .constant {
11
+ color: #f5871f;
12
+ }
13
+
14
+ .tomorrow-yellow, pre .class, pre .ruby .class .title, pre .css .rules .attribute {
15
+ color: #eab700;
16
+ }
17
+
18
+ .tomorrow-green, pre .string, pre .value, pre .inheritance, pre .header, pre .ruby .symbol, pre .xml .cdata {
19
+ color: #718c00;
20
+ }
21
+
22
+ .tomorrow-aqua, pre .css .hexcolor {
23
+ color: #3e999f;
24
+ }
25
+
26
+ .tomorrow-blue, pre .function, pre .python .decorator, pre .python .title, pre .ruby .function .title, pre .ruby .title .keyword, pre .perl .sub, pre .javascript .title, pre .coffeescript .title {
27
+ color: #4271ae;
28
+ }
29
+
30
+ .tomorrow-purple, pre .keyword, pre .javascript .function {
31
+ color: #8959a8;
32
+ }
33
+
34
+ pre code {
35
+ display: block;
36
+ background: white;
37
+ color: #4d4d4c;
38
+ padding: 0.5em;
39
+ }
40
+
41
+ pre .coffeescript .javascript,
42
+ pre .javascript .xml,
43
+ pre .tex .formula,
44
+ pre .xml .javascript,
45
+ pre .xml .vbscript,
46
+ pre .xml .css,
47
+ pre .xml .cdata {
48
+ opacity: 0.5;
49
+ }
@@ -0,0 +1,86 @@
1
+ /*
2
+
3
+ Visual Studio-like style based on original C# coloring by Jason Diamond <jason@diamond.name>
4
+
5
+ */
6
+ pre code {
7
+ display: block; padding: 0.5em;
8
+ }
9
+
10
+ pre .comment,
11
+ pre .annotation,
12
+ pre .template_comment,
13
+ pre .diff .header,
14
+ pre .chunk,
15
+ pre .apache .cbracket {
16
+ color: rgb(0, 128, 0);
17
+ }
18
+
19
+ pre .keyword,
20
+ pre .id,
21
+ pre .built_in,
22
+ pre .smalltalk .class,
23
+ pre .winutils,
24
+ pre .bash .variable,
25
+ pre .tex .command,
26
+ pre .request,
27
+ pre .status,
28
+ pre .nginx .title,
29
+ pre .xml .tag,
30
+ pre .xml .tag .value {
31
+ color: rgb(0, 0, 255);
32
+ }
33
+
34
+ pre .string,
35
+ pre .title,
36
+ pre .parent,
37
+ pre .tag .value,
38
+ pre .rules .value,
39
+ pre .rules .value .number,
40
+ pre .ruby .symbol,
41
+ pre .ruby .symbol .string,
42
+ pre .aggregate,
43
+ pre .template_tag,
44
+ pre .django .variable,
45
+ pre .addition,
46
+ pre .flow,
47
+ pre .stream,
48
+ pre .apache .tag,
49
+ pre .date,
50
+ pre .tex .formula {
51
+ color: rgb(163, 21, 21);
52
+ }
53
+
54
+ pre .ruby .string,
55
+ pre .decorator,
56
+ pre .filter .argument,
57
+ pre .localvars,
58
+ pre .array,
59
+ pre .attr_selector,
60
+ pre .pseudo,
61
+ pre .pi,
62
+ pre .doctype,
63
+ pre .deletion,
64
+ pre .envvar,
65
+ pre .shebang,
66
+ pre .preprocessor,
67
+ pre .userType,
68
+ pre .apache .sqbracket,
69
+ pre .nginx .built_in,
70
+ pre .tex .special,
71
+ pre .prompt {
72
+ color: rgb(43, 145, 175);
73
+ }
74
+
75
+ pre .phpdoc,
76
+ pre .javadoc,
77
+ pre .xmlDocTag {
78
+ color: rgb(128, 128, 128);
79
+ }
80
+
81
+ pre .vhdl .typename { font-weight: bold; }
82
+ pre .vhdl .string { color: #666666; }
83
+ pre .vhdl .literal { color: rgb(163, 21, 21); }
84
+ pre .vhdl .attribute { color: #00B0E8; }
85
+
86
+ pre .xml .attribute { color: rgb(255, 0, 0); }
@@ -0,0 +1,154 @@
1
+ /*
2
+
3
+ XCode style (c) Angel Garcia <angelgarcia.mail@gmail.com>
4
+
5
+ */
6
+
7
+ pre code {
8
+ display: block; padding: 0.5em;
9
+ background: #fff; color: black;
10
+ }
11
+
12
+ pre .comment,
13
+ pre .template_comment,
14
+ pre .javadoc,
15
+ pre .comment * {
16
+ color: rgb(0,106,0);
17
+ }
18
+
19
+ pre .keyword,
20
+ pre .literal,
21
+ pre .nginx .title {
22
+ color: rgb(170,13,145);
23
+ }
24
+ pre .method,
25
+ pre .list .title,
26
+ pre .tag .title,
27
+ pre .setting .value,
28
+ pre .winutils,
29
+ pre .tex .command,
30
+ pre .http .title,
31
+ pre .request,
32
+ pre .status {
33
+ color: #008;
34
+ }
35
+
36
+ pre .envvar,
37
+ pre .tex .special {
38
+ color: #660;
39
+ }
40
+
41
+ pre .string {
42
+ color: rgb(196,26,22);
43
+ }
44
+ pre .tag .value,
45
+ pre .cdata,
46
+ pre .filter .argument,
47
+ pre .attr_selector,
48
+ pre .apache .cbracket,
49
+ pre .date,
50
+ pre .regexp {
51
+ color: #080;
52
+ }
53
+
54
+ pre .sub .identifier,
55
+ pre .pi,
56
+ pre .tag,
57
+ pre .tag .keyword,
58
+ pre .decorator,
59
+ pre .ini .title,
60
+ pre .shebang,
61
+ pre .prompt,
62
+ pre .hexcolor,
63
+ pre .rules .value,
64
+ pre .css .value .number,
65
+ pre .symbol,
66
+ pre .symbol .string,
67
+ pre .number,
68
+ pre .css .function,
69
+ pre .clojure .title,
70
+ pre .clojure .built_in {
71
+ color: rgb(28,0,207);
72
+ }
73
+
74
+ pre .class .title,
75
+ pre .haskell .type,
76
+ pre .smalltalk .class,
77
+ pre .javadoctag,
78
+ pre .yardoctag,
79
+ pre .phpdoc,
80
+ pre .typename,
81
+ pre .tag .attribute,
82
+ pre .doctype,
83
+ pre .class .id,
84
+ pre .built_in,
85
+ pre .setting,
86
+ pre .params,
87
+ pre .clojure .attribute {
88
+ color: rgb(92,38,153);
89
+ }
90
+
91
+ pre .variable {
92
+ color: rgb(63,110,116);
93
+ }
94
+ pre .css .tag,
95
+ pre .rules .property,
96
+ pre .pseudo,
97
+ pre .subst {
98
+ color: #000;
99
+ }
100
+
101
+ pre .css .class, pre .css .id {
102
+ color: #9B703F;
103
+ }
104
+
105
+ pre .value .important {
106
+ color: #ff7700;
107
+ font-weight: bold;
108
+ }
109
+
110
+ pre .rules .keyword {
111
+ color: #C5AF75;
112
+ }
113
+
114
+ pre .annotation,
115
+ pre .apache .sqbracket,
116
+ pre .nginx .built_in {
117
+ color: #9B859D;
118
+ }
119
+
120
+ pre .preprocessor,
121
+ pre .preprocessor * {
122
+ color: rgb(100,56,32);
123
+ }
124
+
125
+ pre .tex .formula {
126
+ background-color: #EEE;
127
+ font-style: italic;
128
+ }
129
+
130
+ pre .diff .header,
131
+ pre .chunk {
132
+ color: #808080;
133
+ font-weight: bold;
134
+ }
135
+
136
+ pre .diff .change {
137
+ background-color: #BCCFF9;
138
+ }
139
+
140
+ pre .addition {
141
+ background-color: #BAEEBA;
142
+ }
143
+
144
+ pre .deletion {
145
+ background-color: #FFC8BD;
146
+ }
147
+
148
+ pre .comment .yardoctag {
149
+ font-weight: bold;
150
+ }
151
+
152
+ pre .method .id {
153
+ color: #000;
154
+ }