browsercms 3.3.0.beta → 3.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (93) hide show
  1. data/.yardopts +5 -0
  2. data/README.markdown +11 -11
  3. data/app/helpers/cms/page_helper.rb +1 -1
  4. data/app/models/page_route.rb +9 -0
  5. data/app/models/portlet.rb +2 -2
  6. data/app/models/section.rb +1 -1
  7. data/app/views/cms/form_builder/_cms_text_area.html.erb +2 -5
  8. data/app/views/cms/form_builder/_cms_text_editor.html.erb +1 -0
  9. data/app/views/cms/pages/_form.html.erb +2 -10
  10. data/bin/bcms +114 -3
  11. data/bin/browsercms +3 -72
  12. data/browsercms.gemspec +4 -2
  13. data/lib/cms/behaviors/soft_deleting.rb +4 -5
  14. data/lib/cms/extensions/active_record/base.rb +22 -1
  15. data/lib/cms/routes.rb +2 -5
  16. data/lib/cms/version.rb +1 -1
  17. data/lib/generators/browser_cms/cms/cms_generator.rb +1 -0
  18. data/lib/generators/browser_cms/demo_site/demo_site_generator.rb +1 -1
  19. data/lib/generators/browser_cms/demo_site/templates/demo_site.rake +3 -0
  20. data/lib/generators/cms/upgrade_module/templates/COPYRIGHT.txt +23 -0
  21. data/{templates/module.rb → lib/generators/cms/upgrade_module/templates/GPL.txt} +2 -223
  22. data/lib/generators/cms/upgrade_module/templates/LICENSE.txt +165 -0
  23. data/lib/tasks/db.rake +3 -0
  24. data/public/stylesheets/cms/sitemap.css +5 -5
  25. metadata +8 -74
  26. data/doc/guides/html/authentication.html +0 -457
  27. data/doc/guides/html/build_it_yourself.html +0 -457
  28. data/doc/guides/html/building_modules.html +0 -480
  29. data/doc/guides/html/building_templates.html +0 -457
  30. data/doc/guides/html/content_blocks.html +0 -457
  31. data/doc/guides/html/customizing_browsercms.html +0 -457
  32. data/doc/guides/html/deployment_guide.html +0 -568
  33. data/doc/guides/html/files/bcmsorg.js +0 -28
  34. data/doc/guides/html/files/clearfix.css +0 -8
  35. data/doc/guides/html/files/cufon.js +0 -7
  36. data/doc/guides/html/files/global.css +0 -190
  37. data/doc/guides/html/files/helvetica.js +0 -91
  38. data/doc/guides/html/files/javascripts/code_highlighter.js +0 -188
  39. data/doc/guides/html/files/javascripts/guides.js +0 -7
  40. data/doc/guides/html/files/javascripts/highlighters.js +0 -90
  41. data/doc/guides/html/files/jquery.js +0 -11
  42. data/doc/guides/html/files/stylesheets/main.css +0 -441
  43. data/doc/guides/html/files/stylesheets/reset.css +0 -43
  44. data/doc/guides/html/files/stylesheets/style.css +0 -13
  45. data/doc/guides/html/files/stylesheets/syntax.css +0 -31
  46. data/doc/guides/html/getting_started.html +0 -457
  47. data/doc/guides/html/images/bg.png +0 -0
  48. data/doc/guides/html/images/bottom_cap.png +0 -0
  49. data/doc/guides/html/images/browsercms_logo.png +0 -0
  50. data/doc/guides/html/images/content_blocks/add_field_to_form.png +0 -0
  51. data/doc/guides/html/images/content_blocks/add_second_block.png +0 -0
  52. data/doc/guides/html/images/dot.png +0 -0
  53. data/doc/guides/html/images/icons/README +0 -5
  54. data/doc/guides/html/images/icons/callouts/1.png +0 -0
  55. data/doc/guides/html/images/icons/callouts/10.png +0 -0
  56. data/doc/guides/html/images/icons/callouts/11.png +0 -0
  57. data/doc/guides/html/images/icons/callouts/12.png +0 -0
  58. data/doc/guides/html/images/icons/callouts/13.png +0 -0
  59. data/doc/guides/html/images/icons/callouts/14.png +0 -0
  60. data/doc/guides/html/images/icons/callouts/15.png +0 -0
  61. data/doc/guides/html/images/icons/callouts/2.png +0 -0
  62. data/doc/guides/html/images/icons/callouts/3.png +0 -0
  63. data/doc/guides/html/images/icons/callouts/4.png +0 -0
  64. data/doc/guides/html/images/icons/callouts/5.png +0 -0
  65. data/doc/guides/html/images/icons/callouts/6.png +0 -0
  66. data/doc/guides/html/images/icons/callouts/7.png +0 -0
  67. data/doc/guides/html/images/icons/callouts/8.png +0 -0
  68. data/doc/guides/html/images/icons/callouts/9.png +0 -0
  69. data/doc/guides/html/images/icons/caution.png +0 -0
  70. data/doc/guides/html/images/icons/example.png +0 -0
  71. data/doc/guides/html/images/icons/home.png +0 -0
  72. data/doc/guides/html/images/icons/important.png +0 -0
  73. data/doc/guides/html/images/icons/next.png +0 -0
  74. data/doc/guides/html/images/icons/note.png +0 -0
  75. data/doc/guides/html/images/icons/prev.png +0 -0
  76. data/doc/guides/html/images/icons/tip.png +0 -0
  77. data/doc/guides/html/images/icons/up.png +0 -0
  78. data/doc/guides/html/images/icons/warning.png +0 -0
  79. data/doc/guides/html/images/nfl_sitemap.png +0 -0
  80. data/doc/guides/html/images/top_cap.png +0 -0
  81. data/doc/guides/html/images/top_cap_content.png +0 -0
  82. data/doc/guides/html/index.html +0 -457
  83. data/doc/guides/html/installing_modules.html +0 -457
  84. data/doc/guides/html/portlets.html +0 -457
  85. data/doc/guides/html/user_guide.html +0 -457
  86. data/doc/guides/html/writing_guides.html +0 -457
  87. data/lib/initial_data.rb +0 -30
  88. data/lib/tasks/build_gem.rake +0 -1
  89. data/lib/tasks/cms.rake +0 -69
  90. data/lib/tasks/cucumber.rake +0 -53
  91. data/lib/tasks/dev.rake +0 -20
  92. data/templates/blank.rb +0 -48
  93. data/templates/demo.rb +0 -48
@@ -1,568 +0,0 @@
1
- <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
- <html class="cufon-active cufon-ready" xml:lang="en"
3
- xmlns="http://www.w3.org/1999/xhtml" lang="en">
4
- <head>
5
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
- <meta name="keywords" content="">
7
- <meta name="description" content="">
8
- <link href="files/clearfix.css" media="screen,projection" rel="stylesheet" type="text/css">
9
- <link href="files/global.css" media="screen,projection" rel="stylesheet" type="text/css">
10
- <script src="files/jquery.js" type="text/javascript"></script>
11
- <script src="files/cufon.js" type="text/javascript"></script>
12
- <style type="text/css">cufon {
13
- text-indent: 0 !important;
14
- }
15
-
16
- div.top_cap_content {
17
- background: transparent url(images/top_cap_content.png) no-repeat scroll 0 0;
18
- height: 5px;
19
- }
20
-
21
- #content {
22
- background-color: #FFFFFF;
23
- margin: 0 5px;
24
- padding: 0 10px;
25
- }
26
-
27
- div.title {
28
- padding: 20px;
29
- }
30
-
31
- div.title h1 {
32
- border-bottom: 3px solid #505358;
33
- color: #FFFFFF;
34
- font-size: 24pt;
35
- font-weight: normal;
36
- line-height: 1;
37
- margin: 0 0 10px;
38
- padding-bottom: 10px;
39
- }
40
-
41
- td.sidebar {
42
- font-size: 8pt;
43
- width: 165px;
44
- padding: 5px;
45
- }
46
-
47
- td.sidebar ol {
48
- margin-left: 20px;
49
- padding: 0;
50
- line-height: 1.5;
51
- }
52
-
53
- td.sidebar ol li {
54
- margin: 0;
55
- padding: 0;
56
- }
57
-
58
- td.sidebar ol li ul {
59
- list-style-type: none;
60
- padding-left: 10px;
61
- }
62
-
63
- td.guides {
64
- font-size: 10pt;
65
- width: 800px;
66
- padding: 10px;
67
- }
68
-
69
- .code_container {
70
- padding: 10px;
71
- background: #eee;
72
- border: 1px solid #ccc;
73
- overflow: auto;
74
- width: 760px;
75
- }
76
-
77
- pre, code {
78
- overflow: auto;
79
- white-space:pre;
80
- }
81
- .note {
82
- -moz-background-clip:border;
83
- -moz-background-inline-policy:continuous;
84
- -moz-background-origin:padding;
85
- background:#FFF9D8 url(../images/tab_note.gif) no-repeat scroll left top;
86
- border:medium none;
87
- margin:0.25em 0 1.5em;
88
- padding:1em 1em 0.25em 48px;
89
- }
90
- </style>
91
- </head>
92
- <body>
93
- <div id="page">
94
- <div id="header">
95
- <a href="index.html"><img style="border:0px" src="images/browsercms_logo.png" alt="BrowserCMS"/></a>
96
- </div>
97
- <div id="main">
98
- <div class="top_cap"></div>
99
- <div id="contentwrap">
100
- <div class="title">
101
- <h1>BrowserCMS Deployment Guide</h1>
102
- </div>
103
- <div class="top_cap_content"></div>
104
- <div id="content">
105
- <table width="100%" cellpadding="0" cellspacing="0" border="0">
106
- <tr>
107
- <td class="sidebar" valign="top">
108
- <div id="subCol">
109
- <h3 class="chapter"><img src="images/chapters_icon.gif" alt="" />Chapters</h3>
110
- <ol class="chapters">
111
- <li><a href="#configure-the-production-environment">Configure the Production Environment</a><ul></ul></li><li><a href="#setting-up-virtual-hosts-for-page-caching">Setting Up Virtual Hosts for Page Caching</a><ul></ul></li><li><a href="#using-capistrano-to-deploy">Using Capistrano to Deploy</a><ul></ul></li></ol></div>
112
- </td>
113
- <td class="guides">
114
- <h2>BrowserCMS Deployment Guide</h2>
115
- <p>This guide covers how to setup the Apache Passenger (mod_rails) production environment for your BrowserCMS application.</p>
116
- <p>This guide is for BrowserCMS <strong>3.1</strong>. Some code shown here may not work with older versions of BrowserCMS.</p>
117
- <h3 id="configure-the-production-environment">1 Configure the Production Environment</h3>
118
- <p>Make sure the config/environments/production.rb file has these following configuration settings. If you created your BrowserCMS Rails app using one of the application templates, this will already have been added but you may need to configure them to match your site&#8217;s domain and mail server.</p>
119
- <div class="code_container"><code class="ruby">SITE_DOMAIN=&quot;www.sitedomain.com&quot; # This should match the URL for your public CMS site.
120
- config.action_view.cache_template_loading = false
121
- config.action_controller.page_cache_directory = Rails.root + &quot;/public/cache/&quot;
122
- config.action_mailer.smtp_settings = {:address =&gt; 'mail.yourmailserver.com',
123
- :domain =&gt; &quot;#{SITE_DOMAIN}&quot;}</code></div>
124
- <p>The SITE_DOMAIN in particular is used to build links to <span class="caps">CMS</span> pages that can be emailed.</p>
125
- <h3 id="setting-up-virtual-hosts-for-page-caching">2 Setting Up Virtual Hosts for Page Caching</h3>
126
- <p>In order to setup BrowserCMS to due page caching, you need to create two virtual hosts for your site. The main purpose for this is to allow page caching to work when you access a page on the main site, but then have the pages not be served from the cache when you are working in the BrowserCMS interface.</p>
127
- <div class="code_container"><code class="plain">&lt;VirtualHost *:80&gt;
128
- ServerName cms.mysite.com
129
- DocumentRoot &quot;/var/sites/mysite/public&quot;
130
- RailsEnv production
131
- &lt;directory &quot;/var/sites/mysite/public&quot;&gt;
132
- Order allow,deny
133
- Allow from all
134
- &lt;/directory&gt;
135
- &lt;/VirtualHost&gt;
136
-
137
- cufon cufontext {
138
- display: -moz-inline-box !important;
139
- display: inline-block !important;
140
- width: 0 !important;
141
- height: 0 !important;
142
- overflow: hidden !important;
143
- text-indent: -10000in !important;
144
- }
145
-
146
- cufon canvas {
147
- position: relative !important;
148
- }
149
- }
150
-
151
- @media print {
152
- cufon {
153
- padding: 0 !important;
154
- }
155
-
156
- cufon canvas {
157
- display: none !important;
158
- }
159
- }</style>
160
- <script src="files/helvetica.js" type="text/javascript"></script>
161
- <script src="files/bcmsorg.js" type="text/javascript"></script>
162
- <title>Table of Contents</title>
163
- </head>
164
- <body>
165
-
166
- <div id="container">
167
- <div id="header">
168
- <h1 id="logo"><a href="http://www.staging.browsercms.org/"
169
- title="Return to Home Page">Table of Contents</a></h1>
170
-
171
- <div id="topnav">
172
- <ul>
173
- <li><a href="/">Home</a></li>
174
- <li><a href="/demo">Demo</a></li>
175
- <li><a href="/documentation" class="active">Documentation</a></li>
176
- <li><a href="/extending">Extending</a></li>
177
- <li><a href="/support">Support</a></li>
178
- <li><a href="/blog">Blog</a></li>
179
- <li><a href="/download">Download</a></li>
180
- </ul>
181
-
182
- </div>
183
- </div>
184
- <div id="content" class="clearfix">
185
- <div id="subnav">
186
- <ul class="breadcrumbs">
187
- <li class="first first-child"><a
188
- href="http://www.staging.browsercms.org/documentation">Documentation</a></li>
189
- <li><a href="http://www.staging.browsercms.org/documentation/guides">Guides</a></li>
190
- <li class="last-child">Table of Contents</li>
191
- </ul>
192
- </div>
193
- <div id="sidenav_doc">
194
- <h2 class="alt">
195
- <cufon style="width: 58px; height: 23px;" alt="Table "
196
- class="cufon cufon-canvas">
197
- <canvas style="width: 77px; height: 23px;
198
- top: 1px; left: -1px;" height="23" width="77"></canvas>
199
- <cufontext>Table</cufontext>
200
- </cufon>
201
- <cufon
202
- style="width: 25px; height: 23px;" alt="of " class="cufon cufon-canvas">
203
- <canvas
204
- style="width: 43px; height: 23px; top: 1px; left: -1px;" height="23"
205
- width="43"></canvas>
206
- <cufontext>of</cufontext>
207
- </cufon>
208
- <cufon
209
- style="width: 84px; height: 23px;" alt="Contents" class="cufon
210
- cufon-canvas">
211
- <canvas style="width: 98px; height: 23px; top: 1px; left:
212
- -1px;" height="23" width="98"></canvas>
213
- <cufontext>Contents</cufontext>
214
- </cufon>
215
- </h2>
216
- <div id="menu" class="menu">
217
- <ul>
218
- <li id="section_6" class="depth-1 first open first-child">
219
- <a
220
- href="http://www.staging.browsercms.org/documentation/guides/table-of-contents/installing-browsercms">Installing
221
- BrowserCMS</a>
222
- <ul>
223
- <li id="page_11" class="depth-2 first last last-child
224
- first-child">
225
- <a
226
- href="http://www.staging.browsercms.org/documentation/guides/table-of-contents/installing-browsercms/things-you-need-first">Things
227
- you need first</a>
228
- </li>
229
- </ul>
230
- </li>
231
- <li id="section_7" class="depth-1 last open final">
232
- <a
233
- href="http://www.staging.browsercms.org/documentation/guides/table-of-contents/trying-out-browsercms">Trying
234
- Out BrowserCMS</a>
235
- <ul>
236
- <li id="page_14" class="depth-2 first first-child">
237
- <a
238
- href="http://www.staging.browsercms.org/documentation/guides/table-of-contents/trying-out-browsercms/with-sqlite3">With
239
- SQLite3</a>
240
- </li>
241
- <li id="page_15" class="depth-2">
242
- <a
243
- href="http://www.staging.browsercms.org/documentation/guides/table-of-contents/trying-out-browsercms/with-mysql">With
244
- MySQL</a>
245
- </li>
246
- <li id="page_16" class="depth-2 last last-child final">
247
- <a
248
- href="http://www.staging.browsercms.org/documentation/guides/table-of-contents/trying-out-browsercms/using-your-site">Using
249
- your Site</a>
250
- </li>
251
- </ul>
252
- </li>
253
- </ul>
254
- </div>
255
-
256
- </div>
257
- <div id="main_doc">
258
-
259
- <h2>
260
- <cufon style="width: 73px; height: 23px;" alt="Header "
261
- class="cufon cufon-canvas">
262
- <canvas style="width: 92px; height: 23px;
263
- top: 1px; left: -1px;" height="23" width="92"></canvas>
264
- <cufontext>Header
265
- </cufontext>
266
- </cufon>
267
- <cufon style="width: 12px; height: 23px;" alt="2"
268
- class="cufon cufon-canvas">
269
- <canvas style="width: 25px; height: 23px;
270
- top: 1px; left: -1px;" height="23" width="25"></canvas>
271
- <cufontext>2</cufontext>
272
- </cufon>
273
- </h2>
274
- <h2 class="alt">
275
- <cufon style="width: 73px; height: 23px;" alt="Header "
276
- class="cufon cufon-canvas">
277
- <canvas style="width: 92px; height: 23px;
278
- top: 1px; left: -1px;" height="23" width="92"></canvas>
279
- <cufontext>Header
280
- </cufontext>
281
- </cufon>
282
- <cufon style="width: 18px; height: 23px;" alt="2 "
283
- class="cufon cufon-canvas">
284
- <canvas style="width: 36px; height: 23px;
285
- top: 1px; left: -1px;" height="23" width="36"></canvas>
286
- <cufontext>2</cufontext>
287
- </cufon>
288
- <cufon
289
- style="width: 27px; height: 23px;" alt="Alt" class="cufon cufon-canvas">
290
- <canvas
291
- style="width: 44px; height: 23px; top: 1px; left: -1px;" height="23"
292
- width="44"></canvas>
293
- <cufontext>Alt</cufontext>
294
- </cufon>
295
- </h2>
296
- <h2 class="brdr">
297
- <cufon style="width: 73px; height: 23px;" alt="Header "
298
- class="cufon cufon-canvas">
299
- <canvas style="width: 92px; height: 23px;
300
- top: 1px; left: -1px;" height="23" width="92"></canvas>
301
- <cufontext>Header
302
- </cufontext>
303
- </cufon>
304
- <cufon style="width: 18px; height: 23px;" alt="2 "
305
- class="cufon cufon-canvas">
306
- <canvas style="width: 36px; height: 23px;
307
- top: 1px; left: -1px;" height="23" width="36"></canvas>
308
- <cufontext>2</cufontext>
309
- </cufon>
310
- <cufon
311
- style="width: 91px; height: 23px;" alt="Underline" class="cufon
312
- cufon-canvas">
313
- <canvas style="width: 104px; height: 23px; top: 1px; left:
314
- -1px;" height="23" width="104"></canvas>
315
- <cufontext>Underline</cufontext>
316
- </cufon>
317
- </h2>
318
- <h3>
319
- <cufon style="width: 51px; height: 16px;" alt="Header " class="cufon
320
- cufon-canvas">
321
- <canvas style="width: 64px; height: 16px; top: 0px; left:
322
- 0px;" height="16" width="64"></canvas>
323
- <cufontext>Header</cufontext>
324
- </cufon>
325
- <cufon
326
- style="width: 8px; height: 16px;" alt="3" class="cufon cufon-canvas">
327
- <canvas
328
- style="width: 18px; height: 16px; top: 0px; left: 0px;" height="16"
329
- width="18"></canvas>
330
- <cufontext>3</cufontext>
331
- </cufon>
332
- </h3>
333
- <h3 class="alt">
334
- <cufon style="width: 51px; height: 16px;" alt="Header "
335
- class="cufon cufon-canvas">
336
- <canvas style="width: 64px; height: 16px;
337
- top: 0px; left: 0px;" height="16" width="64"></canvas>
338
- <cufontext>Header</cufontext>
339
- </cufon>
340
- <cufon
341
- style="width: 12px; height: 16px;" alt="3 " class="cufon cufon-canvas">
342
- <canvas
343
- style="width: 25px; height: 16px; top: 0px; left: 0px;" height="16"
344
- width="25"></canvas>
345
- <cufontext>3</cufontext>
346
- </cufon>
347
- <cufon
348
- style="width: 19px; height: 16px;" alt="Alt" class="cufon cufon-canvas">
349
- <canvas
350
- style="width: 31px; height: 16px; top: 0px; left: 0px;" height="16"
351
- width="31"></canvas>
352
- <cufontext>Alt</cufontext>
353
- </cufon>
354
- </h3>
355
- <h3 class="brdr">
356
- <cufon style="width: 51px; height: 16px;" alt="Header "
357
- class="cufon cufon-canvas">
358
- <canvas style="width: 64px; height: 16px;
359
- top: 0px; left: 0px;" height="16" width="64"></canvas>
360
- <cufontext>Header</cufontext>
361
- </cufon>
362
- <cufon
363
- style="width: 12px; height: 16px;" alt="3 " class="cufon cufon-canvas">
364
- <canvas
365
- style="width: 25px; height: 16px; top: 0px; left: 0px;" height="16"
366
- width="25"></canvas>
367
- <cufontext>3</cufontext>
368
- </cufon>
369
- <cufon
370
- style="width: 63px; height: 16px;" alt="Underline" class="cufon
371
- cufon-canvas">
372
- <canvas style="width: 73px; height: 16px; top: 0px; left:
373
- 0px;" height="16" width="73"></canvas>
374
- <cufontext>Underline</cufontext>
375
- </cufon>
376
- </h3>
377
- <h4>
378
- <cufon style="width: 45px; height: 14px;" alt="Header " class="cufon
379
- cufon-canvas">
380
- <canvas style="width: 56px; height: 14px; top: 0px; left:
381
- 0px;" height="14" width="56"></canvas>
382
- <cufontext>Header</cufontext>
383
- </cufon>
384
- <cufon
385
- style="width: 7px; height: 14px;" alt="4" class="cufon cufon-canvas">
386
- <canvas
387
- style="width: 15px; height: 14px; top: 0px; left: 0px;" height="14"
388
- width="15"></canvas>
389
- <cufontext>4</cufontext>
390
- </cufon>
391
- </h4>
392
- <h4 class="alt">
393
- <cufon style="width: 45px; height: 14px;" alt="Header "
394
- class="cufon cufon-canvas">
395
- <canvas style="width: 56px; height: 14px;
396
- top: 0px; left: 0px;" height="14" width="56"></canvas>
397
- <cufontext>Header</cufontext>
398
- </cufon>
399
- <cufon
400
- style="width: 11px; height: 14px;" alt="4 " class="cufon cufon-canvas">
401
- <canvas
402
- style="width: 22px; height: 14px; top: 0px; left: 0px;" height="14"
403
- width="22"></canvas>
404
- <cufontext>4</cufontext>
405
- </cufon>
406
- <cufon
407
- style="width: 16px; height: 14px;" alt="Alt" class="cufon cufon-canvas">
408
- <canvas
409
- style="width: 27px; height: 14px; top: 0px; left: 0px;" height="14"
410
- width="27"></canvas>
411
- <cufontext>Alt</cufontext>
412
- </cufon>
413
- </h4>
414
- <h4 class="brdr">
415
- <cufon style="width: 45px; height: 14px;" alt="Header "
416
- class="cufon cufon-canvas">
417
- <canvas style="width: 56px; height: 14px;
418
- top: 0px; left: 0px;" height="14" width="56"></canvas>
419
- <cufontext>Header</cufontext>
420
- </cufon>
421
- <cufon
422
- style="width: 11px; height: 14px;" alt="4 " class="cufon cufon-canvas">
423
- <canvas
424
- style="width: 22px; height: 14px; top: 0px; left: 0px;" height="14"
425
- width="22"></canvas>
426
- <cufontext>4</cufontext>
427
- </cufon>
428
- <cufon
429
- style="width: 55px; height: 14px;" alt="Underline" class="cufon
430
- cufon-canvas">
431
- <canvas style="width: 64px; height: 14px; top: 0px; left:
432
- 0px;" height="14" width="64"></canvas>
433
- <cufontext>Underline</cufontext>
434
- </cufon>
435
- </h4>
436
- <h5>
437
- <cufon style="width: 35px; height: 11px;" alt="Header " class="cufon
438
- cufon-canvas">
439
- <canvas style="width: 44px; height: 11px; top: 0px; left:
440
- 0px;" height="11" width="44"></canvas>
441
- <cufontext>Header</cufontext>
442
- </cufon>
443
- <cufon
444
- style="width: 6px; height: 11px;" alt="5" class="cufon cufon-canvas">
445
- <canvas
446
- style="width: 12px; height: 11px; top: 0px; left: 0px;" height="11"
447
- width="12"></canvas>
448
- <cufontext>5</cufontext>
449
- </cufon>
450
- </h5>
451
- <h5 class="alt">
452
- <cufon style="width: 35px; height: 11px;" alt="Header "
453
- class="cufon cufon-canvas">
454
- <canvas style="width: 44px; height: 11px;
455
- top: 0px; left: 0px;" height="11" width="44"></canvas>
456
- <cufontext>Header</cufontext>
457
- </cufon>
458
- <cufon
459
- style="width: 9px; height: 11px;" alt="5 " class="cufon cufon-canvas">
460
- <canvas
461
- style="width: 18px; height: 11px; top: 0px; left: 0px;" height="11"
462
- width="18"></canvas>
463
- <cufontext>5</cufontext>
464
- </cufon>
465
- <cufon
466
- style="width: 13px; height: 11px;" alt="Alt" class="cufon cufon-canvas">
467
- <canvas
468
- style="width: 21px; height: 11px; top: 0px; left: 0px;" height="11"
469
- width="21"></canvas>
470
- <cufontext>Alt</cufontext>
471
- </cufon>
472
- </h5>
473
- <h5 class="brdr">
474
- <cufon style="width: 35px; height: 11px;" alt="Header "
475
- class="cufon cufon-canvas">
476
- <canvas style="width: 44px; height: 11px;
477
- top: 0px; left: 0px;" height="11" width="44"></canvas>
478
- <cufontext>Header</cufontext>
479
- </cufon>
480
- <cufon
481
- style="width: 9px; height: 11px;" alt="5 " class="cufon cufon-canvas">
482
- <canvas
483
- style="width: 18px; height: 11px; top: 0px; left: 0px;" height="11"
484
- width="18"></canvas>
485
- <cufontext>5</cufontext>
486
- </cufon>
487
- <cufon
488
- style="width: 44px; height: 11px;" alt="Underline" class="cufon
489
- cufon-canvas">
490
- <canvas style="width: 50px; height: 11px; top: 0px; left:
491
- 0px;" height="11" width="50"></canvas>
492
- <cufontext>Underline</cufontext>
493
- </cufon>
494
- </h5>
495
- <p>
496
- <code>I am code<br>
497
- I can expand as needed<br>
498
- with my content<br>
499
- </code></p>
500
-
501
- <p>
502
- <code class="mono">I am monotone code<br>
503
- I can expand too<br>
504
- </code></p>
505
-
506
- <div class="info">
507
- I am info<br>
508
- again, can expand with content<br>
509
- as I grow
510
- </div>
511
- <div class="warn">
512
- I am warning<br>
513
- repetition is nice when it <br>
514
- comes to demonstrating expansion<br>
515
- of elements
516
- </div>
517
- <ul class="list">
518
- <li class="first-child">
519
- list item 1
520
- </li>
521
- <li class="last-child">
522
- list item 2
523
- </li>
524
- </ul>
525
- <ul class="disc">
526
- <li class="first-child">
527
- disc list item 1
528
- </li>
529
- <li class="last-child">
530
- disc list item 2
531
- </li>
532
- </ul>
533
- <ul class="flat-list">
534
- <li class="first-child">
535
- flat-list item 1
536
- </li>
537
- <li class="last-child">
538
- flat-list item 2
539
- </li>
540
- </ul>
541
- <p class="clearfix">
542
- clearing paragraph block (has margins)</p>
543
-
544
- <div class="clearfix">
545
- cleearing regular block (no margins)
546
- </div>
547
-
548
-
549
- </div>
550
- </div>
551
- <div id="footer">
552
- <ul>
553
- <li class="first-child"><a href="">BrowserMedia Home</a></li>
554
- <li><a href="">BrowserCMS Home</a></li>
555
- <li><a href="">Sitemap</a></li>
556
- <li class="last-child"><a href="">Contact Us</a></li>
557
- </ul>
558
- <p class="copynotice">© 1998-2010 BrowserMedia, LLC. All Rights
559
- Reserved.</p>
560
- </div>
561
- </div>
562
- <script type="text/javascript">
563
- //<![CDATA[
564
- bcmsOrg.init();
565
- //]]>
566
- </script>
567
- </body>
568
- </html>