Skip to content

Commit

Permalink
change show all file and mark video
Browse files Browse the repository at this point in the history
  • Loading branch information
itning committed Jan 14, 2020
1 parent f9b0d9c commit 5904503
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
th:data-canplay="${file.canPlay}"
th:data-location="${file.location}">
<td><i th:if="${file.isFile()&&!file.canPlay}" class="mdui-icon material-icons">insert_drive_file</i>
<i th:if="${file.isFile()&&file.canPlay}" class="mdui-icon material-icons">music_video</i>
<i th:if="${file.isFile()&&file.canPlay}" class="mdui-icon material-icons">videocam</i>
<i th:if="${!file.isFile() }" class="mdui-icon material-icons">folder</i>
<span th:if="${file.name==''}" th:text="${file.location}"></span>
<span th:if="${file.name!=''}" th:text="${file.name}"></span>
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/video.html
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
th:data-canplay="${file.canPlay}"
th:data-location="${file.location}">
<td><i th:if="${file.isFile()&&!file.canPlay}" class="mdui-icon material-icons">insert_drive_file</i>
<i th:if="${file.isFile()&&file.canPlay}" class="mdui-icon material-icons">music_video</i>
<i th:if="${file.isFile()&&file.canPlay}" class="mdui-icon material-icons">videocam</i>
<i th:if="${!file.isFile() }" class="mdui-icon material-icons">folder</i>
<span th:if="${file.name==''}" th:text="${file.location}"></span>
<span th:if="${file.name!=''}" th:text="${file.name}"></span>
Expand Down

0 comments on commit 5904503

Please sign in to comment.