aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2009-11-07 21:12:46 -0800
committerRobert Griesemer <gri@golang.org>2009-11-07 21:12:46 -0800
commit171ef39949798a400a47389effa078d414e37945 (patch)
tree27f717173fdf93694f6b44b9018e203d66fca692 /lib
parente67161ee3f36c23ae21757459f84d04c857d65a0 (diff)
downloadgo-171ef39949798a400a47389effa078d414e37945.tar.xz
nice directory listings
R=rsc http://go/go-review/1026020
Diffstat (limited to 'lib')
-rw-r--r--lib/godoc/listing.html23
1 files changed, 23 insertions, 0 deletions
diff --git a/lib/godoc/listing.html b/lib/godoc/listing.html
new file mode 100644
index 0000000000..03980078fb
--- /dev/null
+++ b/lib/godoc/listing.html
@@ -0,0 +1,23 @@
+<!--
+ Copyright 2009 The Go Authors. All rights reserved.
+ Use of this source code is governed by a BSD-style
+ license that can be found in the LICENSE file.
+-->
+
+<p>
+<table class="layout">
+<tr>
+ <th align="left">File</th>
+ <th width="100" align="right">Size</th>
+</tr>
+<tr>
+ <td><a href=".." class="noline">..</a></td>
+</tr>
+{.repeated section @}
+<tr>
+ <td align="left"><a href="{Name|html}" class="noline">{Name|html}</a></td>
+ <td align="right">{Size|html}</td>
+</tr>
+{.end}
+</table>
+</p>