Skip to content

Commit

Permalink
修复页面错误
Browse files Browse the repository at this point in the history
  • Loading branch information
libsgh committed Mar 1, 2021
1 parent 3e44d54 commit d1e1208
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions templates/pan/bootstrap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ <h2 id="heading">Index of {{ .Path }}</h2>
{{if .IsFolder}}
<td class="file-name"><a class="icon icon-dir" href="{{.Path}}"><i class="fa fa-folder" aria-hidden="true"></i>&nbsp;&nbsp;{{.FileName}}</a></td>
{{else}}
<td class="file-name"><a class="icon icon-file"data-file-type="{{.FileType}}" data-media-type="{{.MediaType}}" data-title="{{.FileName}}" data-url="{{.Path}}" href="javascript:void(0);"><i class="fa fa-file" aria-hidden="true"></i>&nbsp;&nbsp;{{.FileName}}</a></td>
<td class="file-name"><a class="icon icon-file" data-file-type="{{.FileType}}" data-media-type="{{.MediaType}}" data-title="{{.FileName}}" data-url="{{.Path}}" href="javascript:void(0);"><i class="fa fa-file" aria-hidden="true"></i>&nbsp;&nbsp;{{.FileName}}</a></td>
{{end}}
<td class="file-size">{{.SizeFmt}}</td>
<td class="file-date-modified">{{.LastOpTime}}</td>
Expand All @@ -116,7 +116,7 @@ <h2 id="heading">Index of {{ .Path }}</h2>
</div>
</div>
{{end}}
<div id="example1"></div>
<div id="aplayer"></div>
</body>
<script>var HerokuappUrl = {{.HerokuappUrl}}</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/lightgallery-all.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion templates/pan/classic/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ <h1 id="heading">Index of {{ .Path }}</h1>
{{if .IsFolder}}
<td class="file-name"><a class="icon icon-dir" href="{{.Path}}">{{.FileName}}</a></td>
{{else}}
<td class="file-name"><a class="icon icon-file"data-file-type="{{.FileType}}" data-media-type="{{.MediaType}}" data-title="{{.FileName}}" data-url="{{.Path}}" href="javascript:void(0);">{{.FileName}}</a></td>
<td class="file-name"><a class="icon icon-file" data-file-type="{{.FileType}}" data-media-type="{{.MediaType}}" data-title="{{.FileName}}" data-url="{{.Path}}" href="javascript:void(0);">{{.FileName}}</a></td>
{{end}}
<td class="file-size">{{.SizeFmt}}</td>
<td class="file-date-modified">{{.LastOpTime}}</td>
Expand Down
4 changes: 2 additions & 2 deletions templates/pan/materialdesign/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ <h2 id="heading">Index of {{ .Path }}</h2>
{{if .IsFolder}}
<td class="file-name"><a class="icon icon-dir" href="{{.Path}}"><i class="fa fa-folder" aria-hidden="true"></i>&nbsp;&nbsp;{{.FileName}}</a></td>
{{else}}
<td class="file-name"><a class="icon icon-file"data-file-type="{{.FileType}}" data-media-type="{{.MediaType}}" data-title="{{.FileName}}" data-url="{{.Path}}" href="javascript:void(0);"><i class="fa fa-file" aria-hidden="true"></i>&nbsp;&nbsp;{{.FileName}}</a></td>
<td class="file-name"><a class="icon icon-file" data-file-type="{{.FileType}}" data-media-type="{{.MediaType}}" data-title="{{.FileName}}" data-url="{{.Path}}" href="javascript:void(0);"><i class="fa fa-file" aria-hidden="true"></i>&nbsp;&nbsp;{{.FileName}}</a></td>
{{end}}
<td class="file-size">{{.SizeFmt}}</td>
<td class="file-date-modified">{{.LastOpTime}}</td>
Expand All @@ -121,7 +121,7 @@ <h2 id="heading">Index of {{ .Path }}</h2>
</div>
</div>
{{end}}
<div id="example1"></div>
<div id="aplayer"></div>
</body>
<script>var HerokuappUrl = {{.HerokuappUrl}}</script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/lightgallery-all.min.js"></script>
Expand Down

0 comments on commit d1e1208

Please sign in to comment.