<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -270,7 +270,7 @@ class RequestHandler(object):
                     sense. It's not particularly robust.
                 &lt;/p&gt;
                 &lt;form method=&quot;POST&quot; action=&quot;/xml&quot;&gt;
-                    &lt;textarea cols=&quot;90&quot; rows=&quot;40&quot; name=&quot;content&quot;&gt;%s&lt;/textarea&gt;
+                    &lt;textarea name=&quot;content&quot;&gt;%s&lt;/textarea&gt;
                     &lt;br /&gt;
                     &lt;br /&gt;
                     &lt;input type=&quot;Submit&quot; value=&quot;Format&quot; /&gt;
@@ -446,7 +446,6 @@ def html_display_dir(target_dir, url_relpath):
     lst_contents = [fname for fname
                         in os.listdir(target_dir)
                         if not fname.startswith('.')
-                            and os.path.isfile(&quot;%s%s%s&quot;%(target_dir, os.sep, fname))
                    ]
     lst_contents.sort()
 
@@ -477,14 +476,23 @@ def html_display_dir(target_dir, url_relpath):
     &quot;&quot;&quot;%(title_str, url_relpath))
     sb.append( html_breadcrumb(url_relpath) )
     sb.append('&lt;div class=&quot;contentbox&quot;&gt;')
-    sb.append('&lt;p class=&quot;wordish_title&quot;&gt;Files in Directory&lt;/p&gt;')
+    sb.append('&lt;p class=&quot;wordish_title&quot;&gt;/%s&lt;/p&gt;'%url_relpath)
     sb.append('&lt;hr /&gt;')
+    sb.append('&lt;h1&gt;Files&lt;/h1&gt;')
     sb.append('&lt;ul&gt;')
-    for i in lst_contents:
+    for i in [fn for fn in lst_contents if os.path.isfile(&quot;%s%s%s&quot;%(target_dir, os.sep, fn))]:
         link = '/'.join( [url_relpath, i] )
         if not link.startswith('/'):
             link = '/%s'%link
-        sb.append('&lt;li&gt;&lt;a href=&quot;%s&quot;&gt;%s&lt;/a&gt;&lt;/li&gt;'%(link, i))
+        sb.append('&lt;li&gt;&lt;a href=&quot;%s&quot;&gt;./%s&lt;/a&gt;&lt;/li&gt;'%(link, i))
+    sb.append('&lt;/ul&gt;')
+    sb.append('&lt;h1&gt;Subdirectories&lt;/h1&gt;')
+    sb.append('&lt;ul&gt;')
+    for i in [fn for fn in lst_contents if os.path.isdir(&quot;%s%s%s&quot;%(target_dir, os.sep, fn))]:
+        link = '/'.join( [url_relpath, i] )
+        if not link.startswith('/'):
+            link = '/%s'%link
+        sb.append('&lt;li&gt;&lt;a href=&quot;%s&quot;&gt;./%s/&lt;/a&gt;&lt;/li&gt;'%(link, i))
     sb.append('&lt;/ul&gt;')
     sb.append('&lt;/div&gt;')
     sb.append('&lt;/body&gt;')
@@ -612,6 +620,7 @@ def html_display_page(doc_path, static_path, fname, print_header=True):
                     line = '&amp;gt;'.join( line.split('&gt;') )
                     line = '&amp;lt;'.join( line.split('&lt;') )
                     sb_new_content.append(line)
+                    sb_new_content.append(&quot;&lt;br /&gt;&quot;)
             sb_new_content.append('&lt;/p&gt;')
             new_content = '\n'.join( sb_new_content )
 
@@ -786,7 +795,7 @@ def html_edit_page(doc_path, fname, error=None):
         %s
         &lt;h1 class=&quot;wordish_h1&quot;&gt;Editing %s&lt;/h1&gt;
         &lt;form method=&quot;POST&quot; action=&quot;/save/%s&quot; enctype=&quot;multipart/form-data&quot;&gt;
-            &lt;textarea rows=&quot;30&quot; cols=&quot;120&quot; name=&quot;wiki_content&quot; style=&quot;font-family: courier new,courier; font-size: 10px;&quot;&gt;%s&lt;/textarea&gt;
+            &lt;textarea rows=&quot;30&quot; cols=&quot;120&quot; name=&quot;wiki_content&quot;&gt;%s&lt;/textarea&gt;
             &lt;br /&gt;
             &lt;input name=&quot;action_save&quot; type=&quot;submit&quot; value=&quot;Save&quot; /&gt;
             &lt;input name=&quot;action_cancel&quot; type=&quot;submit&quot; value=&quot;Cancel&quot; /&gt;
@@ -835,7 +844,7 @@ def header_view(path, url_relpath):
 
 def html_breadcrumb(url_relpath):
     sb = ['&lt;div class=&quot;breadcrumb&quot;&gt;']
-    sb.append('\n&lt;a href=&quot;/&quot;&gt;base&lt;/a&gt;')
+    sb.append('\n&lt;a href=&quot;/&quot;&gt;home&lt;/a&gt;')
     path_as_list = url_relpath.split('/')
     for idx, path_component in enumerate(path_as_list):
         cumulative_path = '/'.join( path_as_list[0:idx+1] )</diff>
      <filename>Steamdoc.py</filename>
    </modified>
    <modified>
      <diff>@@ -406,3 +406,13 @@ h5.wordish_h5 {
     margin: 10px;
     padding: 3px;
 }
+
+textarea {
+    width: 920px;
+    height: 569px;
+    border: 4px solid #cccccc;
+    padding: 5px;
+    font-family: Courier, sans-serif;
+    font-size: 14pt;
+}
+</diff>
      <filename>steamdoc.css</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>824ce3fd84f15397a2030499ab4945f08e5e809e</id>
    </parent>
  </parents>
  <author>
    <name>craig</name>
    <email>craig@bump.localdomain</email>
  </author>
  <url>http://github.com/cratuki/steamdoc/commit/d7d3c391a26c8e43c299b54ba968a748e2ab3b9c</url>
  <id>d7d3c391a26c8e43c299b54ba968a748e2ab3b9c</id>
  <committed-date>2008-12-13T10:56:53-08:00</committed-date>
  <authored-date>2008-12-13T10:56:53-08:00</authored-date>
  <message>Improved directory browsing to now also include subdirectories, and
textbox styling.</message>
  <tree>9fc3fb92bfb20cca2945422dfc25ce2443ab649d</tree>
  <committer>
    <name>craig</name>
    <email>craig@bump.localdomain</email>
  </committer>
</commit>
