1
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

Merge pull request #262 from pyed/patch-4

browse: allow consecutive spaces in filenames
This commit is contained in:
Matt Holt 2015-10-07 10:41:19 -06:00
commit 0f049856a4

View file

@ -193,6 +193,10 @@ th a {
margin-top: 70px;
}
}
.name {
white-space: pre;
}
</style>
</head>
<body>
@ -240,7 +244,7 @@ th a {
<tr>
<td>
{{if .IsDir}}&#128194;{{else}}&#128196;{{end}}
<a href="{{.URL}}">{{.Name}}</a>
<a href="{{.URL}}" class="name">{{.Name}}</a>
</td>
<td>{{.HumanSize}}</td>
<td class="hideable">{{.HumanModTime "01/02/2006 3:04:05 PM -0700"}}</td>