Commits

Anonymous committed b0e23b7

css; import

  • Participants
  • Parent commits 8f4fb7f

Comments (0)

Files changed (3)

static/css/style.css

 
 pre         { margin: 0.5em 0; white-space: pre; } /* margin: 1.5em 0; */
 pre,code,tt { font: 'andale mono', 'lucida console', monospace; 
-                line-height: 1.5; } /* font: 1em */
+                line-height: 1.5; background-color:   #F0F0F0; } 
+            /* font: 1em */
 
 hr          { height: 0; border-style: solid; border-width: 1px 0 0 0; border-color:#C0C0C0; }
 

templates/create.html

 <div class="content">
     <form action="/admin/create" method="post">
         <div>
-            Title: <span class="small quiet">(Will be slugified.)</span>
+            Title: <span class="small quiet">( Will be slugified. )</span>
         </div>
         <div>
             <input name="post_title" type="text" />
         </div>
         <div>
-            Content: <span class="small quiet">(Markdown OK.  Will be split on first `__` to create blurb.)</span>
+            Content: <span class="small quiet">( Markdown OK. )</span>
         </div>
         <div>
             <textarea name="post_content" rows="25" cols="70"></textarea>
         </div>
         <div>
-            Tag(s): <span class="small quiet">(space-delimited)</span>
+            Tag(s): <span class="small quiet">( space-delimited )</span>
         </div>
         <div>
             <input name="post_tags" type="text" />
 </div>
 
 {% endblock %}
-
 
 from lib.cfg import read_config_file
 import models
-import pager
-import sanitizer
+from lib import pager
+from lib import sanitizer
 
 CFG_FILE = 'myapp.cfg'