Skip to content
Browse files

Update the example page

  • Loading branch information...
1 parent a0d6ac7 commit b7471657e797ee61747eeb78d1f2bc654a9392b9 @brennandunn committed Oct 7, 2010
Showing with 22 additions and 9 deletions.
  1. +22 −9 example/views/index.erb
View
31 example/views/index.erb
@@ -5,23 +5,36 @@
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
- <title>untitled</title>
+ <title>Rack::Cms Example</title>
+
+ <style type="text/css">
+
+ html, body { margin: 0; padding: 0; }
+ body { width: 700px; margin: 60px auto; font: 16px Georgia, "Times New Roman", serif; color: #222; }
+
+ h1 { color: red; }
+ h2 { border-bottom: 8px solid #eee; padding-bottom: 10px; margin-bottom: 15px; }
+ p { line-height: 28px; }
+
+ </style>
</head>
<body>
- <h1 ctitle="Header">Default Header</h1>
-
- <p>hola</p>
+ <h1 ctitle="Headline">Welcome!</h1>
- <div ctitle="Mission Statement" ctype="rich">
- Default mission statement goes here!
- </div>
+ <h2 ctitle="Motto">This page showcases the features of Rack::Cms</h2>
- <hr/>
+ <p>
+ Rack::Cms allows you to give your clients the ability to quickly (and safely make copy changes).
+ To use, simply apply the "ctitle" attribute to any element you allow to be editable. Even spans.
+ <span ctitle="Span example">Go ahead, try to edit this.</span> The goal of the library is to solve
+ the age old problem that plagues most Ruby developers: how can I let my clients edit the copy in
+ their application.
+ </p>
- <div ctitle="More stuff">More stuff here</div>
+ <div>Developed by Brennan Dunn of <a href="http://www.wearetitans.net">WE ARE TITANS</a></div>
</body>
</html>

0 comments on commit b747165

Please sign in to comment.
Something went wrong with that request. Please try again.