condo_interface 0.0.1

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 (54) hide show
  1. data/MIT-LICENSE +20 -0
  2. data/README.textile +5 -0
  3. data/Rakefile +40 -0
  4. data/app/assets/images/condo_interface/close.png +0 -0
  5. data/app/assets/images/condo_interface/close.svg +71 -0
  6. data/app/assets/images/condo_interface/document.png +0 -0
  7. data/app/assets/images/condo_interface/document.svg +108 -0
  8. data/app/assets/images/condo_interface/pause.png +0 -0
  9. data/app/assets/images/condo_interface/pause.svg +75 -0
  10. data/app/assets/images/condo_interface/play.png +0 -0
  11. data/app/assets/images/condo_interface/play.svg +79 -0
  12. data/app/assets/javascripts/condo_interface/directives.js +308 -0
  13. data/app/assets/javascripts/condo_interface.js +1 -0
  14. data/app/assets/stylesheets/condo_interface/images.css.erb +51 -0
  15. data/app/assets/stylesheets/condo_interface/uploads.css +475 -0
  16. data/app/assets/stylesheets/condo_interface.css +16 -0
  17. data/app/assets/templates/_upload.html +59 -0
  18. data/app/views/condo_interface/_upload.html +4 -0
  19. data/lib/condo_interface/engine.rb +5 -0
  20. data/lib/condo_interface/version.rb +3 -0
  21. data/lib/condo_interface.rb +4 -0
  22. data/lib/tasks/condo_interface_tasks.rake +4 -0
  23. data/test/condo_interface_test.rb +7 -0
  24. data/test/dummy/README.rdoc +261 -0
  25. data/test/dummy/Rakefile +7 -0
  26. data/test/dummy/app/assets/javascripts/application.js +15 -0
  27. data/test/dummy/app/assets/stylesheets/application.css +13 -0
  28. data/test/dummy/app/controllers/application_controller.rb +3 -0
  29. data/test/dummy/app/helpers/application_helper.rb +2 -0
  30. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  31. data/test/dummy/config/application.rb +59 -0
  32. data/test/dummy/config/boot.rb +10 -0
  33. data/test/dummy/config/database.yml +25 -0
  34. data/test/dummy/config/environment.rb +5 -0
  35. data/test/dummy/config/environments/development.rb +37 -0
  36. data/test/dummy/config/environments/production.rb +67 -0
  37. data/test/dummy/config/environments/test.rb +37 -0
  38. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  39. data/test/dummy/config/initializers/inflections.rb +15 -0
  40. data/test/dummy/config/initializers/mime_types.rb +5 -0
  41. data/test/dummy/config/initializers/secret_token.rb +7 -0
  42. data/test/dummy/config/initializers/session_store.rb +8 -0
  43. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  44. data/test/dummy/config/locales/en.yml +5 -0
  45. data/test/dummy/config/routes.rb +4 -0
  46. data/test/dummy/config.ru +4 -0
  47. data/test/dummy/public/404.html +26 -0
  48. data/test/dummy/public/422.html +26 -0
  49. data/test/dummy/public/500.html +25 -0
  50. data/test/dummy/public/favicon.ico +0 -0
  51. data/test/dummy/script/rails +6 -0
  52. data/test/integration/navigation_test.rb +10 -0
  53. data/test/test_helper.rb +15 -0
  54. metadata +161 -0
data/MIT-LICENSE ADDED
@@ -0,0 +1,20 @@
1
+ Copyright 2012 YOURNAME
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining
4
+ a copy of this software and associated documentation files (the
5
+ "Software"), to deal in the Software without restriction, including
6
+ without limitation the rights to use, copy, modify, merge, publish,
7
+ distribute, sublicense, and/or sell copies of the Software, and to
8
+ permit persons to whom the Software is furnished to do so, subject to
9
+ the following conditions:
10
+
11
+ The above copyright notice and this permission notice shall be
12
+ included in all copies or substantial portions of the Software.
13
+
14
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
data/README.textile ADDED
@@ -0,0 +1,5 @@
1
+ h1. condo_interface
2
+
3
+ The default UI for the Condo project. Feel free to use, extend, adapt or write your own.
4
+
5
+
data/Rakefile ADDED
@@ -0,0 +1,40 @@
1
+ #!/usr/bin/env rake
2
+ begin
3
+ require 'bundler/setup'
4
+ rescue LoadError
5
+ puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
6
+ end
7
+ begin
8
+ require 'rdoc/task'
9
+ rescue LoadError
10
+ require 'rdoc/rdoc'
11
+ require 'rake/rdoctask'
12
+ RDoc::Task = Rake::RDocTask
13
+ end
14
+
15
+ RDoc::Task.new(:rdoc) do |rdoc|
16
+ rdoc.rdoc_dir = 'rdoc'
17
+ rdoc.title = 'CondoInterface'
18
+ rdoc.options << '--line-numbers'
19
+ rdoc.rdoc_files.include('README.rdoc')
20
+ rdoc.rdoc_files.include('lib/**/*.rb')
21
+ end
22
+
23
+ APP_RAKEFILE = File.expand_path("../test/dummy/Rakefile", __FILE__)
24
+ load 'rails/tasks/engine.rake'
25
+
26
+
27
+
28
+ Bundler::GemHelper.install_tasks
29
+
30
+ require 'rake/testtask'
31
+
32
+ Rake::TestTask.new(:test) do |t|
33
+ t.libs << 'lib'
34
+ t.libs << 'test'
35
+ t.pattern = 'test/**/*_test.rb'
36
+ t.verbose = false
37
+ end
38
+
39
+
40
+ task :default => :test
@@ -0,0 +1,71 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="311.34872"
13
+ height="359.05936"
14
+ id="svg2"
15
+ version="1.1"
16
+ inkscape:version="0.48.2 r9819"
17
+ sodipodi:docname="close.svg">
18
+ <defs
19
+ id="defs4" />
20
+ <sodipodi:namedview
21
+ id="base"
22
+ pagecolor="#ffffff"
23
+ bordercolor="#666666"
24
+ borderopacity="1.0"
25
+ inkscape:pageopacity="0.0"
26
+ inkscape:pageshadow="2"
27
+ inkscape:zoom="0.98994949"
28
+ inkscape:cx="-42.827928"
29
+ inkscape:cy="34.486746"
30
+ inkscape:document-units="px"
31
+ inkscape:current-layer="layer1"
32
+ showgrid="false"
33
+ inkscape:snap-page="true"
34
+ inkscape:window-width="1920"
35
+ inkscape:window-height="1178"
36
+ inkscape:window-x="1912"
37
+ inkscape:window-y="-8"
38
+ inkscape:window-maximized="1"
39
+ fit-margin-top="0"
40
+ fit-margin-left="0"
41
+ fit-margin-right="0"
42
+ fit-margin-bottom="0" />
43
+ <metadata
44
+ id="metadata7">
45
+ <rdf:RDF>
46
+ <cc:Work
47
+ rdf:about="">
48
+ <dc:format>image/svg+xml</dc:format>
49
+ <dc:type
50
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
51
+ <dc:title />
52
+ </cc:Work>
53
+ </rdf:RDF>
54
+ </metadata>
55
+ <g
56
+ inkscape:label="Layer 1"
57
+ inkscape:groupmode="layer"
58
+ id="layer1"
59
+ transform="translate(-25.253804,-23.571698)">
60
+ <path
61
+ style="fill:none;stroke:#f80000;stroke-width:34.56;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
62
+ d="M 101.68052,109.54499 263.99466,280.95051"
63
+ id="path2987"
64
+ inkscape:connector-curvature="0" />
65
+ <path
66
+ style="fill:none;stroke:#f80000;stroke-width:34.56;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
67
+ d="M 263.99466,109.03992 101.68053,280.44544"
68
+ id="path2987-1"
69
+ inkscape:connector-curvature="0" />
70
+ </g>
71
+ </svg>
@@ -0,0 +1,108 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="311.34872"
13
+ height="359.05936"
14
+ id="svg2"
15
+ version="1.1"
16
+ inkscape:version="0.48.2 r9819"
17
+ sodipodi:docname="document.svg">
18
+ <defs
19
+ id="defs4" />
20
+ <sodipodi:namedview
21
+ id="base"
22
+ pagecolor="#ffffff"
23
+ bordercolor="#666666"
24
+ borderopacity="1.0"
25
+ inkscape:pageopacity="0.0"
26
+ inkscape:pageshadow="2"
27
+ inkscape:zoom="0.98994949"
28
+ inkscape:cx="-42.827928"
29
+ inkscape:cy="34.486746"
30
+ inkscape:document-units="px"
31
+ inkscape:current-layer="layer1"
32
+ showgrid="false"
33
+ inkscape:snap-page="true"
34
+ inkscape:window-width="1920"
35
+ inkscape:window-height="1138"
36
+ inkscape:window-x="-8"
37
+ inkscape:window-y="-8"
38
+ inkscape:window-maximized="1"
39
+ fit-margin-top="0"
40
+ fit-margin-left="0"
41
+ fit-margin-right="0"
42
+ fit-margin-bottom="0" />
43
+ <metadata
44
+ id="metadata7">
45
+ <rdf:RDF>
46
+ <cc:Work
47
+ rdf:about="">
48
+ <dc:format>image/svg+xml</dc:format>
49
+ <dc:type
50
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
51
+ <dc:title></dc:title>
52
+ </cc:Work>
53
+ </rdf:RDF>
54
+ </metadata>
55
+ <g
56
+ inkscape:label="Layer 1"
57
+ inkscape:groupmode="layer"
58
+ id="layer1"
59
+ transform="translate(-25.253804,-23.571698)">
60
+ <rect
61
+ style="fill:#052d47;fill-opacity:1;stroke:none"
62
+ id="rect2983"
63
+ width="195.96959"
64
+ height="284.86301"
65
+ x="82.832497"
66
+ y="59.382236" />
67
+ <rect
68
+ style="fill:#052d47;fill-opacity:1;stroke:#ffffff;stroke-width:10.13814354;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
69
+ id="rect3753"
70
+ width="79.861855"
71
+ height="79.861855"
72
+ x="197.67191"
73
+ y="262.68109" />
74
+ <path
75
+ sodipodi:type="star"
76
+ style="fill:#ffffff;fill-opacity:1;stroke:#ffffff;stroke-width:2.5162499;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
77
+ id="path3757"
78
+ sodipodi:sides="3"
79
+ sodipodi:cx="252.53815"
80
+ sodipodi:cy="317.6431"
81
+ sodipodi:r1="62.023697"
82
+ sodipodi:r2="31.011845"
83
+ sodipodi:arg1="-1.2902595"
84
+ sodipodi:arg2="-0.24306198"
85
+ inkscape:flatsided="false"
86
+ inkscape:rounded="0"
87
+ inkscape:randomized="0"
88
+ d="m 269.71074,258.0441 12.92768,52.1352 12.92768,52.1352 -51.61425,-14.87191 -51.61425,-14.8719 38.68657,-37.26329 z"
89
+ transform="matrix(1.010705,0,0,1.1735327,3.033148,-42.556863)"
90
+ inkscape:transform-center-x="8.6782039"
91
+ inkscape:transform-center-y="-8.759015" />
92
+ <path
93
+ style="fill:none;stroke:#ffffff;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
94
+ d="m 114.14723,110.90002 137.38075,-1.01015"
95
+ id="path3759"
96
+ inkscape:connector-curvature="0" />
97
+ <path
98
+ style="fill:none;stroke:#ffffff;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
99
+ d="m 114.14722,160.90257 137.38074,-1.01015"
100
+ id="path3759-1"
101
+ inkscape:connector-curvature="0" />
102
+ <path
103
+ style="fill:none;stroke:#ffffff;stroke-width:10;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
104
+ d="M 114.14723,210.40005 251.52797,209.3899"
105
+ id="path3759-1-4"
106
+ inkscape:connector-curvature="0" />
107
+ </g>
108
+ </svg>
@@ -0,0 +1,75 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="311.34872"
13
+ height="359.05936"
14
+ id="svg2"
15
+ version="1.1"
16
+ inkscape:version="0.48.2 r9819"
17
+ sodipodi:docname="pause.svg">
18
+ <defs
19
+ id="defs4" />
20
+ <sodipodi:namedview
21
+ id="base"
22
+ pagecolor="#ffffff"
23
+ bordercolor="#666666"
24
+ borderopacity="1.0"
25
+ inkscape:pageopacity="0.0"
26
+ inkscape:pageshadow="2"
27
+ inkscape:zoom="0.98994949"
28
+ inkscape:cx="-42.827928"
29
+ inkscape:cy="34.486746"
30
+ inkscape:document-units="px"
31
+ inkscape:current-layer="layer1"
32
+ showgrid="false"
33
+ inkscape:snap-page="true"
34
+ inkscape:window-width="1920"
35
+ inkscape:window-height="1138"
36
+ inkscape:window-x="-8"
37
+ inkscape:window-y="-8"
38
+ inkscape:window-maximized="1"
39
+ fit-margin-top="0"
40
+ fit-margin-left="0"
41
+ fit-margin-right="0"
42
+ fit-margin-bottom="0" />
43
+ <metadata
44
+ id="metadata7">
45
+ <rdf:RDF>
46
+ <cc:Work
47
+ rdf:about="">
48
+ <dc:format>image/svg+xml</dc:format>
49
+ <dc:type
50
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
51
+ <dc:title />
52
+ </cc:Work>
53
+ </rdf:RDF>
54
+ </metadata>
55
+ <g
56
+ inkscape:label="Layer 1"
57
+ inkscape:groupmode="layer"
58
+ id="layer1"
59
+ transform="translate(-25.253804,-23.571698)">
60
+ <rect
61
+ style="fill:#052d47;fill-opacity:1;stroke:none"
62
+ id="rect2983"
63
+ width="200"
64
+ height="200"
65
+ x="82.832497"
66
+ y="89.697021" />
67
+ <rect
68
+ style="fill:#ffffff;fill-opacity:1;stroke:none"
69
+ id="rect3753"
70
+ width="59.599003"
71
+ height="240.41631"
72
+ x="153.54318"
73
+ y="67.463463" />
74
+ </g>
75
+ </svg>
@@ -0,0 +1,79 @@
1
+ <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2
+ <!-- Created with Inkscape (http://www.inkscape.org/) -->
3
+
4
+ <svg
5
+ xmlns:dc="http://purl.org/dc/elements/1.1/"
6
+ xmlns:cc="http://creativecommons.org/ns#"
7
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
8
+ xmlns:svg="http://www.w3.org/2000/svg"
9
+ xmlns="http://www.w3.org/2000/svg"
10
+ xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
11
+ xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
12
+ width="311.34872"
13
+ height="359.05936"
14
+ id="svg2"
15
+ version="1.1"
16
+ inkscape:version="0.48.2 r9819"
17
+ sodipodi:docname="play.svg">
18
+ <defs
19
+ id="defs4" />
20
+ <sodipodi:namedview
21
+ id="base"
22
+ pagecolor="#ffffff"
23
+ bordercolor="#666666"
24
+ borderopacity="1.0"
25
+ inkscape:pageopacity="0.0"
26
+ inkscape:pageshadow="2"
27
+ inkscape:zoom="0.98994949"
28
+ inkscape:cx="114.75587"
29
+ inkscape:cy="34.486746"
30
+ inkscape:document-units="px"
31
+ inkscape:current-layer="layer1"
32
+ showgrid="false"
33
+ inkscape:snap-page="true"
34
+ inkscape:window-width="1920"
35
+ inkscape:window-height="1138"
36
+ inkscape:window-x="-8"
37
+ inkscape:window-y="-8"
38
+ inkscape:window-maximized="1"
39
+ fit-margin-top="0"
40
+ fit-margin-left="0"
41
+ fit-margin-right="0"
42
+ fit-margin-bottom="0" />
43
+ <metadata
44
+ id="metadata7">
45
+ <rdf:RDF>
46
+ <cc:Work
47
+ rdf:about="">
48
+ <dc:format>image/svg+xml</dc:format>
49
+ <dc:type
50
+ rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
51
+ <dc:title />
52
+ </cc:Work>
53
+ </rdf:RDF>
54
+ </metadata>
55
+ <g
56
+ inkscape:label="Layer 1"
57
+ inkscape:groupmode="layer"
58
+ id="layer1"
59
+ transform="translate(-25.253804,-23.571698)">
60
+ <path
61
+ sodipodi:type="star"
62
+ style="fill:#052d47;fill-opacity:1"
63
+ id="path2993"
64
+ sodipodi:sides="3"
65
+ sodipodi:cx="115.15739"
66
+ sodipodi:cy="40.189331"
67
+ sodipodi:r1="207.30351"
68
+ sodipodi:r2="103.65175"
69
+ sodipodi:arg1="2.0965909"
70
+ sodipodi:arg2="3.1437884"
71
+ inkscape:flatsided="false"
72
+ inkscape:rounded="0"
73
+ inkscape:randomized="0"
74
+ d="M 11.111669,219.49141 11.505888,39.961738 11.900092,-139.56794 167.18024,-49.461704 322.4604,40.644527 166.78604,130.06796 z"
75
+ inkscape:transform-center-x="-35.04555"
76
+ inkscape:transform-center-y="-0.1558865"
77
+ transform="matrix(0.67880036,0,0,0.68490701,64.178221,161.58916)" />
78
+ </g>
79
+ </svg>