wontomedia 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- data/COPYING +661 -0
- data/COPYING.DOCUMENTATION +450 -0
- data/LICENSE +661 -0
- data/README.markdown +56 -0
- data/Rakefile +185 -0
- data/VERSION.yml +4 -0
- data/app/controllers/admin_controller.rb +144 -0
- data/app/controllers/application_controller.rb +29 -0
- data/app/controllers/connections_controller.rb +150 -0
- data/app/controllers/items_controller.rb +365 -0
- data/app/helpers/connections_helper.rb +67 -0
- data/app/helpers/format_helper.rb +154 -0
- data/app/helpers/items_helper.rb +105 -0
- data/app/models/category_item.rb +23 -0
- data/app/models/connection.rb +210 -0
- data/app/models/individual_item.rb +23 -0
- data/app/models/item.rb +86 -0
- data/app/models/property_item.rb +23 -0
- data/app/models/qualified_item.rb +23 -0
- data/app/views/admin/index.html.erb +74 -0
- data/app/views/connections/_index_outbound_links.html.erb +48 -0
- data/app/views/connections/_spo_select_controls.html.erb +151 -0
- data/app/views/connections/edit.html.erb +70 -0
- data/app/views/connections/index.html.erb +84 -0
- data/app/views/connections/new.html.erb +61 -0
- data/app/views/connections/show.html.erb +110 -0
- data/app/views/items/_active_content.html.erb +26 -0
- data/app/views/items/_content_examples.html.erb +55 -0
- data/app/views/items/_core_tasks.html.erb +23 -0
- data/app/views/items/_form_fields.html.erb +69 -0
- data/app/views/items/_list_outbound_links.html.erb +58 -0
- data/app/views/items/_screen_select.html.erb +24 -0
- data/app/views/items/_show_outbound_links.html.erb +70 -0
- data/app/views/items/_topic_list.html.erb +26 -0
- data/app/views/items/_type_select.html.erb +47 -0
- data/app/views/items/edit.html.erb +63 -0
- data/app/views/items/index.html.erb +74 -0
- data/app/views/items/new.html.erb +124 -0
- data/app/views/items/newpop.html.erb +58 -0
- data/app/views/items/show.html.erb +209 -0
- data/app/views/layouts/_amazon_ads.html.erb +55 -0
- data/app/views/layouts/_glossary_help_box.html.erb +43 -0
- data/app/views/layouts/_google_ads.html.erb +40 -0
- data/app/views/layouts/_language_select.html.erb +24 -0
- data/app/views/layouts/_login_controls.html.erb +24 -0
- data/app/views/layouts/_master_help.html.erb +24 -0
- data/app/views/layouts/_navigation_menu.html.erb +39 -0
- data/app/views/layouts/_search_box.html.erb +27 -0
- data/app/views/layouts/_status_msgs.html.erb +25 -0
- data/app/views/layouts/application.html.erb +67 -0
- data/app/views/layouts/base.html.erb +93 -0
- data/app/views/layouts/home.html.erb +67 -0
- data/app/views/layouts/popup.html.erb +23 -0
- data/assets/wontomedia-sample.rb +47 -0
- data/config/asset_packages.yml +44 -0
- data/config/boot.rb +110 -0
- data/config/cucumber.yml +65 -0
- data/config/database-mysql-development.yml +47 -0
- data/config/database-mysql.yml +26 -0
- data/config/environment.rb +94 -0
- data/config/environments/cucumber.rb +29 -0
- data/config/environments/development.rb +26 -0
- data/config/environments/production.rb +33 -0
- data/config/environments/test.rb +31 -0
- data/config/initializers/inflections.rb +19 -0
- data/config/initializers/mime_types.rb +14 -0
- data/config/initializers/new_rails_defaults.rb +26 -0
- data/config/locales/en.yml +14 -0
- data/config/routes.rb +37 -0
- data/db/fixtures/connections.yml +96 -0
- data/db/fixtures/items.yml +277 -0
- data/db/migrate/20090312212805_create_items.rb +31 -0
- data/db/migrate/20090406221320_create_connections.rb +32 -0
- data/db/migrate/20090411014503_add_type_for_item_subclasses.rb +29 -0
- data/db/migrate/20090415142152_rename_item_type.rb +31 -0
- data/db/migrate/20090518022918_rename_object_and_self.rb +33 -0
- data/db/migrate/20090529171442_add_flags_to_items.rb +27 -0
- data/db/migrate/20090529171508_add_flags_to_connections.rb +27 -0
- data/db/migrate/20090605213800_flags_columns_not_null.rb +29 -0
- data/db/migrate/20090605215028_flags_columns_default_zero.rb +29 -0
- data/db/schema.rb +30 -0
- data/default-custom/app/views/items/_home_extern_list.html.erb +32 -0
- data/default-custom/app/views/items/_home_introductory_text.html.erb +70 -0
- data/default-custom/app/views/items/home.html.erb +77 -0
- data/default-custom/public/images/logo.png +0 -0
- data/default-custom/public/images/logo.svg +74 -0
- data/default-custom/public/stylesheets/wm.css +301 -0
- data/doc/README.markdown +44 -0
- data/doc/README_FOR_APP +82 -0
- data/doc/customization.markdown +93 -0
- data/doc/scripts/rake-customize.markdown +83 -0
- data/lib/helpers/connection_helper.rb +41 -0
- data/lib/helpers/item_helper.rb +141 -0
- data/lib/helpers/tripple_navigation.rb +158 -0
- data/lib/tasks/cucumber.rake +83 -0
- data/lib/tasks/customize.rake +70 -0
- data/lib/tasks/db.rake +65 -0
- data/lib/tasks/javascript_testing_tasks.rake +176 -0
- data/public/404.html +50 -0
- data/public/422.html +50 -0
- data/public/500.html +53 -0
- data/public/dispatch.cgi +20 -0
- data/public/dispatch.fcgi +34 -0
- data/public/dispatch.rb +20 -0
- data/public/favicon.ico +0 -0
- data/public/images/blank_error_icon.png +0 -0
- data/public/images/blank_status_icon.png +0 -0
- data/public/images/error_error_icon.png +0 -0
- data/public/images/error_status_icon.png +0 -0
- data/public/images/good_status_icon.png +0 -0
- data/public/images/help_icon.png +0 -0
- data/public/images/twitter_icon.png +0 -0
- data/public/images/warn_error_icon.png +0 -0
- data/public/images/working_status_icon.gif +0 -0
- data/public/javascripts/application.js +56 -0
- data/public/javascripts/controls.js +963 -0
- data/public/javascripts/dragdrop.js +973 -0
- data/public/javascripts/effects.js +1128 -0
- data/public/javascripts/event.simulate.js +64 -0
- data/public/javascripts/fancybox.js +43 -0
- data/public/javascripts/forConnectionsForms.js +218 -0
- data/public/javascripts/forItemsForms.js +511 -0
- data/public/javascripts/itemCreatePopup.js +115 -0
- data/public/javascripts/itemTitleToName.js +119 -0
- data/public/javascripts/jquery.js +4376 -0
- data/public/javascripts/modalbox.js +502 -0
- data/public/javascripts/prototype.js +4320 -0
- data/public/javascripts/reconcileJQueryAndPrototype.js +19 -0
- data/public/robots.txt +7 -0
- data/public/stylesheets/blank.gif +0 -0
- data/public/stylesheets/fancy_close.png +0 -0
- data/public/stylesheets/fancy_loading.png +0 -0
- data/public/stylesheets/fancy_nav_left.png +0 -0
- data/public/stylesheets/fancy_nav_right.png +0 -0
- data/public/stylesheets/fancy_shadow_e.png +0 -0
- data/public/stylesheets/fancy_shadow_n.png +0 -0
- data/public/stylesheets/fancy_shadow_ne.png +0 -0
- data/public/stylesheets/fancy_shadow_nw.png +0 -0
- data/public/stylesheets/fancy_shadow_s.png +0 -0
- data/public/stylesheets/fancy_shadow_se.png +0 -0
- data/public/stylesheets/fancy_shadow_sw.png +0 -0
- data/public/stylesheets/fancy_shadow_w.png +0 -0
- data/public/stylesheets/fancy_title_left.png +0 -0
- data/public/stylesheets/fancy_title_main.png +0 -0
- data/public/stylesheets/fancy_title_over.png +0 -0
- data/public/stylesheets/fancy_title_right.png +0 -0
- data/public/stylesheets/fancybox.css +333 -0
- data/public/stylesheets/modalbox.css +110 -0
- data/public/stylesheets/scaffold.css +36 -0
- data/public/stylesheets/spinner.gif +0 -0
- data/script/about +4 -0
- data/script/console +3 -0
- data/script/cucumber +10 -0
- data/script/dbconsole +3 -0
- data/script/destroy +3 -0
- data/script/generate +3 -0
- data/script/performance/benchmarker +3 -0
- data/script/performance/profiler +3 -0
- data/script/performance/request +3 -0
- data/script/plugin +3 -0
- data/script/process/inspector +3 -0
- data/script/process/reaper +3 -0
- data/script/process/spawner +3 -0
- data/script/runner +3 -0
- data/script/server +3 -0
- data/vendor/plugins/asset_packager/CHANGELOG +122 -0
- data/vendor/plugins/asset_packager/README +178 -0
- data/vendor/plugins/asset_packager/Rakefile +22 -0
- data/vendor/plugins/asset_packager/about.yml +8 -0
- data/vendor/plugins/asset_packager/init.rb +2 -0
- data/vendor/plugins/asset_packager/install.rb +1 -0
- data/vendor/plugins/asset_packager/lib/jsmin.rb +205 -0
- data/vendor/plugins/asset_packager/lib/synthesis/asset_package.rb +212 -0
- data/vendor/plugins/asset_packager/lib/synthesis/asset_package_helper.rb +39 -0
- data/vendor/plugins/asset_packager/tasks/asset_packager_tasks.rake +23 -0
- data/vendor/plugins/asset_packager/test/asset_package_helper_development_test.rb +100 -0
- data/vendor/plugins/asset_packager/test/asset_package_helper_production_test.rb +140 -0
- data/vendor/plugins/asset_packager/test/asset_packager_test.rb +92 -0
- data/vendor/plugins/asset_packager/test/asset_packages.yml +20 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/application.js +2 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/bar.js +4 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/controls.js +815 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/dragdrop.js +913 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/effects.js +958 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/foo.js +4 -0
- data/vendor/plugins/asset_packager/test/assets/javascripts/prototype.js +2006 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/bar.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/foo.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/header.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/screen.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/subdir/bar.css +16 -0
- data/vendor/plugins/asset_packager/test/assets/stylesheets/subdir/foo.css +16 -0
- metadata +265 -0
Binary file
|
@@ -0,0 +1,74 @@
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
2
|
+
<!-- Created with Inkscape (http://www.inkscape.org/) -->
|
3
|
+
<svg
|
4
|
+
xmlns:dc="http://purl.org/dc/elements/1.1/"
|
5
|
+
xmlns:cc="http://creativecommons.org/ns#"
|
6
|
+
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
7
|
+
xmlns:svg="http://www.w3.org/2000/svg"
|
8
|
+
xmlns="http://www.w3.org/2000/svg"
|
9
|
+
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
|
10
|
+
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
|
11
|
+
width="744.09448819"
|
12
|
+
height="1052.3622047"
|
13
|
+
id="svg2"
|
14
|
+
sodipodi:version="0.32"
|
15
|
+
inkscape:version="0.46"
|
16
|
+
sodipodi:docname="logo.svg"
|
17
|
+
inkscape:output_extension="org.inkscape.output.svg.inkscape"
|
18
|
+
inkscape:export-filename="/home/gei/Repos/Mainlines/wontomedia/public/images/logo.png"
|
19
|
+
inkscape:export-xdpi="72"
|
20
|
+
inkscape:export-ydpi="72">
|
21
|
+
<defs
|
22
|
+
id="defs4">
|
23
|
+
<inkscape:perspective
|
24
|
+
sodipodi:type="inkscape:persp3d"
|
25
|
+
inkscape:vp_x="0 : 526.18109 : 1"
|
26
|
+
inkscape:vp_y="0 : 1000 : 0"
|
27
|
+
inkscape:vp_z="744.09448 : 526.18109 : 1"
|
28
|
+
inkscape:persp3d-origin="372.04724 : 350.78739 : 1"
|
29
|
+
id="perspective10" />
|
30
|
+
</defs>
|
31
|
+
<sodipodi:namedview
|
32
|
+
id="base"
|
33
|
+
pagecolor="#ffffff"
|
34
|
+
bordercolor="#666666"
|
35
|
+
borderopacity="1.0"
|
36
|
+
gridtolerance="10000"
|
37
|
+
guidetolerance="10"
|
38
|
+
objecttolerance="10"
|
39
|
+
inkscape:pageopacity="0.0"
|
40
|
+
inkscape:pageshadow="2"
|
41
|
+
inkscape:zoom="1.979899"
|
42
|
+
inkscape:cx="179.03128"
|
43
|
+
inkscape:cy="992.81755"
|
44
|
+
inkscape:document-units="px"
|
45
|
+
inkscape:current-layer="layer1"
|
46
|
+
showgrid="false"
|
47
|
+
inkscape:window-width="1140"
|
48
|
+
inkscape:window-height="726"
|
49
|
+
inkscape:window-x="5"
|
50
|
+
inkscape:window-y="49" />
|
51
|
+
<metadata
|
52
|
+
id="metadata7">
|
53
|
+
<rdf:RDF>
|
54
|
+
<cc:Work
|
55
|
+
rdf:about="">
|
56
|
+
<dc:format>image/svg+xml</dc:format>
|
57
|
+
<dc:type
|
58
|
+
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
|
59
|
+
</cc:Work>
|
60
|
+
</rdf:RDF>
|
61
|
+
</metadata>
|
62
|
+
<g
|
63
|
+
inkscape:label="Layer 1"
|
64
|
+
inkscape:groupmode="layer"
|
65
|
+
id="layer1">
|
66
|
+
<rect
|
67
|
+
style="opacity:1;fill:#ffffff;stroke:#f8f8ff;stroke-width:14.29398632000000013;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;fill-opacity:0"
|
68
|
+
id="rect2383"
|
69
|
+
width="597.87744"
|
70
|
+
height="364.05673"
|
71
|
+
x="7.8409696"
|
72
|
+
y="7.3717427" />
|
73
|
+
</g>
|
74
|
+
</svg>
|
@@ -0,0 +1,301 @@
|
|
1
|
+
|
2
|
+
/* color palette:
|
3
|
+
text: black
|
4
|
+
content background: white
|
5
|
+
page background: almost-white blue #f8f8ff
|
6
|
+
in-content divider: very light blue #e8e8ff
|
7
|
+
active area background: light blue #d0d0ff
|
8
|
+
content border: 2nd-darkest blue #b0b0ff
|
9
|
+
dk blue #040460
|
10
|
+
unvisited link color: #1d43c0
|
11
|
+
visited link color: #64439d
|
12
|
+
accent color: yellow
|
13
|
+
(logo fill, bullets)
|
14
|
+
subdued accent: light yellow #ffff60
|
15
|
+
(question-mark help icon)
|
16
|
+
*/
|
17
|
+
|
18
|
+
|
19
|
+
/* global settings */
|
20
|
+
body, p, ol, ul, td {
|
21
|
+
color: black;
|
22
|
+
font-family: verdana, georgia, "times new roman", arial, helvetica, sans-serif;
|
23
|
+
font-size: small;
|
24
|
+
font-size-adjust: none;
|
25
|
+
font-style: normal;
|
26
|
+
font-variant: normal;
|
27
|
+
font-weight: normal;
|
28
|
+
line-height: normal;
|
29
|
+
}
|
30
|
+
body {
|
31
|
+
background-color: #f8f8ff;
|
32
|
+
}
|
33
|
+
|
34
|
+
a:link img,
|
35
|
+
a:active img,
|
36
|
+
a:visited img {
|
37
|
+
border: 0;
|
38
|
+
}
|
39
|
+
a:link {
|
40
|
+
color: #1d43c0;
|
41
|
+
text-decoration: none;
|
42
|
+
}
|
43
|
+
a:active {
|
44
|
+
color: #2759ff;
|
45
|
+
}
|
46
|
+
a:visited {
|
47
|
+
color: #64439d;
|
48
|
+
text-decoration: none;
|
49
|
+
}
|
50
|
+
a:hover {
|
51
|
+
background-color: transparent;
|
52
|
+
text-decoration: underline;
|
53
|
+
}
|
54
|
+
|
55
|
+
#column-left,
|
56
|
+
#column-right {
|
57
|
+
overflow: hidden;
|
58
|
+
}
|
59
|
+
div#fancybox-outer {
|
60
|
+
overflow: visible;
|
61
|
+
}
|
62
|
+
|
63
|
+
|
64
|
+
/* settings for the basic division of pages into areas and boxes */
|
65
|
+
.content {
|
66
|
+
padding: 2px;
|
67
|
+
background-color: white;
|
68
|
+
border-top: solid 1px #b0b0ff;
|
69
|
+
}
|
70
|
+
.box {
|
71
|
+
padding: 0;
|
72
|
+
background-color: white;
|
73
|
+
border: solid 1px #b0b0ff;
|
74
|
+
margin-top: 0;
|
75
|
+
margin-bottom: 0.7ex;
|
76
|
+
}
|
77
|
+
.noncontent {
|
78
|
+
margin: 6px;
|
79
|
+
padding: 2px;
|
80
|
+
background-color: #f8f8ff;
|
81
|
+
border: none;
|
82
|
+
}
|
83
|
+
.headline {
|
84
|
+
font-size: 150%;
|
85
|
+
margin-left: 2em;
|
86
|
+
margin-top: 2ex;
|
87
|
+
}
|
88
|
+
.headline:first-child {
|
89
|
+
margin-top: 0;
|
90
|
+
}
|
91
|
+
.subheading {
|
92
|
+
font-size: 150%;
|
93
|
+
font-weight: bold;
|
94
|
+
color: #b0b0ff;
|
95
|
+
margin-bottom: 1.3ex;
|
96
|
+
}
|
97
|
+
.fine-print {
|
98
|
+
font-size: 60%;
|
99
|
+
color: #040460;
|
100
|
+
text-align: center;
|
101
|
+
padding-top: 1.5ex;
|
102
|
+
}
|
103
|
+
.blue-text {
|
104
|
+
color: #040460;
|
105
|
+
}
|
106
|
+
.image-in-text {
|
107
|
+
height: 1.9ex;
|
108
|
+
position: relative;
|
109
|
+
top: 0.25ex;
|
110
|
+
}
|
111
|
+
hr {
|
112
|
+
width: 62%;
|
113
|
+
height: 1px;
|
114
|
+
border: 0px solid #b0b0ff;
|
115
|
+
text-align: center;
|
116
|
+
color: #b0b0ff;
|
117
|
+
background-color: #b0b0ff;
|
118
|
+
}
|
119
|
+
|
120
|
+
.horizontal-link-list {
|
121
|
+
text-align: center;
|
122
|
+
}
|
123
|
+
.horizontal-link-list ul {
|
124
|
+
margin: 0;
|
125
|
+
padding: 0;
|
126
|
+
padding-top: 1ex;
|
127
|
+
}
|
128
|
+
.horizontal-link-list li {
|
129
|
+
display: inline;
|
130
|
+
white-space: nowrap;
|
131
|
+
}
|
132
|
+
.horizontal-link-list ul li + li {
|
133
|
+
margin-left: 1.5em;
|
134
|
+
}
|
135
|
+
.vertical-link-list ul {
|
136
|
+
list-style-type: none;
|
137
|
+
margin: 0;
|
138
|
+
padding: 0;
|
139
|
+
margin-left: 0.35em;
|
140
|
+
margin-bottom: 0.5ex;
|
141
|
+
}
|
142
|
+
.vertical-link-list p {
|
143
|
+
padding: 0;
|
144
|
+
margin: 0;
|
145
|
+
line-height: 110%;
|
146
|
+
}
|
147
|
+
.vertical-link-list li {
|
148
|
+
padding-right: 0.5em;
|
149
|
+
padding-left: 1em;
|
150
|
+
text-indent: -1em;
|
151
|
+
}
|
152
|
+
|
153
|
+
|
154
|
+
/* set apart stuff that is in development */
|
155
|
+
.unimplemented {
|
156
|
+
font-style: italic;
|
157
|
+
}
|
158
|
+
p.unimplemented {
|
159
|
+
padding-left: 0.3em;
|
160
|
+
padding-right: 0.3em;
|
161
|
+
}
|
162
|
+
|
163
|
+
|
164
|
+
/* configure our CSS "tool tips" */
|
165
|
+
.texthastip {
|
166
|
+
position: relative;
|
167
|
+
}
|
168
|
+
.texthastip:link { /* undo the standard Rails link behaviors */
|
169
|
+
color: black;
|
170
|
+
text-decoration: none;
|
171
|
+
}
|
172
|
+
.texthastip:visited {
|
173
|
+
color: black;
|
174
|
+
}
|
175
|
+
.texthastip:hover,
|
176
|
+
.texthastip:active {
|
177
|
+
color: black;
|
178
|
+
background-color: transparent;
|
179
|
+
text-decoration: none;
|
180
|
+
}
|
181
|
+
.linkhastip {
|
182
|
+
position: relative;
|
183
|
+
}
|
184
|
+
.tip {
|
185
|
+
display: none;
|
186
|
+
}
|
187
|
+
.texthastip:hover .tip,
|
188
|
+
.linkhastip:hover .tip {
|
189
|
+
display: block;
|
190
|
+
z-index: 100;
|
191
|
+
color: #040460;
|
192
|
+
background: #f8f8ff;
|
193
|
+
border: solid 1px #e8e8ff;
|
194
|
+
position: absolute;
|
195
|
+
top: 1.2ex;
|
196
|
+
left: 2em;
|
197
|
+
}
|
198
|
+
|
199
|
+
|
200
|
+
/* "universal special cases" .... or something like that */
|
201
|
+
p { margin-top: 0; }
|
202
|
+
table + p { margin-top: 1.5em; }
|
203
|
+
p + table { margin-bottom: 1.5em; }
|
204
|
+
#block-glossary-help + div { display: inline; }
|
205
|
+
.wrapper {
|
206
|
+
color: #ffff00;
|
207
|
+
letter-spacing: -0.3em;
|
208
|
+
}
|
209
|
+
|
210
|
+
|
211
|
+
/* styles first intended for item & connection info tables:
|
212
|
+
* app/views/ ** /index, home, show */
|
213
|
+
table {
|
214
|
+
border-collapse: collapse;
|
215
|
+
}
|
216
|
+
|
217
|
+
th {
|
218
|
+
text-align: left;
|
219
|
+
}
|
220
|
+
|
221
|
+
td {
|
222
|
+
vertical-align: top;
|
223
|
+
padding-bottom: 1.5ex;
|
224
|
+
padding-left: 4px;
|
225
|
+
padding-right: 2px;
|
226
|
+
}
|
227
|
+
|
228
|
+
.connectioncolumn {
|
229
|
+
border-width: thin;
|
230
|
+
border-color: #b0b0ff;
|
231
|
+
border-style: none solid;
|
232
|
+
}
|
233
|
+
|
234
|
+
.tight-table td {
|
235
|
+
margin: 0;
|
236
|
+
padding: 0;
|
237
|
+
}
|
238
|
+
.tight-table th {
|
239
|
+
margin: 0;
|
240
|
+
padding: 0;
|
241
|
+
}
|
242
|
+
.index-table .firstrow {
|
243
|
+
padding-top: 1ex;
|
244
|
+
}
|
245
|
+
.index-table .secondrow {
|
246
|
+
border-bottom: 1px solid #e8e8ff;
|
247
|
+
}
|
248
|
+
|
249
|
+
|
250
|
+
|
251
|
+
|
252
|
+
/* used for input controls & matching instruction text */
|
253
|
+
p.inputpara {
|
254
|
+
padding-bottom: 0;
|
255
|
+
margin-bottom: 0;
|
256
|
+
}
|
257
|
+
p.directions {
|
258
|
+
padding-top: 0;
|
259
|
+
margin-top: 0;
|
260
|
+
padding-bottom: 2ex;
|
261
|
+
font-size: 80%;
|
262
|
+
line-height: normal;
|
263
|
+
}
|
264
|
+
|
265
|
+
|
266
|
+
/* used for informative-text highlighting in app/views/items/new */
|
267
|
+
.titleSelectedItemDescription {
|
268
|
+
font-weight: bold;
|
269
|
+
text-decoration: underline;
|
270
|
+
}
|
271
|
+
|
272
|
+
.bodySelectedItemDescription {
|
273
|
+
font-weight: bold;
|
274
|
+
}
|
275
|
+
|
276
|
+
.helpTextFlagged {
|
277
|
+
font-weight: bold;
|
278
|
+
color: #e80000;
|
279
|
+
}
|
280
|
+
|
281
|
+
.confirmationTextInvisible {
|
282
|
+
color: white;
|
283
|
+
}
|
284
|
+
|
285
|
+
.confirmationTextShow {
|
286
|
+
display: inline;
|
287
|
+
color: #6794ff;
|
288
|
+
}
|
289
|
+
|
290
|
+
.activeButton {
|
291
|
+
color: black;
|
292
|
+
background-color: #d0d0ff;
|
293
|
+
}
|
294
|
+
.inactiveButton {
|
295
|
+
color: #d0d0ff;
|
296
|
+
background-color: #ffffff;
|
297
|
+
}
|
298
|
+
|
299
|
+
.inactiveLink {
|
300
|
+
font-size: 80%
|
301
|
+
}
|
data/doc/README.markdown
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
"README" file for general-documentation directory of the WontoMedia package
|
2
|
+
Copyright (C) 2010 - Glen E. Ivey
|
3
|
+
(see the end of this file for copyright/licensing information)
|
4
|
+
|
5
|
+
This directory contains documentation for the WontoMedia application.
|
6
|
+
There are two kinds of things located here: the
|
7
|
+
automatically-generated RDoc documentation if/when you build it from
|
8
|
+
the WontoMedia source code, and more general hand-written
|
9
|
+
documentation. The files and sub-directories here are as follows:
|
10
|
+
|
11
|
+
* __scripts__: This directory contains documentation for scripts and
|
12
|
+
`rake` tasks that are part of the WontoMedia project.
|
13
|
+
|
14
|
+
* __wiki__: This directory contains the source documents (raw
|
15
|
+
MediaWiki markup) for the content of wiki.wontology.org. In
|
16
|
+
addition to providing a local and cannonical set of documentation
|
17
|
+
for WontoMedia's internals, the content of `wiki/Help` can be used
|
18
|
+
to seed your own local MediaWiki installation if you'd rather use
|
19
|
+
it than the general public content for WontoMedia's integrated help
|
20
|
+
that is hosted at `wiki.wontology.org/Help:`.
|
21
|
+
|
22
|
+
* __README_FOR_APP__: This file (in RDoc/SimpleMarkup syntax) is
|
23
|
+
incorporated as the content of the project's documentation "home
|
24
|
+
page" when RDoc is used to build HTML source-code documentation.
|
25
|
+
|
26
|
+
* __app__: This directory (which does not yet exist when a new
|
27
|
+
WontoMedia directory tree is created from a gem or from a Git
|
28
|
+
repository) holds the HTML files that make up the detailed
|
29
|
+
source-code documentation for WontoMedia. If you want to use this
|
30
|
+
documentation, it is extracted from the WontoMedia source code by
|
31
|
+
executing the command `rake doc:app`, after which you can view the
|
32
|
+
documentation by loading the file `doc/app/index.html` from your
|
33
|
+
web browser.
|
34
|
+
|
35
|
+
----------------------------------------------------------------
|
36
|
+
|
37
|
+
Permission is granted to copy, distribute and/or modify this
|
38
|
+
document under the terms of the GNU Free Documentation License,
|
39
|
+
Version 1.3, published by the Free Software Foundation; with no
|
40
|
+
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
|
41
|
+
|
42
|
+
You should have received a copy of the GNU Free Documentation
|
43
|
+
License along with document in the file COPYING.DOCUMENTATION. If
|
44
|
+
not, see <http://www.gnu.org/licenses/>.
|
data/doc/README_FOR_APP
ADDED
@@ -0,0 +1,82 @@
|
|
1
|
+
Copyright (C) 2010 - Glen E. Ivey
|
2
|
+
|
3
|
+
WontoMedia is a Ruby-on-Rails web application for the community
|
4
|
+
creation of information classification schemes. It is free software,
|
5
|
+
available under the AGPL v3.
|
6
|
+
|
7
|
+
General information on the project is in, and pointed to from, the
|
8
|
+
project-wide README.markdown file. This is located two directories
|
9
|
+
above this set of RDoc pages, and also available at
|
10
|
+
http://github.com/gleneivey/wontomedia/blob/master/README.markdown
|
11
|
+
|
12
|
+
Note that when you generated this RDoc, it was made from the full
|
13
|
+
source tree of your installation. This means that if your
|
14
|
+
installation includes customization files (see
|
15
|
+
<tt>doc/customization.markdown</tt>), then any classes and methods you
|
16
|
+
have defined locally will be included in your local set of RDoc pages.
|
17
|
+
|
18
|
+
In addition to the documentation of WontoMedia's Ruby source code here
|
19
|
+
in these pages, there are extensive automated tests for WontoMedia's
|
20
|
+
behavior, which make up the "other half" of WontoMedia's
|
21
|
+
documentation. The following is a brief description of where these
|
22
|
+
tests are located. For more information see
|
23
|
+
http://wiki.wontology.org/Testing_Your_Work
|
24
|
+
|
25
|
+
System-level acceptance tests, which validate the primary user-visible
|
26
|
+
features and behaviors, are located in the directories:
|
27
|
+
|
28
|
+
features/stories/static
|
29
|
+
features/stories/dynamic
|
30
|
+
|
31
|
+
The "stories" (individual user tasks that can be performed using
|
32
|
+
WontoMedia) are divided between these two directories based on whether
|
33
|
+
all of the behavior being tested is implemented by WontoMedia's
|
34
|
+
server-side Ruby code (the stories in the +static+ directory) or is
|
35
|
+
implemented in part by browser-side technologies like JavaScript code
|
36
|
+
downloaded in/by the web pages WontoMedia (the stories in the
|
37
|
+
+dynamic+ directory).
|
38
|
+
|
39
|
+
Each story is stored in a separate .+feature+ file. These are
|
40
|
+
interpreted by the test tool *Cucumber* (see
|
41
|
+
http://wiki.github.com/aslakhellesoy/cucumber ), and are intended to
|
42
|
+
be human-readable. The particular Cucumber dialect we use references
|
43
|
+
component names within web pages, but having seen and worked with
|
44
|
+
WontoMedia some, the meaning of these references should be clear.
|
45
|
+
|
46
|
+
All other tests for WontoMedia are located under the +test+
|
47
|
+
directory:
|
48
|
+
|
49
|
+
[*test/functional*, *test/integration*, and *test/fixtures*] The content of these directories follow standard Rails practice.
|
50
|
+
|
51
|
+
[*test/javascript*] This directory contains the unit tests for the portions of WontoMedia written in JavaScript that execute within web browsers accessing a WontoMedia server. These tests are written for and executed by the open-source tool *Blue Ridge*, see http://github.com/relevance/blue-ridge/
|
52
|
+
|
53
|
+
[*test/unit/app*] This directory contains the rest of the standard Rails unit tests. It contains the sub-directories +helpers+, +models+, and +views+, which match what is typically found directly under the +test+ directory in some other Rails projects.
|
54
|
+
|
55
|
+
[*test/unit/config*, *test/unit/db*, and *test/unit/lib*] These directories contain unit tests for the code located in the project's top-level +config+, +db+, and +lib+, respectively. The tests in these directories use the standard Rails testing frameworks, plus the publicly-available +migration_test_helper+ gem.
|
56
|
+
|
57
|
+
This document, other documentation, and standardized help text
|
58
|
+
included in this package are licensed under the GNU FDL v1.3:
|
59
|
+
|
60
|
+
Permission is granted to copy, distribute and/or modify this
|
61
|
+
document under the terms of the GNU Free Documentation License,
|
62
|
+
Version 1.3, published by the Free Software Foundation; with no
|
63
|
+
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
|
64
|
+
|
65
|
+
You should have received a copy of the GNU Free Documentation
|
66
|
+
License along with document in the file COPYING.DOCUMENTATION. If
|
67
|
+
not, see <http://www.gnu.org/licenses/>.
|
68
|
+
|
69
|
+
The source code for WontoMedia is licensed under the GNU AGPL v3:
|
70
|
+
|
71
|
+
This program is free software: you can redistribute it and/or
|
72
|
+
modify it under the terms of the GNU Affero General Public License
|
73
|
+
version 3 as published by the Free Software Foundation.
|
74
|
+
|
75
|
+
This program is distributed in the hope that it will be useful,
|
76
|
+
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
77
|
+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
78
|
+
Affero General Public License for more details.
|
79
|
+
|
80
|
+
You should have received a copy of the GNU Affero General Public
|
81
|
+
License along with this program in the file COPYING and/or
|
82
|
+
LICENSE. If not, see <http://www.gnu.org/licenses/>.
|